Package: esmtp-run
Version: 0.5.1-4.1
Severity: normal

I tried to use esmtp-run because of its starttls capability.  I then
tried it against a server using a CAcert certificate.  Having
ca-certificates not installed caused the program to terminate with
`invalid peer certificate'.  With it installed it segfaults somewhere
around the certificate.

I am running Debian Etch/arm (2.6.18-4-ixp4xx on armv5tel).

gdb backtrace of the crash (without any debugging symbols installed):
#0  0x00000000 in ?? ()
#1  0x40029614 in rsp_starttls () from /usr/lib/libesmtp.so.5
#2  0x40024bd0 in do_session () from /usr/lib/libesmtp.so.5
#3  0x0000e540 in ?? ()

strace before the crash:
[...]
stat64("/usr/lib/ssl/certs/e5662767.1", 0xbe8961f4) = -1 ENOENT (No such
file or directory)
stat64("/usr/lib/ssl/certs/5ed36f99.0", {st_mode=S_IFREG|0644,
st_size=2569, ...}) = 0
open("/usr/lib/ssl/certs/5ed36f99.0", O_RDONLY|O_LARGEFILE) = 4
fstat64(4, {st_mode=S_IFREG|0644, st_size=2569, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1,
0) = 0x40016000
read(4, "-----BEGIN CERTIFICATE-----\nMIIH"..., 4096) = 2569
read(4, "", 4096)                       = 0
getpid()                                = 991
getpid()                                = 991
getpid()                                = 991
getpid()                                = 991
getpid()                                = 991
close(4)                                = 0
munmap(0x40016000, 4096)                = 0
stat64("/usr/lib/ssl/certs/5ed36f99.1", 0xbe8961f4) = -1 ENOENT (No such
file or directory)
time([1195425501])                      = 1195425501
open("/etc/localtime", O_RDONLY)        = 4
fstat64(4, {st_mode=S_IFREG|0644, st_size=837, ...}) = 0
fstat64(4, {st_mode=S_IFREG|0644, st_size=837, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1,
0) = 0x40016000
read(4, "TZif\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\10\0\0\0\10"...,
4096) = 837
close(4)                                = 0
munmap(0x40016000, 4096)                = 0
time([1195425501])                      = 1195425501
time([1195425501])                      = 1195425501
time([1195425501])                      = 1195425501
time([1195425501])                      = 1195425501
time([1195425501])                      = 1195425501
getpid()                                = 991
read(3, "\26\3\1\2\r", 5)               = 5
read(3, "\f\0\2\t\0\200\376\7\177\323\n\n=\221,~\33Ez\333\4\367"...,
525) = 525
read(3, "\26\3\1\0\303", 5)             = 5
read(3, "\r\0\0\277\2\1\2\0\272\0[0Y1\v0\t\6\3U\4\6\23\2DE1\023"...,
195) = 195
read(3, "\26\3\1\0\4", 5)               = 5
read(3, "\16\0\0\0", 4)                 = 4
time([1195425501])                      = 1195425501
getpid()                                = 991
getpid()                                = 991
write(3, "\26\3\1\0\7\v\0\0\3\0\0\0\26\3\1\0\206\20\0\0\202\0\200"...,
210) = 210
read(3, 0x32ca0, 5)                     = -1 EAGAIN (Resource
temporarily unavailable)
getpid()                                = 991
poll([{fd=3, events=POLLIN, revents=POLLIN}], 1, 300000) = 1
time(NULL)                              = 1195425502
getpid()                                = 991
read(3, "\24\3\1\0\1", 5)               = 5
read(3, "\1", 1)                        = 1
read(3, "\26\3\1\0\220", 5)             = 5
read(3, "X\265\203\220\6\211\273y\300\36\2322_H\320,\277\264h\375"...,
144) = 144
--- SIGSEGV (Segmentation fault) @ 0 (0) ---
+++ killed by SIGSEGV +++
Process 991 detached

Kind regards,
Philipp Kern



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to