fix memory leak found by fuzz

This commit is contained in:
ltx 2020-05-14 21:52:32 +08:00 committed by Gitee
parent 519c27a2bf
commit e75592a96c

View File

@ -1,6 +1,6 @@
Name: wavpack Name: wavpack
Version: 5.1.0 Version: 5.1.0
Release: 11 Release: 12
Summary: Hybrid Lossless Wavefile Compressor Summary: Hybrid Lossless Wavefile Compressor
License: BSD License: BSD
Url: http://www.wavpack.com/ Url: http://www.wavpack.com/
@ -14,8 +14,10 @@ Patch0004: wavpack-0005-issue-30-issue-31-issue-32-no-multiple-format-chunk
Patch0005: wavpack-CVE-2019-11498.patch Patch0005: wavpack-CVE-2019-11498.patch
# make sure sample rate is specified and non-zero in DFF files # make sure sample rate is specified and non-zero in DFF files
Patch0006: CVE-2018-19841.patch Patch0006: CVE-2018-19841.patch
Patch0007: fix-memory-leak-on-opening-corrupted-files.patch
Patch6000: CVE-2018-19840.patch Patch6000: CVE-2018-19840.patch
BuildRequires: autoconf automake libtool BuildRequires: autoconf automake libtool
%description %description
@ -72,6 +74,12 @@ autoreconf -ivf
%{_mandir}/man1/*.1* %{_mandir}/man1/*.1*
%changelog %changelog
* Sat May 14 2020 lutianxiong <lutianxiong@huawei.com> - 5.1.0-12
- Type:bugfix
- ID:NA
- SUG:NA
- Fix memory leak on opening corrupted files
* Sat Mar 14 2020 wangzhishun <wangzhishun1@huawei.com> - 5.1.0-11 * Sat Mar 14 2020 wangzhishun <wangzhishun1@huawei.com> - 5.1.0-11
- Make sure sample rate is specified and non-zero in DFF files - Make sure sample rate is specified and non-zero in DFF files
- Fix potential out-of-bounds heap read - Fix potential out-of-bounds heap read