Artifacts Associated With Ticket 1283976
Ticket change [fbe3dcbbec] (rid 108139) by dgp on 2005-09-07 13:55:34:
- assignee initialized to: "nijtmans"
- cmimetype initialized to: "text/plain"
- comment initialized to:
dkf% scan [format %c -1] %c%c%c 255 191 {} ... [09:43]dkf% string bytelength [format %c -1] 2 ... [09:43]dkfSo, [format %c -1] is *wrong* ... [09:44]dgphmmm... Tcl_UniCharToUtf accepts an "int" argument instead of a "Tcl_UniChar" one. [09:44]dkfI think that's because some compilers aren't keen on arguments narrower than a word [09:45]dgpbut the logic of the routine assumes an unsigned input. rmaxdgp: IIRC I also wondered about this when I worked on the -nocase stuff some time ago, and Jeff knew the reason why it is so. [09:45]dkfI think T_UCTU should cast it's argument to Tcl_UniChar [09:46]dkf(at the very least) ... [09:49]dgpok, so the flaw is in T_UCTU and not [format] itself ten [09:53]dkf[format] shouldn't be able to step outside the internal encoding model - foundin initialized to: "obsolete: 8.4.11"
- priority initialized to: "5 Medium"
- resolution initialized to: "None"
- status initialized to: "Open"
- submitter initialized to: "dgp"
- subsystem initialized to: "44. UTF-8 Strings"
- title initialized to: "Tcl_UniCharToUtf mishandles negative input"
- type initialized to: "Bug"
Ticket change [0e40333ee3] (rid 94582) by dgp on 2005-09-07 21:22:25:
- icomment:
Logged In: YES user_id=80530 attached patch is fix and test
- login: "dgp"
- mimetype: "text/plain"
- username: "dgp"
- icomment:
Add attachment "1283976.patch" [bb9da4079c] (rid 129515) by dgp on 2005-09-07 21:22:31.
Ticket change [9922626919] (rid 110734) by dgp on 2005-09-07 21:22:33:
- icomment:
File Added - 148328: 1283976.patch
- login: "dgp"
- mimetype: "text/plain"
- username: "dgp"
- icomment:
Ticket change [50b843b002] (rid 126019) by dgp on 2005-09-07 21:32:13:
- icomment:
Logged In: YES user_id=80530 corresponding patch for the HEAD
- login: "dgp"
- mimetype: "text/plain"
- username: "dgp"
- icomment:
Add attachment "1283976-85.patch" [12726572bb] (rid 95303) by dgp on 2005-09-07 21:32:19.
Ticket change [39f50cd729] (rid 112480) by dgp on 2005-09-07 21:32:21:
- icomment:
File Added - 148329: 1283976-85.patch
- login: "dgp"
- mimetype: "text/plain"
- username: "dgp"
- icomment:
Ticket change [22624d729c] (rid 130739) by dgp on 2005-09-07 22:31:42:
- resolution changed to: "Fixed"
- status changed to: "Closed"
Ticket change [5f9e4c9e0e] (rid 115847) by dgp on 2005-09-07 22:31:43:
- assignee changed to: "dgp"
- closedate changed to: "2005-09-07T15:31:43"
- closer changed to: "dgp"
- icomment:
Logged In: YES user_id=80530 patches committed.
- login: "dgp"
- mimetype: "text/plain"
- username: "dgp"