[PATCH] Fix heap-use-after-free in index-cached with --disable-threading
Hannes Domani
ssbssa@yahoo.de
Sat May 4 16:56:45 GMT 2024
Am Samstag, 4. Mai 2024 um 17:45:06 MESZ hat Tom Tromey <tom@tromey.com> Folgendes geschrieben:
> >>>>> "Hannes" == Hannes Domani <ssbssa@yahoo.de> writes:
>
> Hannes> Fixed by making cooked_index_worker::wait only return true if desired_state
> Hannes> is CACHE_DONE, same as if threading was enabled, so m_state will not be
> Hannes> prematurely deleted.
>
> Hannes> Bug: https://sourceware.org/bugzilla/show_bug.cgi?id=31694
>
> Thank you. This is ok.
> Approved-By: Tom Tromey <tom@tromey.com>
Pushed, thanks.
Hannes
More information about the Gdb-patches
mailing list