Skip to content

nsswitch pam_winbind: Fix Asan use after free

Gary Lockyer requested to merge samba-team/devel/samba:gary-asan-003 into master

Fix use after free condition detected by Address Sanitizer triggered by wbcLogonUserInfoDestructor, wbcFreeMemory has code to detect and prevent a double free. This patch prevents the Address Sanitizer error, allowing tests to be run with Address Sanitizer enabled.

Bug: https://bugzilla.samba.org/show_bug.cgi?id=13927

Signed-off-by: Gary Lockyer gary@catalyst.net.nz

Merge request reports