Text   |  XML   |  ReML   |   Visible Warnings:

Cast Alters Value  at packet-vnc.c:1654

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

vnc_rre_encoding

(/home/sate/Testcases/c/cve/wireshark-1.2.0/epan/dissectors/packet-vnc.c)expand/collapse
Show more  
 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);
 1649          proto_tree_add_item(tree, hf_vnc_rre_num_subrects, tvb, *offset,  
 1650                              4, FALSE);
 1651          num_subrects = tvb_get_ntohl(tvb, *offset);
 1652          *offset += 4;
 1653   
 1654[+]         VNC_BYTES_NEEDED(bytes_per_pixel);
Show more  




Change Warning 3046.31962 : Cast Alters Value

Priority:
State:
Finding:
Owner:
Note: