diff options
author | nailyk-fr <nailyk_git@nailyk.fr> | 2016-10-08 20:18:30 +0200 |
---|---|---|
committer | nailyk-fr <nailyk_git@nailyk.fr> | 2017-02-21 20:15:18 +0100 |
commit | 680b9b4c3a7c23a86331a44b597e93fa44f1a7ed (patch) | |
tree | 3eafef05a483efb98b310aeada8ee512a168571e /include/device_perms.h | |
parent | f324364ca45a1962a51c223f1a017168b2ffb1b8 (diff) |
shinano-common: tfa: Fix logic mistake in ioctl for eq function
A fixed-length array of unsigned char can never be NULL!
Fix the logic by initializing the array correctly and assigning
to the param struct if we copied anything with memcpy into it
instead of doing an useless null check.
https://github.com/sonyxperiadev/device-sony-shinano/commit/12d9e45b473fc4354d8acbef2bd8ba05111ed9a1
Change-Id: I31b648ce4c6a2b2752020172d0aa2e4b75b7852a
Diffstat (limited to 'include/device_perms.h')
0 files changed, 0 insertions, 0 deletions