(/home/sate/Testcases/c/cve/wireshark-1.2.0/epan/dissectors/packet-vnc.c) |
| |
| 1694 | | | vnc_hextile_encoding(tvbuff_t *tvb, packet_info *pinfo, gint *offset, |
| 1695 | | | proto_tree *tree, guint16 width, guint16 height) |
| 1696 | | | { |
| 1697 | | | guint8 bytes_per_pixel = vnc_get_bytes_per_pixel(pinfo); |
| 1698 | | | guint8 i, subencoding_mask, num_subrects, subrect_len; |
| 1699 | | | guint length; |
| 1700 | | | proto_tree *subencoding_mask_tree, *subrect_tree, *num_subrects_tree; |
| 1701 | | | proto_item *ti; |
| 1702 | | | |
| 1703 | [+] | | VNC_BYTES_NEEDED(1);
x /home/sate/Testcases/c/cve/wireshark-1.2.0/epan/dissectors/packet-vnc.c |
| |
295 | #define VNC_BYTES_NEEDED(a) \ |
296 | if(a > (guint)tvb_length_remaining(tvb, *offset)) \ |
297 | return a; |
| |
|
 |
| |