bug-texinfo
[Top][All Lists]
Advanced

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

Re: Patch for a segfault bug in 'info' reader


From: Karl Berry
Subject: Re: Patch for a segfault bug in 'info' reader
Date: Sat, 7 Aug 2004 11:54:52 -0400

    -  sprintf (&input_line[input_line_end], "%s[%s]\n",
    -           echo_area_is_active ? " ": "", text);
    +  snprintf (&input_line[input_line_end], EA_MAX_INPUT + 1 - input_line_end,
    +                 "%s[%s]\n", echo_area_is_active ? " ": "", text);

I see the problem, but is there a way to reproduce the problem, or was
it found by pure inspection?  If I just type a ton of input, it doesn't
crash.  

    The bug was pointed out on bugtraq by somebody else. 

I searched for echo-area.c at
http://www.securityfocus.com/archive/1, but didn't find the original
report.  Help?

Thanks much for sending.

k




reply via email to

[Prev in Thread] Current Thread [Next in Thread]