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

imap_to_datetime

(/home/sate/Testcases/c/cve/dovecot-1.2.0/src/lib-imap/imap-date.c)expand/collapse
Show more  
 212  const char *imap_to_datetime(time_t timestamp)
 213  {
 214          struct tm *tm;
 215          int timezone_offset;
 216   
 217          tm = localtime(&timestamp);
 218[+]         timezone_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 7174.24618 : Null Pointer Dereference

Priority:
State:
Finding:
Owner:
Note: