diff options
author | dgp <dgp@users.sourceforge.net> | 2011-07-19 19:26:32 (GMT) |
---|---|---|
committer | dgp <dgp@users.sourceforge.net> | 2011-07-19 19:26:32 (GMT) |
commit | 66bf88283d33ff4538e807214de979b630e80158 (patch) | |
tree | d74bdd8ad542645ce1e26868e9057de02e70b176 /generic | |
parent | c4e6823834ff315ac0cbc1dab5f3749482696aab (diff) | |
download | tcl-66bf88283d33ff4538e807214de979b630e80158.zip tcl-66bf88283d33ff4538e807214de979b630e80158.tar.gz tcl-66bf88283d33ff4538e807214de979b630e80158.tar.bz2 |
3371644 Repair failure to properly handle (length == -1) in TclConvertElement().
Diffstat (limited to 'generic')
-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 f5c2926..eaa7eae 100644 --- a/generic/tclUtil.c +++ b/generic/tclUtil.c @@ -1253,7 +1253,7 @@ int TclConvertElement( p[1] = '#'; p += 2; src++; - length--; + length -= (length > 0); } else { conversion = CONVERT_BRACE; } |