diff options
author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2020-03-27 10:33:08 (GMT) |
---|---|---|
committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2020-03-27 10:33:08 (GMT) |
commit | 9a007031fac7f6b4f05a6b7c2bfcb123d823decf (patch) | |
tree | 6fd10adb58c02d35ecb9d43f4cbb072e0c915845 /doc/StringObj.3 | |
parent | 4005a8776ea0d4f3ac50fc59861673e2e1985466 (diff) | |
download | tcl-9a007031fac7f6b4f05a6b7c2bfcb123d823decf.zip tcl-9a007031fac7f6b4f05a6b7c2bfcb123d823decf.tar.gz tcl-9a007031fac7f6b4f05a6b7c2bfcb123d823decf.tar.bz2 |
Fix [767e070d35]: Tcl_GetRange and Tcl_GetUniChar do not validate index inputs
Diffstat (limited to 'doc/StringObj.3')
-rw-r--r-- | doc/StringObj.3 | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/doc/StringObj.3 b/doc/StringObj.3 index c23706f..7870b21 100644 --- a/doc/StringObj.3 +++ b/doc/StringObj.3 @@ -204,7 +204,8 @@ where the caller does not need the length of the unicode string representation. .PP \fBTcl_GetUniChar\fR returns the \fIindex\fR'th character in the -value's Unicode representation. +value's Unicode representation. The index is assumed to be in the +appropriate range. .PP \fBTcl_GetRange\fR returns a newly created value comprised of the characters between \fIfirst\fR and \fIlast\fR (inclusive) in the |