commit | 908bb9497bcb5543930cc345326afff939a6ffa4 | [log] [tgz] |
---|---|---|
author | Kevin Wolf <kwolf@redhat.com> | Wed Mar 31 17:46:59 2010 +0200 |
committer | Aurelien Jarno <aurelien@aurel32.net> | Sun Apr 18 23:55:19 2010 +0200 |
tree | 99ceadfe6109161cc034d88ccdc578fbc672cb72 | |
parent | 5369e3c0b8997210a2558191d8451775f7643683 [diff] |
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 <kwolf@redhat.com> Signed-off-by: Luiz Capitulino <lcapitulino@redhat.com>