Re: winemac: Null-terminate an snprintf-ed key name buffer in case of short buffer.

2013-03-28 Thread Ken Thomases
On Mar 28, 2013, at 2:26 AM, Per Johansson wrote: > On Wed, Mar 27, 2013 at 7:22 PM, Ken Thomases wrote: >> --- > > This has probably been discussed before, but shouldn't snprintfW be > safe against this kind of thing, the way POSIX snprintf is? I actually checked the man page for snprintf() wh

Re: winemac: Null-terminate an snprintf-ed key name buffer in case of short buffer.

2013-03-28 Thread Per Johansson
On Wed, Mar 27, 2013 at 7:22 PM, Ken Thomases wrote: > --- This has probably been discussed before, but shouldn't snprintfW be safe against this kind of thing, the way POSIX snprintf is? Regards, -- Per Johansson