[openssl/openssl] 4f1786: NULL-pointer subtraction UB in tls_collect_extensi...

"'Daniel Kubec' via openssl-commits" <[email protected]> Fri, 10 Jul 2026 08:41:35 -0700
Newsgroups gmane.comp.encryption.openssl.cvs
Message-ID <openssl/openssl/push/refs/heads/master/[email protected]>
  Branch: refs/heads/master
  Home:   https://github.com/openssl/openssl
  Commit: 4f17865ba44b904c99d8e10ac1e460b811b7842e
      https://github.com/openssl/openssl/commit/4f17865ba44b904c99d8e10ac1e460b811b7842e
  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)



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/master/a40f6f-4f1786%40github.com.