[PATCH v2] os: fix pnprintf OOB buffer read for unterminated length modifiers

Peter Hutterer peter.hutterer at who-t.net
Sun Feb 17 20:57:14 PST 2013


On Sun, Feb 17, 2013 at 08:11:20PM +0100, walter harms wrote:
> 
> 
> Am 14.02.2013 20:00, schrieb Keith Packard:
> > walter harms <wharms at bfs.de> writes:
> > 
> >> why is a private snprintf needed in the first place ?
> > 
> > Logging from a signal handler.
> > 
> perhaps someone can add a line like
> 
> /* signal-safe snprintf() */
> 
> note:
>  maybe it is there (i saw only the patch).
> 

good point, it is indeed missing. I added a patch, will be in the next pull
request.

Cheers,
   Peter

 


More information about the xorg-devel mailing list