[ruby-cvs:57821] nobu:r50673 (trunk): openssl: wrapper object before alloc

nobu at ruby-lang.org nobu at ruby-lang.org
Fri May 29 14:55:03 JST 2015


nobu	2015-05-29 14:55:02 +0900 (Fri, 29 May 2015)

  New Revision: 50673

  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=50673

  Log:
    openssl: wrapper object before alloc
    
    * ext/openssl: make wrapper objects before allocating structs to
      get rid of potential memory leaks.

  Modified files:
    trunk/ext/openssl/ossl_bn.c
    trunk/ext/openssl/ossl_cipher.c
    trunk/ext/openssl/ossl_digest.c
    trunk/ext/openssl/ossl_engine.c
    trunk/ext/openssl/ossl_ns_spki.c
    trunk/ext/openssl/ossl_ocsp.c
    trunk/ext/openssl/ossl_pkcs12.c
    trunk/ext/openssl/ossl_pkcs7.c
    trunk/ext/openssl/ossl_pkey.c
    trunk/ext/openssl/ossl_pkey.h
    trunk/ext/openssl/ossl_pkey_dh.c
    trunk/ext/openssl/ossl_pkey_dsa.c
    trunk/ext/openssl/ossl_pkey_ec.c
    trunk/ext/openssl/ossl_pkey_rsa.c
    trunk/ext/openssl/ossl_ssl.c
    trunk/ext/openssl/ossl_x509attr.c
    trunk/ext/openssl/ossl_x509cert.c
    trunk/ext/openssl/ossl_x509crl.c
    trunk/ext/openssl/ossl_x509ext.c
    trunk/ext/openssl/ossl_x509name.c
    trunk/ext/openssl/ossl_x509req.c
    trunk/ext/openssl/ossl_x509revoked.c
    trunk/ext/openssl/ossl_x509store.c


More information about the ruby-cvs mailing list