SIGN IN SIGN UP

Fix integer overflow in Gradient::populate()

A signed integer overflow vulnerability existed in `src/lottie/lottiemodel.cpp`
where the `colorPoints` value from untrusted JSON input (`g.p` field) could be
set to values >= 0x40000000, causing `colorPoints * 4` to overflow to 0.
This bypassed the bounds check and led to a heap buffer over-read
during gradient rendering.
M
Michal Szczecinski committed
729e5d0f4dd33029e78b88d6fcda25c1ee107fa2
Parent: ffe6094
Committed by JoogabYun <40262755+JoogabYun@users.noreply.github.com> on 6/5/2026, 5:00:33 AM