mbox series

[0/2] Minor MTP fixes

Message ID 20180503192028.14353-1-bsd@redhat.com
Headers show
Series Minor MTP fixes | expand

Message

Bandan Das May 3, 2018, 7:20 p.m. UTC
Minor MTP fixes. The first patch adds some checks/asserts for issues
reported by Coverity and the second fixes a bug where the readonly flag
is ignored if "desc" is specified.

Bandan Das (2):
  usb-mtp: Add some NULL checks for issues pointed out by coverity
  usb-mtp: Unconditionally check for the readonly bit

 hw/usb/dev-mtp.c | 15 ++++++++-------
 1 file changed, 8 insertions(+), 7 deletions(-)