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 memory leak in printf_positional


On Sat, Aug 29, 2015 at 9:29 PM, OndÅej BÃlka <neleai@seznam.cz> wrote:

> There is also problem what this would catch, as in future a problem
> could be with 65536 arguments or other magical constant this isn't that
> much useful.

Sorry, you lost me.

The test case catches the existing bug that the patch at the start of
this thread fixes.

I am sure there other bugs that this test doesn't catch, and I am sure
there could be new bugs in the future that require more arguments to
catch. I don't think these are good reasons not to have a test.

-- 
Paul Pluzhnikov


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