[openssl/openssl] 11889a: Suppress function pointer type validation in clang...

"'Neil Horman' via openssl-commits" <[email protected]> Wed, 08 Jul 2026 09:04: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: 11889aa905bd6e80f80638f6cd2e40224a1dd084
      https://github.com/openssl/openssl/commit/11889aa905bd6e80f80638f6cd2e40224a1dd084
  Author: Neil Horman <[email protected]>
  Date:   2026-07-08 (Wed, 08 Jul 2026)

  Changed paths:
    M Configure

  Log Message:
  -----------
  Suppress function pointer type validation in clang ubsan

We've been concerned about ubsan errors comming with more recent
versions of clang.  specifically versions of clang later than 17
generate hundreds of function pointer type validation errors, i.e.
assigning a function of type void (*)(TYPE *) to a function pointer of
type void (*)(void *).

Fixing these requires the creation of lots of thunk function that get
littered through the code base, and are generally unpleasant to carry.
A better fix requires siginficant code refactoring, and potentially
large changes to our ABI, which we can't support until the next major
release.

So, for now, just suppress those ubsan errors, so we can more properly
deal with the issue when we are able.

Reviewed-by: Milan Broz <[email protected]>
Reviewed-by: Bob Beck <[email protected]>
Reviewed-by: Nikola Pajkovsky <[email protected]>
MergeDate: Wed Jul  8 16:01:12 2026
(Merged from https://github.com/openssl/openssl/pull/31837)



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/76e33a-11889a%40github.com.