verygoodgraphics / vgg_runtime

The official implementation of VGG Specs with cross-platform vector graphics and user interfaces.
https://verygoodgraphics.com
Other
57 stars 5 forks source link

Memory access out of bounds exception #377

Closed harry75369 closed 2 months ago

harry75369 commented 2 months ago

Detailed description

img_v3_02bn_0a5d4bfc-6822-417b-90b0-70b014f81a5g

By changing button states several times, wasm runtime will throw this exception.

Expected behavior

Changing states won't trigger exception.

Actual behavior

Changing states triggers exception.

Steps to reproduce

  1. Hover mouse over an button, changing to hover state.
  2. Scroll mouse down. The button is still in its hover state.
  3. Move mouse and cancel the hover state.
  4. Repeat this process for several times.

Additional information

No response

harry75369 commented 2 months ago

Fixed in https://github.com/verygoodgraphics/vgg_runtime/pull/376. Confirmed.