aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorAndrew Morton <[email protected]>2012-07-30 14:40:03 -0700
committerLinus Torvalds <[email protected]>2012-07-30 17:25:13 -0700
commitb57b44ae698944ffc6161352b8ff5c9cf9c592e2 (patch)
tree15d8d4c9681c2cba7c882f29b1b4f88378928095 /tools/perf/scripts/python
parent45226e944ce071d0231949f2fea90969437cd2dc (diff)
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 <[email protected]> Cc: Kees Cook <[email protected]> Cc: Serge Hallyn <[email protected]> Cc: "Eric W. Biederman" <[email protected]> Cc: WANG Cong <[email protected]> Cc: Alan Cox <[email protected]> Cc: David Rientjes <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions