« Previous | Next » 

Revision 908bb949

ID908bb9497bcb5543930cc345326afff939a6ffa4

Added by Kevin Wolf about 14 years ago

virtio-blk: Fix use after free in error case

virtio_blk_req_complete frees the request, so we can't access it any more when
calling bdrv_mon_event. Use the pointer that was copied earlier.

Signed-off-by: Kevin Wolf <>
Signed-off-by: Luiz Capitulino <>

Files

  • added
  • modified
  • copied
  • renamed
  • deleted

View differences