Bandan Das <b...@redhat.com> 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