https://github.com/openssl/openssl
Revision c3cfc9962b883a1da7082735f77a9c4b4e4ffdd8 authored by Richard Levitte on 07 September 2016, 18:56:20 UTC, committed by Richard Levitte on 07 September 2016, 19:54:08 UTC
The background story is that util/shlib_wrap.sh was setting LD_PRELOAD
or similar platform dependent variables, just in case the shared
libraries were built with -rpath.  Unfortunately, this doesn't work
too well with asan, msan or ubsan.

So, the solution is to forbid the combination of shared libraries,
-rpath and any of the sanity analyzers we can configure.

This changes util/shlib_wrap.sh so it only contains the code that sets
LD_PRELOAD when -rpath has been used when configuring.

Reviewed-by: Rich Salz <rsalz@openssl.org>
(cherry picked from commit 342a1a23793cb99921abeabe882adf8652ba715d)
1 parent 92ed7fa
History
Tip revision: c3cfc9962b883a1da7082735f77a9c4b4e4ffdd8 authored by Richard Levitte on 07 September 2016, 18:56:20 UTC
Allow asan, msan and ubsan to be configured with shared libraries
Tip revision: c3cfc99
File Mode Size
Configurations
VMS
apps
crypto
demos
doc
engines
external
fuzz
include
ms
os-dep
ssl
test
tools
util
.gitattributes -rw-r--r-- 50 bytes
.gitignore -rw-r--r-- 2.7 KB
.travis-create-release.sh -rw-r--r-- 258 bytes
.travis.yml -rw-r--r-- 3.8 KB
ACKNOWLEDGEMENTS -rw-r--r-- 87 bytes
AUTHORS -rw-r--r-- 362 bytes
CHANGES -rw-r--r-- 519.5 KB
CONTRIBUTING -rw-r--r-- 3.4 KB
Configure -rwxr-xr-x 87.9 KB
FAQ -rw-r--r-- 84 bytes
INSTALL -rw-r--r-- 37.5 KB
LICENSE -rw-r--r-- 6.0 KB
Makefile.shared -rw-r--r-- 21.1 KB
NEWS -rw-r--r-- 35.2 KB
NOTES.DJGPP -rw-r--r-- 2.0 KB
NOTES.PERL -rw-r--r-- 4.5 KB
NOTES.VMS -rw-r--r-- 2.7 KB
NOTES.WIN -rw-r--r-- 5.1 KB
README -rw-r--r-- 3.9 KB
README.ECC -rw-r--r-- 3.5 KB
README.ENGINE -rw-r--r-- 15.7 KB
README.FIPS -rw-r--r-- 61 bytes
appveyor.yml -rw-r--r-- 1.2 KB
build.info -rw-r--r-- 2.2 KB
config -rwxr-xr-x 26.9 KB
config.com -rw-r--r-- 2.4 KB
e_os.h -rw-r--r-- 14.7 KB

README

back to top