summaryrefslogtreecommitdiff
path: root/apps/plugin.h
diff options
context:
space:
mode:
authorMiika Pekkarinen <miipekk@ihme.org>2006-07-25 18:12:57 +0000
committerMiika Pekkarinen <miipekk@ihme.org>2006-07-25 18:12:57 +0000
commitb40eb3d6627214a7e5a886f972022576799568ec (patch)
tree9158eadb70ce070919a1dac0fe8ba8521002f7f8 /apps/plugin.h
parente0d64b95db0664bcf374dc6c52707adfac910759 (diff)
downloadrockbox-b40eb3d6627214a7e5a886f972022576799568ec.tar.gz
rockbox-b40eb3d6627214a7e5a886f972022576799568ec.zip
Fixed unicode buffer overflow issue (metadata parser crashed with some
mp3 files). git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10324 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/plugin.h')
-rw-r--r--apps/plugin.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/plugin.h b/apps/plugin.h
index a663ce5f7d..3cd3fa6b63 100644
--- a/apps/plugin.h
+++ b/apps/plugin.h
@@ -327,8 +327,8 @@ struct plugin_api {
327 /* unicode stuff */ 327 /* unicode stuff */
328 const unsigned char* (*utf8decode)(const unsigned char *utf8, unsigned short *ucs); 328 const unsigned char* (*utf8decode)(const unsigned char *utf8, unsigned short *ucs);
329 unsigned char* (*iso_decode)(const unsigned char *iso, unsigned char *utf8, int cp, int count); 329 unsigned char* (*iso_decode)(const unsigned char *iso, unsigned char *utf8, int cp, int count);
330 unsigned char* (*utf16LEdecode)(const unsigned char *utf16, unsigned char *utf8, unsigned int count); 330 unsigned char* (*utf16LEdecode)(const unsigned char *utf16, unsigned char *utf8, int count);
331 unsigned char* (*utf16BEdecode)(const unsigned char *utf16, unsigned char *utf8, unsigned int count); 331 unsigned char* (*utf16BEdecode)(const unsigned char *utf16, unsigned char *utf8, int count);
332 unsigned char* (*utf8encode)(unsigned long ucs, unsigned char *utf8); 332 unsigned char* (*utf8encode)(unsigned long ucs, unsigned char *utf8);
333 unsigned long (*utf8length)(const unsigned char *utf8); 333 unsigned long (*utf8length)(const unsigned char *utf8);
334 334