[openssl/openssl] 488fc6: NULL-pointer subtraction UB in tls_collect_extensi...

"'Daniel Kubec' via openssl-commits" <[email protected]> Fri, 10 Jul 2026 08:41:34 -0700
Newsgroups gmane.comp.encryption.openssl.cvs
Message-ID <openssl/openssl/push/refs/heads/openssl-4.0/[email protected]>
  Branch: refs/heads/openssl-4.0
  Home:   https://github.com/openssl/openssl
  Commit: 488fc6dcd08bc9c13a2831d62ca8d94dbffe061e
      https://github.com/openssl/openssl/commit/488fc6dcd08bc9c13a2831d62ca8d94dbffe061e
  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-4.0/c0c9f5-488fc6%40github.com.