summaryrefslogtreecommitdiff
path: root/drivers/rtc/rtc-ds1302.c
diff options
context:
space:
mode:
authorDevendra Naga <devendra.aaru@gmail.com>2012-07-11 14:01:53 -0700
committerLinus Torvalds <torvalds@linux-foundation.org>2012-07-11 16:04:41 -0700
commit2a643893e50fde71d7ba84b5592ec61b467b9ab6 (patch)
treec54f5b1ea25bf34d9e8228dac76f8f72344e02ee /drivers/rtc/rtc-ds1302.c
parentd8adde17e5f858427504725218c56aef90e90fc7 (diff)
drivers/rtc/rtc-spear.c: fix use-after-free in spear_rtc_remove()
`config' is freed and is then used in the rtc_device_unregister() call, causing a kernel panic. Signed-off-by: Devendra Naga <devendra.aaru@gmail.com> Reviewed-by: Viresh Kumar <viresh.linux@gmail.com> Cc: Alessandro Zummo <a.zummo@towertech.it> Cc: <stable@vger.kernel.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/rtc/rtc-ds1302.c')
0 files changed, 0 insertions, 0 deletions