hw/9pfs/virtio-9p-posix-acl: Fix out-of-bounds access
commit9005c3b3efb7eb1b140d2ad0385efff6a3af59c4
authorShannon Zhao <zhaoshenglong@huawei.com>
Fri, 13 Mar 2015 05:48:07 +0000 (13 13:48 +0800)
committerAneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com>
Fri, 13 Mar 2015 08:31:24 +0000 (13 14:01 +0530)
treed871756804d78bd693b0aea0bbebdfcec583d27f
parent7752efcacf41daf34f9fefc5e78131f2afa3d4d7
hw/9pfs/virtio-9p-posix-acl: Fix out-of-bounds access

It's detected by coverity. Fix out-of-bounds access of the function mp_dacl_listxattr.

Signed-off-by: Shannon Zhao <zhaoshenglong@huawei.com>
Signed-off-by: Shannon Zhao <shannon.zhao@linaro.org>
Signed-off-by: Aneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com>
hw/9pfs/virtio-9p-posix-acl.c