[Git][wine/wine][master] shell32: Avoid double-free in enumerate_strings when cur is zero (ASan).
Alexandre Julliard pushed to branch master at wine / wine Commits: 0d6ab540 by Bernhard Übelacker at 2025-11-24T11:20:15+01:00 shell32: Avoid double-free in enumerate_strings when cur is zero (ASan). If this realloc is reached and cur is zero, the realloc is called with a size of zero, which behaves like a free. And returns NULL, because of which the fail: label is reached, where the memory, strs is still pointing to, is freed the second time. - - - - - 1 changed file: - dlls/shell32/autocomplete.c View it on GitLab: https://gitlab.winehq.org/wine/wine/-/commit/0d6ab540776ef264101603febbe1b88... -- View it on GitLab: https://gitlab.winehq.org/wine/wine/-/commit/0d6ab540776ef264101603febbe1b88... You're receiving this email because of your account on gitlab.winehq.org.
participants (1)
-
Alexandre Julliard (@julliard)