Commit: 02225cd8fb9a983814a8ae4d3e22b760bb7cec69
Parent: e2b210612237cf69e937ac25db7c1fdb6758ba8c
Author: Szymon Janc <szymon.janc@tieto.com>
Committer: Szymon Janc <szymon.janc@tieto.com>
Date: 2014-04-14 11:15:25
Tree: 922a357fd51ae714dfa0ffd7403c26edc9ebf8f2

android/bluetooth: Fix passing NULL pointer to memcpy It is possible to have property with empty value (ie. bonded devices) so check len before calling memcpy.

Diffstat

M android/bluetooth.c | 4 +++-

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

View Full Diff | Patch