[BusyBox 0000410]: memory leak in coreutils/md5_sha1_sum.c

bugs at busybox.net bugs at busybox.net
Wed Aug 31 14:34:29 UTC 2005


The following issue has been SUBMITTED. 
====================================================================== 
http://busybox.net/bugs/view.php?id=410 
====================================================================== 
Reported By:                Gary Green
Assigned To:                BusyBox
====================================================================== 
Project:                    BusyBox
Issue ID:                   410
Category:                   Other
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     assigned
====================================================================== 
Date Submitted:             08-31-2005 07:34 PDT
Last Modified:              08-31-2005 07:34 PDT
====================================================================== 
Summary:                    memory leak in coreutils/md5_sha1_sum.c
Description: 
line 162 hash_value = xmalloc(hash_length) allocates memory that cannot be
released.  At line 167, hash_value is reassigned to the memory pointer
returned by hash_file().  Lines 155 to 162 should be removed.

busybox revision 11298.
====================================================================== 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
08-31-05 07:34  Gary Green     New Issue                                    
08-31-05 07:34  Gary Green     Status                   new => assigned     
08-31-05 07:34  Gary Green     Assigned To               => BusyBox         
08-31-05 07:34  Gary Green     File Added: md5_sha1_sum.c                    
======================================================================




More information about the busybox-cvs mailing list