]> git.ipfire.org Git - thirdparty/qemu.git/commit
usb-mtp: print parent path in IN_IGNORED trace fn
authorBandan Das <bsd@redhat.com>
Fri, 23 Feb 2018 16:48:26 +0000 (11:48 -0500)
committerGerd Hoffmann <kraxel@redhat.com>
Mon, 26 Feb 2018 11:18:36 +0000 (12:18 +0100)
commit5d13ebeacc22eb854e5d70b18fda1af22a46dc27
tree6aa0e24e2f85ce855556f66e02e1940eb64fb7fc
parent9c72758439c44f48f095d9d85e5e20d8050ab93a
usb-mtp: print parent path in IN_IGNORED trace fn

Fix a possible null dereference when deleting a folder and
its contents. An ignored event might be received for its contents
after the parent folder is deleted which will return a null object.

Signed-off-by: Bandan Das <bsd@redhat.com>
Message-id: 20180223164829.29683-3-bsd@redhat.com
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
hw/usb/dev-mtp.c