Author: muggenhor
Date: Thu Nov 13 23:49:30 2008
New Revision: 6284
URL: http://svn.gna.org/viewcvs/warzone?rev=6284&view=rev
Log:
Merged revision 6283 into the [milestone:2.1] branch via svnmerge from trunk
........
r6283 | muggenhor | 2008-11-13 23:42:05 +0100 (do, 13 nov 2008) | 3 lines
* Make getPlayerName and getPlayerColourName const correct
* Fix a buffer overflow in getPlayerColourName resulting from translations
for player colours being larger than the string buffer that was reserved for
them
- Instead just return gettext()'s return value (because "The resulting
string is statically allocated and must not be modified or freed.")
........
Modified:
branches/2.1/ (props changed)
branches/2.1/src/multiplay.c
branches/2.1/src/multiplay.h
branches/2.1/src/scriptfuncs.c
_______________________________________________
Warzone-commits mailing list
[email protected]
https://mail.gna.org/listinfo/warzone-commits