<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Recent changes to patches</title><link href="https://sourceforge.net/p/libusb-win32/patches/" rel="alternate"/><link href="https://sourceforge.net/p/libusb-win32/patches/feed.atom" rel="self"/><id>https://sourceforge.net/p/libusb-win32/patches/</id><updated>2021-10-14T00:48:05.183000Z</updated><subtitle>Recent changes to patches</subtitle><entry><title>#16 allow zero length control transfer (without buffer)</title><link href="https://sourceforge.net/p/libusb-win32/patches/16/?limit=25#a0ef" rel="alternate"/><published>2021-10-14T00:48:05.183000Z</published><updated>2021-10-14T00:48:05.183000Z</updated><author><name>Xiaofan Chen</name><uri>https://sourceforge.net/u/xiaofanc/</uri></author><id>https://sourceforge.netd17fd9e23fd052860505932c8efb43b265fc5772</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;status&lt;/strong&gt;: open --&amp;gt; closed&lt;/li&gt;
&lt;/ul&gt;&lt;/div&gt;</summary></entry><entry><title>#16 allow zero length control transfer (without buffer)</title><link href="https://sourceforge.net/p/libusb-win32/patches/16/?limit=25#d713" rel="alternate"/><published>2021-10-13T13:50:03.151000Z</published><updated>2021-10-13T13:50:03.151000Z</updated><author><name>Xiaofan Chen</name><uri>https://sourceforge.net/u/xiaofanc/</uri></author><id>https://sourceforge.net0649b6fc3a3bff805d8e7b8a983e284d236f85cc</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Thanks. We no longer use Sourceforge for development. Please use github instead. Thanks.&lt;/p&gt;
&lt;p&gt;Ref: &lt;a href="https://github.com/mcuee/libusb-win32/issues/21" rel="nofollow"&gt;https://github.com/mcuee/libusb-win32/issues/21&lt;/a&gt;&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>allow zero length control transfer (without buffer)</title><link href="https://sourceforge.net/p/libusb-win32/patches/16/" rel="alternate"/><published>2021-10-13T10:37:48.660000Z</published><updated>2021-10-13T10:37:48.660000Z</updated><author><name>Tormod Volden</name><uri>https://sourceforge.net/u/tormod/</uri></author><id>https://sourceforge.net88b905a4548f1b1f509251981607a57ace454458</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Using for instance libusbk.dll 3.0.7.0 (the version currently installed with Zadig) a control transfer with zero length will fail (see &lt;a href="https://github.com/libusb/libusb/issues/1006" rel="nofollow"&gt;https://github.com/libusb/libusb/issues/1006&lt;/a&gt;). I suspect this is due to the check on transfer_buffer_mdl in src/driver/ioctl.c since the same check for bulk transfer write is explicitly not done. The second patch changes the control transfer check to be consistent to the bulk transfer check.&lt;/p&gt;
&lt;p&gt;The first patch just adds missing debug tags. The second patch applies on top.&lt;/p&gt;
&lt;p&gt;I don't have the setup to rebuild and test libusb0.sys so I can only assume this is correct without verification by own testing. BTW this issue doesn't show when using the recently released libusbk.dll 3.0.8.0 because the control transfers are done differently here.&lt;/p&gt;
&lt;p&gt;Driver error message caught with DebugView:&lt;br/&gt;
&lt;code&gt;libusb0-sys:err [dispatch_ioctl] (null): invalid transfer request&lt;/code&gt;&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>allow zero length control transfer (without buffer)</title><link href="https://sourceforge.net/p/libusb-win32/patches/16/" rel="alternate"/><published>2021-10-13T10:37:48.660000Z</published><updated>2021-10-13T10:37:48.660000Z</updated><author><name>Tormod Volden</name><uri>https://sourceforge.net/u/tormod/</uri></author><id>https://sourceforge.netc305723aad1fd7e264f0dd213f3a96615d064cfb</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Ticket 16 has been modified: allow zero length control transfer (without buffer)&lt;br/&gt;
Edited By: Xiaofan Chen (xiaofanc)&lt;br/&gt;
Status updated: 'open' =&amp;gt; 'closed'&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Ticket 12 discussion</title><link href="https://sourceforge.net/p/libusb-win32/patches/12/?limit=25#25e3" rel="alternate"/><published>2021-08-16T03:03:04.210000Z</published><updated>2021-08-16T03:03:04.210000Z</updated><author><name>Xiaofan Chen</name><uri>https://sourceforge.net/u/xiaofanc/</uri></author><id>https://sourceforge.netd14c379936f22dfef027a52977a1193585ad3b31</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;status&lt;/strong&gt;: pending --&amp;gt; wont-fix&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Group&lt;/strong&gt;:  --&amp;gt; Unstable_(example)&lt;/li&gt;
&lt;/ul&gt;&lt;/div&gt;</summary></entry><entry><title>#13 Distinguishing between SEM_TIMEOUT and OPERATION_ABORTED</title><link href="https://sourceforge.net/p/libusb-win32/patches/13/?limit=25#5a28" rel="alternate"/><published>2021-08-16T03:02:45.741000Z</published><updated>2021-08-16T03:02:45.741000Z</updated><author><name>Xiaofan Chen</name><uri>https://sourceforge.net/u/xiaofanc/</uri></author><id>https://sourceforge.net187ef9476efc5da965c407589ebfc94b9f01aaa1</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;status&lt;/strong&gt;: pending --&amp;gt; wont-fix&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Group&lt;/strong&gt;:  --&amp;gt; Unstable_(example)&lt;/li&gt;
&lt;/ul&gt;&lt;/div&gt;</summary></entry><entry><title>#14 usb_free_async should check CloseHandle return value</title><link href="https://sourceforge.net/p/libusb-win32/patches/14/?limit=25#e811" rel="alternate"/><published>2021-08-16T03:02:27.929000Z</published><updated>2021-08-16T03:02:27.929000Z</updated><author><name>Xiaofan Chen</name><uri>https://sourceforge.net/u/xiaofanc/</uri></author><id>https://sourceforge.netd7436fac21b229a62d3a3dbde8e274619574678a</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;status&lt;/strong&gt;: open --&amp;gt; wont-fix&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Group&lt;/strong&gt;:  --&amp;gt; Unstable_(example)&lt;/li&gt;
&lt;/ul&gt;&lt;/div&gt;</summary></entry><entry><title>Ticket 15 discussion</title><link href="https://sourceforge.net/p/libusb-win32/patches/15/?limit=25#473a" rel="alternate"/><published>2021-08-16T03:02:07.378000Z</published><updated>2021-08-16T03:02:07.378000Z</updated><author><name>Xiaofan Chen</name><uri>https://sourceforge.net/u/xiaofanc/</uri></author><id>https://sourceforge.netf3696e18eca5e332d2ad444b166477edbe0ba545</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;status&lt;/strong&gt;: pending --&amp;gt; wont-fix&lt;/li&gt;
&lt;/ul&gt;&lt;/div&gt;</summary></entry><entry><title>#11 Get DevicePropertyDriverKeyName</title><link href="https://sourceforge.net/p/libusb-win32/patches/11/?limit=50#38d4" rel="alternate"/><published>2014-04-22T15:10:25.768000Z</published><updated>2014-04-22T15:10:25.768000Z</updated><author><name>Fondation</name><uri>https://sourceforge.net/u/fondation79/</uri></author><id>https://sourceforge.netf9befbc97130717b61869f3b04ff9200111fdf2c</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hello, I search the méthod for watching the source code of this patch 0.1.12.2 but i have not understand the solution for look that here ?&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Ticket 15 discussion</title><link href="https://sourceforge.net/p/libusb-win32/patches/_discuss/thread/fe8ec6db/" rel="alternate"/><published>2012-08-09T03:46:51.337000Z</published><updated>2012-08-09T03:46:51.337000Z</updated><author><name>Benjamin Moody</name><uri>https://sourceforge.net/u/floppusmaximus/</uri></author><id>https://sourceforge.net1894dd7c4935fc17d381f7efe7ae2175def3d3e0</id><summary type="html">The attached patch is the same as the above, but only includes usb_cancel_async and usb_reap_async_nocancel.</summary></entry></feed>