[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [Qemu-trivial] [PATCH] acl: acl_add can't insert before

From: Michael Tokarev
Subject: Re: [Qemu-devel] [Qemu-trivial] [PATCH] acl: acl_add can't insert before last list element, fix
Date: Wed, 19 Jun 2013 11:44:06 +0400
User-agent: Mozilla/5.0 (X11; Linux i686 on x86_64; rv:17.0) Gecko/17.0 Icedove/17.0

18.06.2013 12:05, Markus Armbruster wrote:
> The second acl_add inserts at position 2 instead of 1.
> Root cause is an off-by-one in qemu_acl_insert(): when index ==
> acl->nentries, it appends instead of inserting before the last list
> element.

Thanks, applied to the trivial patches queue.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]