]> git.pld-linux.org Git - packages/texinfo.git/commitdiff
- patch removing a segfault in 'info' reader
authorRoman Werpachowski <roman.werpachowski@gmail.com>
Fri, 6 Aug 2004 23:15:52 +0000 (23:15 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    texinfo-segfault.patch -> 1.1

texinfo-segfault.patch [new file with mode: 0644]

diff --git a/texinfo-segfault.patch b/texinfo-segfault.patch
new file mode 100644 (file)
index 0000000..6ac7ef9
--- /dev/null
@@ -0,0 +1,14 @@
+diff -urN texinfo-4.7/info/echo-area.c texinfo-4.7.patch/info/echo-area.c
+--- texinfo-4.7/info/echo-area.c       2004-03-14 01:57:29.000000000 +0100
++++ texinfo-4.7.patch/info/echo-area.c 2004-08-07 01:06:49.000000000 +0200
+@@ -1510,8 +1510,8 @@
+   text[i] = 0;
+   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);
+   free (text);
+   the_echo_area->point = input_line_point;
+   display_update_one_window (the_echo_area);
This page took 0.121424 seconds and 4 git commands to generate.