On Mar 28, 2013, at 2:26 AM, Per Johansson wrote:

> On Wed, Mar 27, 2013 at 7:22 PM, Ken Thomases <k...@codeweavers.com> 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() when I originally wrote that 
code, which is why I assumed snprintfW() would terminate it.  So, my vote is 
for "yes". :)

-Ken



Reply via email to