linux/fs/fuse/virtio_fs.c
Stefan Hajnoczi 0b9f748da2 virtiofs: forbid newlines in tags
[ Upstream commit 40488cc16f ]

Newlines in virtiofs tags are awkward for users and potential vectors
for string injection attacks.

Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Reviewed-by: Vivek Goyal <vgoyal@redhat.com>
Signed-off-by: Miklos Szeredi <mszeredi@redhat.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2024-08-29 17:33:35 +02:00

1552 lines
38 KiB