From: Dan Carpenter Date: Tue, 14 Apr 2015 22:43:19 +0000 (-0700) Subject: ocfs2: dereferencing freed pointers in ocfs2_reflink() X-Git-Tag: omap-for-v4.1/fixes-rc1~151^2~104 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e073fc58dfe6a4c9b614320c1d56bb71cb213ec4;p=pandora-kernel.git 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 Reviewed-by: Mark Fasheh Cc: Joel Becker Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed