(/home/sate/Testcases/c/cve/wireshark-1.2.0/epan/dissectors/packet-vnc.c) |
| |
| 1952 | | | process_tight_rect_filter_palette(tvbuff_t *tvb, packet_info *pinfo, gint *offset, |
| 1953 | | | proto_tree *tree, gint *bits_per_pixel) |
| 1954 | | | { |
| 1955 | | | vnc_packet_t *per_packet_info; |
| 1956 | | | gint num_colors; |
| 1957 | | | guint palette_bytes; |
| 1958 | | | |
| 1959 | | | |
| 1960 | | | |
| 1961 | | | per_packet_info = p_get_proto_data(pinfo->fd, proto_vnc); |
| 1962 | | | |
| 1963 | [+] | | 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; |
| |
|
 |
| |