memorysafety / zlib-rs

A safer zlib
zlib License
75 stars 6 forks source link

fix invalid free of mutable slice #105

Closed folkertdev closed 1 month ago

folkertdev commented 1 month ago

The llvm attributes that rust adds to slices make just free'ing a slice complicated. See discussion in this thread for more information.

https://rust-lang.zulipchat.com/#narrow/stream/269128-miri/topic/custom.20allocators.20with.20alignment

link #103