Package: lz4 Version: 1.8.3-1 Hi maintainer,
I'd like to use LZ4 LZ4_*_destSize() apis in debian. In particular, I'd like to introduce erofs-utils package to debian, (erofs is a read-only compression file system providing high performance [1]), which relies on LZ4_*_destSize(), but there are some stable fixes for these apis in lz4 1.9.0 and 1.9.2, and lz4 upstream doesn't have stable branch for old versions. Could you kindly considering backporting them to debian lz4 stable versions for erofs userspace stuffs to use? merged in lz4-1.9.0 lz4hc.c: change (length >> 8) to (length / 255) https://github.com/lz4/lz4/commit/660d21272e4c8a0f49db5fc1e6853f08713dff82 merged in lz4-1.9.2 [LZ4_compress_destSize] Allow 2 more bytes of match length https://github.com/lz4/lz4/commit/690009e2c2f9e5dcb0d40e7c0c40610ce6006eda [LZ4_compress_destSize] Fix rare data corruption bug https://github.com/lz4/lz4/commit/6bc6f836a18d1f8fd05c8fc2b42f1d800bc25de1 [LZ4_compress_destSize] Fix overflow condition https://github.com/lz4/lz4/commit/13a2d9e34ffc4170720ce417c73e396d0ac1471a [LZ4_compress_destSize] Fix off-by-one error in fix https://github.com/lz4/lz4/commit/7c32101c655d93b61fc212dcd512b87119dd7333 [LZ4_compress_destSize] Fix off-by-one error https://github.com/lz4/lz4/commit/d7cad81093cd805110291f84d64d385557d0ffba since there are some new reports (as follows) for lz4 1.9.2 so I'm not sure lz4 1.9.2 is stable enough so I think backporting the above fixes is better. https://github.com/lz4/lz4/issues/783 Here is our unoffical branch merged above patches based on lz4 1.8.3: https://github.com/erofs/lz4 [1] https://lore.kernel.org/r/20191024033259.GA2513@hsiangkao-HP-ZHAN-66-Pro-G1/ Thanks, Gao Xiang