Thread (3 messages) flat view 3 messages, 2 authors, 2015-08-14

Re: Bluetooth: hciuart: Fix to use boolean flag with u32 type

From: Ben YoungTae Kim <hidden>
Date: 2015-08-14 05:05:30

Hi Marcel,

On 8/13/15 9:14 PM, Marcel Holtmann wrote:
Hi Ben,
quoted
debugfs_create_bool is asking to put u32 type pointer instead of bool
so that passing bool type with u32* cast will cause memory corruption
to read that value since it is handled by 4 bytes instead of 1 byte
inside.

Signed-off-by: Ben Young Tae Kim <redacted>
---
drivers/bluetooth/hci_qca.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
this patch does not apply against bluetooth-next tree.
Looks like tabs in patch body was converted with space on email client again since that was sent on new setup(desktop). It was applied properly on my side against bluetooth-next tree. I'll send another one. Sorry for bothering you again.
Regards

Marcel
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help