Text   |  XML   |  ReML   |   Visible Warnings:

Cast Alters Value  at packet-vnc.c:2193

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

vnc_server_set_colormap_entries

(/home/sate/Testcases/c/cve/wireshark-1.2.0/epan/dissectors/packet-vnc.c)expand/collapse
Show more  
 2178  vnc_server_set_colormap_entries(tvbuff_t *tvb, packet_info *pinfo, gint *offset,
 2179                                  proto_tree *tree)
 2180  {
 2181          guint16 number_of_colors;
 2182          guint counter, bytes_needed;
 2183          proto_item *ti;
 2184          proto_tree *vnc_colormap_num_groups, *vnc_colormap_color_group;
 2185   
 2186[+]         if (check_col(pinfo->cinfo, COL_INFO))
 2187                  col_set_str(pinfo->cinfo, COL_INFO,
 2188                              "Server set colormap entries");
 2189   
 2190          number_of_colors = tvb_get_ntohs(tvb, 4);
 2191   
 2192          bytes_needed = (number_of_colors * 6) + 6;
 2193[+]         VNC_BYTES_NEEDED(bytes_needed);
Show more  




Change Warning 3028.32017 : Cast Alters Value

Priority:
State:
Finding:
Owner:
Note: