[openssl/openssl] a4ea3d: Have OSSL_PARAM_allocate_from_text() fail on odd n...

Richard Levitte noreply at github.com
Thu Jan 25 15:37:58 UTC 2024


  Branch: refs/heads/openssl-3.2
  Home:   https://github.com/openssl/openssl
  Commit: a4ea3dfc4d8e3023d30be881e983c5ca1027979d
      https://github.com/openssl/openssl/commit/a4ea3dfc4d8e3023d30be881e983c5ca1027979d
  Author: Richard Levitte <levitte at openssl.org>
  Date:   2024-01-25 (Thu, 25 Jan 2024)

  Changed paths:
    M crypto/params_from_text.c
    M test/params_test.c

  Log Message:
  -----------
  Have OSSL_PARAM_allocate_from_text() fail on odd number of hex digits

The failure would be caught later on, so this went unnoticed, until someone
tried with just one hex digit, which was simply ignored.

Fixes #23373

Reviewed-by: Tom Cosgrove <tom.cosgrove at arm.com>
Reviewed-by: Tomas Mraz <tomas at openssl.org>
(Merged from https://github.com/openssl/openssl/pull/23374)

(cherry picked from commit ea6268cfceaba24328d66bd14bfc97c4fac14a58)




More information about the openssl-commits mailing list