summaryrefslogtreecommitdiff
path: root/init
diff options
context:
space:
mode:
authornailyk-fr <nailyk_git@nailyk.fr>2016-10-08 20:18:30 +0200
committernailyk-fr <nailyk_git@nailyk.fr>2017-02-21 20:15:18 +0100
commit680b9b4c3a7c23a86331a44b597e93fa44f1a7ed (patch)
tree3eafef05a483efb98b310aeada8ee512a168571e /init
parentf324364ca45a1962a51c223f1a017168b2ffb1b8 (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 'init')
0 files changed, 0 insertions, 0 deletions