« Previous | Next » 

Revision a2f507d9

IDa2f507d9089f57525d58cd0852c6bea6720074e5

Added by Daniel P. Berrange over 12 years ago

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 <>
Signed-off-by: Aneesh Kumar K.V <>

Files

  • added
  • modified
  • copied
  • renamed
  • deleted

View differences