Hello!

I think I found a bug in texinfo 4.0:

*** 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.

Hope it helps.


Regards,
Frank


_______________________________________________
Bug-texinfo mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/bug-texinfo

Reply via email to