Re: NNTPC: SEGVs linux and CMDarticle

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

 



> Here is the gdb session: in article.c
> 
> 745                     if (!*msgid)
> (gdb)
> 747 msgid_header = find_header_arg(buf, "Message-ID:", body? body-buf: len);
> (gdb)
> 748 if (!msgid_header) /* shouldn't be in the body! */
> (gdb) p msgid_header
> $1 = 0x400cb2b1 "<53t4mn$gnc@tofu.alt.net>\r\nX-Newsreader: News Xpress
> Version 1.0 Beta #3\r\nXref: artemis.ibernet.es alt.binaries.pictures:13325
> alt.binaries.pictures.erotica:473319 alt.binaries.pictures.erotica.blonde"...
> (gdb) n
> 750 if (sscanf(msgid_header, "<%127[^>\r\n]", msgid)!=1)
> (gdb) n
> 
> Program received signal SIGSEGV, Segmentation fault.

There isn't a lot of room for movement here. msgid is on the stack, so
should be ok. I'd try upgrading your libc to see if it still happens.

-- 
"Of all tyrannies a tyranny sincerely  exercised for the good of its victims  
 may be the most  oppressive.  It may be better to live under  robber barons  
 than  under  omnipotent  moral busybodies,  The robber baron's  cruelty may  
 sometimes sleep,  his cupidity may at some point be satiated; but those who  
 torment us for own good  will torment us  without end,  for they do so with 
 the approval of their own conscience."    -   C.S. Lewis, _God in the Dock_ 
+---------------------+--------------------+----------------------------------+
|Julian Assange RSO   | PO Box 2031 BARKER | Secret Analytic Guy Union        |
|proff@suburbia.net   | VIC 3122 AUSTRALIA | finger for PGP key hash ID =     |
|proff@gnu.ai.mit.edu | FAX +61-3-98199066 | C7F81C2AA32D7D4E4D360A2ED2098E0D |
+---------------------+--------------------+----------------------------------+


[Index of Archives]     [Yosemite]     [Yosemite Campsites]     [Bugtraq]     [Linux]     [Trn]

Powered by Linux