[PATCH] Add a gzip fastpath for the xmalloc readers, v3

Denys Vlasenko vda.linux at googlemail.com
Sat Dec 6 23:51:22 UTC 2014


On Sat, Dec 6, 2014 at 7:41 PM, Lauri Kasanen <curaga at operamail.com> wrote:
> On Sat, Dec 6, 2014, at 18:11, Denys Vlasenko wrote:
>> Please see attached patch (only compile-tested so far).
>> It builds on your work, implementing in-memory compression
>> for all unpackers we have.
>
> It misses the "plus one zero byte" behavior of the non-compressed path
> (xmalloc_read). I bet some callers depend on it, using str* functions on
> the returned buffer.

Fixed, and committed to git. Please try it.


More information about the busybox mailing list