Commit Graph

20475 Commits

Author SHA1 Message Date
Michael Ow
50b0630a5a ICU-6132 Include memory allocation check in ucol_elm and ucol_res.
X-SVN-Rev: 23249
2008-01-16 20:35:24 +00:00
Michael Ow
9eb7ae3040 ICU-6132 Add memory allocation check in ucol, ucol_bld, and ucol_cnt.
X-SVN-Rev: 23248
2008-01-16 20:12:48 +00:00
Andrew J Macheret
d6d5a2e31d ICU-6117 Moved UTF32BE, UTF32LE, UTF16BE, UTF16LE, and CESU8 into their own individual .java files
X-SVN-Rev: 23247
2008-01-16 19:00:06 +00:00
Michael Ow
beff6fd707 ICU-6132 Use memory check to ensure null pointers are not dereference in tridpars.
X-SVN-Rev: 23246
2008-01-16 18:18:23 +00:00
Michael Ow
aa76d931cf ICU-6132 Add null pointer check before using in translit and transreg.
X-SVN-Rev: 23245
2008-01-16 18:01:51 +00:00
Michael Ow
9cb51f2e5d ICU-6132 Add proper checking of pointer before dereferencing in timezone and tblcoll.
X-SVN-Rev: 23244
2008-01-16 17:13:11 +00:00
Michael Ow
9dc2844cfb ICU-6132 Check for null pointer dereferencing in operator =.
X-SVN-Rev: 23243
2008-01-16 17:00:55 +00:00
Michael Ow
12751de177 ICU-6132 Fix test failure by separating null pointer check.
X-SVN-Rev: 23242
2008-01-16 17:00:08 +00:00
Michael Ow
fdadab877a ICU-6132 Add memory allocation error check to simpletz and smpdtfmt.
X-SVN-Rev: 23241
2008-01-16 16:45:14 +00:00
George Rhoten
79a5d8c208 ICU-4081 Remove tabs
X-SVN-Rev: 23240
2008-01-16 16:45:12 +00:00
Michael Ow
d7afd7c71d ICU-6132 Add check for memory allocation error in constructors and throughout search.cpp.
X-SVN-Rev: 23239
2008-01-15 23:43:10 +00:00
Yoshito Umaoka
2363fc3235 ICU-5160 Added a test case for verifying the threading problem resolved by this ticket.
X-SVN-Rev: 23238
2008-01-15 18:36:50 +00:00
Yoshito Umaoka
6bbf2b68e5 ICU-5160 Changed from synchronized(buffer) to synchronized(this). When buffer is re-allocated, synchronized(buffer) may not work properly.
X-SVN-Rev: 23237
2008-01-15 18:35:48 +00:00
Michael Ow
d717772bbd ICU-6132 If locale could not be created, return default one.
X-SVN-Rev: 23236
2008-01-14 23:30:51 +00:00
Michael Ow
5bdd0a03d1 ICU-6132 Check null pointer allocation and perform appropriate actions in regexst.cpp, remtrans.cpp, and repattrn.cpp.
X-SVN-Rev: 23235
2008-01-14 23:25:13 +00:00
Michael Ow
82033615bf ICU-6132 Add null pointer check to regexcmp.cpp
X-SVN-Rev: 23234
2008-01-14 22:39:03 +00:00
Michael Ow
eb21e23b10 ICU-6132 Enable handling of memory allocation errors in rbt_pars.cpp and rbt_rule.cpp.
X-SVN-Rev: 23233
2008-01-14 22:29:44 +00:00
Andrew J Macheret
5d4a3a7589 ICU-6117 Whoops, created some problems, so I made them ok. Also changed some underflow-overflow checks around for the sake of performance, and reverted a test that I shouldn't have changed some time ago.
X-SVN-Rev: 23232
2008-01-14 21:50:17 +00:00
Andrew J Macheret
35ec4512fc ICU-6117 Synched up my changes in CharsetUTF16 and 32, put the BE and LE stub classes into the parent class files in the same way CharsetUTF8 and CharsetCESU8 are done, added old fromUnicodeStatus behavior in the encoders, and put back @author tags
X-SVN-Rev: 23231
2008-01-14 20:36:10 +00:00
Michael Ow
b32b3d69dc ICU-6132 Add memory check for rbnf, rbt, and rbt_data.
X-SVN-Rev: 23230
2008-01-14 20:27:51 +00:00
Andrew J Macheret
c5e68bd1f8 ICU-5491 put back functionality for negative multipliers, fixed up some code to handle them correctly, and added tests.
X-SVN-Rev: 23229
2008-01-14 20:25:22 +00:00
Andrew J Macheret
6c2161e7bd ICU-5491 put back functionality for negative multipliers, fixed up some code to handle them correctly, and added tests.
X-SVN-Rev: 23228
2008-01-14 20:10:54 +00:00
Michael Ow
46eb0f1212 ICU-6132 Add memory allocation check to rbbiset.cpp.
X-SVN-Rev: 23227
2008-01-14 20:10:23 +00:00
Michael Ow
80d1db6517 ICU-6132 Check for null pointer and add goto label at the end to remove all allocated memory in the event of an error.
X-SVN-Rev: 23226
2008-01-14 20:04:33 +00:00
Michael Ow
d6daed3088 ICU-6132 Check memory leak and null pointers rbbiscan.cpp.
X-SVN-Rev: 23225
2008-01-14 19:26:43 +00:00
Michael Ow
1aef673644 ICU-6132 Ensure that factories and fLanguageBreakEngines are created before dereferencing.
X-SVN-Rev: 23224
2008-01-14 18:52:26 +00:00
Michael Ow
be09c87ee3 ICU-6132 Check to make sure matcher is not dereference if it is null.
X-SVN-Rev: 23223
2008-01-14 18:38:36 +00:00
Michael Ow
7bdbf4cd39 ICU-6132 Check for malloc failure before strcpy in u_setDataDirectory and *getDefaultLocaleID.
X-SVN-Rev: 23222
2008-01-14 18:27:21 +00:00
Michael Ow
c4aa0659fb ICU-6132 When checking firstTZTransition, it was accidentally assigned NULL instead of testing for NULL.
X-SVN-Rev: 23221
2008-01-14 18:19:44 +00:00
Michael Ow
e1398c194a ICU-6132 Add memory allocation check in Olson Timezone code.
X-SVN-Rev: 23220
2008-01-14 16:45:52 +00:00
Yoshito Umaoka
70939d3152 ICU-4943 Added some constructors in ChineseCalendar to make it consistent with other Calendar implementation class.
X-SVN-Rev: 23219
2008-01-14 15:27:46 +00:00
Michael Ow
fa02813466 ICU-6132 Revert changes to nfrule causing test failures on ICC.
X-SVN-Rev: 23218
2008-01-13 19:10:05 +00:00
Michael Ow
7a0fc85860 ICU-4384 Fix iotest error on ICC and AIX 5.2.
X-SVN-Rev: 23217
2008-01-13 06:50:29 +00:00
Yoshito Umaoka
849c401c9b ICU-5698 Set maximum limit for digits used for creating BigInteger/BigDecimal in DecimalFormat to prevent the parse method to trigger OutOfMemoryException. Also added test case for some extreme cases.
X-SVN-Rev: 23216
2008-01-12 07:45:14 +00:00
Michael Ow
b33fe49157 ICU-4384 Fix AIX build error message.
X-SVN-Rev: 23215
2008-01-12 04:09:40 +00:00
Michael Ow
0df22a86c7 ICU-6132 Add status parameter to prefixLength and to check for memory allocation failure and check memory allocation failure in other pparts of nfrule.
X-SVN-Rev: 23214
2008-01-11 23:20:03 +00:00
Michael Ow
b7a7050b03 ICU-6132 Check buf for null in debgging code.
X-SVN-Rev: 23213
2008-01-11 22:38:26 +00:00
Michael Ow
19ccfa37de ICU-6132 Check for fStuff being null in various locations.
X-SVN-Rev: 23212
2008-01-11 22:28:37 +00:00
Michael Ow
2b9c52e17f ICU-6132 Pointers for RBNF and Formattable are check for null.
X-SVN-Rev: 23211
2008-01-11 22:17:28 +00:00
Michael Ow
10ad732dbf ICU-6132 Make sure that operator == does not dereference unit if it is null.
X-SVN-Rev: 23210
2008-01-11 22:02:07 +00:00
Michael Ow
3edc99506c ICU-6132 Check for memory allocation failures.
X-SVN-Rev: 23209
2008-01-11 20:56:55 +00:00
Michael Ow
72d0694032 ICU-6132 Add status to moonAge and various other null pointer checks.
X-SVN-Rev: 23208
2008-01-11 20:32:46 +00:00
Michael Ow
1350baacc2 ICU-6132 Add translit and replacer null pointer check.
X-SVN-Rev: 23207
2008-01-11 19:55:29 +00:00
Michael Ow
ab11db3686 ICU-6132 Add various error checks for fString.
X-SVN-Rev: 23206
2008-01-11 19:42:41 +00:00
Michael Ow
d357fc8b07 ICU-6132 Add memory allocation error checking in createZoneStrings().
X-SVN-Rev: 23205
2008-01-11 19:07:49 +00:00
Michael Ow
853d42f9a4 ICU-6132 Add check for dereferencing of internal null pointers fSymbols and fRoundingIncrement.
X-SVN-Rev: 23204
2008-01-11 18:44:41 +00:00
Andrew J Macheret
8efc03e857 ICU-6128 got rid of some java 5+ syntax (foreach)
X-SVN-Rev: 23203
2008-01-10 23:02:56 +00:00
Andrew J Macheret
1688a41eb1 ICU-6128 cleaned up some hz stuff -- more was ported than i realized
X-SVN-Rev: 23202
2008-01-10 20:20:05 +00:00
Andrew J Macheret
ef23eaf578 ICU-6128 ported HZ and a test for it from icu4c. had to port some stuff from converter extensions as well. also accidently code-formatted all of CharsetMBCS *runs and screams*
X-SVN-Rev: 23201
2008-01-10 02:37:02 +00:00
Michael Ow
653f0ded15 ICU-6132 Check dereferencing null pointers, fCalendar and fNumberFormat.
X-SVN-Rev: 23200
2008-01-09 23:39:39 +00:00