1. 05 5月, 2015 1 次提交
    • R
      Use safer sizeof variant in malloc · b4faea50
      Rich Salz 提交于
      For a local variable:
              TYPE *p;
      Allocations like this are "risky":
              p = OPENSSL_malloc(sizeof(TYPE));
      if the type of p changes, and the malloc call isn't updated, you
      could get memory corruption.  Instead do this:
              p = OPENSSL_malloc(sizeof(*p));
      Also fixed a few memset() calls that I noticed while doing this.
      Reviewed-by: NRichard Levitte <levitte@openssl.org>
      b4faea50
  2. 03 5月, 2015 2 次提交
  3. 01 5月, 2015 3 次提交
    • R
      free NULL cleanup 11 · efa7dd64
      Rich Salz 提交于
      Don't check for NULL before calling free functions. This gets:
              ERR_STATE_free
              ENGINE_free
              DSO_free
              CMAC_CTX_free
              COMP_CTX_free
              CONF_free
              NCONF_free NCONF_free_data _CONF_free_data
              A sk_free use within OBJ_sigid_free
              TS_TST_INFO_free (rest of TS_ API was okay)
              Doc update for UI_free (all uses were fine)
              X509V3_conf_free
              X509V3_section_free
              X509V3_string_free
      Reviewed-by: NRichard Levitte <levitte@openssl.org>
      efa7dd64
    • R
      free null cleanup finale · b548a1f1
      Rich Salz 提交于
      Don't check for NULL before calling OPENSSL_free
      Reviewed-by: NRichard Levitte <levitte@openssl.org>
      b548a1f1
    • R
      free NULL cleanup 7 · 23a1d5e9
      Rich Salz 提交于
      This gets BN_.*free:
          BN_BLINDING_free BN_CTX_free BN_FLG_FREE BN_GENCB_free
          BN_MONT_CTX_free BN_RECP_CTX_free BN_clear_free BN_free BUF_MEM_free
      
      Also fix a call to DSA_SIG_free to ccgost engine and remove some #ifdef'd
      dead code in engines/e_ubsec.
      Reviewed-by: NRichard Levitte <levitte@openssl.org>
      23a1d5e9
  4. 29 4月, 2015 1 次提交
  5. 17 4月, 2015 1 次提交
  6. 01 4月, 2015 2 次提交
  7. 25 3月, 2015 2 次提交
  8. 05 3月, 2015 1 次提交
  9. 13 2月, 2015 1 次提交
  10. 12 2月, 2015 1 次提交
  11. 09 2月, 2015 2 次提交
  12. 06 2月, 2015 1 次提交
  13. 04 2月, 2015 1 次提交
  14. 27 1月, 2015 1 次提交
    • R
      OPENSSL_NO_xxx cleanup: many removals · a00ae6c4
      Rich Salz 提交于
      The following compile options (#ifdef's) are removed:
          OPENSSL_NO_BIO OPENSSL_NO_BUFFER OPENSSL_NO_CHAIN_VERIFY
          OPENSSL_NO_EVP OPENSSL_NO_FIPS_ERR OPENSSL_NO_HASH_COMP
          OPENSSL_NO_LHASH OPENSSL_NO_OBJECT OPENSSL_NO_SPEED OPENSSL_NO_STACK
          OPENSSL_NO_X509 OPENSSL_NO_X509_VERIFY
      
      This diff is big because of updating the indents on preprocessor lines.
      Reviewed-by: NRichard Levitte <levitte@openssl.org>
      a00ae6c4
  15. 24 1月, 2015 1 次提交
  16. 22 1月, 2015 1 次提交
  17. 06 1月, 2015 1 次提交
  18. 31 12月, 2014 1 次提交
  19. 08 12月, 2014 2 次提交
  20. 29 11月, 2014 1 次提交
  21. 13 11月, 2014 1 次提交
  22. 07 8月, 2014 1 次提交
  23. 09 7月, 2014 1 次提交
  24. 27 6月, 2014 2 次提交
  25. 26 2月, 2014 1 次提交
  26. 15 2月, 2014 1 次提交
  27. 15 10月, 2013 1 次提交
  28. 06 9月, 2013 1 次提交
  29. 18 7月, 2013 1 次提交
  30. 22 6月, 2013 1 次提交
  31. 14 5月, 2013 1 次提交
  32. 14 1月, 2013 1 次提交