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:
parent
89ee922ab6
commit
dbee923b34
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue