ruby-32: re-add architecure independent manifest support, remove unnecassary GNU_CPU...
[oi-userland.git] / components / library / icu-74 / patches / 090-source-i18n-udat.cpp.patch
blobfae2482acf5c81067700ea6d0561718fb3421c9e
2 # Copyright (c) 2015, 2016, Oracle and/or its affiliates. All rights reserved.
4 Prevent access to uninitialized memory in udat_getSymbols
5 https://unicode-org.atlassian.net/browse/ICU-12375
7 --- icu/source/i18n/udat.cpp.orig
8 +++ icu/source/i18n/udat.cpp
9 @@ -745,6 +745,10 @@
10 res = syms->getZodiacNames(count, DateFormatSymbols::FORMAT, DateFormatSymbols::NARROW);
11 break;
13 + default:
14 + *status = U_UNSUPPORTED_ERROR;
15 + return 0;
19 if(index < count) {