ruby-32: re-add architecure independent manifest support, remove unnecassary GNU_CPU...
[oi-userland.git] / components / library / icu-74 / patches / 094-source-i18n-tzfmt.cpp.patch
blobd6c03331a4118e3c4041704beb56106a45765e1e
2 # Copyright (c) 2015, 2016, Oracle and/or its affiliates. All rights reserved.
4 Prevent buffer overflow in TimeZoneFormat::parse
5 https://unicode-org.atlassian.net/browse/ICU-12375
7 --- icu/source/i18n/tzfmt.cpp.orig
8 +++ icu/source/i18n/tzfmt.cpp
9 @@ -1094,6 +1094,11 @@
11 break;
13 + default:
14 + {
15 + pos.setErrorIndex(startIdx);
16 + return nullptr;
17 + }
19 evaluated |= STYLE_PARSE_FLAGS[style];