mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-10-26 23:36:37 -04:00
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) {
|
if (t > f) {
|
||||||
rb->strcpy(mvstr2,"o-o");
|
rb->strcpy(mvstr2,"o-o");
|
||||||
} else {
|
} else {
|
||||||
rb->strcpy(mvstr2,"o-o-o");
|
rb->memcpy(mvstr2,"o-o-o", 5);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue