Menu

#1160 leak in md5 (critcl)

open
md5 (13)
8
2009-08-30
2009-08-30
No

I confirmed the leak reported by echm [http://groups.google.com/group/comp.lang.tcl/browse_thread/thread/a873bbc1ee78d776/b5ca31cdab5af4d6?lnk=gst&q=md5#b5ca31cdab5af4d6]

The following script consumes ever increasing amounts of memory:

% package require md5
2.0.7
% parray md5::accel
md5::accel(critcl) = 1
md5::accel(cryptkit) = 0
md5::accel(trf) = 0
% while 1 {md5::md5 testdata}

% info patch
8.5.7
% parray tcl_platform
tcl_platform(byteOrder) = littleEndian
tcl_platform(machine) = x86_64
tcl_platform(os) = Linux
tcl_platform(osVersion) = 2.6.24-24-generic
tcl_platform(platform) = unix
tcl_platform(pointerSize) = 8
tcl_platform(threaded) = 1
tcl_platform(wordSize) = 8

Discussion

  • Andreas Kupries

    Andreas Kupries - 2009-08-30

    critcl code of md5 by Pat Thoyts, AFAIK.
    Redirecting the bug.

     
  • Andreas Kupries

    Andreas Kupries - 2009-08-30
    • assigned_to: andreas_kupries --> patthoyts