Re: Has anyone successfully built a x86_64 rpm from balsa-2.3.3-1.FC3.src.rpm on FC4?



On 06/27/2005 01:24:30 AM, Willem Riede wrote:
When I do that rpmbuild, install the resulting rpm and
run balsa, I get into trouble almost immediately:

(gdb) run
Starting program: /usr/bin/balsa
(no debugging symbols found)
  <repeated many times>
(no debugging symbols found)
[Thread debugging using libthread_db enabled]
[New Thread 46912496360096 (LWP 24506)]
(no debugging symbols found)
  <more repeats>
(no debugging symbols found)
[New Thread 1084229984 (LWP 24513)]
IMAP mailbox: imap://wriede mail riede org/Trash
IMAP:TLS: failed cert verification: 50 : application verification
[New Thread 1273047392 (LWP 24538)]
[New Thread 1283537248 (LWP 24539)]
[Thread 1084229984 (LWP 24520) exited]
*** buffer overflow detected ***: /usr/bin/balsa terminated
======= Backtrace: =========
/lib64/libc.so.6(__chk_fail+0x2f)[0x3db9cdd23f]
/lib64/libc.so.6[0x3db9cdc819]
/lib64/libc.so.6(_IO_default_xsputn+0x86)[0x3db9c67d56]
/lib64/libc.so.6(_IO_vfprintf+0xf47)[0x3db9c41e37]
/lib64/libc.so.6(__vsprintf_chk+0xa9)[0x3db9cdc8c9]
/lib64/libc.so.6(__sprintf_chk+0x80)[0x3db9cdc800]
/usr/bin/balsa[0x4a52d1]
/usr/bin/balsa(imap_mbox_handle_fetch_set+0x6d)[0x4a6c8f]
/usr/bin/balsa[0x48fdc8]
[snip]
What went wrong? Thanks, Willem Riede.

Can you compile please balsa with less optimization so that inlining is disabled and test it again? there is no call to sprintf() in imap_mbox_handle_fetch_set()... Also, please type "bt" to print the stack - perhaps it will be different than the one dumped by the buffer overflow detection code..

Pawel


Pawel




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]