Gentlemen, Attached, please find a proposed patch to packet-bootp.c. This patch prevents a crash when no MAC address is given in a bootp/dhcp request. The problem is that when the size of the MAC address is 0, dissect_bootp calls proto_tree_add_bytes with a start_ptr of 0, which calls proto_tree_set_bytes, which calls g_assert because the start pointer is NULL. Regards, Phil Techau ---------------------------------------------------------------- Get your free email from AltaVista at http://altavista.iname.com
Attachment:
packet-bootp.diff
Description: text, base64 encoded
Powered by MHonArc 2.6.10