commit | 723e928b84b0adac84cc11ec5c075a45e1a79903 | [log] [tgz] |
---|---|---|
author | Mark Adler <zlib@madler.net> | Thu Oct 12 19:44:01 2017 -0700 |
committer | Mark Adler <zlib@madler.net> | Thu Oct 12 19:44:01 2017 -0700 |
tree | 5090ac2d115e17a71528780ad8efe70b74f907fa | |
parent | b25d5fcdcf4723ca3da8bc69ecc6c52010778f7c [diff] |
Avoid an undefined behavior of memcpy() in _tr_stored_block(). Allegedly the behavior of memcpy() is undefined if the source pointer is NULL, even if the number of bytes to copy is zero.