1
0
Fork 0
libreoffice/external/gpgmepp/asan.patch
Daniel Baumann 8e63e14cf6
Adding upstream version 4:25.2.3.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
2025-06-22 16:20:04 +02:00

12 lines
399 B
Diff

--- src/posix-io.c
+++ src/posix-io.c
@@ -563,6 +563,9 @@
if (atfork)
atfork (atforkvalue, 0);
+ char const * ld_path = getenv("LIBO_LD_PATH");
+ if (ld_path && setenv("LD_LIBRARY_PATH", ld_path, 1) != 0)
+ abort();
/* First close all fds which will not be inherited. If we
* have closefrom(2) we first figure out the highest fd we