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 #17916 fopen unbounded stack usage for ccs= modes


On 02/24/2015 06:00 AM, Paul Pluzhnikov wrote:
> On Mon, Feb 23, 2015 at 8:33 AM, Joseph Myers <joseph@codesourcery.com> wrote:
> 
>> Typically such tests use setrlimit to set a stack limit lower than the
>> amount of stack space the code used before the fix.
> 
> Thanks. I've updated the test and verified that it fails with stack
> overflow if I revert the fix.

> 2015-02-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
> 
> 	    [BZ #17916]
> 	    * libio/fileops.c (_IO_new_file_fopen): Limit stack use
> 	    * libio/tst-fopenloc.c (do_test, do_bz17916): Add a large ccs= test

Thanks, this is okay to commit.

-- 
Florian Weimer / Red Hat Product Security


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