From 870059eb044d7b058e741de86eef3594100b5bda Mon Sep 17 00:00:00 2001 From: unknown Date: Sun, 6 Mar 2005 12:31:40 +0100 Subject: myisam/ft_parser.c protection against invalid string in ft_get_word mysys/my_symlink2.c typo fixed myisam/ft_parser.c: protection against invalid string in ft_get_word mysys/my_symlink2.c: typo fixed --- myisam/ft_parser.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'myisam/ft_parser.c') 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