Text   |  XML   |  ReML   |   Visible Warnings:

Cast Alters Value  at packet-vnc.c:2008

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

vnc_tight_encoding

(/home/sate/Testcases/c/cve/wireshark-1.2.0/epan/dissectors/packet-vnc.c)expand/collapse
Show more  
 1991  vnc_tight_encoding(tvbuff_t *tvb, packet_info *pinfo, gint *offset,
 1992                     proto_tree *tree, guint16 width, guint16 height)
 1993  {
 1994          vnc_packet_t *per_packet_info;
 1995          guint8 comp_ctl;
 1996          proto_item *compression_type_ti;
 1997          gint bit_offset;
 1998          gint bytes_needed = -1;
 1999   
 2000          /* unused arguments */
 2001          (void) width;
 2002          (void) height;
 2003   
 2004          per_packet_info = p_get_proto_data(pinfo->fd, proto_vnc);
 2005   
 2006          /* See xserver/hw/vnc/rfbproto.h and grep for "Tight Encoding." for the following layout */
 2007   
 2008[+]         VNC_BYTES_NEEDED(1);
Show more  




Change Warning 3038.32762 : Cast Alters Value

Priority:
State:
Finding:
Owner:
Note: