bug-texinfo
[Top][All Lists]
Advanced

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

Re: crash with big macro


From: Karl Berry
Subject: Re: crash with big macro
Date: Thu, 28 Aug 2008 08:38:58 -0500

    I don't know if the content of the @macro is relevant or not, but the
    length is important. 

Indeed.  What your test is apparently hitting is the hardwired limit in
makeinfo.c:

#define EXECUTE_STRING_MAX 16*1024

(This "execution string" stack is the way bfox implemented macros, among
other things.)

I cannot see an easy way to test for the overflow, so I merely (and
uselessly) bumped the limit to 32k.  Since overall we want to move to
your implementation anyway ...

Thanks for the detailed report, as always.

karl





reply via email to

[Prev in Thread] Current Thread [Next in Thread]