Subject: Re: pkg/32097
To: None <,,>
From: grant beattie <>
List: pkgsrc-bugs
Date: 11/18/2005 03:33:01
The following reply was made to PR pkg/32097; it has been noted by GNATS.

From: grant beattie <>
Subject: Re: pkg/32097
Date: Fri, 18 Nov 2005 14:32:18 +1100

 On Fri, Nov 18, 2005 at 12:38:01AM +0000, wrote:
 >  and then later in the file the macro is called in the following way:
 >  MAKEEXTRALIST(flag, extra, "");
 >  the third argument to the macro causes problems, because it expands to empty
 >  string constants, which are stored at different addresses, so on a big-endian
 >  sparc machine:
 >  extra = alloca((size_t)((o - orig) + MAXEXTRAS));
 >  calls alloca() funcation, passing it a huge number, which overruns the stack
 >  and crashes the program.
 excellent! thanks for tracking this down, I have committed your fix to