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

bugs at busybox.net bugs at busybox.net
Wed Sep 28 01:08:21 UTC 2005


A NOTE has been added to this issue. 
====================================================================== 
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:              09-27-2005 18:08 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.
====================================================================== 

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

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                          
======================================================================




More information about the busybox-cvs mailing list