Wireshark mailing list archives
Why isn't this a bug?
From: Jaap Keuter <jaap.keuter () xs4all nl>
Date: Fri, 08 Jul 2011 23:43:19 +0200
Hi list, From the packet-giop.c source code:static gboolean try_heuristic_giop_dissector(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, guint32 *offset,
MessageHeader *header, gchar *operation ) {
...
{
guint32 message_size;
gboolean stream_is_big_endian = is_big_endian (header);
if (stream_is_big_endian)
message_size = pntohl (&header->message_size);
else
message_size = pletohl (&header->message_size);
if (*offset > header->message_size)
return FALSE;
}
While everywhere else 'message_size' is used, i.s.o. header->message size.
Why isn't this a bug?
Thanks,
Jaap
___________________________________________________________________________
Sent via: Wireshark-dev mailing list <wireshark-dev () wireshark org>
Archives: http://www.wireshark.org/lists/wireshark-dev
Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev
mailto:wireshark-dev-request () wireshark org?subject=unsubscribe
Current thread:
- Why isn't this a bug? Jaap Keuter (Jul 08)
- Re: Why isn't this a bug? Chris Maynard (Jul 08)
- Re: Why isn't this a bug? Chris Maynard (Jul 10)
- Re: Why isn't this a bug? Chris Maynard (Jul 08)
