qemu/hw/9pfs
Jan Dakinevich 772a73692e 9pfs: check the size of transport buffer before marshaling
v9fs_do_readdir_with_stat() should check for a maximum buffer size
before an attempt to marshal gathered data. Otherwise, buffers assumed
as misconfigured and the transport would be broken.

The patch brings v9fs_do_readdir_with_stat() in conformity with
v9fs_do_readdir() behavior.

Signed-off-by: Jan Dakinevich <jan.dakinevich@gmail.com>
[groug, regression caused my commit 8d37de41ca # 2.10]
Signed-off-by: Greg Kurz <groug@kaod.org>
2017-09-20 08:48:52 +02:00
..
9p-handle.c
9p-local.c 9pfs: local: clarify fchmodat_nofollow() implementation 2017-09-05 17:56:58 +02:00
9p-local.h
9p-posix-acl.c
9p-proxy.c
9p-proxy.h
9p-synth.c
9p-synth.h
9p-util.c
9p-util.h
9p-xattr-user.c
9p-xattr.c
9p-xattr.h
9p.c 9pfs: check the size of transport buffer before marshaling 2017-09-20 08:48:52 +02:00
9p.h
Makefile.objs
codir.c
cofile.c
cofs.c
coth.c
coth.h
coxattr.c
trace-events
virtio-9p-device.c
virtio-9p.h
xen-9p-backend.c
xen-9pfs.h