cid#1507934 Big parameter passed by value
[LibreOffice.git] / external / gpgmepp / asan.patch
blob16d97f6ff3075df0b4deeb0b423a697687f19af9
1 --- src/posix-io.c
2 +++ src/posix-io.c
3 @@ -468,6 +468,9 @@
5 if (atfork)
6 atfork (atforkvalue, 0);
7 + char const * ld_path = getenv("LIBO_LD_PATH");
8 + if (ld_path && setenv("LD_LIBRARY_PATH", ld_path, 1) != 0)
9 + abort();
11 /* First close all fds which will not be inherited. If we
12 * have closefrom(2) we first figure out the highest fd we