WOWW: Fix multi message PDUs using incorrect data

Previously the offset into the decrypted header tvb was used, which was
always 4 or 6, instead of the offset into the entire PDU tvb.
This commit is contained in:
Gtker 2021-07-25 16:25:46 +02:00 committed by Wireshark GitLab Utility
parent 44ce2d5173
commit 08ceeec81e
1 changed files with 1 additions and 1 deletions

View File

@ -2695,7 +2695,7 @@ add_header_to_tree(WowwDecryptedHeader_t* decrypted_header,
gint offset_packet_end = start_offset + (gint)packet_size;
// Remember to go back to original tvb
add_body_fields(opcode, woww_tree, tvb, offset, offset_packet_end);
add_body_fields(opcode, woww_tree, tvb, start_offset + headerSize, offset_packet_end);
return offset_packet_end;
}