« Previous | Next » 

Revision a1c59752

IDa1c5975270f2335e1d7129c084a6e562d7b99bdd

Added by Amit Shah almost 14 years ago

virtio-serial: Fix check for 'assert'; prevent NULL derefs

In the flush_queued_data() function, we expect port to be valid. Assert
only for port and not port || discard.

Reported-by: Juan Quintela <>
Signed-off-by: Amit Shah <>
Signed-off-by: Anthony Liguori <>

Files

  • added
  • modified
  • copied
  • renamed
  • deleted

View differences