commit | f189899c2f9ae2266ea4814cf14f138cc47e319f | [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 | ce2ec19c56d646656e64a4b8e0279820337f089e [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>