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/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D281685

            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 OpenS=
SL
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 reconsider=
ed.

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



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