Text   |  XML   |  ReML   |   Visible Warnings:

Null Pointer Dereference  at fileset_dlg.c:173

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

fileset_dlg_add_file

(/home/sate/Testcases/c/cve/wireshark-1.2.0/gtk/fileset_dlg.c)expand/collapse
Show more  
 152  fileset_dlg_add_file(fileset_entry *entry) {
 153      char *created;
 154      char *modified;
 155      char *size;
 156      struct tm *local;
 157      GtkWidget     *fs_lb;
 158      GtkWidget     *fs_rb;
 159      gchar *title;
 160   
 161   
 162      if (fs_w == NULL) {
 163          return;
 164      }
 165   
 166[+]     created = fileset_dlg_name2date_dup(entry->name);
 167          if(!created) {
 168                  /* if this file doesn't follow the file set pattern, */
 169                  /* use the creation time of that file */
 170                  local = localtime(&entry->ctime);
 171                  created = g_strdup_printf("%04u.%02u.%02u %02u:%02u:%02u",  
 172                          local->tm_year+1900, local->tm_mon+1, local->tm_mday,
 173                          local->tm_hour, local->tm_min, local->tm_sec);
Show more  




Change Warning 3964.30073 : Null Pointer Dereference

Because they are very similar, this warning shares annotations with warning 3964.30074.

Priority:
State:
Finding:
Owner:
Note: