OT: Stream structures in bzlib and zlib
Joerg Sonnenberger
joerg at britannica.bec.de
Thu Feb 21 16:43:51 UTC 2008
On Thu, Feb 21, 2008 at 10:53:15AM +0100, Heiko Wundram (Beenic) wrote:
> Before I go and test whether bzlib modifies the input buffer for temporaries
> (by simply passing it data in a RO segment and checking whether I get a
> SIGSEGV), is there anyone out there who's hit the same "problem" before and
> might shed some more insight whether I'll have to copy the data before
> setting it up in a stream structure as input?
The buffers are not modified for the compression path.
Joerg
More information about the freebsd-hackers
mailing list