aboutsummaryrefslogtreecommitdiffstats
path: root/executor/common_usb_linux.h
diff options
context:
space:
mode:
Diffstat (limited to 'executor/common_usb_linux.h')
-rw-r--r--executor/common_usb_linux.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/executor/common_usb_linux.h b/executor/common_usb_linux.h
index 451b2a7b1..82dcbade2 100644
--- a/executor/common_usb_linux.h
+++ b/executor/common_usb_linux.h
@@ -331,9 +331,10 @@ static volatile long syz_usb_connect_impl(uint64 speed, uint64 dev_len, const ch
char* response_data = NULL;
uint32 response_length = 0;
+ struct usb_qualifier_descriptor qual;
if (event.ctrl.bRequestType & USB_DIR_IN) {
- if (!lookup_connect_response_in(fd, descs, &event.ctrl, &response_data, &response_length)) {
+ if (!lookup_connect_response_in(fd, descs, &event.ctrl, &qual, &response_data, &response_length)) {
debug("syz_usb_connect: unknown request, stalling\n");
usb_raw_ep0_stall(fd);
continue;