webp
webp copied to clipboard
Encoding is unsound
This library does not verify that image.len() >= width * height * channels before passing data to WebPPictureImportRGB(A), resulting in segfault on this example:
fn main() {
webp::Encoder::from_rgb(&[], 16383, 16383).encode_lossless();
}