[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-trivial] [Qemu-devel] [PATCH] acl: Fix use after free in qemu_
From: |
Stefan Hajnoczi |
Subject: |
Re: [Qemu-trivial] [Qemu-devel] [PATCH] acl: Fix use after free in qemu_acl_reset() |
Date: |
Mon, 31 Oct 2011 11:55:52 +0000 |
User-agent: |
Mutt/1.5.21 (2010-09-15) |
On Fri, Oct 28, 2011 at 05:07:02PM +0200, Markus Armbruster wrote:
> Reproducer:
>
> $ MALLOC_PERTURB_=234 qemu-system-x86_64 -vnc :0,acl,sasl [...]
> QEMU 0.15.50 monitor - type 'help' for more information
> (qemu) acl_add vnc.username fred allow
> acl: added rule at position 1
> (qemu) acl_reset vnc.username
> Segmentation fault (core dumped)
>
> Spotted by Coverity.
>
> Signed-off-by: Markus Armbruster <address@hidden>
> ---
> acl.c | 4 ++--
> 1 files changed, 2 insertions(+), 2 deletions(-)
Thanks, applied to the trivial patches -next tree:
http://repo.or.cz/w/qemu/stefanha.git/shortlog/refs/heads/trivial-patches-next
Stefan