Compare commits
No commits in common. "56b32b9f573ebea3a976ec9b31a2522a130395ec" and "64ce456617f1179c191ac01f9b3b51b4f120334e" have entirely different histories.
56b32b9f57
...
64ce456617
BIN
0.19.tar.gz
Normal file
BIN
0.19.tar.gz
Normal file
Binary file not shown.
BIN
0.20.tar.gz
BIN
0.20.tar.gz
Binary file not shown.
@ -1,26 +0,0 @@
|
||||
From ee53a7e4bc7819d32e8c0b2057885bcc97586bf3 Mon Sep 17 00:00:00 2001
|
||||
From: Sebastian Rasmussen <sebras@gmail.com>
|
||||
Date: Sun, 5 Nov 2023 12:21:52 +0100
|
||||
Subject: [PATCH] Bug 705041: jbig2dec: Avoid uninitialized allocator in
|
||||
command-line tool.
|
||||
|
||||
Reference:https://github.com/ArtifexSoftware/jbig2dec/commit/ee53a7e4bc7819d32e8c0b2057885bcc97586bf3
|
||||
Conflict:NA
|
||||
|
||||
---
|
||||
jbig2dec.c | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/jbig2dec.c b/jbig2dec.c
|
||||
index 15d204d..1e1dad8 100644
|
||||
--- a/jbig2dec.c
|
||||
+++ b/jbig2dec.c
|
||||
@@ -567,7 +567,7 @@ main(int argc, char **argv)
|
||||
{
|
||||
jbig2dec_params_t params;
|
||||
jbig2dec_error_callback_state_t error_callback_state;
|
||||
- jbig2dec_allocator_t allocator_;
|
||||
+ jbig2dec_allocator_t allocator_ = { 0 };
|
||||
jbig2dec_allocator_t *allocator = &allocator_;
|
||||
Jbig2Ctx *ctx = NULL;
|
||||
FILE *f = NULL, *f_page = NULL;
|
||||
@ -1,14 +1,12 @@
|
||||
Name: jbig2dec
|
||||
Version: 0.20
|
||||
Release: 2
|
||||
Version: 0.19
|
||||
Release: 1
|
||||
Summary: A decoder implementation of the JBIG2 image compression format.
|
||||
|
||||
License: AGPLv3+
|
||||
URL: https://jbig2dec.com/
|
||||
Source0: https://github.com/ArtifexSoftware/jbig2dec/archive/%{version}.tar.gz
|
||||
|
||||
Patch6000: backport-CVE-2023-46361.patch
|
||||
|
||||
BuildRequires: gcc libtool chrpath
|
||||
Provides: %{name}-libs = %{version}-%{release}
|
||||
Obsoletes: %{name}-libs < %{version}-%{release}
|
||||
@ -33,10 +31,6 @@ Files for jbig2dec development.
|
||||
%configure
|
||||
%make_build
|
||||
|
||||
%check
|
||||
sed -i '1s/python/python3/' test_jbig2dec.py
|
||||
make check
|
||||
|
||||
%install
|
||||
%make_install
|
||||
%delete_la_and_a
|
||||
@ -45,11 +39,7 @@ make check
|
||||
chrpath -d %{buildroot}%{_bindir}/jbig2dec
|
||||
|
||||
mkdir -p %{buildroot}/etc/ld.so.conf.d
|
||||
%ifarch sw_64
|
||||
echo "/usr/lib" > %{buildroot}/etc/ld.so.conf.d/%{name}-%{_arch}.conf
|
||||
%else
|
||||
echo "/usr/lib64" > %{buildroot}/etc/ld.so.conf.d/%{name}-%{_arch}.conf
|
||||
%endif
|
||||
|
||||
%ldconfig_scriptlets
|
||||
|
||||
@ -72,27 +62,6 @@ echo "/usr/lib64" > %{buildroot}/etc/ld.so.conf.d/%{name}-%{_arch}.conf
|
||||
%{_mandir}/man1/%{name}.1*
|
||||
|
||||
%changelog
|
||||
* Thu Aug 29 2024 zhangpan <zhangpan103@h-partners.com> - 0.20-2
|
||||
- fix CVE-2023-46361
|
||||
|
||||
* Wed Dec 13 2023 wangqia <wangqia@uniontech.com> - 0.20-1
|
||||
- Update to 0.20
|
||||
|
||||
* Thu Oct 27 2022 wuzx<wuzx1226@qq.com> - 0.19-4
|
||||
- Type:feature
|
||||
- CVE:NA
|
||||
- SUG:NA
|
||||
- DESC:Add sw64 architecture
|
||||
|
||||
* Thu Mar 31 2022 liuyumeng <liuyumeng5@h-partners.com> - 0.19-3
|
||||
- enable tests
|
||||
|
||||
* Sat Mar 27 2021 dowzyx <zhaoyuxing2@huawei.com> - 0.19-2
|
||||
- Type:bufix
|
||||
- ID:NA
|
||||
- SUG:NA
|
||||
- DESC:fix fuzz test from open source community
|
||||
|
||||
* Thu Jan 28 2021 zhanzhimin <zhanzhimin@huawei.com> - 0.19-1
|
||||
- update to 0.19
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user