Hello,
I have received this bug-report today as
http://bugs.debian.org/231597:
----- Forwarded message from Marcin Owsiany <porridge@???> -----
Date: Sat, 7 Feb 2004 19:10:19 +0100
To: submit@???
Message-ID: <20040207181019.GA27737@???>
From: Marcin Owsiany <porridge@???>
Subject: exim4-base: exim_dbmbuild segfaults on files with large right-hand values
Package: exim4-base
Version: 4.30-4.amwoody.2
Severity: normal
To reproduce, try running it on the attached file, (after gunzipping it
of course).
----- End forwarded message -----
I can reproduce it either with the file Marcin posted or with this
one:
------------------
xxxxxxxx: x{9728}
x{512}
x{512}
------------------
Where "x{9728}" is to be read as insert "x" 9728 times. I could not
reproduce it with less than three lines, there has to be some pointer
arithmetic that slightly goes wrong, but I am too stupid to find it.
---------------
(gdb) run aliases /tmp/a.db
Starting program: /tmp/exim4-4.30/build-Linux-i386/exim_dbmbuild aliases /tmp/a.db
Program received signal SIGSEGV, Segmentation fault.
0x4017f154 in strcpy () from /lib/libc.so.6
(gdb) bt
#0 0x4017f154 in strcpy () from /lib/libc.so.6
#1 0x08048e31 in main (argc=3, argv=0xbffffa64) at exim_dbmbuild.c:181
---------------
Sorry for not being more helpful, cu andreas
--
"See, I told you they'd listen to Reason," [SPOILER] Svfurlr fnlf,
fuhggvat qbja gur juveyvat tha.
Neal Stephenson in "Snow Crash"