Bug#691107: Possible fix
Ansgar Burchardt
ansgar at debian.org
Tue Oct 23 06:30:08 UTC 2012
Jesse Smith <jessefrgsmith at yahoo.ca> writes:
> I believe I have found the problem and (I hope) a fix. Sorry for
> spamming everyone's inbox today.
>
> The problem seems to stem from the strcpy() command overflowing when
> copying one character into a two-character string. It seems as though
> GCC is treating the characters in the source string as being larger than
> one byte each, so to great around the overflow I've increased the size
> of the destination buffer.
That probably just hides the problem.
I think the real problem is in menucontent.h. The MENUENTRY variables
are declared in a "if" block and are no longer valid outside the block,
however mainMenu.entries ("opts" in atanks.cpp:1037) still has a pointer
to them...
Ansgar
More information about the Pkg-games-devel
mailing list