regex: fix false multibyte matches in some regular expressions
authorStanislav Brabec <sbrabec@suse.cz>
Fri, 24 Feb 2012 20:24:44 +0000 (12:24 -0800)
committerPaul Eggert <eggert@cs.ucla.edu>
Fri, 24 Feb 2012 20:25:34 +0000 (12:25 -0800)
commit1997177209382391a38d061f234fe04c74b863da
tree01a389a9985c410ad4af1e56e27fa39a6aa8f7f1
parent9fa1fde7810f17950543fc5b6c40d953d812a1cc
regex: fix false multibyte matches in some regular expressions

See <http://sourceware.org/bugzilla/show_bug.cgi?id=13637>
and <http://sourceware.org/ml/libc-alpha/2012-02/msg00521.html>.
* lib/regex_internal.c (re_string_skip_chars):
Fix miscomputation of remain_len that may cause incomplete
multi-byte character and false match.
ChangeLog
lib/regex_internal.c