mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-26 06:33:19 -04:00
Merge "qbt_handler: Memset userspace struct to zero"
This commit is contained in:
commit
8efb1e6396
1 changed files with 1 additions and 0 deletions
|
|
@ -511,6 +511,7 @@ static long qbt_ioctl(
|
|||
{
|
||||
struct qbt_wuhb_connected_status wuhb_connected_status;
|
||||
|
||||
memset(&wuhb_connected_status, 0, sizeof(wuhb_connected_status));
|
||||
wuhb_connected_status.is_wuhb_connected =
|
||||
drvdata->is_wuhb_connected;
|
||||
rc = copy_to_user((void __user *)priv_arg,
|
||||
|
|
|
|||
Loading…
Reference in a new issue