Fix off-by-one memory corruption in ipodpatcher.
commite412227abbd885ae3736080b000457be69e46afc
authorThomas Jarosch <tomj@simonv.com>
Thu, 25 Aug 2011 19:58:47 +0000 (25 19:58 +0000)
committerThomas Jarosch <tomj@simonv.com>
Thu, 25 Aug 2011 19:58:47 +0000 (25 19:58 +0000)
tree0f99cffbaa66da238e9217724a2811b3bab05248
parentfaf354c4f33c49c90355bed2beafe01cf0384c1c
Fix off-by-one memory corruption in ipodpatcher.

strcpy() will terminate the string with zero,
the boot sector/buffer has only space for eight characters.

Credit goes to "cppcheck".

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30351 a1c6a512-1295-4272-9138-f99709370657
rbutil/ipodpatcher/fat32format.c