forked from osmocom/wireshark
As noted by Jaap Keuter on -dev, be sure to use message_size instead of
header->message_size for a correct host endianness comparison. svn path=/trunk/; revision=37957
This commit is contained in:
parent
4c4b8f8891
commit
c23afc424e
|
@ -1763,7 +1763,7 @@ static gboolean try_heuristic_giop_dissector(tvbuff_t *tvb, packet_info *pinfo,
|
|||
else
|
||||
message_size = pletohl (&header->message_size);
|
||||
|
||||
if (*offset > header->message_size)
|
||||
if (*offset > message_size)
|
||||
return FALSE;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue