Text   |  XML   |  ReML   |   Visible Warnings:

Uninitialized Variable  at sctp_stat.c:582

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

packet

(/home/sate/Testcases/c/cve/wireshark-1.2.0/gtk/sctp_stat.c)expand/collapse
Show more  
 540  packet(void *tapdata _U_, packet_info *pinfo , epan_dissect_t *edt _U_ , const void *data)
 541  {
 542          struct _sctp_info *sctp_info;
 543          guint32 chunk_number = 0, tsnumber,framenumber;
 544          sctp_tmp_info_t tmp_info;
 545          sctp_assoc_info_t *info = NULL;
 546          sctp_error_info_t *error = NULL;
 547          char str[200];
 548          guint16 type, length;
 549          address *store = NULL;
 550          tsn_t   *tsn = NULL;
 551          tsn_t   *sack = NULL;
 552          guint8  *t_s_n = NULL;
 553          gboolean sackchunk = FALSE;
 554          gboolean datachunk = FALSE;
 555          guint32 max;
 556          struct tsn_sort *tsn_s;
 557          guint8* addr = NULL;
 558          int i;
 559          guint8 index = 0;
 560   
 561          sctp_allassocs_info_t *assoc_info=NULL;
 562          assoc_info = &sctp_tapinfo_struct;
 563   
 564          sctp_info = (struct _sctp_info *) data;
 565          max =0xFFFFFFFF;
 566   
 567          framenumber=pinfo->fd->num;
 568   
 569          type = sctp_info->ip_src.type;
 570   
 571          if (type == AT_IPv4)
 572          {
 573                  tmp_info.src.type = AT_IPv4;
 574                  tmp_info.src.len  = 4;
 575          }
 576          else if (type == AT_IPv6)
 577          {
 578                  tmp_info.src.type = AT_IPv6;
 579                  tmp_info.src.len  = 16;
 580          }
 581   
 582          addr = g_malloc(tmp_info.src.len);
Show more  




Change Warning 4279.31443 : Uninitialized Variable

Priority:
State:
Finding:
Owner:
Note: