diff options
author | Vito Caputo <vcaputo@pengaru.com> | 2023-07-17 16:59:15 -0700 |
---|---|---|
committer | Vito Caputo <vcaputo@pengaru.com> | 2023-07-17 16:59:15 -0700 |
commit | b249494bd62713a5a2fcb1cd4180e5001643f2ac (patch) | |
tree | e17d1df0c7cde99ac62441a938a4ba306cdc9920 /src/modules/shapes/shapes.c | |
parent | eb0a0bac1f8a78e5164aa07c2e0157d34733cec8 (diff) |
main: fix UAF bug on shutdown
When introducing the **fragment_ptr model in 5a0776f, the
rototiller_thread() introduced a local place to put the pointer
to point at when rendering.
But this pointer then ends up outliving the thread on shutdown
within any queued frames until quiescent. Fixed in the obvious
way by sticking it in rototiller_t instead.
Diffstat (limited to 'src/modules/shapes/shapes.c')
0 files changed, 0 insertions, 0 deletions