diff options
author | dgp <dgp@users.sourceforge.net> | 2011-03-06 20:07:14 (GMT) |
---|---|---|
committer | dgp <dgp@users.sourceforge.net> | 2011-03-06 20:07:14 (GMT) |
commit | 2dfada7fc59b215a62fd6ab21b71e94bf0ec53bd (patch) | |
tree | f0a428406ea164a42bdf19c1be62238fab52fe75 /generic/tclUtil.c | |
parent | 3406a2aa517a55ad8bc5f5adc2896bf34e1bc745 (diff) | |
parent | 160d8c5c26756b088beacbce9a1a684a4479dc64 (diff) | |
download | tcl-2dfada7fc59b215a62fd6ab21b71e94bf0ec53bd.zip tcl-2dfada7fc59b215a62fd6ab21b71e94bf0ec53bd.tar.gz tcl-2dfada7fc59b215a62fd6ab21b71e94bf0ec53bd.tar.bz2 |
* generic/tclUtil.c (TclFindElement): Guard escape sequence scans
to not overrun the string end. [Bug 3192636]
Diffstat (limited to 'generic/tclUtil.c')
-rw-r--r-- | generic/tclUtil.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/generic/tclUtil.c b/generic/tclUtil.c index 535634f..3fd6271 100644 --- a/generic/tclUtil.c +++ b/generic/tclUtil.c @@ -232,7 +232,7 @@ TclFindElement( */ case '\\': - Tcl_UtfBackslash(p, &numChars, NULL); + TclParseBackslash(p, limit - p, &numChars, NULL); p += (numChars - 1); break; |