(/home/sate/Testcases/c/cve/wireshark-1.2.0/epan/dissectors/packet-vnc.c) |
| |
| 1639 | | | vnc_rre_encoding(tvbuff_t *tvb, packet_info *pinfo, gint *offset, |
| 1640 | | | proto_tree *tree, guint16 width _U_, guint16 height _U_) |
| 1641 | | | { |
| 1642 | | | guint8 bytes_per_pixel = vnc_get_bytes_per_pixel(pinfo); |
| 1643 | | | guint32 num_subrects, i; |
| 1644 | | | guint bytes_needed; |
| 1645 | | | proto_item *ti; |
| 1646 | | | proto_tree *subrect_tree; |
| 1647 | | | |
| 1648 | [+] | | VNC_BYTES_NEEDED(4);
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; |
| |
|
 |
| |