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 for BZ 17905 -- unbounded alloca in catopen


On Sun, Jul 12, 2015 at 11:54 PM, OndÅej BÃlka <neleai@seznam.cz> wrote:

> check if result is null.

Thanks for review. Revised patch attached.

2015-07-12  Paul Pluzhnikov  <ppluzhnikov@google.com>

        [BZ #17905]
        * catgets/Makefile (tst-catgets-mem): New test.
        * catgets/catgets.c (catopen): Don't use unbounded alloca.
        * catgets/open_catalog.c (__open_catalog): Likewise.
        * catgets/tst-catgets.c (do_bz17905): Test unbounded alloca.

-- 
Paul Pluzhnikov

Attachment: pr17905-patch-20150714.txt
Description: Text document


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