Commit: 9ee1038cff9e9e3eaa637df94704801cf09cbe66
Parent: 00622544dd96a8037fbf557ac2438bc307142b71
Author: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
Committer: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
Date: 2013-06-12 00:12:33
Tree: d15864c20f3795fa57a7e1bd41f28486ae88b921

obexd: Fix not checking for valid fd on NewConnection The fd needs to be checked as it may not be valid which cause the following warnings: ==8162== Warning: invalid file descriptor 1031 in syscall fcntl(DUPFD_CLOEXEC)() (obexd:8162): GLib-WARNING **: giounix.c:412Error while getting flags for FD: Bad file descriptor (9)

Diffstat

M obexd/plugins/bluetooth.c | 13 +++++++++++++

1 files changed, 13 insertions(+), 0 deletions(-)

View Full Diff | Patch