(/home/sate/Testcases/c/cve/wireshark-1.2.0/epan/dissectors/packet-vnc.c) |
| |
| 2160 | | | vnc_x_cursor_encoding(tvbuff_t *tvb, packet_info *pinfo, gint *offset, |
| 2161 | | | proto_tree *tree, guint16 width, guint16 height) |
| 2162 | | | { |
| 2163 | | | gint bitmap_row_bytes = (width + 7) / 8; |
| 2164 | | | gint mask_bytes = bitmap_row_bytes * height; |
| 2165 | | | (void) pinfo; |
| 2166 | | | |
| 2167 | [+] | | VNC_BYTES_NEEDED (6);
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; |
| |
|
 |
| |