commit | b2129908b245bdbd987993168d18970f77d4d0a8 | [log] [tgz] |
---|---|---|
author | Stefan Brüns <stefan.bruens@rwth-aachen.de> | Sat Oct 01 20:41:40 2016 +0200 |
committer | Simon Glass <sjg@chromium.org> | Tue Oct 11 10:17:07 2016 -0600 |
tree | f2cad4a04e2c8c7970bb524f56ed771950e5b599 | |
parent | d4cb888e46436261e57a0ee52486e4088188fe23 [diff] |
sandbox/fs: Use correct size path name buffer The readdir linux manpage explicitly states (quoting POSIX.1) that sizeof(d_name) is not correct for determining the required size, but to always use strlen. Grow the buffer if needed. Signed-off-by: Stefan Brüns <stefan.bruens@rwth-aachen.de> Acked-by: Simon Glass <sjg@chromium.org>