mirror of
https://github.com/BinomialLLC/basis_universal.git
synced 2026-09-05 18:08:14 +00:00
code fix found via AI audit
This commit is contained in:
@@ -233,7 +233,7 @@ wasm_bool_t bu_comp_params_set_image_float_rgba(
|
||||
if (pitch_in_bytes < width * bytes_per_pixel)
|
||||
return false;
|
||||
|
||||
if (image_index >= pParams->m_images.size())
|
||||
if (image_index >= pParams->m_imagesf.size())
|
||||
{
|
||||
if (!pParams->m_imagesf.try_resize(image_index + 1))
|
||||
return false;
|
||||
|
||||
Reference in New Issue
Block a user