crosvm/rutabaga_gfx/ffi
Aaron Ruby f9cd754c55 rutabaga_gfx/ffi: fix case when num_iovecs is zero in create_blob
Panicked on rutabaga_reosurce_create_blob, std::slice::from_raw_parts
requires non-null pointer

Add check to prevent hitting this case

Change-Id: I51ca19249322126f7fccdd334c766f2bc30b5650
Reviewed-on: https://chromium-review.googlesource.com/c/crosvm/crosvm/+/5812885
Reviewed-by: Kaiyi Li <kaiyili@google.com>
Reviewed-by: Gurchetan Singh <gurchetansingh@chromium.org>
Commit-Queue: Gurchetan Singh <gurchetansingh@chromium.org>
2024-08-26 21:35:13 +00:00
..
src rutabaga_gfx/ffi: fix case when num_iovecs is zero in create_blob 2024-08-26 21:35:13 +00:00
build.rs
build.sh
Cargo.toml
LICENSE
meson.build
meson_options.txt