diff options
author | Stefan Brüns <stefan.bruens@rwth-aachen.de> | 2016-10-01 20:41:40 +0200 |
---|---|---|
committer | Simon Glass <sjg@chromium.org> | 2016-10-11 10:17:07 -0600 |
commit | f189899c2f9ae2266ea4814cf14f138cc47e319f (patch) | |
tree | f2cad4a04e2c8c7970bb524f56ed771950e5b599 /configs/cougarcanyon2_defconfig | |
parent | ce2ec19c56d646656e64a4b8e0279820337f089e (diff) | |
download | u-boot-imx-f189899c2f9ae2266ea4814cf14f138cc47e319f.zip u-boot-imx-f189899c2f9ae2266ea4814cf14f138cc47e319f.tar.gz u-boot-imx-f189899c2f9ae2266ea4814cf14f138cc47e319f.tar.bz2 |
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>
Diffstat (limited to 'configs/cougarcanyon2_defconfig')
0 files changed, 0 insertions, 0 deletions