1 $Id: update-patches 24 2008-08-31 14:56:13Z wbx $
2 --- iptraf-3.0.0.orig/support/input.c 2002-12-26 03:11:22.000000000 +0100
3 +++ iptraf-3.0.0/support/input.c 2009-05-21 23:05:37.000000000 +0200
4 @@ -55,7 +55,7 @@ void tx_addfield(struct FIELDLIST *list,
6 newfield->tlen = strlen(initstr);
7 newfield->buf = malloc(len + 1);
8 - bzero(newfield->buf, len + 1);
9 + memset(newfield->buf, 0, len + 1);
10 strncpy(newfield->buf, initstr, len);
12 if (newfield->tlen > (len))