Fix several memory leaks and off-by-one bugs

Signed-off-by: Jonathan Dieter <jdieter@gmail.com>
This commit is contained in:
Jonathan Dieter 2019-01-24 20:48:29 +00:00
parent 668b1fd611
commit 132ad5e2e9
3 changed files with 6 additions and 2 deletions

1
.gitignore vendored
View File

@ -18,3 +18,4 @@
/zchunk-1.0.0.tar.gz
/zchunk-1.0.1.tar.gz
/zchunk-1.0.2.tar.gz
/zchunk-1.0.3.tar.gz

View File

@ -1 +1 @@
SHA512 (zchunk-1.0.2.tar.gz) = 3fe00f3a04d12d53837539573df7d80106d1f2c8f9c784205cfe567c2c085057c736f8a3e7ed6810961040d58c755006aa1f33398cb0b19dbc0c327633fecadf
SHA512 (zchunk-1.0.3.tar.gz) = 305afaf666c2fc6ee52bf1216de74b6c19397f579f1c5bd7da75151346c4fc637f14129799e12f2fc2a75729612392b20afc2d9e156fc3f7e42ceecbee4ad323

View File

@ -1,5 +1,5 @@
Name: zchunk
Version: 1.0.2
Version: 1.0.3
Release: 1%{?dist}
Summary: Compressed file format that allows easy deltas
License: BSD and MIT
@ -83,6 +83,9 @@ install contrib/gen_xml_dictionary %{buildroot}%{_libexecdir}/zck_gen_xml_dictio
%{_includedir}/zck.h
%changelog
* Thu Jan 24 2019 Jonathan Dieter <jdieter@gmail.com> - 1.0.3-1
- Fix several memory leaks and use-after-frees
* Fri Dec 28 2018 Jonathan Dieter <jdieter@gmail.com> - 1.0.2-1
- Use hash table for finding identical chunks, speeding up process considerably
- Add test case to verify that identical chunk checking is working