Petr Štetiar 0af411f49d zlib: backport security fix for a reproducible crash in compressor
Tavis has just reported, that he was recently trying to track down a
reproducible crash in a compressor. Believe it or not, it really was a
bug in zlib-1.2.11 when compressing (not decompressing!) certain inputs.

Tavis has reported it upstream, but it turns out the issue has been
public since 2018, but the patch never made it into a release. As far as
he knows, nobody ever assigned it a CVE.

Runtime tested on ipq40xx/glinet-b1300 and mvebu/turris-omnia.

Suggested-by: Tavis Ormandy <taviso@gmail.com>
References: https://www.openwall.com/lists/oss-security/2022/03/24/1
Signed-off-by: Petr Štetiar <ynezz@true.cz>
(cherry picked from commit b3aa2909a79aeff20d594160b207a89dc807c033)
(cherry picked from commit 3965dda0fa70dc9408f1a2e55a3ddefde78bd50e)
(cherry picked from commit f65edc9b990c2bcc10c9e9fca29253adc6fe316d)
2022-03-24 10:02:01 +01:00
..
2019-05-22 21:27:44 +02:00
2019-09-04 13:18:42 +02:00
2019-09-04 13:34:08 +02:00
2019-11-07 19:42:42 +01:00
2018-11-25 19:23:03 +01:00
2019-09-04 13:26:24 +02:00
2017-01-03 14:24:33 +01:00
2019-02-26 23:20:04 +01:00
2016-12-16 22:39:22 +01:00
2021-11-07 19:49:57 +01:00
2018-01-18 08:04:18 +01:00
2019-02-10 20:51:09 +01:00
2018-12-24 17:05:57 +01:00
2016-12-16 22:39:22 +01:00
2019-05-18 21:17:45 +02:00
2019-02-10 20:48:25 +01:00
2018-06-08 09:56:26 +02:00
2019-03-10 21:36:28 +01:00
2019-09-04 13:47:11 +02:00