Skip to content
Tcl Source Code History Of Ticket 902562ffffffffff
Login

History Of Ticket 902562ffffffffff

Artifacts Associated With Ticket 902562ffffffffff

  1. Ticket change [5ad022fd26] (rid 118211) by nobody on 2004-02-23 10:20:41:

    1. assignee initialized to: "pvgoran"
    2. cmimetype initialized to: "text/plain"
    3. comment initialized to:
      The function "cclass" in regc_locale.c
      has a Tcl_DString at line ~725 which is not
      properly Tcl_DStringFree'd.
      
      A memory leak can be triggered by:
      
      while {1} {
      
      set str 
      {a_very_very_long_string_which_is_greater_than_TCL_D
      STRING_STATIC_SIZE_characters_long_blahblahblahblahb
      lahblahblahblahblahblahblahblahblahblahblahblahblahblahbl
      ahblahblahblahblahblahblahblahblahblah}
      
       catch {
        regexp "a\[\[:$str\:\]\]b" axb
       }
      }
      
      
      Cheers, AJD.
      
    4. foundin initialized to: "None"
    5. priority initialized to: "5 Medium"
    6. resolution initialized to: "None"
    7. status initialized to: "Open"
    8. submitter initialized to: "nobody"
    9. subsystem initialized to: "43. Regexp"
    10. title initialized to: "Un-free'd DString in regc_locale.c"
    11. type initialized to: "Bug"
  2. Ticket change [ea8d766606] (rid 103396) by dkf on 2004-02-23 17:48:52:

    1. assignee changed to: "dkf"
    2. closedate changed to: "2004-02-23T10:48:52"
    3. closer changed to: "dkf"
    4. foundin changed to: "obsolete: 8.5a0"
    5. icomment:
      Logged In: YES 
      user_id=79902
      
      Someone had put Tcl_DStringInit() instead of Tcl_DStringFree()
      Fixed in HEAD for 8.5, and I can't be bothered to backport
      to 8.4 since this is really unlikely to come up a lot in
      production code!
      
      
    6. login: "dkf"
    7. mimetype: "text/plain"
    8. resolution changed to: "Fixed"
    9. status changed to: "Closed"
    10. username: "dkf"