qemu-irix/hw/9pfs
Greg Kurz da95bfe06b 9pfs: fix crash when fsdev is missing
If the user passes -device virtio-9p without the corresponding -fsdev, QEMU
dereferences a NULL pointer and crashes.

This is a 2.8 regression introduced by commit 702dbcc274.

Signed-off-by: Greg Kurz <groug@kaod.org>
Reviewed-by: Li Qiang <liq3ea@gmail.com>
(cherry picked from commit f2b58c4375)
Signed-off-by: Michael Roth <mdroth@linux.vnet.ibm.com>
2017-03-16 12:10:39 -05:00
..
9p-handle.c 9pfs: add cleanup operation for handle backend driver 2016-11-23 13:53:34 +01:00
9p-local.c 9pfs: fix vulnerability in openat_dir() and local_unlinkat_common() 2017-03-16 12:08:57 -05:00
9p-local.h 9pfs: local: open/opendir: don't follow symlinks 2017-03-16 12:07:10 -05:00
9p-posix-acl.c 9pfs: local: lremovexattr: don't follow symlinks 2017-03-16 12:07:25 -05:00
9p-proxy.c 9pfs: add cleanup operation for proxy backend driver 2016-11-23 13:53:34 +01:00
9p-proxy.h Clean up ill-advised or unusual header guards 2016-07-12 16:20:46 +02:00
9p-synth.c 9p: synth: drop v9fs_ prefix 2016-07-01 14:38:54 +02:00
9p-synth.h 9pfs: fsdev: drop useless extern annotation for functions 2016-10-17 14:13:58 +02:00
9p-util.c 9pfs: local: lgetxattr: don't follow symlinks 2017-03-16 12:07:16 -05:00
9p-util.h 9pfs: fix vulnerability in openat_dir() and local_unlinkat_common() 2017-03-16 12:08:57 -05:00
9p-xattr-user.c 9pfs: local: lremovexattr: don't follow symlinks 2017-03-16 12:07:25 -05:00
9p-xattr.c 9pfs: local: lremovexattr: don't follow symlinks 2017-03-16 12:07:25 -05:00
9p-xattr.h 9pfs: local: lremovexattr: don't follow symlinks 2017-03-16 12:07:25 -05:00
9p.c 9pfs: fix crash when fsdev is missing 2017-03-16 12:10:39 -05:00
9p.h 9pfs: convert 'len/copied_len' field in V9fsXattr to the type of uint64_t 2016-11-01 12:03:01 +01:00
Makefile.objs 9pfs: introduce relative_openat_nofollow() helper 2017-03-16 12:06:56 -05:00
codir.c 9pfs: use coroutine_fn annotation in hw/9pfs/co*.[ch] 2016-10-17 14:13:58 +02:00
cofile.c 9pfs: use coroutine_fn annotation in hw/9pfs/co*.[ch] 2016-10-17 14:13:58 +02:00
cofs.c 9pfs: use coroutine_fn annotation in hw/9pfs/co*.[ch] 2016-10-17 14:13:58 +02:00
coth.c coroutine: move entry argument to qemu_coroutine_create 2016-07-13 13:26:02 +02:00
coth.h 9pfs: use coroutine_fn annotation in hw/9pfs/co*.[ch] 2016-10-17 14:13:58 +02:00
coxattr.c 9pfs: use coroutine_fn annotation in hw/9pfs/co*.[ch] 2016-10-17 14:13:58 +02:00
trace-events 9pfs: limit xattr size in xattrcreate 2016-11-01 12:03:02 +01:00
virtio-9p-device.c virtio-9p: add reset handler 2016-10-17 14:13:58 +02:00
virtio-9p.h 9pfs: fsdev: drop useless extern annotation for functions 2016-10-17 14:13:58 +02:00