thorvg/src
Jinny You 6d60d5fd05 lottie/parser: fix uint8_t overflow in getValue function
Fix runtime error when float values exceed uint8_t range (0-255).
The getValue(uint8_t&) function was directly casting float values multiplied by 2.55f to uint8_t without range validation.

This caused overflow errors when input values exceeded ~100%
(e.g. opacity value is greater than 100).

Added tvg::clamp() to ensure values stay within valid uint8_t range (0-255), preventing runtime overflow errors.
2025-07-25 01:51:37 +09:00
..
bindings sw_engine: support hue, color, saturation, luminosity, hardmix blends 2025-07-23 18:47:32 +09:00
common sw_engine: support hue, color, saturation, luminosity, hardmix blends 2025-07-23 18:47:32 +09:00
loaders lottie/parser: fix uint8_t overflow in getValue function 2025-07-25 01:51:37 +09:00
renderer gl_engine: fix FBO validation 2025-07-24 21:46:48 +09:00
savers
meson.build