]> git.ipfire.org Git - thirdparty/glibc.git/commit
regex: fix read overrun [BZ #24114]
authorPaul Eggert <eggert@cs.ucla.edu>
Mon, 21 Jan 2019 19:08:13 +0000 (11:08 -0800)
committerPaul Eggert <eggert@cs.ucla.edu>
Thu, 31 Jan 2019 21:18:56 +0000 (13:18 -0800)
commit583dd860d5b833037175247230a328f0050dbfe9
tree8d281e86b18cddbb98a89a6b8c4ec20dbf2f8e93
parent2bac7daa58da1a313bd452369b0508b31e146637
regex: fix read overrun [BZ #24114]

Problem found by AddressSanitizer, reported by Hongxu Chen in:
https://debbugs.gnu.org/34140
* posix/regexec.c (proceed_next_node):
Do not read past end of input buffer.
ChangeLog
posix/regexec.c