lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:	Wed, 27 Jun 2007 19:30:53 +1200
From:	"Keith Chew" <keith.chew@...il.com>
To:	"Oliver Neukum" <oliver@...kum.org>
Cc:	linux-usb-devel@...ts.sourceforge.net,
	"Chuck Ebbert" <cebbert@...hat.com>,
	linux-kernel <linux-kernel@...r.kernel.org>
Subject: Re: [linux-usb-devel] usb_fill_bulk_urb() broken for USB1.1?

Hi Oliver

>
> What do you use as arguments for usb_fill_bulk_urb() ? One of the sanity tests
> in usb_submit_urb() is triggered.
>

Usage:

	usb_fill_bulk_urb(macp->intr_urb, macp->usb,
		usb_rcvbulkpipe(macp->usb, EP_INT_IN),
		macp->IntEPBuffer, MAX_EPINT_BUFFER,
		zd1211_intr_cb, macp);

where

#define EP_INT_IN			0x03
#define MAX_EPINT_BUFFER	64

Here are the relevant structure definitions:

	struct usb_device	*usb;
	struct urb		*intr_urb;
	u8			*IntEPBuffer;

I can post the full structure if required.

Regards
Keith
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists