summaryrefslogtreecommitdiffstats
path: root/tools/regression
diff options
context:
space:
mode:
authortjr <tjr@FreeBSD.org>2004-11-21 03:14:32 +0000
committertjr <tjr@FreeBSD.org>2004-11-21 03:14:32 +0000
commit1f410c73aaa09f0990f20a0fe3c1ecb1af7c352b (patch)
tree0a52685b18c72c56999264a3b962a49f3ff6dd7a /tools/regression
parent0ccf8f0d91983e1b1776337c46298c297124262f (diff)
downloadFreeBSD-src-1f410c73aaa09f0990f20a0fe3c1ecb1af7c352b.zip
FreeBSD-src-1f410c73aaa09f0990f20a0fe3c1ecb1af7c352b.tar.gz
Fix computation of the 'n' argument to mbrtowc (through XMBRTOWC) to avoid
reading past 'stop' in various places when converting multibyte characters. Reading too far caused truncation to not be detected when it should have been, eventually causing regexec() to loop infinitely in with certain combinations of patterns and strings in multibyte locales. PR: 74020 MFC after: 4 weeks
Diffstat (limited to 'tools/regression')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud