projects
/
platform
/
core
/
connectivity
/
bluetooth-frwk.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
98728ed
)
Fix possible bt-service crash issue
45/41845/1
author
Atul Rai
<a.rai@samsung.com>
Thu, 18 Jun 2015 07:27:26 +0000
(12:57 +0530)
committer
Atul Rai
<a.rai@samsung.com>
Thu, 18 Jun 2015 07:29:22 +0000
(12:59 +0530)
This patch fixes null pointer dereferencing when introspection_data
is NULL in __bt_service_create_method_node_info().
Change-Id: I795f3eaf5f807bfd00ede182089e7ac3b952abf6
Signed-off-by: Atul Rai <a.rai@samsung.com>
bt-service/bt-request-handler.c
patch
|
blob
|
history
diff --git
a/bt-service/bt-request-handler.c
b/bt-service/bt-request-handler.c
index
44df773
..
069ec2c
100644
(file)
--- a/
bt-service/bt-request-handler.c
+++ b/
bt-service/bt-request-handler.c
@@
-2113,7
+2113,7
@@
GDBusNodeInfo *__bt_service_create_method_node_info
GDBusNodeInfo *node_info = NULL;
if (introspection_data == NULL) {
- ERR("Introspection XML not present
: %s", err->message
);
+ ERR("Introspection XML not present
"
);
return NULL;
}