mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-11-20 22:27:17 -08:00
kde-frameworks/kcodecs: Fix CVE-2013-0779
Bug: https://bugs.gentoo.org/679884 Package-Manager: Portage-2.3.62, Repoman-2.3.12 Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
This commit is contained in:
@@ -0,0 +1,25 @@
|
||||
From 9d3fdbed7bf161d19a9440f2d33ada1e93082332 Mon Sep 17 00:00:00 2001
|
||||
From: Albert Astals Cid <aacid@kde.org>
|
||||
Date: Wed, 6 Feb 2019 20:04:01 +0100
|
||||
Subject: Fix for CVE-2013-0779
|
||||
|
||||
Only six years late ^_^
|
||||
---
|
||||
src/probers/nsEscSM.cpp | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/src/probers/nsEscSM.cpp b/src/probers/nsEscSM.cpp
|
||||
index 6e3ea74..ec134ed 100644
|
||||
--- a/src/probers/nsEscSM.cpp
|
||||
+++ b/src/probers/nsEscSM.cpp
|
||||
@@ -183,7 +183,7 @@ static const unsigned int ISO2022JP_st [ 9] = {
|
||||
PCK4BITS(eError, eError, eError, eError, eItsMe, eError, eStart, eStart) //40-47
|
||||
};
|
||||
|
||||
-static const unsigned int ISO2022JPCharLenTable[] = {0, 0, 0, 0, 0, 0, 0, 0};
|
||||
+static const unsigned int ISO2022JPCharLenTable[] = {0, 0, 0, 0, 0, 0, 0, 0, 0, 0};
|
||||
|
||||
const SMModel ISO2022JPSMModel = {
|
||||
{eIdxSft4bits, eSftMsk4bits, eBitSft4bits, eUnitMsk4bits, ISO2022JP_cls },
|
||||
--
|
||||
cgit v1.1
|
||||
@@ -0,0 +1,18 @@
|
||||
# Copyright 1999-2019 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
inherit kde5
|
||||
|
||||
DESCRIPTION="Framework for manipulating strings using various encodings"
|
||||
LICENSE="GPL-2+ LGPL-2+"
|
||||
KEYWORDS="~amd64 ~arm ~arm64 ~x86"
|
||||
IUSE="nls"
|
||||
|
||||
BDEPEND="
|
||||
dev-util/gperf
|
||||
nls? ( $(add_qt_dep linguist-tools) )
|
||||
"
|
||||
|
||||
PATCHES=( "${FILESDIR}/${P}-CVE-2013-0779.patch" )
|
||||
Reference in New Issue
Block a user