Parent: de4786090f85ee2cfbfdc8882fd5712b96ee5127
Author: Matias Karhumaa <matias.karhumaa@gmail.com>
Committer: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
Date: 2017-06-22 14:21:17
Tree: 9d74b95b13f231a228d1ade1879d18aa2b4d45b2
obexd: Fix null pointer dereference. By sending OPP Put request before CONNECT we were able to cause SIGSEGV in obexd. Crash was caused by null pointer dereference. Crash was found using Synopsys Defensics Obex Server test suite. This was fixed by calling os->service->connect if CONNECT was not done before.
Diffstat
| M | obexd/src/obex.c | | | 11 | +++++++++++ |
1 files changed, 11 insertions(+), 0 deletions(-)