Initial Commit
- initial default booting image
This commit is contained in:
@@ -0,0 +1,29 @@
|
||||
From e60a9f388bd5655cb514491ef8d55d403aef0773 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.
|
||||
|
||||
CVE: CVE-2023-46361
|
||||
Upstream: https://github.com/ArtifexSoftware/jbig2dec/commit/ee53a7e4bc7819d32e8c0b2057885bcc97586bf3
|
||||
Signed-off-by: Raphaël Mélotte <raphael.melotte@mind.be>
|
||||
---
|
||||
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;
|
||||
--
|
||||
2.48.1
|
||||
|
||||
7
package/jbig2dec/Config.in
Normal file
7
package/jbig2dec/Config.in
Normal file
@@ -0,0 +1,7 @@
|
||||
config BR2_PACKAGE_JBIG2DEC
|
||||
bool "jbig2dec"
|
||||
help
|
||||
jbig2dec is a decoder implementation of the JBIG2
|
||||
image compression format.
|
||||
|
||||
https://jbig2dec.com/
|
||||
5
package/jbig2dec/jbig2dec.hash
Normal file
5
package/jbig2dec/jbig2dec.hash
Normal file
@@ -0,0 +1,5 @@
|
||||
# Locally computed:
|
||||
sha256 7b63ff6470289547e7a3a0f145cb8ea6c2afffdd65645b7d87d3b7febc96fb3a jbig2dec-0.20.tar.gz
|
||||
|
||||
# Hash for license files:
|
||||
sha256 1bf5258afe453934484fd0cea97508b72301633a6a78b0ae8a9ee44ac78f26d9 LICENSE
|
||||
18
package/jbig2dec/jbig2dec.mk
Normal file
18
package/jbig2dec/jbig2dec.mk
Normal file
@@ -0,0 +1,18 @@
|
||||
################################################################################
|
||||
#
|
||||
# jbig2dec
|
||||
#
|
||||
################################################################################
|
||||
|
||||
JBIG2DEC_VERSION = 0.20
|
||||
JBIG2DEC_SITE = \
|
||||
https://github.com/ArtifexSoftware/jbig2dec/releases/download/$(JBIG2DEC_VERSION)
|
||||
JBIG2DEC_LICENSE = AGPL-3.0+
|
||||
JBIG2DEC_LICENSE_FILES = LICENSE
|
||||
JBIG2DEC_CPE_ID_VENDOR = artifex
|
||||
JBIG2DEC_INSTALL_STAGING = YES
|
||||
|
||||
# 0001-Bug-705041-jbig2dec-Avoid-uninitialized-allocator-in.patch
|
||||
JBIG2DEC_IGNORE_CVES += CVE-2023-46361
|
||||
|
||||
$(eval $(autotools-package))
|
||||
Reference in New Issue
Block a user