Text   |  XML   |  ReML   |   Visible Warnings:

Null Pointer Dereference  at utc-offset.c:11

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

message_date_create

(/home/sate/Testcases/c/cve/dovecot-1.2.0/src/lib-mail/message-date.c)expand/collapse
Show more  
 250  const char *message_date_create(time_t timestamp)
 251  {
 252          struct tm *tm;
 253          int offset;
 254          bool negative;
 255   
 256          tm = localtime(&timestamp);
 257[+]         offset = utc_offset(tm, timestamp);
expand/collapse

utc_offset

(/home/sate/Testcases/c/cve/dovecot-1.2.0/src/lib/utc-offset.c)expand/collapse
Show more  
 8  int utc_offset(struct tm *tm, time_t t ATTR_UNUSED)
 9  {
 10  #ifdef HAVE_TM_GMTOFF 
 11          return (int) (tm->tm_gmtoff/60);
Show more  
Show more  




Change Warning 7159.24779 : Null Pointer Dereference

Priority:
State:
Finding:
Owner:
Note: