Leak Sanitizer in Samba

Jeremy Allison jra at samba.org
Sat Jan 20 00:52:08 UTC 2024


On Thu, Oct 26, 2023 at 09:58:56AM +0200, Andreas Schneider via samba-technical wrote:
>Hi,
>
>you might already know AddressSanitizer. AddressSanitizer also has a
>LeakSanitizer built it, however it is disabled in Samba. I'm trying to get it
>working as we have memory leaks probably in Winbind and rpcd-lsa. So the last
>days I fixed issues which prevented to actually run 'make testenv'. In case
>you want to help fixing memory leaks you can use this branch:
>
>https://git.samba.org/?p=asn/samba.git;a=shortlog;h=refs/heads/asn-lsan
>
>I'm currently stuck with memcache and smbpasswd.
>
>The AD DC testenv already starts. It finds tfork leaks on shutdown. It would
>be great if someone could fix those ...

This looks like a fun hobby :-). Any more leaks to look at ?

Can you maybe post ones you find here ?



More information about the samba-technical mailing list