Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 179497 - vm-pop3d crashes when checking mail and writes garbage to mail file
Summary: vm-pop3d crashes when checking mail and writes garbage to mail file
Status: RESOLVED OBSOLETE
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High critical (vote)
Assignee: Net-Mail Packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-05-23 09:21 UTC by Andrew Saunders
Modified: 2011-07-21 16:08 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Andrew Saunders 2007-05-23 09:21:03 UTC
This is my first bug report so go easy :)

vm-pop3d-1.1.6-r2 has a bug that makes it crash when a mail client tries to download messages. The bad part is when it does it spits this onto the end of the mail file.

*** glibc detected *** /usr/sbin/vm-pop3d: double free or corruption (fasttop): 0x08054600 ***
======= Backtrace: =========
/lib/libc.so.6[0xb7e0c7ab]
/lib/libc.so.6(__libc_free+0x7e)[0xb7e0dd2f]
/usr/sbin/vm-pop3d[0x804a882]
======= Memory map: ========
08048000-0804f000 r-xp 00000000 03:05 6727       /usr/sbin/vm-pop3d
0804f000-08050000 rw-p 00006000 03:05 6727       /usr/sbin/vm-pop3d
08050000-08071000 rw-p 08050000 00:00 0          [heap]
b7c00000-b7c21000 rw-p b7c00000 00:00 0
b7c21000-b7d00000 ---p b7c21000 00:00 0
b7d68000-b7d78000 rw-p b7d68000 00:00 0
b7d78000-b7d80000 r-xp 00000000 03:05 514331     /lib/libnss_files-2.5.so
b7d80000-b7d82000 rw-p 00007000 03:05 514331     /lib/libnss_files-2.5.so
b7d82000-b7d8a000 r-xp 00000000 03:05 302441     /lib/libnss_nis-2.5.so
b7d8a000-b7d8c000 rw-p 00007000 03:05 302441     /lib/libnss_nis-2.5.so
b7d8c000-b7d9d000 r-xp 00000000 03:05 302386     /lib/libnsl-2.5.so
b7d9d000-b7d9f000 rw-p 00010000 03:05 302386     /lib/libnsl-2.5.so
b7d9f000-b7da1000 rw-p b7d9f000 00:00 0
b7da1000-b7da7000 r-xp 00000000 03:05 514329     /lib/libnss_compat-2.5.so
b7da7000-b7da9000 rw-p 00005000 03:05 514329     /lib/libnss_compat-2.5.so
b7da9000-b7dab000 rw-p b7da9000 00:00 0
b7dab000-b7ec6000 r-xp 00000000 03:05 302366     /lib/libc-2.5.so
b7ec6000-b7ec7000 r--p 0011a000 03:05 302366     /lib/libc-2.5.so
b7ec7000-b7ec9000 rw-p 0011b000 03:05 302366     /lib/libc-2.5.so
b7ec9000-b7ecc000 rw-p b7ec9000 00:00 0
b7ecc000-b7ece000 r-xp 00000000 03:05 514326     /lib/libdl-2.5.so
b7ece000-b7ed0000 rw-p 00001000 03:05 514326     /lib/libdl-2.5.so
b7ed0000-b7ed5000 r-xp 00000000 03:05 302365     /lib/libcrypt-2.5.so
b7ed5000-b7ed7000 rw-p 00004000 03:05 302365     /lib/libcrypt-2.5.so
b7ed7000-b7efe000 rw-p b7ed7000 00:00 0
b7efe000-b7f07000 r-xp 00000000 03:05 19353      /lib/libpam.so.0.81.6
b7f07000-b7f08000 rw-p 00008000 03:05 19353      /lib/libpam.so.0.81.6
b7f0d000-b7f16000 r-xp 00000000 03:05 272873     /usr/lib/gcc/i686-pc-linux-gnu/4.1.2/libgcc_s.so.1
b7f16000-b7f17000 rw-p 00009000 03:05 272873     /usr/lib/gcc/i686-pc-linux-gnu/4.1.2/libgcc_s.so.1
b7f17000-b7f19000 rw-p b7f17000 00:00 0
b7f19000-b7f33000 r-xp 00000000 03:05 487603     /lib/ld-2.5.so
b7f33000-b7f34000 r--p 00019000 03:05 487603     /lib/ld-2.5.so
b7f34000-b7f35000 rw-p 0001a000 03:05 487603     /lib/ld-2.5.so
bfc13000-bfc29000 rw-p bfc13000 00:00 0          [stack]
ffffe000-fffff000 r-xp 00000000 00:00 0          [vdso]

Here is the fix I found and tested. http://babel.de/art20061115a.html works great now. I'm marking this as critical since it writes to the mail file.

Reproducible: Always

Steps to Reproduce:
1. Install
2. check mail
3. boom


Actual Results:  
crashed without any real indication.

Expected Results:  
simply sens mail.

default configuration.
Comment 1 Eray Aslan gentoo-dev 2011-07-21 16:08:17 UTC
Closing as vm-pop3d is no longer in the tree.