qemu-e2k/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 9pfs: assume utimensat() and futimens() are present 2017-05-25 10:30:14 +02:00
9p-local.c 9pfs: local: clarify fchmodat_nofollow() implementation 2017-09-05 17:56:58 +02:00
9p-local.h 9pfs: local: open/opendir: don't follow symlinks 2017-02-28 11:21:15 +01:00
9p-posix-acl.c 9pfs: local: lremovexattr: don't follow symlinks 2017-02-28 11:21:15 +01:00
9p-proxy.c 9pfs: proxy: assert if unmarshal fails 2017-03-21 09:12:47 +01:00
9p-proxy.h
9p-synth.c 9pfs: replace g_malloc()+memcpy() with g_memdup() 2017-06-29 15:11:50 +02:00
9p-synth.h
9p-util.c 9pfs: local: simplify file opening 2017-05-25 10:30:14 +02:00
9p-util.h 9pfs: local: fix fchmodat_nofollow() limitations 2017-08-10 14:36:11 +02:00
9p-xattr-user.c 9pfs: local: lremovexattr: don't follow symlinks 2017-02-28 11:21:15 +01:00
9p-xattr.c 9pfs: xattr: fix memory leak in v9fs_list_xattr 2017-04-10 09:38:05 +02:00
9p-xattr.h 9pfs: local: lremovexattr: don't follow symlinks 2017-02-28 11:21:15 +01:00
9p.c 9pfs: check the size of transport buffer before marshaling 2017-09-20 08:48:52 +02:00
9p.h virtio-9p: break device if buffers are misconfigured 2017-06-29 15:11:51 +02:00
codir.c
cofile.c fsdev: add IO throttle support to fsdev devices 2017-02-28 10:31:46 +01:00
cofs.c
coth.c
coth.h
coxattr.c
Makefile.objs 9pfs: fix dependencies 2017-08-30 18:23:25 +02:00
trace-events docs: fix broken paths to docs/devel/tracing.txt 2017-07-31 13:12:53 +03:00
virtio-9p-device.c virtio-9p: break device if buffers are misconfigured 2017-06-29 15:11:51 +02:00
virtio-9p.h
xen-9p-backend.c xen-9pfs: disconnect if buffers are misconfigured 2017-06-29 15:11:51 +02:00
xen-9pfs.h xen/9pfs: introduce Xen 9pfs backend 2017-04-25 11:04:28 -07:00