Text   |  XML   |  ReML   |   Visible Warnings:

Use After Free  at ssl-proxy-openssl.c:433

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

ssl_read

(/home/sate/Testcases/c/cve/dovecot-1.2.0/src/login-common/ssl-proxy-openssl.c)expand/collapse
Show more  
 429  static void ssl_read(struct ssl_proxy *proxy)
 430  {
 431          int ret;
 432   
 433          while (proxy->plainout_size < sizeof(proxy->plainout_buf) &&
 434                 !proxy->destroyed) {
 435                  ret = SSL_read(proxy->ssl,
 436                                 proxy->plainout_buf + proxy->plainout_size,
 437                                 sizeof(proxy->plainout_buf) -
 438                                 proxy->plainout_size);
 439                  if (ret <= 0) {
 440                          ssl_handle_error(proxy, ret, "SSL_read()");
 441                          break;
 442                  } else {
 443                          i_free_and_null(proxy->last_error);
 444                          proxy->plainout_size += ret;
 445[+]                         plain_write(proxy);
Show more  




Change Warning 11759.25656 : Use After Free

Priority:
State:
Finding:
Owner:
Note: