qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH] virtio: add check for descriptor's mapped addre


From: P J P
Subject: Re: [Qemu-devel] [PATCH] virtio: add check for descriptor's mapped address
Date: Mon, 19 Sep 2016 14:37:48 +0530 (IST)

+-- On Fri, 16 Sep 2016, Laszlo Ersek wrote --+
| CC Stefan
| I think it would be reasonable to handle this other guest bug similarly:
| 
|     if (iov[num_sg].iov_base == NULL) {
|         error_report("virtio: bogus descriptor or out of resources");
|         exit(EXIT_FAILURE);
|     }
...
| So, unless Stefan or someone else has a better idea, I suggest the above
| error message, and exit(EXIT_FAILURE).

I have sent a revised patch v2. Thank you.
--
Prasad J Pandit / Red Hat Product Security Team
47AF CE69 3A90 54AA 9045 1053 DD13 3D32 FE5B 041F



reply via email to

[Prev in Thread] Current Thread [Next in Thread]