Andrew Bartlett via samba-technical
2018-05-03 04:35:45 UTC
I needed to get AddressSanitizer working to fix the LSA use-after-free
bug and the attached make it all work again.
Recent versions of GCC require that the library be in LD_PRELOAD before
anything that is linked with libasan. I use a horrible ldd hack to
find the right library path (sorry, not sorry).
Once we get a more modern sn-devel I'll enable this by default in
autobuild.
Please review and push!
Andrew Bartlett
bug and the attached make it all work again.
Recent versions of GCC require that the library be in LD_PRELOAD before
anything that is linked with libasan. I use a horrible ldd hack to
find the right library path (sorry, not sorry).
Once we get a more modern sn-devel I'll enable this by default in
autobuild.
Please review and push!
Andrew Bartlett
--
Andrew Bartlett
https://samba.org/~abartlet/
Authentication Developer, Samba Team https://samba.org
Samba Development and Support, Catalyst IT
https://catalyst.net.nz/services/samba
Andrew Bartlett
https://samba.org/~abartlet/
Authentication Developer, Samba Team https://samba.org
Samba Development and Support, Catalyst IT
https://catalyst.net.nz/services/samba