This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


* 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]