Skip to content
Tcl Source Code History Of Ticket 949905ffffffffffffffffffffffffffffffffff
Login

History Of Ticket 949905ffffffffffffffffffffffffffffffffff

Artifacts Associated With Ticket 949905ffffffffffffffffffffffffffffffffff

  1. Ticket change [37abf561da] (rid 112068) by rmax on 2004-05-07 14:21:27:

    1. assignee initialized to: "hobbs"
    2. cmimetype initialized to: "text/plain"
    3. comment initialized to:
      A Unicode null character (\u0000) comes out as \xc0\x80
      instead of \x00 when it is being printed to a utf-8
      encoded channel.
      
      The attached patch for HEAD fixes this and doesn't
      break any tests here. If the patch gets accepted I'll
      create one for the 8.4 line as well.
      
    4. foundin initialized to: "obsolete: 8.5a2"
    5. priority initialized to: "5 Medium"
    6. resolution initialized to: "None"
    7. status initialized to: "Open"
    8. submitter initialized to: "rmax"
    9. subsystem initialized to: "44. UTF-8 Strings"
    10. title initialized to: "Unicode null characters on UTF-8 channels"
    11. type initialized to: "Bug"
  2. Ticket change [ef5d10b7d4] (rid 108977) by rmax on 2004-05-07 21:22:04:

    1. icomment:
      
      
      File Added - 86410: utf-8-nullbyte.patch
      
      
      
    2. login: "rmax"
    3. mimetype: "text/plain"
    4. username: "rmax"
  3. Ticket change [289a236e76] (rid 88724) by rmax on 2004-05-07 22:57:48:

    1. icomment:
      
      
      File Added - 86421: utf-8-nullbyte.patch
      
      Logged In: YES 
      user_id=124643
      
      While doing further tests, I found, that null bytes that are
      read from a utf-8 encoded channel also don't get translated
      to \xc0\x80. The updated patch fixes that as well.
      
      
    2. login: "rmax"
    3. mimetype: "text/plain"
    4. username: "rmax"
  4. Add attachment "utf-8-nullbyte.patch" [694941daeb] (rid 103225) by rmax on 2004-05-07 22:57:48.

  5. Ticket change [7107dbbb50] (rid 100599) by rmax on 2004-05-07 22:58:37:

    1. icomment:
      
      
      File Deleted - 86410: 
      
      
      
    2. login: "rmax"
    3. mimetype: "text/plain"
    4. username: "rmax"
  6. Add attachment "utf-8-nullbyte.patch" [a4cad008f6] (rid 110264) by rmax on 2004-05-08 01:19:13.

  7. Ticket change [9135563453] (rid 120586) by rmax on 2004-05-08 01:19:13:

    1. icomment:
      
      
      File Added - 86438: utf-8-nullbyte.patch
      
      Logged In: YES 
      user_id=124643
      
      Another version of the patch - this time with tests and
      comments.
      I'll commit this one to HEAD to get wider testing.
      
      
    2. login: "rmax"
    3. mimetype: "text/plain"
    4. username: "rmax"
  8. Add attachment "utf-8-nullbyte.patch" [a359ccf8e3] (rid 110031) by rmax on 2004-05-08 02:49:17.

  9. Ticket change [6ce2bf00ed] (rid 128598) by rmax on 2004-05-08 02:49:17:

    1. icomment:
      
      
      File Added - 86449: utf-8-nullbyte.patch
      
      Logged In: YES 
      user_id=124643
      
      The logic was not quite right before, so here is another
      (hopefully the last) attempt.
      
      The only thing I am not sure about is whether this patch
      adds the risk of a buffer overflow by one byte when in input
      mode there is only one spare byte left in the destination
      buffer and the next character in the source buffer is a null
      byte.
      
      
    2. login: "rmax"
    3. mimetype: "text/plain"
    4. username: "rmax"
  10. Ticket change [85e88c5a61] (rid 131404) by rmax on 2004-05-08 02:52:29:

    1. icomment:
      Logged In: YES 
      user_id=124643
      
      Forget that comment about the buffer overflow. I had
      overlooked, that the size of the dest buffer gets adjusted,
      so that alyways room for at least one more UTF-8 character.
      
      
    2. login: "rmax"
    3. mimetype: "text/plain"
    4. username: "rmax"
  11. Ticket change [ecf8cfa296] (rid 103804) by rmax on 2004-05-27 21:36:05:

    1. icomment:
      Logged In: YES 
      user_id=124643
      
      Comitted a fix to HEAD, and core-8-4-branch.
      
      
    2. login: "rmax"
    3. mimetype: "text/plain"
    4. resolution changed to: "Fixed"
    5. username: "rmax"
  12. Ticket change [55d1b7e8cf] (rid 94215) by hobbs on 2004-07-03 00:18:56:

    1. icomment:
      Logged In: YES 
      user_id=72656
      
      This is fixed, and left open as a watch item for the next
      releases (8.4.7 and 8.5a2).
      
      
    2. login: "hobbs"
    3. mimetype: "text/plain"
    4. priority changed to: "8"
    5. username: "hobbs"
  13. Ticket change [bb9ff69f48] (rid 129516) by hobbs on 2004-07-15 02:16:42:

    1. closedate changed to: "2004-07-14T19:16:42"
    2. closer changed to: "hobbs"
    3. status changed to: "Closed"