Skip to content
Tcl Source Code History Of Ticket 1399062
Login

History Of Ticket 1399062

Artifacts Associated With Ticket 1399062

  1. Ticket change [e3d822360a] (rid 87867) by coldstore on 2006-01-07 07:20:06:

    1. assignee initialized to: "nobody"
    2. cmimetype initialized to: "text/plain"
    3. comment initialized to:
      gets can be fed an arbitrarily long line.
      
      This can cause a segv.
      
      Here are some patches relative to tcl in September to
      fix it.
      
      If there's any interest or intent to package, I'll have
      a look at it under the latest tcl8.5
      
      
    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: "coldstore"
    9. subsystem initialized to: "None"
    10. title initialized to: "gets with limited line length"
    11. type initialized to: "RFE"
  2. Add attachment "tclIO.diff" [8009228be6] (rid 97664) by coldstore on 2006-01-07 14:20:08.

  3. Ticket change [e4f97f5c76] (rid 88049) by coldstore on 2006-01-07 14:20:10:

    1. icomment:
      
      
      File Added - 162470: tclIO.diff
      
      
      
    2. login: "coldstore"
    3. mimetype: "text/plain"
    4. username: "coldstore"
  4. Add attachment "tclIOCmd.diff" [235cbcd9cd] (rid 130914) by coldstore on 2006-01-07 14:21:59.

  5. Ticket change [7800bb39c8] (rid 89876) by coldstore on 2006-01-07 14:22:00:

    1. icomment:
      
      
      File Added - 162471: tclIOCmd.diff
      
      
      
    2. login: "coldstore"
    3. mimetype: "text/plain"
    4. username: "coldstore"
  6. Ticket change [4c0d0781b2] (rid 126812) by coldstore on 2006-01-07 14:23:45:

    1. icomment:
      Logged In: YES 
      user_id=19214
      
      Here is the release haiku for this RFI:
      
      petals falling into pond,
      gets with maxchar arg,
      the carp sleeps all winter day
      
      
      
    2. login: "coldstore"
    3. mimetype: "text/plain"
    4. username: "coldstore"
  7. Ticket change [d17ef0a3ad] (rid 113360) by dkf on 2006-01-09 16:02:30:

    1. assignee changed to: "andreas_kupries"
    2. subsystem changed to: "24. Channel Commands"
  8. Ticket change [dad36c987f] (rid 107858) by nobody on 2006-01-13 22:09:22:

    1. icomment:
      Logged In: NO 
      
      Are you sure it SEGV'd? Or was it a panic due to
      not being able to malloc/realloc enough memory?
      
      Also from an interface point of view it might be
      better to put the limit on the filehandle and
      not the call to gets. ie. make it fconfigure'able,
      with Tcl providing a default of something suitably
      big.
      
      Not sure what the best course for it to do if it
      hit the limit. Either (a) return a partial line,
      or (b) throw an error. I think (b) is preferable
      as (a) allows silent bugs to creep in and a
      catch-able exception is preferable to a panic!
      
      Although, how often do you see multi million long
      character lines :-)
      
      
      
    2. login: "nobody"
    3. mimetype: "text/plain"
    4. username: "nobody"