Projects
Mega:24.03:SP1:Everything
libtiff
_service:tar_scm:backport-CVE-2023-6228.patch
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File _service:tar_scm:backport-CVE-2023-6228.patch of Package libtiff
From 1e7d217a323eac701b134afc4ae39b6bdfdbc96a Mon Sep 17 00:00:00 2001 From: Su_Laus <sulau@freenet.de> Date: Sat, 9 Sep 2023 15:45:47 +0200 Subject: [PATCH] Check also if codec of input image is available, independently from codec check of output image and return with error if not. Fixes #606. --- tools/tiffcp.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tools/tiffcp.c b/tools/tiffcp.c index aff06260..2628bdbb 100644 --- a/tools/tiffcp.c +++ b/tools/tiffcp.c @@ -846,6 +846,8 @@ static int tiffcp(TIFF *in, TIFF *out) if (!TIFFIsCODECConfigured(compression)) return FALSE; TIFFGetFieldDefaulted(in, TIFFTAG_COMPRESSION, &input_compression); + if (!TIFFIsCODECConfigured(input_compression)) + return FALSE; TIFFGetFieldDefaulted(in, TIFFTAG_PHOTOMETRIC, &input_photometric); if (input_compression == COMPRESSION_JPEG) { -- GitLab
Locations
Projects
Search
Status Monitor
Help
Open Build Service
OBS Manuals
API Documentation
OBS Portal
Reporting a Bug
Contact
Mailing List
Forums
Chat (IRC)
Twitter
Open Build Service (OBS)
is an
openSUSE project
.
浙ICP备2022010568号-2