commit | 181427a7e01beab76c789414334375839f026128 | [log] [tgz] |
---|---|---|
author | Dan Carpenter <error27@gmail.com> | Sat Mar 13 14:14:22 2010 +0300 |
committer | James Morris <jmorris@namei.org> | Mon Mar 15 07:51:29 2010 +1100 |
tree | 3a50a93331b536b80d9c393a034489c9678d8a13 | |
parent | bca14dd14f3b0c5e3e2d1d314679f85b67871365 [diff] |
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>