[patch] Fix BZ #17916 fopen unbounded stack usage for ccs= modes
Joseph Myers
joseph@codesourcery.com
Mon Feb 23 16:33:00 GMT 2015
On Sun, 22 Feb 2015, Paul Pluzhnikov wrote:
> On Sun, Feb 22, 2015 at 12:59 PM, Florian Weimer <fw@deneb.enyo.de> wrote:
>
> Thanks for the review.
>
> >> Attached patch fixes BZ #17916 fopen unbounded stack usage for ccs= modes
> >> Tested on Linux/x86_64, no failures.
> >
> > This should have a test case.
>
> I am not sure how to test for unbounded stack use.
Typically such tests use setrlimit to set a stack limit lower than the
amount of stack space the code used before the fix.
--
Joseph S. Myers
joseph@codesourcery.com
More information about the Libc-alpha
mailing list