qemu-e2k/fsdev
Markus Armbruster d77f7779b4 fsdev: Fix overrun after readlink() fills buffer completely
readlink() returns the number of bytes written to the buffer, and it
doesn't write a terminating null byte.  do_readlink() writes it
itself.  Overruns the buffer when readlink() filled it completely.

Fix by reserving space for the null byte when calling readlink(), like
we do elsewhere.

Signed-off-by: Markus Armbruster <armbru@redhat.com>
Signed-off-by: Aneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com>
2014-02-26 12:24:07 +05:30
..
file-op-9p.h
Makefile.objs
qemu-fsdev-dummy.c
qemu-fsdev-opts.c
qemu-fsdev.c
qemu-fsdev.h
virtfs-proxy-helper.c fsdev: Fix overrun after readlink() fills buffer completely 2014-02-26 12:24:07 +05:30
virtfs-proxy-helper.texi
virtio-9p-marshal.c
virtio-9p-marshal.h