git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8a39889
)
perf tools: Ensure sscanf does not overrun the "mem" field
author
Alan Cox
<alan@linux.intel.com>
Mon, 20 Jan 2014 18:10:11 +0000
(19:10 +0100)
committer
Arnaldo Carvalho de Melo
<acme@redhat.com>
Mon, 20 Jan 2014 19:19:08 +0000
(16:19 -0300)
Make the parsing robust.
(perf has some other assumptions that BUFSIZE <= MAX_PATH which are
not touched here)
Reported-by: Jackie Chang
Signed-off-by: Alan Cox <alan@linux.intel.com>
Cc: Alan Cox <gnomes@lxorguk.ukuu.org.uk>
Cc: Peter Zijlstra <peterz@infradead.org>
Link:
http://lkml.kernel.org/n/tip-g2uoiwbrpiimb63rx32qv8ne@git.kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/util/header.c
patch
|
blob
|
history
diff --cc
tools/perf/util/header.c
Simple merge