From 132ad5e2e9aa3d3a109a6f819fd82c5f1e2d44d8 Mon Sep 17 00:00:00 2001 From: Jonathan Dieter Date: Thu, 24 Jan 2019 20:48:29 +0000 Subject: [PATCH] Fix several memory leaks and off-by-one bugs Signed-off-by: Jonathan Dieter --- .gitignore | 1 + sources | 2 +- zchunk.spec | 5 ++++- 3 files changed, 6 insertions(+), 2 deletions(-) diff --git a/.gitignore b/.gitignore index 534c1ea..b955ca6 100644 --- a/.gitignore +++ b/.gitignore @@ -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 diff --git a/sources b/sources index 3eb5bca..10d1be1 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (zchunk-1.0.2.tar.gz) = 3fe00f3a04d12d53837539573df7d80106d1f2c8f9c784205cfe567c2c085057c736f8a3e7ed6810961040d58c755006aa1f33398cb0b19dbc0c327633fecadf +SHA512 (zchunk-1.0.3.tar.gz) = 305afaf666c2fc6ee52bf1216de74b6c19397f579f1c5bd7da75151346c4fc637f14129799e12f2fc2a75729612392b20afc2d9e156fc3f7e42ceecbee4ad323 diff --git a/zchunk.spec b/zchunk.spec index a8bb935..7ed7113 100644 --- a/zchunk.spec +++ b/zchunk.spec @@ -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 - 1.0.3-1 +- Fix several memory leaks and use-after-frees + * Fri Dec 28 2018 Jonathan Dieter - 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