From 2b447eceb1e7e504da0127160c7041634619f2bf Mon Sep 17 00:00:00 2001 From: "serg@serg.mylan" <> Date: Sun, 6 Mar 2005 12:31:40 +0100 Subject: [PATCH] myisam/ft_parser.c protection against invalid string in ft_get_word mysys/my_symlink2.c typo fixed --- myisam/ft_parser.c | 4 ++-- mysys/my_symlink2.c | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/myisam/ft_parser.c b/myisam/ft_parser.c index 543cf998a82..0b1e68b0d70 100644 --- a/myisam/ft_parser.c +++ b/myisam/ft_parser.c @@ -103,7 +103,7 @@ byte ft_get_word(CHARSET_INFO *cs, byte **start, byte *end, FT_WORD *word, FTB_PARAM *param) { byte *doc=*start; - uint mwc, length; + uint mwc, length, mbl; param->yesno=(FTB_YES==' ') ? 1 : (param->quot != 0); param->plusminus=param->pmsign=0; @@ -144,7 +144,7 @@ byte ft_get_word(CHARSET_INFO *cs, byte **start, byte *end, } mwc=length=0; - for (word->pos=doc; docpos=doc; doc