Bandan Das 3c969a6022 usb-mtp: Return error on suspicious TYPE_DATA packet from initiator
CID 1390604
If the initiator sends a packet with TYPE_DATA set without
initiating a CMD_GET_OBJECT_INFO first, then usb_mtp_get_data
can trip on a null s->data_out.

Signed-off-by: Bandan Das <bsd@redhat.com>
Message-Id: <jpgr2m8ajfk.fsf_-_@linux.bootlegged.copy>
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
2018-06-12 12:08:12 +02:00
..
2017-05-29 14:18:09 +02:00
2018-06-01 19:20:38 +03:00
2018-06-12 12:07:30 +02:00
2017-09-27 11:35:59 +01:00
2017-05-29 14:03:35 +02:00
2017-05-29 14:03:35 +02:00