git.samba.org
/
bbaumbach
/
samba-autobuild
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4f80f5f
)
selftest: Fix libasan preload
author
Andreas Schneider
<asn@samba.org>
Tue, 2 Feb 2021 08:17:17 +0000
(09:17 +0100)
committer
Andrew Bartlett
<abartlet@samba.org>
Wed, 3 Feb 2021 04:19:36 +0000
(
04:19
+0000)
libasan.so needs to be the first library which is preloaded or it wont
work.
Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
selftest/selftest.pl
patch
|
blob
|
history
diff --git
a/selftest/selftest.pl
b/selftest/selftest.pl
index 4c27edd2969752c127a8c27d0db6ab19174f2352..cfc5e4384802f126ea93285694ab2777d5b0fdea 100755
(executable)
--- a/
selftest/selftest.pl
+++ b/
selftest/selftest.pl
@@
-344,7
+344,7
@@
my $ld_preload = $ENV{LD_PRELOAD};
if ($opt_libasan_so_path) {
if ($ld_preload) {
- $ld_preload = "$
ld_preload:$opt_libasan_so_path
";
+ $ld_preload = "$
opt_libasan_so_path:$ld_preload
";
} else {
$ld_preload = "$opt_libasan_so_path";
}