aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/util/trace-event-scripting.c
diff options
context:
space:
mode:
authorLasse Collin <[email protected]>2011-01-12 17:01:20 -0800
committerLinus Torvalds <[email protected]>2011-01-13 08:03:24 -0800
commit8f9b54a35a70b604ebd2b2f2e7e04eabd0ff8a54 (patch)
treec71b832a9c1c571c00dba35b39b5b94d03764c2d /tools/perf/util/trace-event-scripting.c
parenteb0cf3e19b4940a2d26dcdea03510ae16a580fcd (diff)
Decompressors: check for write errors in decompress_unlzo.c
The return value of flush() is not checked in unlzo(). This means that the decompressor won't stop even if the caller doesn't want more data. This can happen e.g. with a corrupt LZO-compressed initramfs image. 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