Text   |  XML   |  ReML   |   Visible Warnings:

Null Pointer Dereference  at rawlog.c:110

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

proxy_write_out

(/home/sate/Testcases/c/cve/dovecot-1.2.0/src/util/rawlog.c)expand/collapse
Show more  
 96  static void proxy_write_out(struct rawlog_proxy *proxy,
 97                              const void *data, size_t size)
 98  {
 99          struct tm *tm;
 100          char buf[256];
 101   
 102          if (proxy->fd_out == -1 || size == 0)
 103                  return;
 104   
 105          if (proxy->last_out_lf &&
 106              (proxy->flags & RAWLOG_FLAG_LOG_TIMESTAMPS) != 0 &&
 107              ioloop_time - proxy->last_write >= TIMESTAMP_WAIT_TIME) {
 108                  tm = localtime(&ioloop_time);
 109   
 110                  if (strftime(buf, sizeof(buf), TIMESTAMP_FORMAT, tm) <= 0)
Show more  




Change Warning 8028.24497 : Null Pointer Dereference

Priority:
State:
Finding:
Owner:
Note: