diff options
author | Dan Carpenter <error27@gmail.com> | 2009-12-01 13:17:41 -0800 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2009-12-01 16:32:19 -0800 |
commit | fa00e106eb6f082654d822a0946c0c86297ede2c (patch) | |
tree | f176cc90a568182419de69c555c25f9c2459a188 /fs/romfs | |
parent | 4c4cb1b1605e50983afd7924980c9434b214599f (diff) | |
download | op-kernel-dev-fa00e106eb6f082654d822a0946c0c86297ede2c.zip op-kernel-dev-fa00e106eb6f082654d822a0946c0c86297ede2c.tar.gz |
drivers/rtc/rtc-pcf50633.c: fix use after free in pcf50633_rtc_probe()
"rtc" is freed and then dereferenced on the next line. This patch fixes
that.
Signed-off-by: Dan Carpenter <error27@gmail.com>
Acked-by: Alessandro Zummo <a.zummo@towertech.it>
Cc: David Brownell <david-b@pacbell.net>
Cc: Paul Gortmaker <p_gortmaker@yahoo.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'fs/romfs')
0 files changed, 0 insertions, 0 deletions