Text   |  XML   |  ReML   |   Visible Warnings:

Null Pointer Dereference  at maildir-sync.c:290

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

maildir_fix_duplicate

(/home/sate/Testcases/c/cve/dovecot-1.2.0/src/lib-storage/index/maildir/maildir-sync.c)expand/collapse
Show more  
 276  static int maildir_fix_duplicate(struct maildir_sync_context *ctx,
 277                                   const char *dir, const char *fname2)
 278  {
 279          const char *fname1, *path1, *path2;
 280          const char *new_fname, *new_path;
 281          struct stat st1, st2;
 282   
 283          fname1 = maildir_uidlist_sync_get_full_filename(ctx->uidlist_sync_ctx,
 284                                                          fname2);
 285          i_assert(fname1 != NULL);
 286   
 287[+]         path1 = t_strconcat(dir, "/", fname1, NULL);
 288          path2 = t_strconcat(dir, "/", fname2, NULL);
 289   
 290          if (stat(path1, &st1) < 0 || stat(path2, &st2) < 0) {
Show more  




Change Warning 7300.24833 : Null Pointer Dereference

Priority:
State:
Finding:
Owner:
Note: