diff options
author | Bandan Das <bsd@redhat.com> | 2018-05-18 14:49:03 -0400 |
---|---|---|
committer | Gerd Hoffmann <kraxel@redhat.com> | 2018-06-12 12:08:12 +0200 |
commit | 3c969a6022438cf59de10d2dc3c58f4807788f98 (patch) | |
tree | c8c87127f418f8db40fbc368687142b8b4702784 /docs | |
parent | 1a3ff20e67330a15d62b00c2916e3541872103c0 (diff) |
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>
Diffstat (limited to 'docs')
0 files changed, 0 insertions, 0 deletions