Commit: 47f6853fa28381b852490823e01305746a49c89d
Parent: 600ad0f6cd857644172e52b76618815005d0010c
Author: Andrei Emeltchenko <andrei.emeltchenko@intel.com>
Committer: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
Date: 2014-02-10 14:08:45
Tree: 5c821948cc0707a7882bfd5f2f7e8c34bc48f721

android/avdtp: Fix passing NULL pointer to memcpy send_request can be called as send_request(session, FALSE, NULL, AVDTP_DISCOVER, NULL, 0) with NULL pointer which is passed to memcpy().

Diffstat

M android/avdtp.c | 12 ++++++++++- -

1 files changed, 10 insertions(+), 2 deletions(-)

View Full Diff | Patch