Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(657)

Unified Diff: patches/greek_upper.patch

Issue 2499493002: Cherry pick 2 more patches from the upstream (Closed)
Patch Set: Created 4 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « README.chromium ('k') | patches/uspoof.patch » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: patches/greek_upper.patch
diff --git a/patches/greek_upper.patch b/patches/greek_upper.patch
new file mode 100644
index 0000000000000000000000000000000000000000..e957d3ee2285590d80ca543bb5550b5f85450edd
--- /dev/null
+++ b/patches/greek_upper.patch
@@ -0,0 +1,13 @@
+Index: source/common/ucasemap.cpp
+===================================================================
+--- source/common/ucasemap.cpp (revision 39499)
++++ source/common/ucasemap.cpp (revision 39500)
+@@ -200,7 +200,7 @@
+ return -1; // integer overflow
+ }
+ int32_t limit=destIndex+length;
+- if(limit<destCapacity) {
++ if(limit<=destCapacity) {
+ U8_APPEND_UNSAFE(dest, destIndex, c);
+ }
+ return limit;
« no previous file with comments | « README.chromium ('k') | patches/uspoof.patch » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698