Text   |  XML   |  ReML   |   Visible Warnings:

Null Pointer Dereference  at mail-transaction-log.c:25

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

mail_transaction_log_create

(/home/sate/Testcases/c/cve/dovecot-1.2.0/src/lib-index/mail-transaction-log.c)expand/collapse
Show more  
 103  int mail_transaction_log_create(struct mail_transaction_log *log, bool reset)
 104  {
 105          struct mail_transaction_log_file *file;
 106          const char *path;
 107   
 108          if (MAIL_INDEX_IS_IN_MEMORY(log->index)) {
 109[+]                 file = mail_transaction_log_file_alloc_in_memory(log);
 110[+]                 mail_transaction_log_set_head(log, file);
expand/collapse

mail_transaction_log_set_head

(/home/sate/Testcases/c/cve/dovecot-1.2.0/src/lib-index/mail-transaction-log.c)expand/collapse
Show more  
 20  mail_transaction_log_set_head(struct mail_transaction_log *log,
 21                                struct mail_transaction_log_file *file)
 22  {
 23          i_assert(log->head != file);
 24   
 25          file->refcount++;
Show more  
Show more  




Change Warning 7198.25554 : Null Pointer Dereference

Priority:
State:
Finding:
Owner:
Note: