summaryrefslogtreecommitdiff
path: root/strings
diff options
context:
space:
mode:
authorunknown <bar@mysql.com>2005-04-07 16:14:45 +0500
committerunknown <bar@mysql.com>2005-04-07 16:14:45 +0500
commit99c0dd3bc6f55be3e144129025a87a26c9470957 (patch)
tree4f1d60b2945543c5d4982f8084a6da5dd8f1c132 /strings
parentd9151b75c365c7c786baeb1f207b6734382e61c4 (diff)
downloadmariadb-git-99c0dd3bc6f55be3e144129025a87a26c9470957.tar.gz
ctype-eucjpms.c:
After merge fix. strings/ctype-eucjpms.c: After merge fix.
Diffstat (limited to 'strings')
-rw-r--r--strings/ctype-eucjpms.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/strings/ctype-eucjpms.c b/strings/ctype-eucjpms.c
index 346b5ecdf6b..ab12446754a 100644
--- a/strings/ctype-eucjpms.c
+++ b/strings/ctype-eucjpms.c
@@ -8417,7 +8417,10 @@ uint my_well_formed_len_eucjpms(CHARSET_INFO *cs __attribute__((unused)),
{
ch= *b++;
if (b >= (uchar*) end)
+ {
+ *error= 1;
return chbeg - beg; /* unexpected EOL */
+ }
}
if (ch >= 0xA1 && ch <= 0xFE &&