Hide Forgot
Created attachment 825780 [details] Check return value of opendir() and return proper status Description of problem: If the Name property points to a non-directory, LMI_DirectoryContainsFileProvider.c crashes with a NULL pointer exception. This is caused by opendir() returning error (NULL) but this value is used unchecked. Fix attached. Version-Release number of selected component (if applicable): How reproducible: Steps to Reproduce: 1. 2. 3. Actual results: Expected results: Additional info:
Thanks for the patch! I pushed it to 0.4-fixes and master branches and it will be available in next OpenLMI release.