Text   |  XML   |  ReML   |   Visible Warnings:

Null Pointer Dereference  at file-dotlock.c:866

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

file_dotlock_touch

(/home/sate/Testcases/c/cve/dovecot-1.2.0/src/lib/file-dotlock.c)expand/collapse
Show more  
 852  int file_dotlock_touch(struct dotlock *dotlock)
 853  {
 854          time_t now = time(NULL);
 855          struct utimbuf buf;
 856          int ret = 0;
 857   
 858          if (dotlock->mtime == now)
 859                  return 0;
 860   
 861          dotlock->mtime = now;
 862          buf.actime = buf.modtime = now;
 863   
 864          T_BEGIN {
 865[+]                 const char *lock_path = file_dotlock_get_lock_path(dotlock);
 866                  if (utime(lock_path, &buf) < 0) {
Show more  




Change Warning 7092.24704 : Null Pointer Dereference

Priority:
State:
Finding:
Owner:
Note: