projects
/
platform
/
core
/
telephony
/
tel-plugin-packetservice.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b1c6764
)
Fix svace issue
19/305219/1
accepted/tizen_9.0_unified
accepted/tizen_unified
accepted/tizen_unified_dev
accepted/tizen_unified_toolchain
accepted/tizen_unified_x
tizen_9.0
accepted/tizen/9.0/unified/20241030.233618
accepted/tizen/unified/20240202.165954
accepted/tizen/unified/dev/20240620.005854
accepted/tizen/unified/toolchain/20240311.065629
accepted/tizen/unified/x/20240205.064010
tizen_9.0_m2_release
author
Wootak Jung
<wootak.jung@samsung.com>
Tue, 30 Jan 2024 06:03:24 +0000
(15:03 +0900)
committer
Wootak Jung
<wootak.jung@samsung.com>
Tue, 30 Jan 2024 06:03:24 +0000
(15:03 +0900)
Change-Id: I18b0585ef7dda8977e43a2b34e1f49237b2c67ad
Signed-off-by: Wootak Jung <wootak.jung@samsung.com>
src/ps_service.c
patch
|
blob
|
history
diff --git
a/src/ps_service.c
b/src/ps_service.c
index ace35c9360e86f8a4119213959822ec2db5f5d5f..8c03a96c6070b2e7018ba84a54c9e339253e387d 100644
(file)
--- a/
src/ps_service.c
+++ b/
src/ps_service.c
@@
-56,6
+56,8
@@
static guint __ps_service_convert_ipv4_address_int(char *ip_address)
temp_address = g_strdup_printf("%02x%02x%02x%02x", atoi(temp_str[0]), atoi(temp_str[1]), atoi(temp_str[2]), atoi(temp_str[3]));
/* Free resources */
g_strfreev(temp_str);
+ if (!temp_address)
+ return 0;
address = strtoul(temp_address, (char **)NULL, HEX_ENCODING_VALUE);
g_free(temp_address);