httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From do...@apache.org
Subject cvs commit: httpd-2.0/modules/tls openssl_state_machine.c
Date Tue, 24 Jul 2001 18:17:06 GMT
dougm       01/07/24 11:17:06

  Modified:    modules/tls openssl_state_machine.c
  Log:
  zero the SSLStateMachine in case of early error, else SSLStateMachine_free segvs
  
  Revision  Changes    Path
  1.8       +2 -0      httpd-2.0/modules/tls/openssl_state_machine.c
  
  Index: openssl_state_machine.c
  ===================================================================
  RCS file: /home/cvs/httpd-2.0/modules/tls/openssl_state_machine.c,v
  retrieving revision 1.7
  retrieving revision 1.8
  diff -u -r1.7 -r1.8
  --- openssl_state_machine.c	2001/07/18 20:35:07	1.7
  +++ openssl_state_machine.c	2001/07/24 18:17:06	1.8
  @@ -138,6 +138,8 @@
   
       die_unless(pMachine);
   
  +    memset(pMachine, '\0', sizeof *pMachine);
  +
       pMachine->pCtx=SSL_CTX_new(SSLv23_server_method());
       die_unless(pMachine->pCtx);
   
  
  
  

Mime
View raw message