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 #17269 _IO_wstr_overflow integer overflow


On Sun, Feb 22, 2015 at 2:20 AM, Florian Weimer <fw@deneb.enyo.de> wrote:

> ânew_size == SIZE_MAX / sizeof (wchar_t)â should still be okay,
> shouldn't it?

Right.

2015-02-22  Paul Pluzhnikov  <ppluzhnikov@google.com>

        [BZ #17269]
        * NEWS: Mention 17269
        * libio/wstrops.c (_IO_wstr_overflow): Guard against integer overflow
        (enlarge_userbuf): Likewise.



-- 
Paul Pluzhnikov

Attachment: bz17269.patch3.txt
Description: Text document


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