diff options
author | Dan Carpenter <dan.carpenter@oracle.com> | 2015-04-15 00:43:19 +0200 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2015-04-15 01:48:57 +0200 |
commit | e073fc58dfe6a4c9b614320c1d56bb71cb213ec4 (patch) | |
tree | 312f2d7e424362beb03ead1bdd39c50e5612b8c1 /fs/ocfs2/namei.c | |
parent | ocfs2: fix typo in ocfs2_reserve_local_alloc_bits (diff) | |
download | linux-e073fc58dfe6a4c9b614320c1d56bb71cb213ec4.tar.xz linux-e073fc58dfe6a4c9b614320c1d56bb71cb213ec4.zip |
ocfs2: dereferencing freed pointers in ocfs2_reflink()
The code at the "out" label assumes that "default_acl" and "acl" are NULL,
but actually the pointers can be NULL, unitialized, or freed.
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Reviewed-by: Mark Fasheh <mfasheh@suse.de>
Cc: Joel Becker <jlbec@evilplan.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'fs/ocfs2/namei.c')
0 files changed, 0 insertions, 0 deletions