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] Fix BZ 19165 -- overflow in fread / fwrite


On 2015-10-27 05:06, Paul Pluzhnikov wrote:
On Mon, Oct 26, 2015 at 7:04 PM, Paul Pluzhnikov <ppluzhnikov@google.com> wrote:

[BZ #19165]
         * libio/libioP.h (_IO_saturating_umull): New.
         * libio/iofread.c (_IO_fread): Use it.
         * ibio/iofread_u.c (__fread_unlocked): Likewise.
         * libio/iofwrite.c (_IO_fwrite): Error on overflow.
         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.

Oops. Let's try that again:

2015-10-26  Paul Pluzhnikov  <ppluzhnikov@google.com>

         [BZ #19165]
         * libio/libioP.h (_IO_saturating_umull): New.
         * libio/iofread.c (_IO_fread): Use it.
         * ibio/iofread_u.c (__fread_unlocked): Likewise.

libio here?

         * libio/iofwrite.c (_IO_fwrite): Likewise.
         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.

--
Alexander Cherepanov


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