[U-Boot] [PATCH 3/5] sandbox/fs: Use correct size path name buffer

Simon Glass sjg at chromium.org
Tue Oct 11 02:29:49 CEST 2016


On 3 October 2016 at 15:50, Simon Glass <sjg at chromium.org> wrote:
> On 1 October 2016 at 12:41, Stefan Brüns <stefan.bruens at 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 at rwth-aachen.de>
>> ---
>>  arch/sandbox/cpu/os.c | 13 ++++++++++---
>>  1 file changed, 10 insertions(+), 3 deletions(-)
>
> Acked-by: Simon Glass <sjg at chromium.org>

Applied to u-boot-dm, thanks!


More information about the U-Boot mailing list