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

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


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