[PATCH] Fix small resource leak in hash_file()

Alexey Fomenko ext-alexey.fomenko at nokia.com
Thu Apr 14 07:33:06 UTC 2011


Attached patch prevents exit from hash_file() function without 
de-allocating local buffer "in_buf" if ENABLE_FEATURE_CLEAN_UP
is set.

Alexey Fomenko (1):
  fix small resource leak in hash_file()

 coreutils/md5_sha1_sum.c |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

-- 
1.7.3.4


-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-fix-small-resource-leak-in-hash_file.patch
Type: text/x-patch
Size: 771 bytes
Desc: not available
URL: <http://lists.busybox.net/pipermail/busybox/attachments/20110414/654da58b/attachment.bin>


More information about the busybox mailing list