diff options
author | Ben YoungTae Kim <ytkim@qca.qualcomm.com> | 2015-08-13 22:09:42 -0700 |
---|---|---|
committer | Marcel Holtmann <marcel@holtmann.org> | 2015-08-14 08:55:31 +0200 |
commit | 10be6c0f27d729dcebaa0ac5f168009244d71fed (patch) | |
tree | 0e153e0f68c8daa473e00a50e080ee9f39bae909 /drivers/bluetooth/hci_bcsp.c | |
parent | 50d78bcf5d06871a0b3adcb3cbec6e6ca33f226a (diff) | |
download | op-kernel-dev-10be6c0f27d729dcebaa0ac5f168009244d71fed.zip op-kernel-dev-10be6c0f27d729dcebaa0ac5f168009244d71fed.tar.gz |
Bluetooth: hciuart: Fix to use boolean flag with u32 type
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 <ytkim@qca.qualcomm.com>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
Diffstat (limited to 'drivers/bluetooth/hci_bcsp.c')
0 files changed, 0 insertions, 0 deletions