[Snort-users] zero initialization in DecodeEthPkt()

J.Hwan Kim frog1120 at ...11827...
Mon Jun 18 02:27:03 EDT 2012


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




More information about the Snort-users mailing list