Artifacts Associated With Ticket 2669109fff
Ticket change [b6b0d8a933] (rid 125463) by dgp on 2009-03-06 18:48:16:
- assignee initialized to: "dgp"
- cmimetype initialized to: "text/plain"
- comment initialized to:
appends that overflow the max length of a string lead to corrupted nonsense.
- foundin initialized to: "obsolete: 8.6b1.1"
- is_private initialized to: "0"
- priority initialized to: "5 Medium"
- resolution initialized to: "None"
- status initialized to: "Open"
- submitter initialized to: "dgp"
- subsystem initialized to: "47. Bytecode Compiler"
- title initialized to: "INST_CONCAT1 no overflow protection"
- type initialized to: "Bug"
Ticket change [439690a868] (rid 116585) by ferrieux on 2009-03-08 04:15:26:
- icomment:
It appears there is code duplication between INST_CONCAT1 and Tcl_AppendObjToObj. Is there a good reason ? Refactoring would solve this issue.
- login: "ferrieux"
- mimetype: "text/plain"
- username: "ferrieux"
- icomment:
Ticket change [4cfe28a381] (rid 126989) by dgp on 2009-03-20 01:28:10:
- icomment:
Demo: % set foo [string repeat a 8421505]; concat % set cmd {set bar } set bar % append cmd [string repeat {$foo} 255]; concat % eval $cmd; concat % string length $bar -2147483521 - login: "dgp"
- mimetype: "text/plain"
- username: "dgp"
- icomment:
Ticket change [4e77ec7220] (rid 127238) by dgp on 2009-03-20 01:33:20:
- icomment:
Demo that doesn't need a system capable of big allocations: % set foo [string repeat a 16843010]; concat % set cmd {set bar } set bar % append cmd [string repeat {$foo} 255]; concat % eval $cmd; concat make: *** [shell] Segmentation fault - login: "dgp"
- mimetype: "text/plain"
- username: "dgp"
- icomment:
Ticket change [5248691417] (rid 126290) by dgp on 2009-03-20 02:05:01:
- icomment:
Was going to turn those into a test, but once the bug is fixed, the proper behavior will be to panic, which isn't test friendly.
- login: "dgp"
- mimetype: "text/plain"
- username: "dgp"
- icomment:
Add attachment "2669109.patch" [7912a4c055] (rid 90059) by dgp on 2009-03-20 02:58:09.
Ticket change [8c266e567a] (rid 127700) by dgp on 2009-03-20 02:58:09:
- icomment:
File Added - 318622: 2669109.patch Here's a patch for the HEAD. File Added: 2669109.patch
- login: "dgp"
- mimetype: "text/plain"
- username: "dgp"
- icomment:
Ticket change [314cf0af08] (rid 93405) by dgp on 2009-03-20 20:41:29:
- icomment:
More reliable demo: proc demo foo "set bar [string repeat {$foo} 255]" demo [string repeat a 16843010]; concat - login: "dgp"
- mimetype: "text/plain"
- username: "dgp"
- icomment:
Ticket change [149f0510ea] (rid 124424) by dgp on 2009-03-20 21:36:28:
- closedate changed to: "2009-03-20T14:36:28"
- closer changed to: "dgp"
- icomment:
allow_comments - 1 fixed on all branches
- login: "dgp"
- mimetype: "text/plain"
- resolution changed to: "Fixed"
- status changed to: "Closed"
- username: "dgp"