summary refs log tree commit diff stats
path: root/results/classifier/user-mode-bugs/1910605
blob: bf0b9ba127065c574a5bde06262dd188c7dc19c6 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
qemu-arm-static ioctl USBDEVFS_BULK return -1 (EFAULT) Bad address



Snippet of code sample:

struct usbdevfs_bulktransfer Bulk;
Bulk.ep = hUsb->UsbOut;          
Bulk.len = Len;          
Bulk.data = (void *)pData;          
Bulk.timeout = Timeout;
Bytes = ioctl(hUsb->fd, USBDEVFS_BULK, &Bulk)

The above code sample return -1 (EFAULT) Bad address when using qemu-arm-static but is running ok when on qemu-aarch64-static.

I use a 64-bit intel laptop