[ipfilter-cvs] ipfilter/lib gethost.c,
Brought to you by:
darren_r
From: Darren <dar...@us...> - 2014-06-20 16:42:54
|
Update of /cvsroot/ipfilter/ipfilter/lib In directory sfp-cvs-1.v30.ch3.sourceforge.com:/tmp/cvs-serv1905/lib Modified Files: gethost.c Log Message: #553 gethost needs to zero entire IP address structure Index: gethost.c =================================================================== RCS file: /cvsroot/ipfilter/ipfilter/lib/gethost.c,v retrieving revision 1.10 retrieving revision 1.11 diff -C2 -d -r1.10 -r1.11 *** gethost.c 25 Aug 2012 14:16:27 -0000 1.10 --- gethost.c 20 Jun 2014 16:42:52 -0000 1.11 *************** *** 18,21 **** --- 18,22 ---- u_32_t addr; + bzero(hostp, sizeof(*hostp)); if (!strcmp(name, "test.host.dots")) { if (family == AF_INET) { |