reassign 420012 libmrss0
thanks

Hi,
* Wolfgang Weisselberg <[EMAIL PROTECTED]> [2007-04-19 14:56]:
[...] 
> Program received signal SIGSEGV, Segmentation fault.
> [Switching to Thread -1214777648 (LWP 11932)]
> 0xb7cc1e03 in strlen () from /lib/i686/cmov/libc.so.6
> (gdb) bt
> #0  0xb7cc1e03 in strlen () from /lib/i686/cmov/libc.so.6
> #1  0xb7e53e5b in std::basic_string<char, std::char_traits<char>, 
> std::allocator<char> >::basic_string () from /usr/lib/libstdc++.so.6
> #2  0x08082c34 in ?? ()
> #3  0x08079d9e in ?? ()
> #4  0x08074bb6 in ?? ()
> #5  0x0807b393 in ?? ()
> #6  0x0804c0ab in ?? ()
> #7  0xb7c69878 in __libc_start_main () from /lib/i686/cmov/libc.so.6
> #8  0x0804be81 in ?? ()
> (gdb)                                                                         

The problem is not in newsbeuter but in libmrss.
You can see a full-backtrace with debugging symbols on:
http://people.debian.org/~nion/nb-bt-full-complete.txt (Thanks Hoaxter for 
doing it)

#2  0x08082c34 in newsbeuter::rss_parser::parse (this=0xbfcacfb4) at 
src/rss.cpp:47
44 const char * encoding = mrss->encoding ? mrss->encoding : "utf-8";
45
46 if (mrss->title) {
47     feed.set_title(utils::convert_text(mrss->title, "utf-8", encoding));
48 }

The encoding variable becomes broken here, see:
encoding = 0xc4ec <Address 0xc4ec out of bounds>
in the backtrace.

So convert_text will segfault because of accessing an out of bounds variable.

> Rebuilding the package fixes the problem.

However I am curious about this.
Kind regards
Nico
-- 
Nico Golde - http://ngolde.de - [EMAIL PROTECTED] - GPG: 0x73647CFF
For security reasons, all text in this mail is double-rot13 encrypted.

Attachment: pgpOp0EuKyqFA.pgp
Description: PGP signature

Reply via email to