Text   |  XML   |  ReML   |   Visible Warnings:

Uninitialized Variable  at packet-dect.c:1116

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

calc_xcrc

(/home/sate/Testcases/c/cve/wireshark-1.2.0/epan/dissectors/packet-dect.c)expand/collapse
Show more  
 1122  calc_xcrc(guint8* data, guint8 length)
 1123  {
 1124          guint8 bits[21];
 1125          guint8 gp=0x1;
 1126          guint8 crc;
 1127          guint8 next;
 1128          int y, x;
 1129   
 1130          for(y=0;y<80;y++)
 1131          {
 1132[+]                 setbit(bits, y, getbit(data, y+48*(1+(int)(y/16))));
expand/collapse

setbit

(/home/sate/Testcases/c/cve/wireshark-1.2.0/epan/dissectors/packet-dect.c)expand/collapse
Show more  
 1113  setbit(guint8 *data, int bit, guint8 value)
 1114  {
 1115          if(!value)
 1116                  data[bit/8]&=~(1<<(bit%8));
Show more  
Show more  




Change Warning 2282.29454 : Uninitialized Variable

Priority:
State:
Finding:
Owner:
Note: