OSDN Git Service

msm: camera: fix Information leak
authorManish Poddar <mpoddar@codeaurora.org>
Fri, 9 Dec 2016 05:55:31 +0000 (11:25 +0530)
committerGerrit - the friendly Code Review server <code-review@localhost>
Mon, 16 Jan 2017 05:43:44 +0000 (21:43 -0800)
commit33f34cd0215cd49b4f036b86e4724a1afe8e0af2
tree0d8958467244ba095d53dbc1a56fc069005bab74
parent242e8667ed0a2aa1a4de41d61555e2a62cbe6e8f
msm: camera: fix Information leak

In msm_buf_mngr_sd_shutdown bufs is a pointer defined
in kernel, and it is printed to userspace using %lx.
changed it to %pK.

Change-Id: Ic2cb1a2ff109364ac2da1bbb3253a2253a0c6be9
Signed-off-by: Manish Poddar <mpoddar@codeaurora.org>
drivers/media/platform/msm/camera_v2/msm_buf_mgr/msm_generic_buf_mgr.c