zlib before 1.2.12 allows memory corruption when deflating (i.e., when compressing) if the input has many distant matches.