From: Andrew Morton Date: Mon, 30 Jul 2012 21:40:03 +0000 (-0700) Subject: kernel/sys.c: avoid argv_free(NULL) X-Git-Tag: v3.6-rc1~41^2~101 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b57b44ae698944ffc6161352b8ff5c9cf9c592e2;p=pandora-kernel.git kernel/sys.c: avoid argv_free(NULL) If argv_split() failed, the code will end up calling argv_free(NULL). Fix it up and clean things up a bit. Addresses Coverity report 703573. Cc: Cyrill Gorcunov Cc: Kees Cook Cc: Serge Hallyn Cc: "Eric W. Biederman" Cc: WANG Cong Cc: Alan Cox Cc: David Rientjes Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed