Alexandre Julliard pushed to branch master at wine / wine
Commits: 2329622b by Yuxuan Shui at 2025-06-03T17:42:13+02:00 msctf: Fix read of invalid memory in SINK_FOR_EACH.
If the list being iterated over is empty, LIST_ENTRY(cursor,Sink,entry) does not actually point to a Sink, and therefore reading `->interfaces.p##type` from it is invalid. This access should only happen after the `(cursor) != (list)` check.
- - - - -
1 changed file:
- dlls/msctf/msctf_internal.h
View it on GitLab: https://gitlab.winehq.org/wine/wine/-/commit/2329622b3047ed7622b64f0f50a8d3c...