projects
/
platform
/
core
/
api
/
wifi-manager.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
71d106f
)
Fix DEREF_AFTER_NULL issue
62/242662/1
submit/tizen/20200828.142119
author
Jaehyun Kim
<jeik01.kim@samsung.com>
Fri, 28 Aug 2020 13:28:14 +0000
(22:28 +0900)
committer
Jaehyun Kim
<jeik01.kim@samsung.com>
Fri, 28 Aug 2020 13:28:14 +0000
(22:28 +0900)
After having been compared to NULL value at network_dbus.c:806,
pointer 'network_info' is dereferenced at network_dbus.c:824
Change-Id: I866901dc43c93857e2eea77f87c1fb32cea21a54
Signed-off-by: Jaehyun Kim <jeik01.kim@samsung.com>
src/network_dbus.c
patch
|
blob
|
history
diff --git
a/src/network_dbus.c
b/src/network_dbus.c
index
8cab961
..
d0d6ebc
100755
(executable)
--- a/
src/network_dbus.c
+++ b/
src/network_dbus.c
@@
-821,7
+821,7
@@
GVariant *_net_invoke_dbus_method(network_info_s *network_info,
created = FALSE;
}
- reply = g_dbus_connection_call_sync(
network_info->
connection,
+ reply = g_dbus_connection_call_sync(connection,
dest,
path,
interface_name,