diff options
author | DoHyun Pyun <dh79.pyun@samsung.com> | 2016-05-11 18:57:16 +0900 |
---|---|---|
committer | DoHyun Pyun <dh79.pyun@samsung.com> | 2016-05-11 19:55:57 +0900 |
commit | 5ed0bdb94c9d76d2d40791e3adf784734000dad2 (patch) | |
tree | da07df928552efc280edb27daea5e33b3c0a2b29 /obexd/src | |
parent | b87b1cf6dfb7a8ae093da3dc681e43543c79018a (diff) | |
download | bluez-5ed0bdb94c9d76d2d40791e3adf784734000dad2.tar.gz bluez-5ed0bdb94c9d76d2d40791e3adf784734000dad2.tar.bz2 bluez-5ed0bdb94c9d76d2d40791e3adf784734000dad2.zip |
Fix the crash when SET_PATH command is recieved
This patchset is related with TC_MSE_MMB_BV_09_I PTS testcase.
Change-Id: I96cbea2d315182bc934e9684e6be447c2bdaf351
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
Diffstat (limited to 'obexd/src')
-rw-r--r--[-rwxr-xr-x] | obexd/src/obex.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/obexd/src/obex.c b/obexd/src/obex.c index d62839f1..580b12ef 100755..100644 --- a/obexd/src/obex.c +++ b/obexd/src/obex.c @@ -643,8 +643,8 @@ static void parse_name(struct obex_session *os, GObexPacket *req) if (!g_obex_header_get_unicode(hdr, &name)) return; #ifdef __TIZEN_PATCH__ - DBG("TYPE===>: %s", os->type); - if (name && strcmp(os->type, "x-bt/phonebook")) { + DBG("Obex Session For: %s", os->service->name); + if (name && g_strcmp0(os->service->name, "Object Push server") == 0) { char *new_name; new_name = strrchr(name, '/'); if (new_name) { |