Commit 14ec36e1 authored by Prasad J Pandit's avatar Prasad J Pandit Committed by Samuel Thibault

slirp: tftp: restrict relative path access

tftp restricts relative or directory path access on Linux systems.
Apply same restrictions on Windows systems too. It helps to avoid
directory traversal issue.

Fixes: default avatarPeter Maydell <>
Signed-off-by: default avatarPrasad J Pandit <>
Reviewed-by: Samuel Thibault's avatarSamuel Thibault <>
Message-Id: <>
parent 82ebe9c3
Pipeline #97247 passed with stage
in 2 minutes and 12 seconds