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

bugs at busybox.net bugs at busybox.net
Thu Dec 15 06:52:56 UTC 2005


The following issue has been CLOSED 
====================================================================== 
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:                     closed
Resolution:                 open
Fixed in Version:           
====================================================================== 
Date Submitted:             08-31-2005 07:34 PDT
Last Modified:              12-14-2005 22:52 PST
====================================================================== 
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.
====================================================================== 

---------------------------------------------------------------------- 
 vapier - 09-27-05 18:08  
---------------------------------------------------------------------- 
dont post entire files, post diffs ... 

---------------------------------------------------------------------- 
 landley - 12-14-05 22:52  
---------------------------------------------------------------------- 
svn 12890 

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                    
09-27-05 18:08  vapier         Note Added: 0000581                          
12-14-05 22:52  landley        Status                   assigned => closed  
12-14-05 22:52  landley        Note Added: 0000781                          
======================================================================




More information about the busybox-cvs mailing list