[openssl/openssl] 37a53a: NULL-pointer subtraction UB in tls_collect_extensi...

"'Daniel Kubec' via openssl-commits" <[email protected]> Fri, 10 Jul 2026 08:44:35 -0700
Newsgroups gmane.comp.encryption.openssl.cvs
Message-ID <openssl/openssl/push/refs/heads/openssl-3.5/[email protected]>
  Branch: refs/heads/openssl-3.5
  Home:   https://github.com/openssl/openssl
  Commit: 37a53a9a3e68a988360472aa4074d492a5f991c4
      https://github.com/openssl/openssl/commit/37a53a9a3e68a988360472aa4074d492a5f991c4
  Author: Daniel Kubec <[email protected]>
  Date:   2026-07-10 (Fri, 10 Jul 2026)

  Changed paths:
    M ssl/statem/extensions.c
    M test/sslapitest.c

  Log Message:
  -----------
  NULL-pointer subtraction UB in tls_collect_extensions()

Fixed invalid-pointer-pair in the existing branch by ensuring thisex != NULL
before subtraction.

Fixes #31689

Reviewed-by: Tom Cosgrove <[email protected]>
Reviewed-by: Tomas Mraz <[email protected]>
MergeDate: Fri Jul 10 15:40:21 2026
(Merged from https://github.com/openssl/openssl/pull/31875)

(cherry picked from commit 4f17865ba44b904c99d8e10ac1e460b811b7842e)



To unsubscribe from these emails, change your notification settings at https://github.com/openssl/openssl/settings/notifications

-- 
You received this message because you are subscribed to the Google Groups "openssl-commits" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
To view this discussion visit https://groups.google.com/a/openssl.org/d/msgid/openssl-commits/openssl/openssl/push/refs/heads/openssl-3.5/840158-37a53a%40github.com.