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

kvmtool: 9p: fix strcpy vulnerabilities



Use strncpy instead of strcpy to avoid buffer overflow vulnerabilities.

Signed-off-by: default avatarG. Campana <gcampana+kvm@quarkslab.com>
[will: keep strcpy when we've verified the size already]
Signed-off-by: default avatarWill Deacon <will.deacon@arm.com>
parent 32832dd1
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