[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Bug in texinfo 4.0
From: |
Eli Zaretskii |
Subject: |
Re: Bug in texinfo 4.0 |
Date: |
Mon, 17 Sep 2001 11:50:02 +0200 (IST) |
On Mon, 17 Sep 2001, Frank Naumann wrote:
> *** texinfo-4.0/makeinfo/multi.c.orig Tue Aug 17 23:06:56 1999
> --- texinfo-4.0/makeinfo/multi.c Mon Sep 17 10:26:24 2001
> ***************
> *** 199,205 ****
>
> do
> {
> ! if (**params == '{' && (*params)[-1] != '@')
> brace_level++;
> else if (**params == '}' && (*params)[-1] != '@')
> brace_level--;
> --- 199,205 ----
>
> do
> {
> ! if (**params == '{' && ((*params == start) || ((*params)[-1] != '@')))
> brace_level++;
> else if (**params == '}' && (*params)[-1] != '@')
> brace_level--;
>
>
> (*params)[-1] is an illegal access in the first do { } while loop because
> it points to an xmalloc'ed area (if I see this correct). This produced
> sometimes failures and wrong error messages here.
Can you post a Texinfo source which causes error messages and other
failures due to this?