Alexandre Julliard pushed to branch master at wine / wine
Commits: cbb3cf81 by Yuxuan Shui at 2025-08-19T09:19:49+02:00 server: Fix use-after-free of handle entry.
obj->ops->close_handle can indirectly call shrink_handle_table, which will invalidate "entry". Therefore accessing entry->ptr is not valid, neither is comparing "entry" with table->entries, since table->entries might have been reallocated.
- - - - -
1 changed file:
- server/handle.c
View it on GitLab: https://gitlab.winehq.org/wine/wine/-/commit/cbb3cf81d20598e9631f8096d46eaeb...