Text   |  XML   |  ReML   |   Visible Warnings:

Free Null Pointer  at ssl-proxy-openssl.c:355

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

ssl_step

(/home/sate/Testcases/c/cve/dovecot-1.2.0/src/login-common/ssl-proxy-openssl.c)expand/collapse
Show more  
 469  static void ssl_step(struct ssl_proxy *proxy)
 470  {
 471          proxy->refcount++;
 472   
 473          if (!proxy->handshaked)
 474                  ssl_handshake(proxy);
 475   
 476          if (proxy->handshaked) {
 477                  if (proxy->plainout_size == sizeof(proxy->plainout_buf))
 478                          ssl_set_io(proxy, SSL_REMOVE_INPUT);
 479                  else 
 480[+]                         ssl_read(proxy);
 481   
 482                  if (proxy->sslout_size == 0)
 483                          ssl_set_io(proxy, SSL_REMOVE_OUTPUT);
 484                  else {
 485                          net_set_cork(proxy->fd_ssl, TRUE);
 486[+]                         ssl_write(proxy);
expand/collapse

ssl_write

(/home/sate/Testcases/c/cve/dovecot-1.2.0/src/login-common/ssl-proxy-openssl.c)expand/collapse
Show more  
 450  static void ssl_write(struct ssl_proxy *proxy)
 451  {
 452          int ret;
 453   
 454          ret = SSL_write(proxy->ssl, proxy->sslout_buf, proxy->sslout_size);
 455          if (ret <= 0)
 456[+]                 ssl_handle_error(proxy, ret, "SSL_write()");
expand/collapse

ssl_handle_error

(/home/sate/Testcases/c/cve/dovecot-1.2.0/src/login-common/ssl-proxy-openssl.c)expand/collapse
Show more  
 347  static void ssl_handle_error(struct ssl_proxy *proxy, int ret,
 348                               const char *func_name)
 349  {
 350          const char *errstr = NULL;
 351          int err;
 352   
 353          proxy->refcount++;
 354   
 355          i_free_and_null(proxy->last_error);
Show more  
Show more  
Show more  




Change Warning 11764.25751 : Free Null Pointer

Priority:
State:
Finding:
Owner:
Note: