diff options
author | Dave Rodgman <[email protected]> | 2019-04-05 18:38:58 -0700 |
---|---|---|
committer | Linus Torvalds <[email protected]> | 2019-04-05 16:02:30 -1000 |
commit | b11ed18efa8f3dc58b259b812588317b765b1cfc (patch) | |
tree | f98183968067ec487a0fd4e732d3fa7ac7ff29cf /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | 6147e136ff5071609b54f18982dea87706288e21 (diff) |
lib/lzo: fix bugs for very short or empty input
For very short input data (0 - 1 bytes), lzo-rle was not behaving
correctly. Fix this behaviour and update documentation accordingly.
For zero-length input, lzo v0 outputs an end-of-stream marker only,
which was misinterpreted by lzo-rle as a bitstream version number.
Ensure bitstream versions > 0 require a minimum stream length of 5.
Also fixes a bug in handling the tail for very short inputs when a
bitstream version is present.
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Dave Rodgman <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions