[PATCH] ping: fix ping request information leak

Peter Korsgaard jacmet at uclibc.org
Tue Apr 29 12:39:16 UTC 2008


>>>>> "Denys" == Denys Vlasenko <vda.linux at googlemail.com> writes:

Hi,

 Denys> Hmm, and where's sendping6? Ah, you probably dont have IPv6 on...

Exactly.

 >> 
 >> +	memset(pkt, 0, datalen + ICMP_MINLEN + 4);
 pkt-> icmp_type = ICMP_ECHO;
 pkt-> icmp_code = 0;
 pkt-> icmp_cksum = 0;

 Denys> and these assignments of zeros may die now.

True.

 Denys> Applied, thanks.

You're welcome.

-- 
Bye, Peter Korsgaard



More information about the busybox mailing list