diff options
author | Dan Carpenter <error27@gmail.com> | 2010-03-13 12:14:22 +0100 |
---|---|---|
committer | James Morris <jmorris@namei.org> | 2010-03-14 21:51:29 +0100 |
commit | 181427a7e01beab76c789414334375839f026128 (patch) | |
tree | 3a50a93331b536b80d9c393a034489c9678d8a13 /drivers/rtc/rtc-ds1742.c | |
parent | Merge branch 'core-fixes-for-linus' of git://git.kernel.org/pub/scm/linux/ker... (diff) | |
download | linux-181427a7e01beab76c789414334375839f026128.tar.xz linux-181427a7e01beab76c789414334375839f026128.zip |
tomoyo: fix potential use after free
The original code returns a freed pointer. This function is expected to
return NULL on errors.
Signed-off-by: Dan Carpenter <error27@gmail.com>
Acked-by: Tetsuo Handa <penguin-kernel@I-love.SAKURA.ne.jp>
Signed-off-by: James Morris <jmorris@namei.org>
Diffstat (limited to 'drivers/rtc/rtc-ds1742.c')
0 files changed, 0 insertions, 0 deletions