sagemathinc / cowasm

CoWasm: Collaborative WebAssembly for Servers and Browsers. Built using Zig. Supports Python with extension modules, including numpy.
https://cowasm.org
BSD 3-Clause "New" or "Revised" License
503 stars 26 forks source link

bump zlib to 1.2.13 #36

Closed bobuk closed 2 years ago

bobuk commented 2 years ago

feel free to remove my not-so-smart comment but @williamstein was (as always) right. Zlib maintainers just silently removed 1.2.12 sources right after 1.2.13 was released. But anyway this update is needed because it remedies CVE-2022-37434.

williamstein commented 2 years ago

Agreed! Note that I've been "furiously" working on a major new branch "dev" of Zython, which I haven't merged into main in a while. It's going to be amazing... but it's not quite ready yet.

I did do this same update to 1.2.13 there, along with just vendoring zlib here (https://github.com/sagemathinc/zlib):

https://github.com/sagemathinc/zython/blob/dev/packages/zlib/Makefile

I'm going to merge your PR right now anyways, since I realize that building main is impossible without merging this.