aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/util/trace-event-scripting.c
diff options
context:
space:
mode:
authorLasse Collin <[email protected]>2011-01-12 17:01:21 -0800
committerLinus Torvalds <[email protected]>2011-01-13 08:03:24 -0800
commit5a3f81a7029daff5f08aad146f4c4510e790da49 (patch)
tree08f0dfe372ebb5db518de2e80c4fb1d7c81f70be /tools/perf/util/trace-event-scripting.c
parent8f9b54a35a70b604ebd2b2f2e7e04eabd0ff8a54 (diff)
Decompressors: check input size in decompress_unlzo.c
The code assumes that the input is valid and not truncated. Add checks to avoid reading past the end of the input buffer. Change the type of "skip" from u8 to int to fix a possible integer overflow. Signed-off-by: Lasse Collin <[email protected]> Cc: "H. Peter Anvin" <[email protected]> Cc: Alain Knaff <[email protected]> Cc: Albin Tonnerre <[email protected]> Cc: Phillip Lougher <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions