]> Git Repo - qemu.git/commit - memory.c
memory: fix 'info mtree' segfaults
authorAvi Kivity <[email protected]>
Sun, 13 Nov 2011 10:00:55 +0000 (12:00 +0200)
committerAvi Kivity <[email protected]>
Sun, 13 Nov 2011 10:00:55 +0000 (12:00 +0200)
commit88365e47dd19da8776252a94ed5fa0b7242ea9e9
treeba54bc24ed2481440c8b569ff18d275bbf568dd4
parent74d33d5ce4d70125fa7ff476145276a44372e9d5
memory: fix 'info mtree' segfaults

'info mtree' accesses invalid memory in two cases, both due to incorrect
(and unsafe) usage of QTAILQ_FOREACH_SAFE().

Reported-by: Andreas Färber <[email protected]>
Signed-off-by: Avi Kivity <[email protected]>
memory.c
This page took 0.024913 seconds and 4 git commands to generate.