]> granicus.if.org Git - icu/commit
ICU-21459 properly guard BytesTrie.Result.getValue()
authorMarkus Scherer <markus.icu@gmail.com>
Mon, 5 Apr 2021 22:57:33 +0000 (15:57 -0700)
committerMarkus Scherer <markus.icu@gmail.com>
Wed, 7 Apr 2021 00:10:46 +0000 (17:10 -0700)
commit152867f7ab2b87a5765d403160b914bae83659ec
tree29cb62899066fd500598f83053c7450e08e60a7f
parent7fd2844d1093d70a43ca79ca7b7cdb49a4a940bb
ICU-21459 properly guard BytesTrie.Result.getValue()
and clone/copy objects so that objects shared among instances are not modified
and use an atomic int for the C++ refcount
icu4c/source/common/filteredbrk.cpp
icu4c/source/test/testdata/rbbitst.txt
icu4j/main/classes/core/src/com/ibm/icu/impl/SimpleFilteredSentenceBreakIterator.java
icu4j/main/tests/core/src/com/ibm/icu/dev/test/rbbi/rbbitst.txt