diff options
author | Danny Rawlins <monster.romster@gmail.com> | 2020-04-12 11:47:59 +1000 |
---|---|---|
committer | Danny Rawlins <monster.romster@gmail.com> | 2020-04-12 11:47:59 +1000 |
commit | f9cce49e92e0a7b59ace8601fc9d4f9efaa37bd8 (patch) | |
tree | da91596f6e12fa082ddf8ad5c9c5a5f3f9654ed8 /icu | |
parent | e340390f2df4cdea840e77b9fc3047605d353607 (diff) | |
download | opt-f9cce49e92e0a7b59ace8601fc9d4f9efaa37bd8.tar.gz opt-f9cce49e92e0a7b59ace8601fc9d4f9efaa37bd8.tar.xz |
icu: removed old patch
Diffstat (limited to 'icu')
-rw-r--r-- | icu/icu-65.1-initialized-buffer-uloc_getKeywordValue.patch | 23 |
1 files changed, 0 insertions, 23 deletions
diff --git a/icu/icu-65.1-initialized-buffer-uloc_getKeywordValue.patch b/icu/icu-65.1-initialized-buffer-uloc_getKeywordValue.patch deleted file mode 100644 index 475921d23..000000000 --- a/icu/icu-65.1-initialized-buffer-uloc_getKeywordValue.patch +++ /dev/null @@ -1,23 +0,0 @@ -From fab4c3c719977205a3f005ddfd7fffbb9c19c587 Mon Sep 17 00:00:00 2001 -From: Frank Tang <ftang@chromium.org> -Date: Wed, 30 Oct 2019 17:45:22 -0700 -Subject: [PATCH] ICU-20884 initialized buffer uloc_getKeywordValue - ---- - icu4c/source/common/uloc.cpp | 3 +++ - 1 file changed, 3 insertions(+) - -diff --git a/icu4c/source/common/uloc.cpp b/icu4c/source/common/uloc.cpp -index 6a9bfcfbff5..ea81c0ce87f 100644 ---- a/icu4c/source/common/uloc.cpp -+++ b/icu4c/source/common/uloc.cpp -@@ -766,6 +766,9 @@ uloc_getKeywordValue(const char* localeID, - char* buffer, int32_t bufferCapacity, - UErrorCode* status) - { -+ if (buffer != nullptr) { -+ buffer[0] = '\0'; -+ } - const char* startSearchHere = NULL; - const char* nextSeparator = NULL; - char keywordNameBuffer[ULOC_KEYWORD_BUFFER_LEN]; |