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

Bug#598932: info crashes when selecting a node inside of an info file



On Fr, 08 Okt 2010, Norbert Preining wrote:
> thanks for the patch, might I ask you one thing? We are using 4.13a
> in Debian and that is in deep freeze. So to get this fixed before
> release I want to include only *minimal* changes.
> 
> I boiled down your patch to the following:

Wrong, that is not good ... the whole 
	strict_node_location_p
is newer and does not exists in 4.13a, so ONLY that:

> @@ -960,6 +960,9 @@
>          /* If we were able to find this file and load it, then return
>             the node within it. */
>          {
> +          if (!(tag->nodestart >= 0 && tag->nodestart < subfile->filesize))
> +            return NULL;
> +
>            NODE *node = xmalloc (sizeof (NODE));
>            node->filename    = subfile->fullpath;
>            node->parent      = NULL;

Best wishes

Norbert
------------------------------------------------------------------------
Norbert Preining            preining@{jaist.ac.jp, logic.at, debian.org}
JAIST, Japan                                 TeX Live & Debian Developer
DSA: 0x09C5B094   fp: 14DF 2E6C 0307 BE6D AD76  A9C0 D2BF 4AA3 09C5 B094
------------------------------------------------------------------------
FEAKLE (vb.)
To make facial expressions similar to those that old gentlemen make to
young girls in the playground.
			--- Douglas Adams, The Meaning of Liff



Reply to: