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.