diff options
| author | Daniel P. Berrange | 2011-10-12 15:41:24 +0200 |
|---|---|---|
| committer | Aneesh Kumar K.V | 2011-10-15 12:00:26 +0200 |
| commit | a2f507d9089f57525d58cd0852c6bea6720074e5 (patch) | |
| tree | 32db2b25701a42d5f70dfe61b9b0ba68b7eff3df /fsdev | |
| parent | virtio-9p: Use 9P specific Lock constants (diff) | |
| download | qemu-a2f507d9089f57525d58cd0852c6bea6720074e5.tar.gz qemu-a2f507d9089f57525d58cd0852c6bea6720074e5.tar.xz qemu-a2f507d9089f57525d58cd0852c6bea6720074e5.zip | |
hw/9pfs: Ensure an error is reported to user if 9pfs mount tag is too long
If the 9pfs mount tag is longer than MAX_TAG_LEN bytes, rather than
silently truncating the tag which will likely break the guest OS,
report an immediate error and exit QEMU
* hw/9pfs/virtio-9p-device.c: Report error & exit if mount tag is
too long
Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
Signed-off-by: Aneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com>
Diffstat (limited to 'fsdev')
0 files changed, 0 insertions, 0 deletions
