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

Richard Levitte noreply at github.com
Thu Jan 25 15:39:08 UTC 2024


  Branch: refs/heads/openssl-3.0
  Home:   https://github.com/openssl/openssl
  Commit: ebd24b37eccf8eb362ab7c5257b57f833eb2a873
      https://github.com/openssl/openssl/commit/ebd24b37eccf8eb362ab7c5257b57f833eb2a873
  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