Skip to content
Tcl Source Code History Of Ticket 02fe7f5c89
Login

History Of Ticket 02fe7f5c89

Artifacts Associated With Ticket 02fe7f5c89

  1. Ticket change [2a28195a4e] (rid 238898) by jan.nijtmans on 2025-04-05 22:54:06:

    1. assignee initialized to: "nobody"
    2. closer initialized to: "nobody"
    3. cmimetype initialized to: "text/x-fossil-wiki"
    4. comment initialized to:
      In line 352 of tclIcu.c:
      <pre>
          bytes = (char *) Tcl_GetBytesFromObj(interp, objPtr, &len);
      </pre>
      a few lines after that (line 363):
      <pre>
          ucsdet_setText(csd, bytes, len, &status);
      </pre>
      
      However the "len" parameter of ucsdet_setText() is int32_t, and no range-check is done (as in the other ICU functions. So if len > 2**31, this will lead to unexpected results.
      
      Discovered when working on TIP #626.
      
    5. foundin initialized to: "9.0"
    6. is_private initialized to: "0"
    7. login: "jan.nijtmans"
    8. priority initialized to: "5 Medium"
    9. private_contact initialized to: "0c50e5320704d174412e57b873d8932de15303e0"
    10. resolution initialized to: "None"
    11. severity initialized to: "Minor"
    12. status initialized to: "Open"
    13. submitter initialized to: "jan.nijtmans"
    14. subsystem initialized to: "69. Other"
    15. title initialized to:
      tcl::unsupported::icu::detect missing 32-bit error-check
      
    16. type initialized to: "Bug"
  2. Ticket change [d8654e8f0d] (rid 238899) by jan.nijtmans on 2025-04-05 22:54:23:

    1. assignee changed to: "apnadkarni"
    2. login: "jan.nijtmans"
    3. mimetype: "text/plain"
  3. Ticket change [f7d8595bf7] (rid 238900) by jan.nijtmans on 2025-04-05 22:57:37:

    1. icomment:
      The comment belonging to 'IcuDetectObjCmd' reads:
      <pre>
       * EncodingDetectObjCmd --
       *
       *	Implements the Tcl command EncodingDetect.
       *	  encdetect - returns names of all detectable encodings
       *	  encdetect BYTES ?-all? - return detected encoding(s)
      </pre>
      So the C- and Tcl-functions names are not up-to-date any more
      
    2. login: "jan.nijtmans"
    3. mimetype: "text/x-fossil-wiki"
  4. Ticket change [86903d064f] (rid 238906) by jan.nijtmans on 2025-04-06 16:15:11:

    1. closedate changed to: "2460772.17721667"
    2. closer changed to: "jan.nijtmans"
    3. icomment: "Fixed [d05c268ca9ad45d2|here]"
    4. login: "jan.nijtmans"
    5. mimetype: "text/x-fossil-wiki"
    6. resolution changed to: "Fixed"
    7. status changed to: "Closed"