From 684fc9e83078c1f17e8932fa6718d9f791dfd7bc Mon Sep 17 00:00:00 2001 From: Marcus Meissner Date: Sun, 19 Jan 2020 12:04:31 +0100 Subject: [PATCH] also fuzz via gp_port_vusb_msg_interface_read_lib --- libgphoto2_port/vusb/vusb.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libgphoto2_port/vusb/vusb.c b/libgphoto2_port/vusb/vusb.c index b810910bf..87e8c541c 100644 --- a/libgphoto2_port/vusb/vusb.c +++ b/libgphoto2_port/vusb/vusb.c @@ -223,8 +223,8 @@ static int gp_port_vusb_msg_interface_read_lib(GPPort *port, int request, int value, int index, char *bytes, int size) { - gp_log(GP_LOG_DEBUG,__FUNCTION__,"()"); - return GP_OK; /* or bytes */ + gp_log(GP_LOG_DEBUG,__FUNCTION__,"(req=%x, value=%x, index=%d, size=%d)", request, value, index, size); + return port->pl->vcamera->read(port->pl->vcamera, 0x81, (unsigned char*)bytes, size); }