J.T. Conklin
2008-05-16 18:02:34 UTC
While debugging a problem with routing socket messages, I noticed that
messages contained random data in the rtm_seq, rtm_pid, and rtm_errno
fields.
In TCP/IP Illustrated, rt_msg1() contains a bzero() to clear rt_msghdr
fields. This bzero() is not present in NetBSD-4 (which I am using) or
in the -current sources.
Should a memset() be added where the bzero() used to be?
--jtc
messages contained random data in the rtm_seq, rtm_pid, and rtm_errno
fields.
In TCP/IP Illustrated, rt_msg1() contains a bzero() to clear rt_msghdr
fields. This bzero() is not present in NetBSD-4 (which I am using) or
in the -current sources.
Should a memset() be added where the bzero() used to be?
--jtc
--
J.T. Conklin
--
Posted automagically by a mail2news gateway at muc.de e.V.
Please direct questions, flames, donations, etc. to news-***@muc.de
J.T. Conklin
--
Posted automagically by a mail2news gateway at muc.de e.V.
Please direct questions, flames, donations, etc. to news-***@muc.de