
11 Oct
2016
11 Oct
'16
2:29 a.m.
On 3 October 2016 at 15:50, Simon Glass sjg@chromium.org wrote:
On 1 October 2016 at 12:41, Stefan Brüns stefan.bruens@rwth-aachen.de wrote:
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
arch/sandbox/cpu/os.c | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-)
Acked-by: Simon Glass sjg@chromium.org
Applied to u-boot-dm, thanks!