arkcompiler_ets_runtime/ecmascript/base
hecunmao 04010d9ed2 BugFix: Fixes array overflower in JSON.parse
Modify the Utf8JsonParser::Parse function to set the length of buf to len+1
issue:https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I8F4WP

Signed-off-by: hecunmao <hecunmao@huawei.com>
Change-Id: I9a4589a9d0b5ffd0224bb3508e5067bad695f12e
2023-11-09 15:40:46 +08:00
..
tests issue:https://gitee.com/openharmony/commonlibrary_ets_utils/issues/I83868 2023-10-31 16:44:57 +08:00
aligned_struct.h Add Generic type lowering 2023-04-11 14:35:22 +08:00
array_helper.cpp Reason:add array sort stablearray fast path 2023-11-01 11:19:04 +08:00
array_helper.h Fix Array.prototype.sort 2023-09-26 10:52:55 +08:00
asan_interface.h Fix(tool): asan compiler failed 2023-04-06 20:03:44 +08:00
atomic_helper.cpp Integer overflow check 2022-11-28 16:32:55 +08:00
atomic_helper.h Change the data type (int to uint) 2023-07-25 21:05:05 +08:00
bit_helper.h Add pure NaN for DataView 2023-07-24 10:21:23 +08:00
block_hook_scope.cpp add memory trace 2023-03-08 17:17:44 +08:00
block_hook_scope.h add memory trace 2023-03-08 17:17:44 +08:00
builtins_base.cpp Modify numArgs from int32_t to uint32_t 2022-08-05 17:06:00 +08:00
builtins_base.h Optimizes AOT ldobjbyname for Builtin.prototype in TypeScript 2023-10-12 14:40:25 +08:00
config.h Enable DFX config in asan version 2023-07-07 17:12:44 +08:00
error_helper.cpp issue:https://gitee.com/openharmony/commonlibrary_ets_utils/issues/I83868 2023-10-31 16:44:57 +08:00
error_helper.h Restrict jserror size of OOM error 2023-07-11 20:55:03 +08:00
error_type.h issue:https://gitee.com/openharmony/commonlibrary_ets_utils/issues/I83868 2023-10-31 16:44:57 +08:00
fast_json_stringifier.cpp Optimize for-in loop 2023-10-12 10:00:43 +08:00
fast_json_stringifier.h Support Fast Json Stringify 2023-09-04 19:10:43 +08:00
file_header.h Widden classType for external file 2023-09-06 21:34:38 +08:00
gc_ring_buffer.h Optimize GC trigger 2022-01-13 22:30:21 -10:00
json_helper.cpp Support Fast Json Stringify 2023-09-04 19:10:43 +08:00
json_helper.h Support Fast Json Stringify 2023-09-04 19:10:43 +08:00
json_parser.cpp Change the data type (int to uint) 2023-07-25 21:05:05 +08:00
json_parser.h BugFix: Fixes array overflower in JSON.parse 2023-11-09 15:40:46 +08:00
json_stringifier.cpp !5058 Modifying Code Alarms 2023-11-01 01:12:42 +00:00
json_stringifier.h Support Fast Json Stringify 2023-09-04 19:10:43 +08:00
llvm_helper.h Fix llvm compilation issue on Mac which use arm cpu 2023-04-07 09:50:57 +08:00
math_helper.h Fix Math.Asinh function and Math.Atanh function for windows 2022-08-25 00:22:28 +08:00
number_helper.cpp !5128 BugFix:Number.parseFloat("10000000000000000000000.0") Get an error result 2023-11-03 07:09:25 +00:00
number_helper.h Optimization of computing short-integer string's hash code 2023-11-02 20:01:52 +08:00
path_helper.cpp Refactor module, modify path_helper[part 1] 2023-07-14 14:51:21 +08:00
path_helper.h Modifying Code Alarms 2023-07-24 14:37:49 +08:00
string_helper.cpp ecmastring interface refractor 2022-09-23 16:29:26 +08:00
string_helper.h Optimize string-related function 2023-08-23 11:14:22 +08:00
typed_array_helper-inl.h Code Review for Builtins Array &BufferArray 2023-07-18 17:03:12 +08:00
typed_array_helper.cpp Bugfix on TypedArrayConstructor elementLength occurs data overflow 2023-09-13 09:44:48 +08:00
typed_array_helper.h Bugfix on TypedArrayConstructor elementLength occurs data overflow 2023-09-13 09:44:48 +08:00
utf_helper.cpp write to latin1 2023-01-05 10:46:09 +08:00
utf_helper.h write to latin1 2023-01-05 10:46:09 +08:00