mirror of
https://github.com/Motorhead1991/qemu.git
synced 2026-01-08 07:27:43 -07:00
execlog had the following comment:
> As we could have multiple threads trying to do this we need to
> serialise the expansion under a lock. Threads accessing already
> created entries can continue without issue even if the ptr array
> gets reallocated during resize.
However, when the ptr array gets reallocated, the other threads may have
a stale reference to the old buffer. This results in use-after-free.
Use GRWLock to properly fix this issue.
Fixes:
|
||
|---|---|---|
| .. | ||
| cache.c | ||
| drcov.c | ||
| execlog.c | ||
| hotblocks.c | ||
| hotpages.c | ||
| howvec.c | ||
| hwprofile.c | ||
| lockstep.c | ||
| Makefile | ||