USB Drivers

This is just a quick question.

A few years ago when i did the OSR’s Writing WDM Kernel Mode Drivers for
Windows, with Mark Cariddi (a seminar I would thoroughly recommend) i
remember we were told in the seminar that the USB sample driver that came
with the Windows DDK had a bug, something relating to MDL’s or virtual
memory addresses?

Can anyone remember what this bug was, and whether it has been fixed in the
latest issues of the DDK?

Cheers
James

This email and any files attached are intended for the addressee and may
contain information of a confidential nature. If you are not the intended
recipient, be aware that this email was sent to you in error and you should
not disclose, distribute, print, copy or make other use of this email or its
attachments. Such actions, in fact, may be unlawful. In compliance with
the various Regulations and Acts, General Dynamics UK Limited reserves the
right to monitor (and examine for viruses) all emails and email attachments,
both inbound and outbound. Email communications and their attachments may
not be secure or error- or virus-free and the company does not accept
liability or responsibility for such matters or the consequences thereof.
Registered Office: 100 New Bridge Street, London EC4V 6JA. Registered in
England and Wales No: 1911653.

Hi,

He was probably talking about the need for a call to MmPrepareMdlForReuse in the bulkusb sample to prevent leaking system PTEs. This was a bug in the XP DDK source that I believe was fixed in the S03 DDK…

-scott


Scott Noone
Software Engineer
OSR Open Systems Resources, Inc.
http://www.osronline.com
“James Dunning” wrote in message news:xxxxx@ntdev…
This is just a quick question.

A few years ago when i did the OSR’s Writing WDM Kernel Mode Drivers for Windows, with Mark Cariddi (a seminar I would thoroughly recommend) i remember we were told in the seminar that the USB sample driver that came with the Windows DDK had a bug, something relating to MDL’s or virtual memory addresses?

Can anyone remember what this bug was, and whether it has been fixed in the latest issues of the DDK?

Cheers
James

This email and any files attached are intended for the addressee and may contain information of a confidential nature. If you are not the intended recipient, be aware that this email was sent to you in error and you should not disclose, distribute, print, copy or make other use of this email or its attachments. Such actions, in fact, may be unlawful. In compliance with the various Regulations and Acts, General Dynamics UK Limited reserves the right to monitor (and examine for viruses) all emails and email attachments, both inbound and outbound. Email communications and their attachments may not be secure or error- or virus-free and the company does not accept liability or responsibility for such matters or the consequences thereof. Registered Office: 100 New Bridge Street, London EC4V 6JA. Registered in England and Wales No: 1911653.