openbsd-compat regression tests

Peter Stuge peter at stuge.se
Wed Apr 28 16:28:39 EST 2010


Damien Miller wrote:
> > > The snprintftest.c regression test in openbsd-compat/regress
> > > has a buffer overflow error, and an argument error in the calls
> > > to snprintf(), and vsnprintf().
> > 
> > Thanks for the bug report. Did you already fix these issues?
> > Could you send a patch against the current source code?
> 
> No, as Jeff has no doubt already realised, snprintf should return
> the size of the string that it would have created had the supplied
> buffer been large enough.

Nod, I've even used it before. Too quick review there. :\ Thanks!


//Peter


More information about the openssh-unix-dev mailing list