1. 13 May, 2015 1 commit
    • Rich Salz's avatar
      Add NULL checks from master · 690d040b
      Rich Salz authored
      
      
      The big "don't check for NULL" cleanup requires backporting some
      of the lowest-level functions to actually do nothing if NULL is
      given.  This will make it easier to backport fixes to release
      branches, where master assumes those lower-level functions are "safe"
      
      This commit addresses those tickets: 3798 3799 3801.
      
      Reviewed-by: default avatarMatt Caswell <matt@openssl.org>
      (cherry picked from commit f34b095f)
      690d040b
  2. 02 May, 2015 1 commit
  3. 22 Apr, 2015 2 commits
  4. 18 Apr, 2015 1 commit
  5. 16 Apr, 2015 2 commits
  6. 14 Apr, 2015 2 commits
    • Matt Caswell's avatar
      Fix ssl_get_prev_session overrun · 4bbff0f9
      Matt Caswell authored
      
      
      If OpenSSL is configured with no-tlsext then ssl_get_prev_session can read
      past the end of the ClientHello message if the session_id length in the
      ClientHello is invalid. This should not cause any security issues since the
      underlying buffer is 16k in size. It should never be possible to overrun by
      that many bytes.
      
      This is probably made redundant by the previous commit - but you can never be
      too careful.
      
      With thanks to Qinghao Tang for reporting this issue.
      
      Reviewed-by: default avatarRich Salz <rsalz@openssl.org>
      (cherry picked from commit 5e0a80c1)
      
      Conflicts:
      	ssl/ssl_sess.c
      4bbff0f9
    • Matt Caswell's avatar
      Check for ClientHello message overruns · 923552bd
      Matt Caswell authored
      
      
      The ClientHello processing is insufficiently rigorous in its checks to make
      sure that we don't read past the end of the message. This does not have
      security implications due to the size of the underlying buffer - but still
      needs to be fixed.
      
      With thanks to Qinghao Tang for reporting this issue.
      
      Reviewed-by: default avatarRich Salz <rsalz@openssl.org>
      (cherry picked from commit c9642eb1ff79a30e2c7632ef8267cc34cc2b0d79)
      923552bd
  7. 10 Apr, 2015 1 commit
    • Dr. Stephen Henson's avatar
      Don't set *pval to NULL in ASN1_item_ex_new. · dafa9534
      Dr. Stephen Henson authored
      
      
      While *pval is usually a pointer in rare circumstances it can be a long
      value. One some platforms (e.g. WIN64) where
      sizeof(long) < sizeof(ASN1_VALUE *) this will write past the field.
      
      *pval is initialised correctly in the rest of ASN1_item_ex_new so setting it
      to NULL is unecessary anyway.
      
      Thanks to Julien Kauffmann for reporting this issue.
      
      Reviewed-by: default avatarRichard Levitte <levitte@openssl.org>
      (cherry picked from commit f617b496)
      
      Conflicts:
      	crypto/asn1/tasn_new.c
      dafa9534
  8. 24 Mar, 2015 1 commit
  9. 19 Mar, 2015 11 commits
  10. 18 Mar, 2015 1 commit
  11. 12 Mar, 2015 1 commit
  12. 11 Mar, 2015 1 commit
  13. 09 Mar, 2015 1 commit
  14. 08 Mar, 2015 3 commits
  15. 07 Mar, 2015 1 commit
  16. 06 Mar, 2015 1 commit
  17. 02 Mar, 2015 2 commits
  18. 25 Feb, 2015 1 commit
  19. 24 Feb, 2015 1 commit
  20. 09 Feb, 2015 2 commits
  21. 06 Feb, 2015 1 commit
  22. 05 Feb, 2015 1 commit
  23. 04 Feb, 2015 1 commit