Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
After calling strdup() check the returned pointer. Avoid a memory leak if the directory is not found. Reported-by: Michael Nazzareno Trimarchi <[email protected]> Fixes: 22fdac3 ("fs: ext4: implement opendir, readdir, closedir") Signed-off-by: Heinrich Schuchardt <[email protected]> Reviewed-by: Ilias Apalodimas <[email protected]>
- Loading branch information