A pointer is never initialised. The attached patch fixes that.
Bernard.
--- texinfo-4.7/info/session.c.orig 2004-04-07 06:58:25.000000000 +0800 +++ texinfo-4.7/info/session.c 2005-01-30 00:42:47.000000000 +0800 @@ -1959,7 +1959,10 @@ /* Special case. Item "0" is the last item in this menu. */ if (item == 0) - for (i = 0; menu[i + 1]; i++); + { + for (i = 0; menu[i + 1]; i++); + entry = menu[i]; + } else { for (i = 0; (entry = menu[i]); i++)