Text   |  XML   |  ReML   |   Visible Warnings:

Null Pointer Dereference  at iax2_analysis.c:629

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

iax2_packet_add_info

(/home/sate/Testcases/c/cve/wireshark-1.2.0/gtk/iax2_analysis.c)expand/collapse
Show more  
 609  static int iax2_packet_add_info(GtkWidget *list, user_data_t * user_data,
 610          tap_iax2_stat_t *statinfo, packet_info *pinfo,
 611          const struct _iax2_info_t *iax2info _U_)
 612  {
 613          guint16 msecs;
 614          gchar timeStr[32];
 615          struct tm *tm_tmp;
 616          time_t then;
 617          gchar status[40];
 618          GdkColor color = COLOR_DEFAULT;
 619          gchar color_str[14];
 620          then = pinfo->fd->abs_ts.secs;
 621          msecs = (guint16)(pinfo->fd->abs_ts.nsecs/1000000);
 622          tm_tmp = localtime(&then);
 623          g_snprintf(timeStr,sizeof(timeStr),"%02d/%02d/%04d %02d:%02d:%02d.%03d",
 624                  tm_tmp->tm_mon + 1,
 625                  tm_tmp->tm_mday,
 626                  tm_tmp->tm_year + 1900,
 627                  tm_tmp->tm_hour,
 628                  tm_tmp->tm_min,
 629                  tm_tmp->tm_sec,
 630                  msecs);
Show more  




Change Warning 4381.30170 : Null Pointer Dereference

Priority:
State:
Finding:
Owner:
Note: