Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Compiling SSCLI 2.0 on Windows Vista

1 view
Skip to first unread message

afjoh...@mvps.org

unread,
Aug 19, 2007, 3:36:24 PM8/19/07
to
When I tried to compile the SSCLI 2.0 on Vista I got a buffer overflow in
MakeMacroString().

I found that this method is declared in sscli20\tools\buildsrc.c and that
the buffer that is too small is MMSBuffer.

Increasing the size of MMSBuffer allowed me to successfully compile SSCLI.

The change I made was on line 521 in sscli20\tools\buildsrc.c
char MMSBuffer[64*1024];

Changed to
char MMSBuffer[256*1024];

The change from 64 to 256 was just a guess and worked well, smaller value
might work but I never tested it. That the buffer was too small might be
because I didn't extract the files to the root of my drive but rather in my
users documents folder. By default I run as a limited user and for some yet
undetermined cause I had to build the framework as adminstrator with the
files in my LUA documents folder.

0 new messages