Text   |  XML   |  ReML   |   Visible Warnings:

Null Pointer Dereference  at mbox-from.c:260

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

mbox_from_create

(/home/sate/Testcases/c/cve/dovecot-1.2.0/src/lib-mail/mbox-from.c)expand/collapse
Show more  
 244  const char *mbox_from_create(const char *sender, time_t timestamp)
 245  {
 246          string_t *str;
 247          struct tm *tm;
 248          int year;
 249   
 250          str = t_str_new(256);
 251          str_append(str, "From ");
 252          str_append(str, sender);
 253          str_append(str, "  ");
 254   
 255          /* we could use simply asctime(), but i18n etc. may break it.
 256             Example: "Thu Nov 29 22:33:52 2001" */
 257          tm = localtime(&timestamp);
 258   
 259          /* week day */
 260          str_append(str, weekdays[tm->tm_wday]);
Show more  




Change Warning 7154.24624 : Null Pointer Dereference

Priority:
State:
Finding:
Owner:
Note: