Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 24 Sep 2024 14:30:02 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 281685] ASAN intercepting SHA256 and MD5 causes issues with OpenSSL's EVP
Message-ID:  <bug-281685-227@https.bugs.freebsd.org/bugzilla/>

index | next in thread | raw e-mail

https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=281685

            Bug ID: 281685
           Summary: ASAN intercepting SHA256 and MD5 causes issues with
                    OpenSSL's EVP
           Product: Base System
           Version: 15.0-CURRENT
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: misc
          Assignee: bugs@FreeBSD.org
          Reporter: tb@openbsd.org

libmd has a few Init/Update/Final implementations of the same name as OpenSSL
but with incompatible signature. For FreeBSD this is at least SHA2 and MD5.
This causes issues when using ASAN, in particular in combination with EVP.

See https://github.com/libressl/portable/issues/1098 and
https://github.com/openssl/openssl/issues/25456 for an example.

I suspect defining `SANITIZER_INTERCEPT_*` for these needs to be reconsidered.

-- 
You are receiving this mail because:
You are the assignee for the bug.

home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-281685-227>