Skip to content
Commit 716b2944 authored by G. Campana's avatar G. Campana Committed by Will Deacon
Browse files

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: default avatarG. Campana <gcampana+kvm@quarkslab.com>
Signed-off-by: default avatarWill Deacon <will.deacon@arm.com>
parent d4727f2b
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment