[vchkpw] vchkpw crashes with FLTBOUNDS fault on pop auth

2006-06-12 Thread David Prude

Hello,

   I am attempting to replicate a working qmail/vpopmail setup from a 
Solairs 9 machine onto a Solaris 10 machine and have encountered the 
following issue:


   When qmail-pop3d executes vchkpw, the child process (vchkpw) 
crashes. The output of a pop session is as follows:


+OK [EMAIL PROTECTED]
user [EMAIL PROTECTED]
+OK
pass password
-ERR aack, child crashed

A truss of the qmail-pop3d and it's children reviles the following (from 
the vchkpw process):


Incurred fault #6, FLTBOUNDS  %pc = 0xFDB30780

Upon seeing this I ran gdb on the core file and found the following:

   (gdb) bt
   #0  0xfdb30780 in strcmp () from /usr/lib/libc.so.1
   #1  0x00014198 in login_virtual_user () at vchkpw.c:492
   #2  0x000132bc in main (argc=3, argv=0xffbffe1c) at vchkpw.c:185
   (gdb) f 1
   #1  0x00014198 in login_virtual_user () at vchkpw.c:492
   492 snprintf(LogLine, sizeof(LogLine), %s: pop 
access denied [EMAIL PROTECTED]:%s.

   (gdb) print LogLine
   $1 = '\0' repeats 499 times
   (gdb) print ConnType
   $3 = 0
   (gdb) print vpw-pw_flags
   $4 = 0

I am at a loss as of to what could be causing this problem. Any help 
ideas would be much appreciated.


-David Prude

P.S. I have included the configuration options for vpopmail, as well as 
the output for ldd on vchkpw below:


Vpopmail Configuration:

./configure \
--enable-logging=p \
--disable-passwd \
--enable-clear-passwd \
--enable-auth-module=mysql \
--enable-many-domains \
--disable-auth-logging \
--disable-sql-logging \
--enable-valias \
--enable-roaming-users \
--disable-mysql-limits

ldd Output: 
   libm.so.2 = /usr/lib/libm.so.2

   libnsl.so.1 =   /usr/lib/libnsl.so.1
   libsocket.so.1 =/usr/lib/libsocket.so.1
   libmysqlclient.so.12 =  /usr/sfw/lib/libmysqlclient.so.12
   libz.so =   /usr/local/lib/libz.so
   libcrypt_i.so.1 =   /usr/lib/libcrypt_i.so.1
   libc.so.1 = /usr/lib/libc.so.1
   libmp.so.2 =/usr/lib/libmp.so.2
   libmd5.so.1 =   /usr/lib/libmd5.so.1
   libscf.so.1 =   /usr/lib/libscf.so.1
   libz.so.1 (SUNW_1.1) =  (version not found)
   librt.so.1 =/usr/lib/librt.so.1
   libgen.so.1 =   /usr/lib/libgen.so.1
   libgcc_s.so.1 = /usr/local/lib/libgcc_s.so.1
   libdoor.so.1 =  /usr/lib/libdoor.so.1
   libuutil.so.1 = /usr/lib/libuutil.so.1
   libaio.so.1 =   /usr/lib/libaio.so.1






[vchkpw] New version of vpopmail?

2006-06-12 Thread Steve Cole
It's been over a month now... any word on a release with the issues identified 
in 5.4.16 resolved?  I recall Tom saying that we should expect a version mid 
last week, but Sourceforge isn't reflecting that.


Re: [vchkpw] New version of vpopmail?

2006-06-12 Thread Tom Collins

On Jun 12, 2006, at 3:59 PM, Steve Cole wrote:
It's been over a month now... any word on a release with the issues 
identified
in 5.4.16 resolved?  I recall Tom saying that we should expect a 
version mid

last week, but Sourceforge isn't reflecting that.


Sorry, last week was a busy one for me (keeping me from paying work in 
addition to vpopmail), and I'm on vacation this week.  I'll try to get 
the submitted patches into CVS and have a release sometime next week.


--
Tom Collins  -  [EMAIL PROTECTED]
Vpopmail - virtual domains for qmail: http://vpopmail.sf.net/
QmailAdmin - web interface for Vpopmail: http://qmailadmin.sf.net/