diff options
author | Adrian Hunter <[email protected]> | 2013-10-22 10:34:17 +0300 |
---|---|---|
committer | Arnaldo Carvalho de Melo <[email protected]> | 2013-10-23 10:59:09 -0300 |
commit | 56921becdd1eb0720603fc2e6e4c7f518196d917 (patch) | |
tree | 9b0675cebf93d88c9ad71b177171c47d14be1089 /tools/perf/util/scripting-engines/trace-event-python.c | |
parent | 89c97d936e76b064a52ee056602b2a62b3f1ef70 (diff) |
perf tools: Do not accept parse_tag_value() overflow
parse_tag_value() accepts an "unsigned long" and multiplies it according
to a tag character. Do not accept the value if the multiplication
overflows.
Signed-off-by: Adrian Hunter <[email protected]>
Cc: David Ahern <[email protected]>
Cc: Frederic Weisbecker <[email protected]>
Cc: Ingo Molnar <[email protected]>
Cc: Jiri Olsa <[email protected]>
Cc: Mike Galbraith <[email protected]>
Cc: Namhyung Kim <[email protected]>
Cc: Paul Mackerras <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Stephane Eranian <[email protected]>
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions