Thread (2 messages) flat view 2 messages, 2 authors, 2011-02-28

Re: [PATCH] Bluetooth: Fix possible NULL pointer dereference in cmd_complete

From: Gustavo F. Padovan <hidden>
Date: 2011-02-28 17:32:09

Hi Szymon,

* Szymon Janc [off-list ref] [2011-02-28 14:09:50 +0100]:
It is now possible to create command complete event without specific
reply data by passing NULL as reply with len 0. Check pointer before
calling memcpy to avoid undefined behaviour.
---
 net/bluetooth/mgmt.c |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)
Patch is now applied. Thanks.

-- 
Gustavo F. Padovan
http://profusion.mobi
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help