projects
/
oweals
/
opkg-lede.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fix double free(). Found by Kosmaty (Issue 33). Thanks.
[oweals/opkg-lede.git]
/
libbb
/
unarchive.c
diff --git
a/libbb/unarchive.c
b/libbb/unarchive.c
index 62ca2674e4aec15024a0ee1fc91050c30580a12a..bf57a04777c126be7c8a473bf284d9eea30f5f8e 100644
(file)
--- a/
libbb/unarchive.c
+++ b/
libbb/unarchive.c
@@
-746,7
+746,6
@@
deb_extract(const char *package_filename, FILE *out_stream,
gz_err = gz_close(gunzip_pid);
if (gz_err)
*err = -1;
- free_header_tar(tar_header);
break;
}
seek_sub_file(unzipped_opkg_stream, tar_header->size);