diff options
author | Dan Carpenter <error27@gmail.com> | 2009-12-02 00:17:41 +0300 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2009-12-02 03:32:19 +0300 |
commit | fa00e106eb6f082654d822a0946c0c86297ede2c (patch) | |
tree | f176cc90a568182419de69c555c25f9c2459a188 /lib/textsearch.c | |
parent | 4c4cb1b1605e50983afd7924980c9434b214599f (diff) | |
download | linux-fa00e106eb6f082654d822a0946c0c86297ede2c.tar.xz |
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 'lib/textsearch.c')
0 files changed, 0 insertions, 0 deletions