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: Eli Zaretskii
Subject: Re: Patch for a segfault bug in 'info' reader
Date: Sat, 07 Aug 2004 18:51:18 +0300

> From: Roman Werpachowski <address@hidden>
> Date: Sat, 7 Aug 2004 01:18:32 +0200
> 
>    echo_area_initialize_node ();
> -  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);

Thanks.

I'm not sure snprintf is support widely enough for Texinfo to rely on
it.

Unless the Texinfo distro comes with a replacement for it, that is.




reply via email to

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