diff options
| author | Alan Cox <[email protected]> | 2014-01-20 19:10:11 +0100 |
|---|---|---|
| committer | Arnaldo Carvalho de Melo <[email protected]> | 2014-01-20 16:19:08 -0300 |
| commit | a761a2d8a7175b7b4e8525e0672e1a8d3c051001 (patch) | |
| tree | 6b5abffcec6275081ba411e04fdd3a993a7b1ac4 /lib/mpi/mpicoder.c | |
| parent | 8a398897ff21f73cb8b15a19514660f032926882 (diff) | |
perf tools: Ensure sscanf does not overrun the "mem" field
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 <[email protected]>
Cc: Alan Cox <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Link: http://lkml.kernel.org/n/[email protected]
Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'lib/mpi/mpicoder.c')
0 files changed, 0 insertions, 0 deletions