aboutsummaryrefslogtreecommitdiff
path: root/lib/mpi/mpi-cmp.c
diff options
context:
space:
mode:
authorThierry Reding <[email protected]>2014-08-08 14:20:26 -0700
committerLinus Torvalds <[email protected]>2014-08-08 15:57:20 -0700
commit9f7d7a1d0f36bed7f533807146483e8fdfe12a89 (patch)
tree4193e3ce968b9e444200bfdb402ac7a756eb2e33 /lib/mpi/mpi-cmp.c
parente1d60093ca7341e884578c41a29da7cd1714c80e (diff)
drivers/rtc/rtc-tps65910.c: fix potential NULL-pointer dereference
The interrupt handler gets the driver data associated with the RTC device and doesn't check it for validity. This can cause a NULL pointer being dereferenced when and interrupt fires before the driver data was properly set up. Fix this by setting the driver data earlier (before the interrupt is requested). Signed-off-by: Thierry Reding <[email protected]> Cc: Alessandro Zummo <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-cmp.c')
0 files changed, 0 insertions, 0 deletions