overflows in agi and parallaction
|Reported by:||SF/reddwarf69||Owned by:||lordhoto|
_textColors is 1 byte short since there is code that access it up to kNormalColor (= 2)
The third parameter of strncat is related to the source string, not to the destination one.
Use sizeof() to not have the string size hardcoded in two different places.
At the end the NULL byte is places 1 byte too far.
Ticket imported from: #3085298. Ticket imported from: patches/1321.