Fix marginal buffer overflow in chessbox.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30358 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Steve Bavin 2011-08-26 15:50:16 +00:00
parent 89ee922ab6
commit dbee923b34

View file

@ -2378,7 +2378,7 @@ short f,t,flag;
if (t > f) {
rb->strcpy(mvstr2,"o-o");
} else {
rb->strcpy(mvstr2,"o-o-o");
rb->memcpy(mvstr2,"o-o-o", 5);
}
}