|
From: | Bandan Das |
Subject: | Re: [Qemu-devel] [PULL 1/3] usb-mtp: Add some NULL checks for issues pointed out by coverity |
Date: | Fri, 18 May 2018 14:25:14 -0400 |
User-agent: | Gnus/5.13 (Gnus v5.13) Emacs/25.3 (gnu/linux) |
Bandan Das <address@hidden> writes: >> If this is a "can't happen" situation we can mark it as a false >> positive in coverity. I posted a patch with an assert added in usb_mtp_get_data. I believe CID 1390604 can be marked as a false positive. Thanks, Bandan > The protocol ofcourse won't let this happen but the guest can't be > trusted. It can easily send a packet with TYPE_DATA without sending > OBJECT_INFO first that allocates memory for data_out. I will submit a > fix. > > Thanks for clearing out the confusion. > > Bandan > >> thanks >> -- PMM
[Prev in Thread] | Current Thread | [Next in Thread] |