14 Aug
2012
14 Aug
'12
11:33 p.m.
On 2012-07-30, at 10:41, Alexander V. Chernikov <melifaro@ipfw.ru> wrote: ...
items which are mostly strcpy. Maybe we can add strlcpy() to linux sysdep code and convert most of these calls?
Just remember that strncpy pads rest of the output buffer with zeroes and strlcpy does not. If anything might depend on this, have calloc()ed output buffer or memset() before use. Otherwise strlcpy sounds like a plan. -- Juho Juopperi jkj@f-solutions.fi +358405422321