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: Fwd: [PATCH] Don't allow attackers to inject arbitrary data into stack through LD_DEBUG


On Mon, Aug 10, 2015 at 11:15:36AM +0200, Andreas Schwab wrote:
> Paul Eggert <eggert@cs.ucla.edu> writes:
> 
> > Presumably the original author didn't know about "%.*s".
> 
> It didn't exist back then.

This is factually incorrect. C89 4.9.6.1 paragraph 3 specifies the *
form for width and precision. printf has 'always' had this feature, or
at least since long before there was a GNU dynamic linker.

Rich


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