[PATCH 5/6] ntdll: IOCTL_DVD_READ_STRUCTURE accepts long input buffers
Dan Kegel
dank at kegel.com
Thu Feb 9 17:32:56 CST 2012
Apps that define their own DVD_READ_STRUCTURE (to avoid needing the ddk)
and forget to pack it end up with pad bytes on the end of that struct.
Windows accepts this without complaint, so relax the input buffer size check.
This helps one demo app I know of (dodo.c by Takuya Murata).
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0005-ntdll-IOCTL_DVD_READ_STRUCTURE-accepts-long-input-bu.patch
Type: text/x-patch
Size: 3150 bytes
Desc: not available
URL: <http://www.winehq.org/pipermail/wine-patches/attachments/20120209/2f46c1b8/attachment.bin>
More information about the wine-patches
mailing list