diff options
author | Lasse Collin <[email protected]> | 2011-01-12 17:01:19 -0800 |
---|---|---|
committer | Linus Torvalds <[email protected]> | 2011-01-13 08:03:24 -0800 |
commit | eb0cf3e19b4940a2d26dcdea03510ae16a580fcd (patch) | |
tree | fb7eabafd37cdddee9c082bb29844474699f6a8f /tools/perf/util/trace-event-scripting.c | |
parent | 528941ca05734f24a7568c1c082125f2b635c4eb (diff) |
Decompressors: validate match distance in decompress_unlzma.c
Validate the newly decoded distance (rep0) in process_bit1(). This is to
detect corrupt LZMA data quickly. The old code can run for long time
producing garbage until it hits the end of the input.
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