Frank Tang
59719f09d9
ICU-22934 Fix typo in PR#3230
...
ICU-22934 Fix error handling while new return nullptr
ICU-22934 Simplfied
ICU-22934 more
ICU-22934 fix leak
2025-02-12 16:56:20 -08:00
Frank Tang
5b45e5c64b
ICU-22934 Limit the number of resursive call
...
To avoid stack overflow while building RBBI
2024-10-02 14:01:59 -07:00
Frank Tang
19af9e7ce3
ICU-22602 Fix stack overflow inside flattenVariables
...
Limit the recursive call of flattenVariables to maximum depth 3500
since Java on my machine throw stack overflow exception around 3900.
2023-12-14 15:14:21 -08:00
Andy Heninger
e6892996b1
ICU-22584 Fix RBBI rule builder stack overflow.
...
The problem was found by fuzz testing.
A rule consisting of a long literal string produces a large, unbalanced parse tree,
one node per string element. Deleting the tree was recursive, once per node, resulting
in deep recursion.
This PR changes node deletion to use an iterative (non-recursive) approach.
This change only affects rule building. There is no change to the RBBI run time
using pre-built rules.
2023-12-08 12:49:26 -08:00
Fredrik Roubert
633438f8da
ICU-20973 Change all equality operator return types from UBool to bool.
2021-08-17 00:35:00 +02:00
luz paz
73eca0a9c9
ICU-21580 Fix typos in icu4c/
...
Found via `codespell -q 3 -L ans,anumber,atleast,ba,bre,hace,nd,nin,ois,rsource,som,sur,tht -S icu4c/source/data/zone,icu4c/source/data/lang`
ICU-21580 Fix source (related) typos
ICU-21580 Revert extraneous auto-encoding
ICU-21580 Re-add previous reverted fix without auto-encoding
2021-07-19 13:22:38 -05:00
Markus Scherer
a18df7ba28
ICU-21267 stop using FALSE & TRUE macros in most library-internal headers
2020-09-10 13:55:46 -07:00
Andy Heninger
242e02c388
ICU-12764 icu4c utf-8 source files, update Copyright notices.
...
X-SVN-Rev: 39583
2017-01-20 00:20:31 +00:00
Andy Heninger
306234755f
ICU-12648 Remove several compiler warnings in RBBI code.
...
X-SVN-Rev: 39015
2016-07-22 21:50:34 +00:00
Michael Ow
61607c2773
ICU-12564 Update copyright notice in trunk
...
X-SVN-Rev: 38848
2016-06-15 18:58:17 +00:00
Yoshito Umaoka
00ca13e126
ICU-12564 Reverted r38761 and r38762, because we want to prepend the Unicode copyright for existing source files, instead of replacing copyright comments.
...
X-SVN-Rev: 38776
2016-05-31 21:45:07 +00:00
Michael Ow
c9f199a30f
ICU-12564 Update copyright notice in ICU4C
...
X-SVN-Rev: 38761
2016-05-26 22:32:17 +00:00
Andy Heninger
9d9256f3b7
ICU-12081 Initial implementation Emoji break rules and a new RBBI monkey test.
...
X-SVN-Rev: 38387
2016-02-26 21:58:26 +00:00
Markus Scherer
f2186b6d33
ICU-12141 make each internal header file compile by itself; add includes where necessary; add simple test script
...
X-SVN-Rev: 38341
2016-02-24 00:49:51 +00:00
George Rhoten
e66b33496f
ICU-5161 Remove debugging information for small platforms.
...
X-SVN-Rev: 19845
2006-07-14 00:47:15 +00:00
Eric Mader
6aac9dbeb8
ICU-3473 Update copyright notices for ICU 2.8.
...
X-SVN-Rev: 14180
2003-12-18 23:16:48 +00:00
Andy Heninger
a57f032f42
ICU-3437 rbbi debug functions, better conditional compilation.
...
X-SVN-Rev: 14006
2003-12-04 22:44:05 +00:00
Vladimir Weinstein
012f463115
ICU-2107 added copyright notices
...
X-SVN-Rev: 10522
2002-12-06 01:40:42 +00:00
Markus Scherer
87ab6dcc57
ICU-2244 change internal classes to inherit UMemory, not UObject
...
X-SVN-Rev: 9960
2002-10-04 01:23:34 +00:00
Andy Heninger
5780aed3d3
ICU-2190 fix crashing bug in RBBI rule builder
...
X-SVN-Rev: 9813
2002-08-29 00:28:11 +00:00
Markus Scherer
11948b52df
ICU-1962 change UObject: RTTI pure virtual, remove other boilerplate for now
...
X-SVN-Rev: 8977
2002-06-29 00:04:16 +00:00
Markus Scherer
5a81709c73
ICU-1962 derive all ICU C++ classes from common UObject base class
...
X-SVN-Rev: 8953
2002-06-27 01:19:20 +00:00
Andy Heninger
32c09250b7
ICU-45 new builder for RBBI rules, initial checkin
...
X-SVN-Rev: 8939
2002-06-25 17:23:07 +00:00