I'm using a manually compiled Sendmail 8.12.8 with fink's cyrus-sasl2-2.1.12-4 and db41-ssl-4.1.25-1. Sendmail is working fine with authentication through SASL, but I'm getting errors when operating on sasldb2 with saslpasswd2 and sasldblistusers2. Trying to create a password works but gives the following:

~$ sudo saslpasswd2 -c -a Sendmail -u daniel-johnson.org daniel
Password:
Password:
Again (for verification):
*** malloc[12164]: Deallocation of a pointer not malloced: 0xe6020; This could be a double free(), or free() called with the middle of an allocated block; Try setting environment variable MallocHelp to see tools to help debug
*** malloc[12164]: Deallocation of a pointer not malloced: 0xe6020; This could be a double free(), or free() called with the middle of an allocated block; Try setting environment variable MallocHelp to see tools to help debug


sasldblistusers2 gives the same error:

~$ sudo sasldblistusers2
[EMAIL PROTECTED]: userPassword
[EMAIL PROTECTED]: cmusaslsecretOTP
*** malloc[12218]: Deallocation of a pointer not malloced: 0xdfb50; This could be a double free(), or free() called with the middle of an allocated block; Try setting environment variable MallocHelp to see tools to help debug
*** malloc[12218]: Deallocation of a pointer not malloced: 0xdfb50; This could be a double free(), or free() called with the middle of an allocated block; Try setting environment variable MallocHelp to see tools to help debug


Turning on memory scribbling causes a segmentation fault:

~$ export MallocScribble=1
~$ sudo sasldblistusers2
malloc[12267]: enabling scribbling to detect mods to free blocks
malloc[12267]: enabling scribbling to detect mods to free blocks
[EMAIL PROTECTED]: userPassword
[EMAIL PROTECTED]: cmusaslsecretOTP
Segmentation fault

So it looks like there's a double free() somewhere and that memory is being written to between those free()s. This didn't happen with cyrus-sasl2-2.1.12-2 and db41-ssl-4.1.24 so I'm guessing it could be db41 4.1.25 that's the culprit. Unfortunately, Sendmail requires 4.1.25 or higher, so I don't want to downgrade. I was wondering if anyone else had seen this or has any ideas.

Thanks.
--
Package manager version: 0.12.1
Distribution version: 0.5.1.cvs
Mac OS X version: 10.2.4
December 2002 Developer Tools or later
gcc version: 3.1
make version: 3.79

--
Daniel Johnson
[EMAIL PROTECTED]



-------------------------------------------------------
This SF.net email is sponsored by:Crypto Challenge is now open! Get cracking and register here for some mind boggling fun and the chance of winning an Apple iPod:
http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0031en
_______________________________________________
Fink-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/fink-users

Reply via email to