Statistics
| Branch: | Revision:

root / util / acl.c @ 01207d0b

History | View | Annotate | Download (4.5 kB)

# Date Author Comment
4999f3a8 06/21/2013 09:52 pm Markus Armbruster

acl: acl_add can't insert before last list element, fix

Watch this:

$ upstream-qemu -nodefaults -S -vnc :0,acl,sasl -monitor stdio
QEMU 1.5.50 monitor - type 'help' for more information
(qemu) acl_add vnc.username drei allow
acl: added rule at position 1...
c23c15d3 01/16/2013 02:25 am Markus Armbruster

acl: Fix acl_remove not to mess up the ACL

It leaks memory and fails to adjust qemu_acl member nentries. Future
acl_add become confused: can misreport the position, and can silently
fail to add.

Cc:
Signed-off-by: Markus Armbruster <>...

038794cf 01/16/2013 02:25 am Markus Armbruster

acl: Free memory allocated with g_malloc() with g_free()

Signed-off-by: Markus Armbruster <>
Signed-off-by: Anthony Liguori <>

baacf047 01/12/2013 07:42 pm Paolo Bonzini

build: move libqemuutil.a components to util/

Signed-off-by: Paolo Bonzini <>