3 Dec
2009
3 Dec
'09
11:42
On 03/12/09 05:44, Ludwig Nussel wrote:
strncat has a braindead api. In the worst case it adds one byte more than the specified length. So for example if FIELD_STR == sizeof(fields) and len == 0 it would overflow the buffer by one zero byte. Add a -1 to the calculation.
if the application uses "glib" library, you may also try g_strconcat (). -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-packaging+help@opensuse.org