1. Allocate memory for the authorized file name 2.0alpha master 2.0_alpha submit/master/20120920.151045
authorDoHyun Pyun <dh79.pyun@samsung.com>
Tue, 11 Sep 2012 02:18:20 +0000 (11:18 +0900)
committerDoHyun Pyun <dh79.pyun@samsung.com>
Tue, 11 Sep 2012 02:21:17 +0000 (11:21 +0900)
commit197b5b55e4d32969591135fe9650eb523ad5c694
tree56c0b68ecf9a900dd3482e9f6f7a3e7f11cf2d78
parenteddbf184e774446e3ea0c09c0c89d9e18b892fd1
1. Allocate memory for the authorized file name

[Comment] The string from FRWK will be freed, so we can't use this address value

2. Fix the crash issue

- Step
a. OPC file sending failed (More than 2)
b. Launch outbound list
c. Retry file sending for first item and immediately retry file sending for second item

- Issue
bluetooth-share got crashed

- Cause
Before OPC session is created, second file sending is requested.
So second job is failed then we removed all transfer list.

- Fix description
Check the return value.
If BLUETOOTH_ERROR_IN_PROGRESS returned, we are skip the exception code
bt-share/include/bt-share-ipc.h
bt-share/src/bt-share-ipc.c
bt-share/src/obex-event-handler.c
debian/changelog
packaging/bluetooth-share.spec