forked from osmocom/wireshark
VNC: Fix accidental offset increment in RRE
This was accidentally added in f424256889
and is clearly incorrect: https://www.rfc-editor.org/rfc/rfc6143#section-7.7.3
Fix #18883
This commit is contained in:
parent
69d82b44ef
commit
c7823a14ec
|
@ -2358,7 +2358,6 @@ vnc_rre_encoding(tvbuff_t *tvb, packet_info *pinfo, gint *offset,
|
|||
return(0);
|
||||
}
|
||||
|
||||
*offset += 2;
|
||||
VNC_BYTES_NEEDED(bytes_per_pixel);
|
||||
proto_tree_add_item(tree, hf_vnc_rre_bg_pixel, tvb, *offset,
|
||||
bytes_per_pixel, ENC_NA);
|
||||
|
|
Loading…
Reference in New Issue