Text   |  XML   |  ReML   |   Visible Warnings:

Cast Alters Value  at packet-vnc.c:1824

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

vnc_zrle_encoding

(/home/sate/Testcases/c/cve/wireshark-1.2.0/epan/dissectors/packet-vnc.c)expand/collapse
Show more  
 1804  vnc_zrle_encoding(tvbuff_t *tvb, packet_info *pinfo, gint *offset,
 1805                    proto_tree *tree, guint16 width, guint16 height)
 1806  #else
 1807  static guint
 1808  vnc_zrle_encoding(tvbuff_t *tvb, packet_info *pinfo _U_, gint *offset,
 1809                    proto_tree *tree, guint16 width _U_, guint16 height _U_)
 1810  #endif
 1811  {
 1812          guint32 data_len;
 1813  #ifdef HAVE_LIBZ 
 1814          guint8 palette_size;
 1815          guint8 bytes_per_cpixel = vnc_get_bytes_per_pixel(pinfo);
 1816          gint uncomp_offset = 0;
 1817          guint length;
 1818          gint subencoding_type;
 1819          tvbuff_t *uncomp_tvb = NULL;
 1820          proto_tree *zrle_subencoding_tree;
 1821          proto_item *ti;
 1822  #endif
 1823   
 1824[+]         VNC_BYTES_NEEDED(4);
Show more  




Change Warning 3039.31968 : Cast Alters Value

Priority:
State:
Finding:
Owner:
Note: