[openssl/openssl] c20d92: Release zero length handshake fragment records

Matt Caswell noreply at github.com
Mon May 1 09:07:42 UTC 2023


  Branch: refs/heads/master
  Home:   https://github.com/openssl/openssl
  Commit: c20d923b46641030cb2946a1922ee344b9d27e43
      https://github.com/openssl/openssl/commit/c20d923b46641030cb2946a1922ee344b9d27e43
  Author: Matt Caswell <matt at openssl.org>
  Date:   2023-05-01 (Mon, 01 May 2023)

  Changed paths:
    M ssl/record/rec_layer_s3.c

  Log Message:
  -----------
  Release zero length handshake fragment records

If we are processing a hanshake fragment and we end up with a
zero length record, then we still need to release it to avoid an
infinite loop.

Fixes #20821

Reviewed-by: Todd Short <todd.short at me.com>
Reviewed-by: Tomas Mraz <tomas at openssl.org>
(Merged from https://github.com/openssl/openssl/pull/20824)


  Commit: 91d39be797fb248edfe9da9678d05c937b1f88af
      https://github.com/openssl/openssl/commit/91d39be797fb248edfe9da9678d05c937b1f88af
  Author: Matt Caswell <matt at openssl.org>
  Date:   2023-05-01 (Mon, 01 May 2023)

  Changed paths:
    M fuzz/corpora

  Log Message:
  -----------
  Update the corpora

Updated the fuzz corpora to include a testcase for the zero length
handshake fragment records issue fixed by the previous commit.

Reviewed-by: Todd Short <todd.short at me.com>
Reviewed-by: Tomas Mraz <tomas at openssl.org>
(Merged from https://github.com/openssl/openssl/pull/20824)


Compare: https://github.com/openssl/openssl/compare/1c35e39ac0e5...91d39be797fb


More information about the openssl-commits mailing list