From: Kees Cook Date: Fri, 11 Jan 2013 22:32:07 +0000 (-0800) Subject: audit: catch possible NULL audit buffers X-Git-Tag: v3.8-rc4~32^2~5 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0644ec0cc8a33fb654e348897ad7684e22a4b5d8;p=pandora-kernel.git audit: catch possible NULL audit buffers It's possible for audit_log_start() to return NULL. Handle it in the various callers. Signed-off-by: Kees Cook Cc: Al Viro Cc: Eric Paris Cc: Jeff Layton Cc: "Eric W. Biederman" Cc: Julien Tinnes Cc: Will Drewry Cc: Steve Grubb Cc: Andrea Arcangeli Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed