[PATCH] Linux: Adjust gedents64 buffer size to int range [BZ #24740]

Florian Weimer fweimer@redhat.com
Thu Jun 27 13:09:00 GMT 2019


* Adhemerval Zanella:

> Maybe
>
>   size_t large_buffer_size;
>   if (!__builtin_add_overflow (UINT_MAX, 2, &large_buffer_size))
>     { 
>
> Instead?

Sure, make sense.  Re-tested and pushed with that change.

Thanks,
Florian



More information about the Libc-alpha mailing list