21 Commits

Author SHA1 Message Date
openeuler-ci-bot
9179472aaf
!36 Backport Set free'd pointers to NULL whenever they are not reassigned
From: @mmzzmm 
Reviewed-by: @dillon_chen 
Signed-off-by: @dillon_chen
2024-06-07 03:46:11 +00:00
Zhao Mengmeng
1243399bf7 Set free'd pointers to NULL whenever they are not reassigned
Backport from upstream:
542fb0eadd

A double free vulnerability was discovered in cJSON_Delete function through
fuzzing. Fix it by set pointers to NULL immediately after they are deallocated.

Links: https://github.com/DaveGamble/cJSON/issues/833

Signed-off-by: Zhao Mengmeng <zhaomengmeng@kylinos.cn>
2024-05-29 14:45:05 +08:00
openeuler-ci-bot
1ef31418a3
!33 Fix heap buffer overflow
From: @XIE-JING-2022 
Reviewed-by: @dillon_chen 
Signed-off-by: @dillon_chen
2024-05-22 09:58:08 +00:00
xiejing
7358065591 Fix heap buffer overflow 2024-05-22 16:41:48 +08:00
openeuler-ci-bot
bb22389dde
!30 fix: print int without decimal places
From: @wuzhaomin 
Reviewed-by: @dillon_chen 
Signed-off-by: @dillon_chen
2024-05-11 02:11:19 +00:00
wuzhaomin
1a772b33a7 fix: print int without decimal places 2024-05-10 17:46:43 +08:00
openeuler-ci-bot
2ca948bf72
!25 add allocate check for replace_item_in_object
From: @wuzhaomin 
Reviewed-by: @dillon_chen 
Signed-off-by: @dillon_chen
2024-05-10 07:25:03 +00:00
wuzhaomin
b21492a993 add allocate check for replace_item_in_object 2024-05-09 15:08:51 +08:00
openeuler-ci-bot
21090afb54
!23 Fix a null pointer crash in cJSON_ReplaceItemViaPointer
From: @xiao-zai-kylinos 
Reviewed-by: @dillon_chen 
Signed-off-by: @dillon_chen
2024-05-07 09:19:42 +00:00
肖在
9a49952f8c Fix a null pointer crash in cJSON_ReplaceItemViaPointer 2024-05-07 14:29:36 +08:00
openeuler-ci-bot
badd15dbb7
!16 [sync] PR-15: fix CVE-2024-31755
From: @openeuler-sync-bot 
Reviewed-by: @dillon_chen 
Signed-off-by: @dillon_chen
2024-04-29 06:05:32 +00:00
lvfei
325f386d63 CVE-2024-31755
(cherry picked from commit f61200d5241bd826f5fa1df6e81b3f4f482093f8)
2024-04-29 13:57:37 +08:00
openeuler-ci-bot
a561a6bf31
!12 fix potential memory leak in merge_patch()
From: @XIE-JING-2022 
Reviewed-by: @dillon_chen 
Signed-off-by: @dillon_chen
2024-03-06 06:35:28 +00:00
xiejing
05c9d03fed fix potential memory leak in merge_patch() 2024-03-05 16:37:18 +08:00
openeuler-ci-bot
b13c7c7b2a
!7 [sync] PR-6: Fix CVE-2023-50471 CVE-2023-50472
From: @openeuler-sync-bot 
Reviewed-by: @dillon_chen 
Signed-off-by: @dillon_chen
2023-12-27 09:03:19 +00:00
liningjie
2214746100 Fix CVE-2023-50471 CVE-2023-50472
(cherry picked from commit fdb5600f2a2aca9219e26f95937ce4d54292f973)
2023-12-27 16:53:05 +08:00
openeuler-ci-bot
b3be75a5e3
!3 add yaml file
From: @tanyulong2021 
Reviewed-by: @bzhaoop 
Signed-off-by: @bzhaoop
2022-09-08 12:19:18 +00:00
tanyulong2021
5f113c517b add yaml file 2022-06-17 17:06:54 +08:00
openeuler-ci-bot
31afb65ad5 !2 Init project
From: @jxy_git
Reviewed-by: @overweight
Signed-off-by: @overweight
2021-09-23 06:41:08 +00:00
jiangxinyu
93301743d9 init project 2021-09-23 10:05:23 +08:00
openeuler-ci-bot
bf5ef6bda3 Initial commit 2021-07-15 12:44:33 +00:00