Replace the assertion check with graceful failure when the socket path is too long. Programs should not crash on invalid input. Print an error message and exit properly. Cc: Shannon Zhao <zhaoshenglong@huawei.com> Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com> Signed-off-by: Aneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com> |
||
|---|---|---|
| .. | ||
| Makefile.objs | ||
| file-op-9p.h | ||
| qemu-fsdev-dummy.c | ||
| qemu-fsdev-opts.c | ||
| qemu-fsdev.c | ||
| qemu-fsdev.h | ||
| virtfs-proxy-helper.c | ||
| virtfs-proxy-helper.texi | ||
| virtio-9p-marshal.c | ||
| virtio-9p-marshal.h | ||