Skip to content
Tcl Source Code History Of Ticket 1283976
Login

History Of Ticket 1283976

Artifacts Associated With Ticket 1283976

  1. Ticket change [fbe3dcbbec] (rid 108139) by dgp on 2005-09-07 13:55:34:

    1. assignee initialized to: "nijtmans"
    2. cmimetype initialized to: "text/plain"
    3. 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
      
      
    4. foundin initialized to: "obsolete: 8.4.11"
    5. priority initialized to: "5 Medium"
    6. resolution initialized to: "None"
    7. status initialized to: "Open"
    8. submitter initialized to: "dgp"
    9. subsystem initialized to: "44. UTF-8 Strings"
    10. title initialized to: "Tcl_UniCharToUtf mishandles negative input"
    11. type initialized to: "Bug"
  2. Ticket change [0e40333ee3] (rid 94582) by dgp on 2005-09-07 21:22:25:

    1. icomment:
      Logged In: YES 
      user_id=80530
      
      
      attached patch is fix and test
      
      
    2. login: "dgp"
    3. mimetype: "text/plain"
    4. username: "dgp"
  3. Add attachment "1283976.patch" [bb9da4079c] (rid 129515) by dgp on 2005-09-07 21:22:31.

  4. Ticket change [9922626919] (rid 110734) by dgp on 2005-09-07 21:22:33:

    1. icomment:
      
      
      File Added - 148328: 1283976.patch
      
      
      
    2. login: "dgp"
    3. mimetype: "text/plain"
    4. username: "dgp"
  5. Ticket change [50b843b002] (rid 126019) by dgp on 2005-09-07 21:32:13:

    1. icomment:
      Logged In: YES 
      user_id=80530
      
      
      corresponding patch for the HEAD
      
      
    2. login: "dgp"
    3. mimetype: "text/plain"
    4. username: "dgp"
  6. Add attachment "1283976-85.patch" [12726572bb] (rid 95303) by dgp on 2005-09-07 21:32:19.

  7. Ticket change [39f50cd729] (rid 112480) by dgp on 2005-09-07 21:32:21:

    1. icomment:
      
      
      File Added - 148329: 1283976-85.patch
      
      
      
    2. login: "dgp"
    3. mimetype: "text/plain"
    4. username: "dgp"
  8. Ticket change [22624d729c] (rid 130739) by dgp on 2005-09-07 22:31:42:

    1. resolution changed to: "Fixed"
    2. status changed to: "Closed"
  9. Ticket change [5f9e4c9e0e] (rid 115847) by dgp on 2005-09-07 22:31:43:

    1. assignee changed to: "dgp"
    2. closedate changed to: "2005-09-07T15:31:43"
    3. closer changed to: "dgp"
    4. icomment:
      Logged In: YES 
      user_id=80530
      
      patches committed.
      
      
    5. login: "dgp"
    6. mimetype: "text/plain"
    7. username: "dgp"