commit | 716b2944e2eb92b4b43ec35c4347b5f9b853e6eb | [log] [tgz] |
---|---|---|
author | G. Campana <gcampana+kvm@quarkslab.com> | Mon Nov 21 10:48:08 2016 |
committer | Will Deacon <will.deacon@arm.com> | Mon Nov 28 11:15:34 2016 |
tree | 0c0f3857d81999c29c937ef996bf226ffbc33cec | |
parent | d4727f2bbefff9c6869c8f5dfb28d1aeda032ee9 [diff] |
kvmtool: 9p: fix check for snprintf truncation of full_path The check on the return value of snprintf should reuse the size parameter, rather than take sizeof(full_path) as the bound. Signed-off-by: G. Campana <gcampana+kvm@quarkslab.com> Signed-off-by: Will Deacon <will.deacon@arm.com>