summaryrefslogtreecommitdiff
path: root/drivers/net/xen-netback/interface.c
diff options
context:
space:
mode:
authorTanvi Aggarwal <tanvia@codeaurora.org>2017-06-21 17:11:12 +0530
committerGerrit - the friendly Code Review server <code-review@localhost>2017-07-03 22:05:47 -0700
commit1e498718d20252bbedeae3a65a32ab8eeabb4406 (patch)
treec193a09dae7ec10895abb75c94b62f2a9ca09ed3 /drivers/net/xen-netback/interface.c
parenta25d728775f13a4ca93e8ef33275f582bebd8442 (diff)
msm-camera: sensor: Fixing kernel crash during i2c read
When userspace uses ioctl(), kernel should get the data from userpsace through copy_from_user() or get_user() and send it back to userpsace though copy_to_user() or put_user(). In this case, kernel is not using put_user or copy_to_user which is leading to a crash during I2C read when it tries to access memory. CRs-Fixed: 2058381 Change-Id: Ie5596b62cb589ee048e54f37c7e6beda0d62cad5 Signed-off-by: Tanvi Aggarwal <tanvia@codeaurora.org>
Diffstat (limited to 'drivers/net/xen-netback/interface.c')
0 files changed, 0 insertions, 0 deletions