]> Savannah Git Hosting - gnulib.git/commit
regex: check that pattern char is single-byte
authorPaul Eggert <eggert@cs.ucla.edu>
Sun, 30 Dec 2012 08:10:51 +0000 (00:10 -0800)
committerPaul Eggert <eggert@cs.ucla.edu>
Sun, 30 Dec 2012 08:13:16 +0000 (00:13 -0800)
commit569f41015cbba5b185dc1e4655c801fb61302d10
tree4a29ab116e6ce3a9e757fb7a6d774332c6b4bcb1
parent6410c7a6ea65cceb588aadb497715279d4ec5daa
regex: check that pattern char is single-byte

Reported by Aharon Robbins in
<http://sourceware.org/ml/libc-alpha/2012-12/msg00456.html>.
* lib/regexec.c (check_node_accept_bytes):
Return 0 if the pattern string has a multibyte character here.
ChangeLog
lib/regexec.c