freebsd-skq/usr.sbin/rwhod
iedowse cd6399ca0f Ensure that received packets are at least as long as the rwho packet
header before trying to process them. Without this sanity check,
rwhod can attempt to byte-swap all of memory when a short packet
is received, and so dies with a SIGBUS.

While I'm here, change two other syslog messages to be more
informative: use dotted quad rather than hex notation for IP
addresses, and include the source IP in the 'bad from port' message.

PR:		bin/14844
Reviewed by:	dwmalone
2000-12-22 21:30:15 +00:00
..
Makefile
rwhod.8 mdoc(7) police: use the new features of the Nm macro. 2000-11-20 20:10:44 +00:00
rwhod.c Ensure that received packets are at least as long as the rwho packet 2000-12-22 21:30:15 +00:00