Your message dated Fri, 30 Sep 2011 08:05:28 +0200
with message-id <874nzur2dz....@luthien.mhp>
and subject line Re: Bug#643825: smtpguard: smtpguard-daemon and smtpguard 
policy server occasionally crash
has caused the Debian Bug report #643825,
regarding smtpguard: smtpguard-daemon and smtpguard policy server occasionally 
crash
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)


-- 
643825: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=643825
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Subject: smtpguard: smtpguard-daemon and smtpguard policy server occasionally 
crash
Package: smtpguard
Version: 1.1.3-1.1
Justification: user security hole
Severity: grave
Tags: upstream security patch

smtpguard-daemon occasionally crashes because of segmentaion fault.
smtpguard Postfix policy server also does.  They are caused by
incorrect handling of memory heap.

Two patches to correct these behaviors are attached.


Phenomena is as following:

# /etc/init.d/smtpguard start
# /usr/lib/postfix/smtpguard -S -v
request=smtpd_access_policy
protocol_state=RCPT
protocol_name=ESMTP
helo_name=mail.example.jp
sender=nob...@example.jp
recipient=u...@example.co.jp
client_address=172.16.0.1
client_name=mail.example.jp
instance=123.456.7

*** glibc detected *** /usr/lib/postfix/smtpguard: free(): invalid pointer: 
0x000000000198f810 ***
======= Backtrace: =========
/lib/libc.so.6(+0x71ad6)[0x7f551e600ad6]
/lib/libc.so.6(cfree+0x6c)[0x7f551e60584c]
/usr/lib/postfix/smtpguard[0x401a8e]
/usr/lib/libpostfix-master.so.1(single_server_main+0xafb)[0x7f551f0c21ab]
/usr/lib/postfix/smtpguard[0x4016e9]
/lib/libc.so.6(__libc_start_main+0xfd)[0x7f551e5adc4d]
/usr/lib/postfix/smtpguard[0x4015b9]
======= Memory map: ========
00400000-00403000 r-xp 00000000 08:01 190360                             
/usr/lib/postfix/smtpguard
00602000-00603000 rw-p 00002000 08:01 190360                             
/usr/lib/postfix/smtpguard
0197a000-0199b000 rw-p 00000000 00:00 0                                  [heap]
7f5514000000-7f5514021000 rw-p 00000000 00:00 0
7f5514021000-7f5518000000 ---p 00000000 00:00 0
7f551bbd1000-7f551bbe7000 r-xp 00000000 08:01 1978595                    
/lib/libgcc_s.so.1
7f551bbe7000-7f551bde6000 ---p 00016000 08:01 1978595                    
/lib/libgcc_s.so.1
7f551bde6000-7f551bde7000 rw-p 00015000 08:01 1978595                    
/lib/libgcc_s.so.1
7f551bde7000-7f551bdf2000 r-xp 00000000 08:01 1978600                    
/lib/libnss_files-2.11.2.so
7f551bdf2000-7f551bff1000 ---p 0000b000 08:01 1978600                    
/lib/libnss_files-2.11.2.so
7f551bff1000-7f551bff2000 r--p 0000a000 08:01 1978600                    
/lib/libnss_files-2.11.2.so
7f551bff2000-7f551bff3000 rw-p 0000b000 08:01 1978600                    
/lib/libnss_files-2.11.2.so
7f551bff3000-7f551bffd000 r-xp 00000000 08:01 1978597                    
/lib/libnss_nis-2.11.2.so
7f551bffd000-7f551c1fc000 ---p 0000a000 08:01 1978597                    
/lib/libnss_nis-2.11.2.so
7f551c1fc000-7f551c1fd000 r--p 00009000 08:01 1978597                    
/lib/libnss_nis-2.11.2.so
7f551c1fd000-7f551c1fe000 rw-p 0000a000 08:01 1978597                    
/lib/libnss_nis-2.11.2.so
7f551c1fe000-7f551c205000 r-xp 00000000 08:01 1978610                    
/lib/libnss_compat-2.11.2.so
7f551c205000-7f551c404000 ---p 00007000 08:01 1978610                    
/lib/libnss_compat-2.11.2.so
7f551c404000-7f551c405000 r--p 00006000 08:01 1978610                    
/lib/libnss_compat-2.11.2.so
7f551c405000-7f551c406000 rw-p 00007000 08:01 1978610                    
/lib/libnss_compat-2.11.2.so
7f551c406000-7f551c486000 r-xp 00000000 08:01 1978612                    
/lib/libm-2.11.2.so
7f551c486000-7f551c686000 ---p 00080000 08:01 1978612                    
/lib/libm-2.11.2.so
7f551c686000-7f551c687000 r--p 00080000 08:01 1978612                    
/lib/libm-2.11.2.so
7f551c687000-7f551c688000 rw-p 00081000 08:01 1978612                    
/lib/libm-2.11.2.so
7f551c688000-7f551c69f000 r-xp 00000000 08:01 1948210                    
/usr/lib/libz.so.1.2.3.4
7f551c69f000-7f551c89e000 ---p 00017000 08:01 1948210                    
/usr/lib/libz.so.1.2.3.4
7f551c89e000-7f551c89f000 rw-p 00016000 08:01 1948210                    
/usr/lib/libz.so.1.2.3.4
7f551c89f000-7f551c8cf000 r-xp 00000000 08:01 1979033                    
/lib/libpcre.so.3.12.1
7f551c8cf000-7f551cace000 ---p 00030000 08:01 1979033                    
/lib/libpcre.so.3.12.1
7f551cace000-7f551cacf000 rw-p 0002f000 08:01 1979033                    
/lib/libpcre.so.3.12.1
7f551cacf000-7f551cae2000 r-xp 00000000 08:01 1978596                    
/lib/libresolv-2.11.2.so
7f551cae2000-7f551cce1000 ---p 00013000 08:01 1978596                    
/lib/libresolv-2.11.2.so
7f551cce1000-7f551cce2000 r--p 00012000 08:01 1978596                    
/lib/libresolv-2.11.2.so
7f551cce2000-7f551cce3000 rw-p 00013000 08:01 1978596                    
/lib/libresolv-2.11.2.so
7f551cce3000-7f551cce5000 rw-p 00000000 00:00 0
7f551cce5000-7f551ccfa000 r-xp 00000000 08:01 1978613                    
/lib/libnsl-2.11.2.so
7f551ccfa000-7f551cef9000 ---p 00015000 08:01 1978613                    
/lib/libnsl-2.11.2.so
7f551cef9000-7f551cefa000 r--p 00014000 08:01 1978613                    
/lib/libnsl-2.11.2.so
7f551cefa000-7f551cefb000 rw-p 00015000 08:01 1978613                    
/lib/libnsl-2.11.2.so
7f551cefb000-7f551cefd000 rw-p 00000000 00:00 0
7f551cefd000-7f551cf16000 r-xp 00000000 08:01 1948902                    
/usr/lib/libsasl2.so.2.0.23
7f551cf16000-7f551d115000 ---p 00019000 08:01 1948902                    
/usr/lib/libsasl2.so.2.0.23
7f551d115000-7f551d116000 rw-p 00018000 08:01 1948902                    
/usr/lib/libsasl2.so.2.0.23
7f551d116000-7f551d28b000 r-xp 00000000 08:01 1946498                    
/usr/lib/libcrypto.so.0.9.8
7f551d28b000-7f551d48b000 ---p 00175000 08:01 1946498                    
/usr/lib/libcrypto.so.0.9.8
7f551d48b000-7f551d4b3000 rw-p 00175000 08:01 1946498                    
/usr/lib/libcrypto.so.0.9.8
7f551d4b3000-7f551d4b7000 rw-p 00000000 00:00 0
7f551d4b7000-7f551d506000 r-xp 00000000 08:01 1946499                    
/usr/lib/libssl.so.0.9.8
7f551d506000-7f551d705000 ---p 0004f000 08:01 1946499                    
/usr/lib/libssl.so.0.9.8
7f551d705000-7f551d70c000 rw-p 0004e000 08:01 1946499                    
/usr/lib/libssl.so.0.9.8
7f551d70c000-7f551d70e000 r-xp 00000000 08:01 1978602                    
/lib/libdl-2.11.2.so
7f551d70e000-7f551d90e000 ---p 00002000 08:01 1978602                    
/lib/libdl-2.11.2.so
7f551d90e000-7f551d90f000 r--p 00002000 08:01 1978602                    
/lib/libdl-2.11.2.so
7f551d90f000-7f551d910000 rw-p 00003000 08:01 1978602                    
/lib/libdl-2.11.2.so
7f551d910000-7f551da56000 r-xp 00000000 08:01 1946518                    
/usr/lib/libxml2.so.2.7.8
7f551da56000-7f551dc55000 ---p 00146000 08:01 1946518                    
/usr/lib/libxml2.so.2.7.8
7f551dc55000-7f551dc5f000 rw-p 00145000 08:01 1946518                    
/usr/lib/libxml2.so.2.7.8
7f551dc5f000-7f551dc60000 rw-p 00000000 00:00 0
7f551dc60000-7f551dc67000 r-xp 00000000 08:01 1978605                    
/lib/librt-2.11.2.so
7f551dc67000-7f551de66000 ---p 00007000 08:01 1978605                    
/lib/librt-2.11.2.so
7f551de66000-7f551de67000 r--p 00006000 08:01 1978605                    
/lib/librt-2.11.2.so
7f551de67000-7f551de68000 rw-p 00007000 08:01 1978605                    
/lib/librt-2.11.2.so
7f551de68000-7f551de6c000 r-xp 00000000 08:01 1950661                    
/usr/lib/libgthread-2.0.so.0.2400.2
7f551de6c000-7f551e06b000 ---p 00004000 08:01 1950661                    
/usr/lib/libgthread-2.0.so.0.2400.2Aborted
# tail /var/log/syslog
Sep 30 12:13:19 debian-amd64 postfix/smtpguard[7927]: call fg_spam_update_db()
Sep 30 12:13:19 debian-amd64 smtpguard-daemon: info: 7922 7927 172.16.0.1 
nob...@example.jp u...@example.co.jp 5
Sep 30 12:13:19 debian-amd64 postfix/smtpguard[7927]: set_eugid: euid 110 egid 
118
# tail /var/log/messages
Sep 30 12:08:11 debian-amd64 kernel: [70927.405167] smtpguard-daemo[13583]: 
segfault at 7f930000000d ip 0000000000407a81 sp 00007f93d7dafc10 error 4 in 
smtpguard-daemon (deleted)[400000+c000]
# 



-- System Information:
Debian Release: 6.0.2
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.32-5-amd64 (SMP w/1 CPU core)
Locale: LANG=ja_JP.UTF-8, LC_CTYPE=ja_JP.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages smtpguard depends on:
ii  adduser            3.112+nmu2            add and remove users and groups
ii  libc6              2.11.2-10             Embedded GNU C Library: Shared lib
ii  libdb4.8           4.8.30-2              Berkeley v4.8 Database Libraries [
ii  libglib2.0-0       2.24.2-1              The GLib library of C routines
ii  libsmtpguard1      1.1.3-1.1             Shared library of smtpguard
ii  libxml2            2.7.8.dfsg-2+squeeze1 GNOME XML library

smtpguard recommends no packages.

smtpguard suggests no packages.

-- Configuration Files:
/etc/smtpguard/smtpguard.conf changed [not included]

-- no debconf information

-- 
株式会社 コンバージョン  セキュリティ&OSSソリューション部   池田荘児
〒231-0004 神奈川県横浜市中区元浜町3-21-2 ヘリオス関内ビル7F
e-mail supp...@conversion.co.jp  TEL 045-640-3550
http://www.conversion.co.jp/

Attachment: smtpguard-1.1.3-CV-spam_cond_free.patch
Description: Binary data

Attachment: smtpguard-1.1.3-CV-fg_smtp_info_free.patch
Description: Binary data


--- End Message ---
--- Begin Message ---
smtpguard was removed[1] from Debian unstable in 2008, and wasn't
reintroduced since, therefore, I'm closing this bug.

 [1]: http://packages.qa.debian.org/s/smtpguard/news/20081223T192055Z.html

-- 
|8]


--- End Message ---

Reply via email to