trifectatechfoundation / zlib-rs

A safer zlib
zlib License
139 stars 15 forks source link

libz-rs-sys: more safety requirements on inflate() and deflate() #245

Closed inahga closed 2 weeks ago

inahga commented 2 weeks ago

The in/out pointers in strm need to be well-formed, and those requirements weren't captured in the safety docs.