diff options
author | guy <guy@f5534014-38df-0310-8fa8-9805f1628bb7> | 2003-05-15 06:35:02 +0000 |
---|---|---|
committer | guy <guy@f5534014-38df-0310-8fa8-9805f1628bb7> | 2003-05-15 06:35:02 +0000 |
commit | d4e648c0d5f78e0d99353056e0961e658473b44c (patch) | |
tree | 62e8683a46c2576f1d0a76fefa928be4923ff125 /packet-osi.h | |
parent | 4d2933052088a790394b104ac0ed629d8bfa9e00 (diff) |
From Laurent Rabret:
fix a bug where bad IPv4 and IPv6 prefix lengths could cause a
buffer overflow;
check the checksum in LSP packets.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@7675 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'packet-osi.h')
-rw-r--r-- | packet-osi.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/packet-osi.h b/packet-osi.h index 427010b61d..8b389aab9a 100644 --- a/packet-osi.h +++ b/packet-osi.h @@ -1,6 +1,6 @@ /* packet-osi.h * - * $Id: packet-osi.h,v 1.13 2003/04/29 17:56:48 guy Exp $ + * $Id: packet-osi.h,v 1.14 2003/05/15 06:35:02 guy Exp $ * * Ethereal - Network traffic analyzer * By Gerald Combs <gerald@ethereal.com> @@ -86,5 +86,6 @@ typedef enum { } cksum_status_t; extern cksum_status_t calc_checksum(tvbuff_t *, int, guint, guint); +extern cksum_status_t check_and_get_checksum( tvbuff_t *, int, guint, guint, int, guint16*); #endif /* _PACKET_OSI_H */ |