summaryrefslogtreecommitdiffstats
path: root/icu.10318.CVE-2013-2924_changeset_34076.patch
diff options
context:
space:
mode:
authorPavel Podkorytov <pod.pavel@gmail.com>2019-02-07 09:38:24 +0500
committerRemi Collet <remi@remirepo.net>2019-02-07 11:55:10 +0100
commitb6bc2df3b19122665ef39690f265a26fde20bce4 (patch)
treeee3383d1e24a3b1aeb621e6056431a8d603c3f8b /icu.10318.CVE-2013-2924_changeset_34076.patch
parent8e8e37c203b44b957c6eba657b7ff1ecbff190bd (diff)
Update major version to 62.1
* backport FEDORA-29 package
Diffstat (limited to 'icu.10318.CVE-2013-2924_changeset_34076.patch')
-rw-r--r--icu.10318.CVE-2013-2924_changeset_34076.patch36
1 files changed, 0 insertions, 36 deletions
diff --git a/icu.10318.CVE-2013-2924_changeset_34076.patch b/icu.10318.CVE-2013-2924_changeset_34076.patch
deleted file mode 100644
index 165d843..0000000
--- a/icu.10318.CVE-2013-2924_changeset_34076.patch
+++ /dev/null
@@ -1,36 +0,0 @@
-Index: /icu/trunk/source/i18n/csrucode.cpp
-===================================================================
---- orig.icu/source/i18n/csrucode.cpp (revision 34075)
-+++ icu/source/i18n/csrucode.cpp (revision 34076)
-@@ -1,5 +1,5 @@
- /*
- **********************************************************************
-- * Copyright (C) 2005-2012, International Business Machines
-+ * Copyright (C) 2005-2013, International Business Machines
- * Corporation and others. All Rights Reserved.
- **********************************************************************
-@@ -34,6 +34,7 @@
- const uint8_t *input = textIn->fRawInput;
- int32_t confidence = 0;
-+ int32_t length = textIn->fRawLength;
-
-- if (input[0] == 0xFE && input[1] == 0xFF) {
-+ if (length >=2 && input[0] == 0xFE && input[1] == 0xFF) {
- confidence = 100;
- }
-@@ -58,6 +59,7 @@
- const uint8_t *input = textIn->fRawInput;
- int32_t confidence = 0;
-+ int32_t length = textIn->fRawLength;
-
-- if (input[0] == 0xFF && input[1] == 0xFE && (input[2] != 0x00 || input[3] != 0x00)) {
-+ if (length >= 4 && input[0] == 0xFF && input[1] == 0xFE && (input[2] != 0x00 || input[3] != 0x00)) {
- confidence = 100;
- }
-@@ -82,5 +84,5 @@
- int32_t confidence = 0;
-
-- if (getChar(input, 0) == 0x0000FEFFUL) {
-+ if (limit > 0 && getChar(input, 0) == 0x0000FEFFUL) {
- hasBOM = TRUE;
- }