Snort mailing list archives

zero initialization in DecodeEthPkt()


From: "J.Hwan Kim" <frog1120 () gmail com>
Date: Mon, 18 Jun 2012 15:27:03 +0900

Hi, everyone

There is a zero initialization routine of Packet structure in
DecodeEthPkt().
memset(p, 0, PKT_ZERO_LEN);

Is the routine necessary?
What will happen if I remove the routine?

Thanks in advance.

Best Regards,
J.Hwan Kim

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Snort-users mailing list
Snort-users () lists sourceforge net
Go to this URL to change user options or unsubscribe:
https://lists.sourceforge.net/lists/listinfo/snort-users
Snort-users list archive:
http://www.geocrawler.com/redir-sf.php3?list=snort-users

Please visit http://blog.snort.org to stay current on all the latest Snort news!


Current thread: