Skip to content
Tcl Source Code Check-in [d339070a4e]
Login

Check-in [d339070a4e]

Overview
Comment: * generic/tclUtil.c: fixed Tcl_ScanCountedElement to not step beyond the end of the counted string [Bug: 3336] * generic/tclCompile.c: fixed 'bad code length' error for 'expr + {[incr]}' case, with new test case [Bug: 3736] and seg fault on 'expr + {[error]}' (different cause) that was caused by a correct optimization that didn't correctly track how it was modifying the source string in the opt. The optimization was removed, which means that: expr 1 + {[string length abc]} will be not be compiled inline as before, but this should be written: expr {1 + [string length abc]} which will be compiled inline for speed. This prevents expr 1 + {[mindless error]} from seg faulting, and only affects optimizations for degenerate cases [Bug: 3737]
Timelines: family | ancestors | descendants | both | core-8-2-1-branch
Files: files | file ages | folders
SHA1: d339070a4e0a8e9517d434f10b0670c65e2eed81
User & Date: hobbs on 1999-12-08 05:49:38.000
Other Links: branch diff | manifest | tags
Context
1999-12-08
05:49
* library/http2.1/http.tcl: fixed error handling in http::Event [Bug: 3752] check-in: 5e6bcca375 user: hobbs tags: core-8-2-1-branch
05:49
* generic/tclUtil.c: fixed Tcl_ScanCountedElement to not step beyond the end of the counted string... check-in: d339070a4e user: hobbs tags: core-8-2-1-branch
05:49
see log check-in: 62d72d1127 user: hobbs tags: core-8-2-1-branch
Changes