|
Message-ID: <20110523020055.GU277@brightrain.aerifal.cx> Date: Sun, 22 May 2011 22:00:55 -0400 From: Rich Felker <dalias@...ifal.cx> To: musl@...ts.openwall.com Subject: Re: wcsncpy bug On Mon, May 23, 2011 at 03:25:47AM +0200, Szabolcs Nagy wrote: > wcsncpy(d,s,n) did not decrease n while copying the '\0' > so when s[0]=0 and n=1 it wrote 2 zeros to d I believe I have fixed this bug, and similar bugs in strncat and wcsncat. Please let me know if they still have problems. Rich
Powered by blists - more mailing lists
Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.