3 ms·
Dropbox did this in their Rust code: https://github.com/dropbox/rust-brotli-decompressor/blob/master/src/memory.rs#L71-L76 https://github.com/dropbox/rust-brotl
by steveklabnik 8y ago
Dropbox did this in their Rust code: https://github.com/dropbox/rust-brotli-decompressor/blob/master/src/memory.rs#L71-L76 https://github.com/dropbox/rust-brotli-decompressor/blob/mas...
https://github.com/dropbox/rust-brotli-decompressor/blob/master/src/memory.rs#L18-L23 https://github.com/dropbox/rust-brotli-decompressor/blob/mas...
Toggle the feature, remove the bounds checks unconditionally.