summaryrefslogtreecommitdiff
path: root/crypto/ghash-generic.c
diff options
context:
space:
mode:
authorSylwester Nawrocki <s.nawrocki@samsung.com>2011-09-13 17:07:09 (GMT)
committerMauro Carvalho Chehab <mchehab@redhat.com>2011-11-24 22:57:12 (GMT)
commit7acde02a5bf4d3c32cd197eb7ce2257e6a0e17b7 (patch)
treee21b2b83fb7dc1f9d4d8b65d685d59d521f4f4e4 /crypto/ghash-generic.c
parente067d5abdd04cbf1bed466f95682c67e2496ba42 (diff)
downloadlinux-fsl-qoriq-7acde02a5bf4d3c32cd197eb7ce2257e6a0e17b7.tar.xz
[media] s5p-fimc: Fix wrong pointer dereference when unregistering sensors
After i2c_unregister_device() has been called the client object can already be freed and thus using the client pointer may lead to dereferencing freed memory. Avoid this by saving the adapter pointer for further use before i2c_unregister_device() call. Signed-off-by: Sylwester Nawrocki <s.nawrocki@samsung.com> Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'crypto/ghash-generic.c')
0 files changed, 0 insertions, 0 deletions