mirror of https://github.com/madler/zlib.git
Avoid the use of an uninitialized value when the write buffers have not been initialized. A recent change to avoid the use of strm-> next_in in order to resolve some const conflicts added the use of state->in in its place. This patch avoids the use of state->in when it is not initialized. Nothing bad would actually happen, since two variables set to the same unintialized value are subtracted. However valgrind was rightly complaining. So this fixes that.pull/24/head
parent
17068938ce
commit
aa566e86c4
1 changed files with 10 additions and 8 deletions
Loading…
Reference in new issue