Text   |  XML   |  ReML   |   Visible Warnings:

Null Pointer Dereference  at packet-vnc.c:1972

No properties have been set. | edit properties
Jump to warning location ↓ warning details...
Show Events | Options

process_tight_rect_filter_palette

(/home/sate/Testcases/c/cve/wireshark-1.2.0/epan/dissectors/packet-vnc.c)expand/collapse
Show more  
 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          /* See TightVNC's vnc_unixsrc/vncviewer/tight.c:InitFilterPaletteBPP() */
 1960   
 1961[+]         per_packet_info = p_get_proto_data(pinfo->fd, proto_vnc);
 1962   
 1963[+]         VNC_BYTES_NEEDED(1);
 1964          proto_tree_add_item(tree, hf_vnc_tight_palette_num_colors, tvb, *offset, 1, FALSE);
 1965          num_colors = tvb_get_guint8(tvb, *offset);
 1966          *offset += 1;
 1967   
 1968          num_colors++;
 1969          if (num_colors < 2)
 1970                  return 0;
 1971   
 1972          if (per_packet_info->depth == 24)
Show more  




Change Warning 3035.31935 : Null Pointer Dereference

Priority:
State:
Finding:
Owner:
Note: