[openssl/openssl] 7b7ad9: Do not use RLAYERfatal on NULL RLAYER

Tomáš Mráz noreply at github.com
Tue Aug 23 10:30:07 UTC 2022


  Branch: refs/heads/master
  Home:   https://github.com/openssl/openssl
  Commit: 7b7ad9e578470fe2b20db230638cfc20e3acf252
      https://github.com/openssl/openssl/commit/7b7ad9e578470fe2b20db230638cfc20e3acf252
  Author: Tomas Mraz <tomas at openssl.org>
  Date:   2022-08-23 (Tue, 23 Aug 2022)

  Changed paths:
    M ssl/record/methods/dtls_meth.c
    M ssl/record/methods/tls_common.c

  Log Message:
  -----------
  Do not use RLAYERfatal on NULL RLAYER

or on record layer that is to be freed anyway.

Fixes Coverity CID 1509402, 1509403

Reviewed-by: Paul Dale <pauli at openssl.org>
Reviewed-by: Matt Caswell <matt at openssl.org>
(Merged from https://github.com/openssl/openssl/pull/19027)


  Commit: 35bcac131ce5605c504d48a077f33f69660b660c
      https://github.com/openssl/openssl/commit/35bcac131ce5605c504d48a077f33f69660b660c
  Author: Tomas Mraz <tomas at openssl.org>
  Date:   2022-08-23 (Tue, 23 Aug 2022)

  Changed paths:
    M ssl/record/methods/ssl3_meth.c

  Log Message:
  -----------
  rl->enc_ctx must be non-NULL and cipher must be set

Otherwise ssl3_cipher() cannot work properly.

Fixes Coverity CID 1509401

Reviewed-by: Paul Dale <pauli at openssl.org>
Reviewed-by: Matt Caswell <matt at openssl.org>
(Merged from https://github.com/openssl/openssl/pull/19027)


Compare: https://github.com/openssl/openssl/compare/eb7a5cc34541...35bcac131ce5


More information about the openssl-commits mailing list