<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "http://bugs.gentoo.org/bugzilla.dtd">

<bugzilla version="2.22.7"
          urlbase="http://bugs.gentoo.org/"
          maintainer="bugzilla@gentoo.org"
>

    <bug>
          <bug_id>74926</bug_id>
          
          <creation_ts>2004-12-19 04:22 0000</creation_ts>
          <short_desc>&apos;info&apos; from &apos;sys-apps/texinfo&apos; segfaults</short_desc>
          <delta_ts>2005-01-03 19:24:17 0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>Gentoo Linux</product>
          <component>Development</component>
          <version>unspecified</version>
          <rep_platform>x86</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>sirspiritus@yandex.ru</reporter>
          <assigned_to>base-system@gentoo.org</assigned_to>
          

      

      
          <long_desc isprivate="0">
            <who>sirspiritus@yandex.ru</who>
            <bug_when>2004-12-19 04:22:48 0000</bug_when>
            <thetext>I&apos;ve got segfault in texinfo(texinfo-4.7-r1) while searching information on gcc.

Here is the coredump info:

Core was generated by `info gcc&apos;.
Program terminated with signal 11, Segmentation fault.

warning: current_sos: Can&apos;t read pathname for load map: Input/output error

Reading symbols from /lib/libncurses.so.5...(no debugging symbols found)...done.
Loaded symbols for /lib/libncurses.so.5
Reading symbols from /lib/tls/libc.so.6...(no debugging symbols found)...done.
Loaded symbols for /lib/tls/libc.so.6
Reading symbols from /lib/ld-linux.so.2...(no debugging symbols found)...done.
Loaded symbols for /lib/ld-linux.so.2
#0  0x0805c394 in ?? ()
(gdb) bt
#0  0x0805c394 in ?? ()
#1  0x08080428 in ?? ()
#2  0x08082330 in ?? ()
#3  0xbfffed38 in ?? ()
#4  0x08065778 in ?? ()
#5  0x080803e8 in ?? ()
#6  0x08082440 in ?? ()
(gdb) i r
eax            0x6e890f3f       1854476095
ecx            0x8081b48        134749000
edx            0x3      3
ebx            0x8081e00        134749696
esp            0xbfffecf0       0xbfffecf0
ebp            0xbfffed38       0xbfffed38
esi            0x0      0
edi            0x8080428        134743080
eip            0x805c394        0x805c394
eflags         0x10282  66178
cs             0x73     115
ss             0x7b     123
ds             0x7b     123
es             0x7b     123
fs             0x0      0
gs             0x33     51
(gdb)

Here is the strace info:
...
stat64(&quot;/usr/share/gcc-data/i686-pc-linux-gnu/3.3/info/gcc.info.gz&quot;, {st_mode=S_IFREG|0644, st_size=290570, ...}) = 0
stat64(&quot;/usr/share/gcc-data/i686-pc-linux-gnu/3.3/info/gcc.info.gz&quot;, {st_mode=S_IFREG|0644, st_size=290570, ...}) = 0
ioctl(0, FIONREAD, [0])                 = 0
write(1, &quot;\33[1;24HC Extensions,  Next: C++ &quot;..., 77) = 77
ioctl(0, FIONREAD, [0])                 = 0
ioctl(0, FIONREAD, [0])                 = 0
write(1, &quot;\33[3;1H5 Extensions to the C Lang&quot;..., 43) = 43
ioctl(0, FIONREAD, [0])                 = 0
write(1, &quot;\33[4;13H*************************&quot;, 32) = 32
ioctl(0, FIONREAD, [0])                 = 0
ioctl(0, FIONREAD, [0])                 = 0
write(1, &quot;\33[6;1HGNU C provides several lan&quot;..., 75) = 75
ioctl(0, FIONREAD, [0])                 = 0
write(1, &quot;\33[7;1H(The `-pedantic\&apos; option di&quot;..., 78) = 78
ioctl(0, FIONREAD, [0])                 = 0
write(1, &quot;\33[8;1Hof these features is used.&quot;..., 75) = 75
ioctl(0, FIONREAD, [0])                 = 0
write(1, &quot;\33[9;1Hfeatures in conditional co&quot;..., 74) = 74
ioctl(0, FIONREAD, [0])                 = 0
write(1, &quot;\33[10;1H`__GNUC__\&apos;, which is alwa&quot;..., 56) = 56
ioctl(0, FIONREAD, [0])                 = 0
write(1, &quot;\33[11;1H\33[K&quot;, 10)          = 10
ioctl(0, FIONREAD, [0])                 = 0
write(1, &quot;\33[12;1H   These extensions are a&quot;..., 76) = 76
ioctl(0, FIONREAD, [0])                 = 0
write(1, &quot;\33[13;1Hare also available in C++&quot;..., 76) = 76
ioctl(0, FIONREAD, [0])                 = 0
write(1, &quot;\33[14;1HExtensions, for extension&quot;..., 59) = 59
ioctl(0, FIONREAD, [0])                 = 0
write(1, &quot;\33[15;1H\33[K&quot;, 10)          = 10
ioctl(0, FIONREAD, [0])                 = 0
write(1, &quot;\33[16;1H   Some features that are&quot;..., 75) = 75
ioctl(0, FIONREAD, [0])                 = 0
write(1, &quot;\33[17;1Hextensions, accepted by G&quot;..., 61) = 61
ioctl(0, FIONREAD, [0])                 = 0
write(1, &quot;\33[18;1H\33[K&quot;, 10)          = 10
ioctl(0, FIONREAD, [0])                 = 0
write(1, &quot;\33[19;3HMenu:\33[K&quot;, 15)     = 15
ioctl(0, FIONREAD, [0])                 = 0
write(1, &quot;\33[20;1H\33[K&quot;, 10)          = 10
ioctl(0, FIONREAD, [0])                 = 0
write(1, &quot;\33[21;3HStatement Exprs::     Put&quot;..., 84) = 84
ioctl(0, FIONREAD, [0])                 = 0
write(1, &quot;\33[22;3HLocal Labels::        Lab&quot;..., 68) = 68
ioctl(0, FIONREAD, [0])                 = 0
write(1, &quot;\33[23;3HLabels as Values::    Get&quot;..., 76) = 76
ioctl(0, FIONREAD, [0])                 = 0
write(1, &quot;\33[24;3HNested Functions::    As &quot;..., 82) = 82
ioctl(0, FIONREAD, [0])                 = 0
write(1, &quot;\33[25;3HConstructing Calls::  Dis&quot;..., 68) = 68
ioctl(0, FIONREAD, [0])                 = 0
write(1, &quot;\33[26;3HTypeof::              `ty&quot;..., 78) = 78
ioctl(0, FIONREAD, [0])                 = 0
write(1, &quot;\33[27;3HLvalues::             Usi&quot;..., 69) = 69
ioctl(0, FIONREAD, [0])                 = 0
write(1, &quot;\33[28;1H* Conditionals::        O&quot;..., 80) = 80
ioctl(0, FIONREAD, [0])                 = 0
write(1, &quot;\33[29;3HLong Long::           Dou&quot;..., 71) = 71
ioctl(0, FIONREAD, [0])                 = 0
write(1, &quot;\33[30;3HComplex::             Dat&quot;..., 60) = 60
ioctl(0, FIONREAD, [0])                 = 0
write(1, &quot;\33[31;1H* Hex Floats::          H&quot;..., 68) = 68
ioctl(0, FIONREAD, [0])                 = 0
write(1, &quot;\33[32;3HZero Length::         Zer&quot;..., 51) = 51
ioctl(0, FIONREAD, [0])                 = 0
write(1, &quot;\33[33;1H* Variable Length::     A&quot;..., 75) = 75
ioctl(0, FIONREAD, [0])                 = 0
write(1, &quot;\33[34;3HEmpty Structures::    Str&quot;..., 59) = 59
ioctl(0, FIONREAD, [0])                 = 0
write(1, &quot;\33[35;3HVariadic Macros::     Mac&quot;..., 72) = 72
ioctl(0, FIONREAD, [0])                 = 0
write(1, &quot;\33[36;1H* Escaped Newlines::    S&quot;..., 74) = 74
write(1, &quot;\33[37;1H\33[7m--zz-Info: (gcc.info.&quot;..., 119) = 119
write(1, &quot;\33[1;1H&quot;, 6)                 = 6
ioctl(0, FIONREAD, [0])                 = 0
read(0, &quot;\177&quot;, 1)                      = 1
write(1, &quot;\33[38;1HMoving Prev in this windo&quot;..., 34) = 34
stat64(&quot;/usr/share/gcc-data/i686-pc-linux-gnu/3.3/info/gcc.info.gz&quot;, {st_mode=S_IFREG|0644, st_size=290570, ...}) = 0
stat64(&quot;/usr/share/gcc-data/i686-pc-linux-gnu/3.3/info/gcc.info.gz&quot;, {st_mode=S_IFREG|0644, st_size=290570, ...}) = 0
write(1, &quot;\33[38;8Hto `Prev\&apos;s last menu item&quot;..., 33) = 33
stat64(&quot;/usr/share/gcc-data/i686-pc-linux-gnu/3.3/info/gcc.info.gz&quot;, {st_mode=S_IFREG|0644, st_size=290570, ...}) = 0
stat64(&quot;/usr/share/gcc-data/i686-pc-linux-gnu/3.3/info/gcc.info.gz&quot;, {st_mode=S_IFREG|0644, st_size=290570, ...}) = 0
--- SIGSEGV (Segmentation fault) @ 0 (0) ---
+++ killed by SIGSEGV +++


Reproducible: Always
Steps to Reproduce:
1. &apos;info gcc&apos;
2. Go to &quot;* C Extensions::    GNU extensions to the C language family.&quot;
3. Press &apos;backspace&apos; to move back up. Sometimes it failes only after second third &apos;backspace&apos; press.

Actual Results:  
&apos;info&apos; segfaults

...
* Escaped Newlines::    Slightly looser rules for escaped newlines.
--zz-Info: (gcc.info.gz)C Extensions, 73 lines
--Top----------------------------------------------------
Moving to `Prev&apos;s last menu item.Segmentation fault


Expected Results:  
Normal texinfo operation


I asked to check the steps to reproduce the problem to another Gentoo user and
he also got the segfault.

[ebuild   R   ] sys-apps/texinfo-4.7-r1  -build -debug +nls -static 0 kB

$ emerge info
System uname: 2.6.9-gentoo-r9 i686 Intel(R) Celeron(TM) CPU                1100MHz
Gentoo Base System version 1.4.16
Python:              dev-lang/python-2.3.3-r1 [2.3.3 (#1, Jul 11 2004, 19:39:29)]
dev-lang/python:     2.3.3-r1
sys-devel/autoconf:  2.59-r5
sys-devel/automake:  1.8.5-r1
sys-devel/binutils:  2.14.90.0.8-r1
sys-devel/libtool:   1.5.2-r5
virtual/os-headers:  2.6.7-r4
ACCEPT_KEYWORDS=&quot;x86 ~x86&quot;
AUTOCLEAN=&quot;yes&quot;
CFLAGS=&quot;-O2 -march=pentium3 -pipe -mmmx -msse -mfpmath=sse,387
-fstack-protector-all&quot;
CHOST=&quot;i686-pc-linux-gnu&quot;
CONFIG_PROTECT=&quot;/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config
/usr/kde/3.2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config
/usr/kde/3.3/shutdown /usr/kde/3/share/config /usr/lib/mozilla/defaults/pref
/usr/share/config /var/bind /var/qmail/control&quot;
CONFIG_PROTECT_MASK=&quot;/etc/gconf /etc/terminfo /etc/env.d&quot;
CXXFLAGS=&quot;-O2 -march=pentium3 -pipe -mmmx -msse -mfpmath=sse,387
-fstack-protector-all&quot;
DISTDIR=&quot;/usr/portage/distfiles&quot;
FEATURES=&quot;autoaddcvs autoconfig ccache distlocks sandbox sfperms&quot;
GENTOO_MIRRORS=&quot;http://mirror.datapipe.net/gentoo ftp://ftp.du.se/pub/os/gentoo
http://trumpetti.atm.tut.fi/gentoo/ ftp://mirrors1.netvisao.pt/gentoo/
http://www.gigaload.org/gentoo.org/&quot;
MAKEOPTS=&quot;-j2&quot;
PKGDIR=&quot;/usr/portage/packages&quot;
PORTAGE_TMPDIR=&quot;/var/tmp&quot;
PORTDIR=&quot;/usr/portage&quot;
PORTDIR_OVERLAY=&quot;&quot;
SYNC=&quot;rsync://rsync.gentoo.org/gentoo-portage&quot;
USE=&quot;GAPING_SECURITY_HOLE X aalib acl activefilter alsa apache2 apm arts
artswrappersuid audiofile avi berkdb bitmap-fonts bluetooth caps cdparanoia
crypt cups curl dhcp directfb divx4linux divxforlinux doc encode esd f77 fam
fbcon flac foomaticdb fortran gdbm gif gnokii gnome gphoto2 gpm gstreamer gtk
gtk2 guile hardened imlib irda jack java jpeg jpeg2k junit kde kerberos ldap
libclamav libg++ libwww lirc mad mbox mikmod milter mmap mmx mmx2 motif mozilla
mpeg mppe-mppc multicall mysql ncurses nls nptl ntlm oggvorbis opengl oss pam
pda pdflib perl pic png portaudio povray python qt quicktime quotas readline
reiserfs ruby samba sasl scanner sdl sftplogging slang slp sms socks5 speex
spell sse ssl svga tcltk tcpd threads tiff truetype usb v4l v4l2 wifi winbind
wmf x86 xine xinerama xml2 xmms xscreensaver xv zlib&quot;</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>sirspiritus@yandex.ru</who>
            <bug_when>2004-12-19 04:26:47 0000</bug_when>
            <thetext>Additional info:

(gdb) x/20i $eip
0x805c394:      mov    0x14(%esi),%eax
0x805c397:      test   %eax,%eax
0x805c399:      jle    0x805c353
0x805c39b:      movzbl 0xffffffd7(%ebp),%eax
0x805c39f:      mov    %eax,0x8(%esp,1)
0x805c3a3:      mov    0x14(%esi),%eax
0x805c3a6:      mov    %edi,(%esp,1)
0x805c3a9:      dec    %eax
0x805c3aa:      mov    %eax,0x4(%esp,1)
0x805c3ae:      call   0x8059c30
0x805c3b3:      jmp    0x805c353
0x805c3b5:      mov    (%ebx),%esi
0x805c3b7:      xor    %eax,%eax
0x805c3b9:      test   %esi,%esi
0x805c3bb:      je     0x805c3d5
0x805c3bd:      sub    $0x31,%edx
0x805c3c0:      cmp    %edx,%eax
0x805c3c2:      je     0x805c319
0x805c3c8:      inc    %eax
0x805c3c9:      mov    (%ebx,%eax,4),%esi
</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>vapier@gentoo.org</who>
            <bug_when>2004-12-19 07:18:42 0000</bug_when>
            <thetext>rebuild it with CFLAGS=&quot;-pipe&quot; and see if it still segfaults</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>sirspiritus@yandex.ru</who>
            <bug_when>2004-12-19 10:10:54 0000</bug_when>
            <thetext>It still fails

$ CFLAGS=&quot;-pipe&quot; sudo emerge sys-apps/texinfo
...
&gt;&gt;&gt; No outdated packages were found on your system.


 * Regenerating GNU info directory index...
 * Processed 322 info files.

$ cat /var/db/pkg/sys-apps/texinfo-4.7-r1/CFLAGS
-pipe
$ info gcc
...
Moving to `Prev&apos;s last menu item.Segmentation fault (core dumped)
$ gdb -c ./core /usr/bin/info 
GNU gdb 6.0
Copyright 2003 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type &quot;show copying&quot; to see the conditions.
There is absolutely no warranty for GDB.  Type &quot;show warranty&quot; for details.
This GDB was configured as &quot;i686-pc-linux-gnu&quot;...(no debugging symbols found)...Using host libthread_dblibrary &quot;/lib/tls/libthread_db.so.1&quot;.

Core was generated by `info gcc&apos;.
Program terminated with signal 11, Segmentation fault.

warning: current_sos: Can&apos;t read pathname for load map: Input/output error

Reading symbols from /lib/libncurses.so.5...(no debugging symbols found)...done.
Loaded symbols for /lib/libncurses.so.5
Reading symbols from /lib/tls/libc.so.6...(no debugging symbols found)...done.
Loaded symbols for /lib/tls/libc.so.6
Reading symbols from /lib/ld-linux.so.2...(no debugging symbols found)...done.
Loaded symbols for /lib/ld-linux.so.2
#0  0x0805bbeb in ?? ()
(gdb) bt
#0  0x0805bbeb in ?? ()
#1  0x0807d428 in ?? ()
#2  0x0807f330 in ?? ()
#3  0xbfffee08 in ?? ()
#4  0x080647ee in ?? ()
#5  0x0807d3e8 in ?? ()
#6  0x0807ee00 in ?? ()
(gdb) i r
eax            0x0      0
ecx            0x807ea48        134736456
edx            0x10     16
ebx            0x43083a58       1124612696
esp            0xbfffede0       0xbfffede0
ebp            0xbfffee08       0xbfffee08
esi            0x0      0
edi            0x42f6e440       1123476544
eip            0x805bbeb        0x805bbeb
eflags         0x10246  66118
cs             0x73     115
ss             0x7b     123
ds             0x7b     123
es             0x7b     123
fs             0x0      0
gs             0x33     51
(gdb) x/20i $eip
0x805bbeb:      cmpl   $0x0,0x14(%eax)
0x805bbef:      jle    0x805bc34
0x805bbf1:      movzbl 0xffffffff(%ebp),%eax
0x805bbf5:      mov    %eax,0x8(%esp,1)
0x805bbf9:      mov    0xfffffff0(%ebp),%edx
0x805bbfc:      mov    0x14(%edx),%eax
0x805bbff:      dec    %eax
0x805bc00:      mov    %eax,0x4(%esp,1)
0x805bc04:      mov    0x8(%ebp),%eax
0x805bc07:      mov    %eax,(%esp,1)
0x805bc0a:      call   0x80598b2
0x805bc0f:      jmp    0x805bc34
0x805bc11:      movl   $0x80679dc,(%esp,1)
0x805bc18:      call   0x80496a8
0x805bc1d:      movl   $0x0,0x8(%esp,1)
0x805bc25:      mov    0xfffffff4(%ebp),%ecx
0x805bc28:      mov    %ecx,0x4(%esp,1)
0x805bc2c:      mov    %eax,(%esp,1)
0x805bc2f:      call   0x8051722
0x805bc34:      mov    0xffffffec(%ebp),%eax
(gdb)                                       
</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>vapier@gentoo.org</who>
            <bug_when>2004-12-19 10:22:44 0000</bug_when>
            <thetext>you&apos;re not going to get anything useful out of a stripped/non-debugged info

rebuild it with FEATURES=nostrip CFLAGS=&quot;-pipe -g3 -ggdb3&quot; and see if you can get a useful backtrace out of gdb</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>sirspiritus@yandex.ru</who>
            <bug_when>2004-12-19 11:12:53 0000</bug_when>
            <thetext>(gdb) bt
#0  0x0805bbeb in info_menu_digit (window=0x807d428, count=1, key=48 &apos;0&apos;) at session.c:1973
#1  0x0805a693 in backward_move_node_structure (window=0x807d428, behaviour=0) at session.c:1085
#2  0x0805a8c3 in _scroll_backward (window=0x807d428, count=1, key=127 &apos;\177&apos;, behaviour=0)
    at session.c:1190
#3  0x0805aa07 in info_scroll_backward (window=0x807d428, count=1, key=127 &apos;\177&apos;) at session.c:1239
#4  0x0806029e in info_dispatch_on_key (key=127 &apos;\177&apos;, map=0x80b21a8) at session.c:4646
#5  0x08058e98 in info_read_and_dispatch () at session.c:227
#6  0x08058d9a in info_session () at session.c:175
#7  0x08058d76 in display_startup_message_and_start () at session.c:166
#8  0x08058d2f in begin_info_session (initial_node=0x80b4ff0) at session.c:153
#9  0x080516be in main (argc=2, argv=0xbffff094) at info.c:507
</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>sirspiritus@yandex.ru</who>
            <bug_when>2004-12-19 11:24:01 0000</bug_when>
            <thetext>(gdb) x/5i $eip
0x805bbeb &lt;info_menu_digit+203&gt;:        cmpl   $0x0,0x14(%eax)
0x805bbef &lt;info_menu_digit+207&gt;:        jle    0x805bc34 &lt;info_menu_digit+276&gt;
0x805bbf1 &lt;info_menu_digit+209&gt;:        movzbl 0xffffffff(%ebp),%eax
0x805bbf5 &lt;info_menu_digit+213&gt;:        mov    %eax,0x8(%esp,1)
0x805bbf9 &lt;info_menu_digit+217&gt;:        mov    0xfffffff0(%ebp),%edx
(gdb) i r eax
eax            0x0      0

---

session.c:
...
/* Use KEY (a digit) to select the Nth menu item in WINDOW-&gt;node. */
DECLARE_INFO_COMMAND (info_menu_digit, _(&quot;Select this menu item&quot;))
{
  register int i, item;
  register REFERENCE *entry = NULL, **menu;

  menu = info_menu_of_node (window-&gt;node);

  if (!menu)
    {
      info_error ((char *) msg_no_menu_node, NULL, NULL);
      return;
    }

  /* We have the menu.  See if there are this many items in it. */
  item = key - &apos;0&apos;;

  /* Special case.  Item &quot;0&quot; is the last item in this menu. */
  if (item == 0)
    for (i = 0; menu[i + 1]; i++);
  else
    {
      for (i = 0; (entry = menu[i]); i++)
        if (i == item - 1)
          break;
    }

  if (menu[i])
    {
      info_select_reference (window, menu[i]);
      if (entry-&gt;line_number &gt; 0)                    // got segfault here
...

The last line is the place where it fails on data access via pointer entry=NULL.
</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>sirspiritus@yandex.ru</who>
            <bug_when>2004-12-19 12:34:32 0000</bug_when>
            <thetext>after applying following patch &apos;info&apos; works as expected: 

--- texinfo-4.7-old/info/session.c       2004-04-07 04:58:25.000000000 +0600
+++ texinfo-4.7/info/session.c   2004-12-20 01:14:13.084715752 +0500
@@ -1959,7 +1959,7 @@

   /* Special case.  Item &quot;0&quot; is the last item in this menu. */
   if (item == 0)
-    for (i = 0; menu[i + 1]; i++);
+    for (i = 0; (entry=menu[i + 1]); i++);
   else
     {
       for (i = 0; (entry = menu[i]); i++)
@@ -1967,7 +1967,7 @@
           break;
     }

-  if (menu[i])
+  if (entry)
     {
       info_select_reference (window, menu[i]);
       if (entry-&gt;line_number &gt; 0)
</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>vapier@gentoo.org</who>
            <bug_when>2004-12-19 21:19:24 0000</bug_when>
            <thetext>did you find that patch somewhere or did you create it yourself ?</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>vapier@gentoo.org</who>
            <bug_when>2004-12-20 05:42:11 0000</bug_when>
            <thetext>also, can you attach the info file to this bug that is causing the segfault ?</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>sirspiritus@yandex.ru</who>
            <bug_when>2004-12-20 10:06:44 0000</bug_when>
            <thetext>Created an attachment (id=46454)
Patch for texinfo-4.7-r1 fixes dereference of  the NULL pointer

This patch I created by myself</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>sirspiritus@yandex.ru</who>
            <bug_when>2004-12-20 10:51:44 0000</bug_when>
            <thetext>Created an attachment (id=46459)
Bug description
</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>sirspiritus@yandex.ru</who>
            <bug_when>2004-12-20 10:59:05 0000</bug_when>
            <thetext>Created an attachment (id=46461)
Bug description
</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>sirspiritus@yandex.ru</who>
            <bug_when>2004-12-20 11:07:44 0000</bug_when>
            <thetext>Created an attachment (id=46462)
Bug description
</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>sirspiritus@yandex.ru</who>
            <bug_when>2004-12-20 11:10:42 0000</bug_when>
            <thetext>sorry for my terrible engrish ;)</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>sirspiritus@yandex.ru</who>
            <bug_when>2004-12-20 12:36:31 0000</bug_when>
            <thetext>Although bug investigated, but my fix should be checked because I&apos;m unsure it is correct although it seems so. 
The loop &quot;for (i = 0; (entry=menu[i + 1]); i++);&quot; always produces entry=NULL at last iteration.
</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>sirspiritus@yandex.ru</who>
            <bug_when>2004-12-20 13:39:26 0000</bug_when>
            <thetext>Created an attachment (id=46471)
Fixes NULL-pointer dereference segfault in info
</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>sirspiritus@yandex.ru</who>
            <bug_when>2004-12-20 13:39:36 0000</bug_when>
            <thetext>Created an attachment (id=46472)
Fixes NULL-pointer dereference segfault in info
</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>sirspiritus@yandex.ru</who>
            <bug_when>2004-12-20 13:40:48 0000</bug_when>
            <thetext>Created an attachment (id=46473)
Fixes NULL-pointer dereference segfault in info
</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>sirspiritus@yandex.ru</who>
            <bug_when>2004-12-20 13:50:12 0000</bug_when>
            <thetext>Final patch and patch description.
</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>sirspiritus@yandex.ru</who>
            <bug_when>2004-12-25 17:15:34 0000</bug_when>
            <thetext>What news about the bugfix? And what about adding my patch to the Portage ;)
</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>vapier@gentoo.org</who>
            <bug_when>2005-01-03 19:24:17 0000</bug_when>
            <thetext>upstream has this fixed by not even using &apos;entry&apos; variable :)

http://savannah.gnu.org/cgi-bin/viewcvs/texinfo/texinfo/info/session.c.diff?r1=1.12&amp;r2=1.13

texinfo-4.8 has these fixes, thanks for the report !</thetext>
          </long_desc>
      
          <attachment
              isobsolete="1"
              ispatch="1"
              isprivate="0"
          >
            <attachid>46454</attachid>
            <date>2004-12-20 10:06 0000</date>
            <desc>Patch for texinfo-4.7-r1 fixes dereference of  the NULL pointer</desc>
            <filename>texinfo-patch.diff</filename>
            <type>text/plain</type>
            <data encoding="base64">LS0tIHRleGluZm8tNC43LW9sZC9pbmZvL3Nlc3Npb24uYyAgICAgICAyMDA0LTA0LTA3IDA0OjU4
OjI1LjAwMDAwMDAwMCArMDYwMAorKysgdGV4aW5mby00LjcvaW5mby9zZXNzaW9uLmMgICAyMDA0
LTEyLTIwIDAxOjE0OjEzLjA4NDcxNTc1MiArMDUwMApAQCAtMTk1OSw3ICsxOTU5LDcgQEAKCiAg
IC8qIFNwZWNpYWwgY2FzZS4gIEl0ZW0gIjAiIGlzIHRoZSBsYXN0IGl0ZW0gaW4gdGhpcyBtZW51
LiAqLwogICBpZiAoaXRlbSA9PSAwKQotICAgIGZvciAoaSA9IDA7IG1lbnVbaSArIDFdOyBpKysp
OworICAgIGZvciAoaSA9IDA7IChlbnRyeT1tZW51W2kgKyAxXSk7IGkrKyk7CiAgIGVsc2UKICAg
ICB7CiAgICAgICBmb3IgKGkgPSAwOyAoZW50cnkgPSBtZW51W2ldKTsgaSsrKQpAQCAtMTk2Nyw3
ICsxOTY3LDcgQEAKICAgICAgICAgICBicmVhazsKICAgICB9CgotICBpZiAobWVudVtpXSkKKyAg
aWYgKGVudHJ5KQogICAgIHsKICAgICAgIGluZm9fc2VsZWN0X3JlZmVyZW5jZSAod2luZG93LCBt
ZW51W2ldKTsKICAgICAgIGlmIChlbnRyeS0+bGluZV9udW1iZXIgPiAwKQo=
</data>        

          </attachment>
          <attachment
              isobsolete="1"
              ispatch="0"
              isprivate="0"
          >
            <attachid>46459</attachid>
            <date>2004-12-20 10:51 0000</date>
            <desc>Bug description</desc>
            <filename>patch-info.txt</filename>
            <type>text/plain</type>
            <data encoding="base64">CiAgU2VnZmF1bHQgb24gZGVyZWZlcmVuY2Ugb2YgTlVMTC1wb2ludGVyIGluIHN5cy1hcHAvdGV4
aW5mbyBkZXNjcmlwdGlvbi4KCgogIFRoZSBwcm9ibGVtIGlzIHRoZSBtaXNzaW5nIHZhcmlhYmxl
IGluaXRpYWxpemF0aW9uIGluIGZvbGxvd2luZyBjb2RlIHNuaXAgaW4gc2Vzc2lvbi5jCgogICAv
KiBVc2UgS0VZIChhIGRpZ2l0KSB0byBzZWxlY3QgdGhlIE50aCBtZW51IGl0ZW0gaW4gV0lORE9X
LT5ub2RlLiAqLwogICBERUNMQVJFX0lORk9fQ09NTUFORCAoaW5mb19tZW51X2RpZ2l0LCBfKCJT
ZWxlY3QgdGhpcyBtZW51IGl0ZW0iKSkKICAgewogICAgIHJlZ2lzdGVyIGludCBpLCBpdGVtOwpb
MV0gIHJlZ2lzdGVyIFJFRkVSRU5DRSAqZW50cnkgPSBOVUxMLCAqKm1lbnU7CgogICAgIG1lbnUg
PSBpbmZvX21lbnVfb2Zfbm9kZSAod2luZG93LT5ub2RlKTsKCiAgICAgaWYgKCFtZW51KQogICAg
ICAgewogICAgICAgICBpbmZvX2Vycm9yICgoY2hhciAqKSBtc2dfbm9fbWVudV9ub2R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
Y2F1c2UgaXRzIG1lYW5pbmcgaXMgdGhlIHNhbWUgYXMgYXQgWzRdIC0gaXQgaXMgdGhlIGxhc3Qg
bWVtYmVyIG9mIHRoZSAnbWVudScgYXJyYXkgYW5kIGl0IGlzIHVzZWQgYXQgWzZdLiAKICBTbyB0
byBmaXggdGhlIGJ1ZyBbM10gc2hvdWxkIGJlIGNoYW5nZWQoJ2VudHJ5JyBpbml0aWFsaXphdGlv
bik6CgotICAgIGZvciAoaSA9IDA7IG1lbnVbaSArIDFdOyBpKyspOworICAgIGZvciAoaSA9IDA7
IChlbnRyeT1tZW51W2kgKyAxXSk7IGkrKyk7CgogIEFuZCBbNV0gc2hvdWxkIGJlIGNoYW5nZWQg
dG8gJ2VudHJ5JyBjaGVjazoKCi0gICAgZm9yIChpID0gMDsgbWVudVtpICsgMV07IGkrKyk7Cisg
ICAgZm9yIChpID0gMDsgKGVudHJ5PW1lbnVbaSArIDFdKTsgaSsrKTsKCg==
</data>        

          </attachment>
          <attachment
              isobsolete="1"
              ispatch="0"
              isprivate="0"
          >
            <attachid>46461</attachid>
            <date>2004-12-20 10:59 0000</date>
            <desc>Bug description</desc>
            <filename>patch-info.txt</filename>
            <type>text/plain</type>
            <data encoding="base64">CiAgU2VnZmF1bHQgb24gZGVyZWZlcmVuY2Ugb2YgTlVMTC1wb2ludGVyIGluIHN5cy1hcHAvdGV4
aW5mbyBkZXNjcmlwdGlvbi4KCgogIFRoZSBwcm9ibGVtIGlzIHRoZSBtaXNzaW5nIHZhcmlhYmxl
IGluaXRpYWxpemF0aW9uIGluIGZvbGxvd2luZyBjb2RlIHNuaXAgaW4gc2Vzc2lvbi5jCgogICAv
KiBVc2UgS0VZIChhIGRpZ2l0KSB0byBzZWxlY3QgdGhlIE50aCBtZW51IGl0ZW0gaW4gV0lORE9X
LT5ub2RlLiAqLwogICBERUNMQVJFX0lORk9fQ09NTUFORCAoaW5mb19tZW51X2RpZ2l0LCBfKCJT
ZWxlY3QgdGhpcyBtZW51I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IFs2XQogd2hlcmUgc2VnZmF1bHQg
b2NjdXJzIG9uIHRoZSBOVUxMIHBvaW50ZXIgZGVyZWZlcmVuY2Ugb2YgJ2VudHJ5JywgYmVjYXVz
ZSB2YWx1ZSBvZiB0aGUgJ2VudHJ5JyB2YXJpYWJsZSBzdGlsbCBoYXMKIGl0cyBpbml0aWFsIHZh
bHVlIG9mIE5VTExbMV0uIFRoZSAnZW50cnknIHNob3VsZCBiZSBpbml0aWFsaXplZCBhdCBbM10g
YmVjYXVzZSBpdHMgbWVhbmluZyBpcyB0aGUgc2FtZSBhcyBhdCBbNF0gLQogaXQgaXMgdGhlIGxh
c3QgbWVtYmVyIG9mIHRoZSAnbWVudScgYXJyYXkgYW5kIGl0IGlzIHVzZWQgYXQgWzZdLiAKICBT
byB0byBmaXggdGhlIGJ1ZyBbM10gc2hvdWxkIGJlIGNoYW5nZWQoJ2VudHJ5JyBpbml0aWFsaXph
dGlvbik6CgotICAgIGZvciAoaSA9IDA7IG1lbnVbaSArIDFdOyBpKyspOworICAgIGZvciAoaSA9
IDA7IChlbnRyeT1tZW51W2kgKyAxXSk7IGkrKyk7CgogIEFuZCBbNV0gc2hvdWxkIGJlIGNoYW5n
ZWQgdG8gJ2VudHJ5JyBjaGVjazoKCi0gICAgZm9yIChpID0gMDsgbWVudVtpICsgMV07IGkrKyk7
CisgICAgZm9yIChpID0gMDsgKGVudHJ5PW1lbnVbaSArIDFdKTsgaSsrKTsKCg==
</data>        

          </attachment>
          <attachment
              isobsolete="1"
              ispatch="0"
              isprivate="0"
          >
            <attachid>46462</attachid>
            <date>2004-12-20 11:07 0000</date>
            <desc>Bug description</desc>
            <filename>patch-info.txt</filename>
            <type>text/plain</type>
            <data encoding="base64">CiAgU2VnZmF1bHQgb24gZGVyZWZlcmVuY2Ugb2YgTlVMTC1wb2ludGVyIGluIHN5cy1hcHAvdGV4
aW5mbyBkZXNjcmlwdGlvbi4KCgogIFRoZSBwcm9ibGVtIGlzIHRoZSBtaXNzaW5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gIGlmIChtZW51W2ldKQorICBpZiAoZW50cnkpCgo=
</data>        

          </attachment>
          <attachment
              isobsolete="1"
              ispatch="1"
              isprivate="0"
          >
            <attachid>46471</attachid>
            <date>2004-12-20 13:39 0000</date>
            <desc>Fixes NULL-pointer dereference segfault in info</desc>
            <filename>texinfo-4.7-info-fix.diff</filename>
            <type>text/plain</type>
            <data encoding="base64">LS0tIHRleGluZm8tNC43LW9yaWcvaW5mby9zZXNzaW9uLmMgICAgIDIwMDQtMTItMjEgMDI6MDQ6
NDMuNDcxNjczODcyICswNTAwCisrKyB0ZXhpbmZvLTQuNy9pbmZvL3Nlc3Npb24uYyAgMjAwNC0x
Mi0yMSAwMjowNzozNC4wNTY0MzMyODggKzA1MDAKQEAgLTE5NjIsMTQgKzE5NjIsMTYgQEAKICAg
ICBmb3IgKGkgPSAwOyBtZW51W2kgKyAxXTsgaSsrKTsKICAgZWxzZQogICAgIHsKLSAgICAgIGZv
ciAoaSA9IDA7IChlbnRyeSA9IG1lbnVbaV0pOyBpKyspCisgICAgICBmb3IgKGkgPSAwOyBtZW51
W2ldOyBpKyspCiAgICAgICAgIGlmIChpID09IGl0ZW0gLSAxKQogICAgICAgICAgIGJyZWFrOwog
ICAgIH0KKworICBlbnRyeT1tZW51W2ldOwoKLSAgaWYgKG1lbnVbaV0pCisgIGlmIChlbnRyeSkK
ICAgICB7Ci0gICAgICBpbmZvX3NlbGVjdF9yZWZlcmVuY2UgKHdpbmRvdywgbWVudVtpXSk7Cisg
ICAgICBpbmZvX3NlbGVjdF9yZWZlcmVuY2UgKHdpbmRvdywgZW50cnkpOwogICAgICAgaWYgKGVu
dHJ5LT5saW5lX251bWJlciA+IDApCiAgICAgICAgIGluZm9fbmV4dF9saW5lICh3aW5kb3csIGVu
dHJ5LT5saW5lX251bWJlciAtIDEsIGtleSk7CiAgICAgfQo=
</data>        

          </attachment>
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>46472</attachid>
            <date>2004-12-20 13:39 0000</date>
            <desc>Patch for NULL-pointer dereference segfault </desc>
            <filename>texinfo-4.7-info-fix.diff</filename>
            <type>text/plain</type>
            <data encoding="base64">LS0tIHRleGluZm8tNC43LW9yaWcvaW5mby9zZXNzaW9uLmMgICAgIDIwMDQtMTItMjEgMDI6MDQ6
NDMuNDcxNjczODcyICswNTAwCisrKyB0ZXhpbmZvLTQuNy9pbmZvL3Nlc3Npb24uYyAgMjAwNC0x
Mi0yMSAwMjowNzozNC4wNTY0MzMyODggKzA1MDAKQEAgLTE5NjIsMTQgKzE5NjIsMTYgQEAKICAg
ICBmb3IgKGkgPSAwOyBtZW51W2kgKyAxXTsgaSsrKTsKICAgZWxzZQogICAgIHsKLSAgICAgIGZv
ciAoaSA9IDA7IChlbnRyeSA9IG1lbnVbaV0pOyBpKyspCisgICAgICBmb3IgKGkgPSAwOyBtZW51
W2ldOyBpKyspCiAgICAgICAgIGlmIChpID09IGl0ZW0gLSAxKQogICAgICAgICAgIGJyZWFrOwog
ICAgIH0KKworICBlbnRyeT1tZW51W2ldOwoKLSAgaWYgKG1lbnVbaV0pCisgIGlmIChlbnRyeSkK
ICAgICB7Ci0gICAgICBpbmZvX3NlbGVjdF9yZWZlcmVuY2UgKHdpbmRvdywgbWVudVtpXSk7Cisg
ICAgICBpbmZvX3NlbGVjdF9yZWZlcmVuY2UgKHdpbmRvdywgZW50cnkpOwogICAgICAgaWYgKGVu
dHJ5LT5saW5lX251bWJlciA+IDApCiAgICAgICAgIGluZm9fbmV4dF9saW5lICh3aW5kb3csIGVu
dHJ5LT5saW5lX251bWJlciAtIDEsIGtleSk7CiAgICAgfQo=
</data>        

          </attachment>
          <attachment
              isobsolete="0"
              ispatch="0"
              isprivate="0"
          >
            <attachid>46473</attachid>
            <date>2004-12-20 13:40 0000</date>
            <desc>NULL-pointer dereference segfault patch description</desc>
            <filename>patch-info.txt</filename>
            <type>text/plain</type>
            <data encoding="base64">CiAgRml4IG9mIE5VTEwtcG9pbnRlciBkZXJl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