The Samba-Bugzilla – Bug 8397
Samba4 library crashes under certain conditions
Last modified: 2011-09-12 17:43:02 UTC
Created attachment 6801 [details]
Patch which fixes the crash
When I use the evolution mail client to connect to an exchange server, it crashes every time. To connect to the server, it uses evolution-mapi, which uses openchange, which uses samba4.
The backtrace indicates the crash occurred in part of the samba4 library: source4/lib/socket/interface.c:load_interface_list, in the talloc_free call. Stepping through the code, it appears that there were no network interfaces found, so ifaces was not allocated, and then a free was attempted on the invalid pointer. The attached patch fixes the crash.
A slightly different version is on the way into our repo. It should be there in a hour or so.