Commit: 00c35d3f1d9081f6f260c4b4a9c7bb475ea29560
Parent: 47f6853fa28381b852490823e01305746a49c89d
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: e426fa45cb59cdc5214fa1db55535b946e69f1f4

android/avdtp: Fix passing NULL pointer to memcpy The patch fixes following clang warning: ... profiles/audio/avdtp.c:3293:2: warning: Null pointer passed as an argument to a 'nonnull' parameter memcpy(cap->data, data, length); ^ ~~~~

Diffstat

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

1 files changed, 6 insertions(+), 1 deletions(-)

View Full Diff | Patch