Re: [Libusbx-devel] [PATCH] Fix HID descriptor creation code in Windows backend

2013-04-02 Thread Toby Gray
On 01/04/13 16:50, Pete Batard wrote: > Now pushed. > > Regards, > > /Pete > Thanks for that. Sorry for not providing a reworked patch, I was away from PCs for most of Easter. Regards, Toby -- Own the Future-Intel(R) L

Re: [Libusbx-devel] [PATCH] Fix HID descriptor creation code in Windows backend

2013-04-01 Thread Pete Batard
Now pushed. Regards, /Pete -- Own the Future-IntelĀ® Level Up Game Demo Contest 2013 Rise to greatness in Intel's independent game demo contest. Compete for recognition, cash, and the chance to get your game on Steam. $5

Re: [Libusbx-devel] [PATCH] Fix HID descriptor creation code in Windows backend

2013-03-22 Thread Pete Batard
On 2013.03.22 17:24, Tim Roberts wrote: > Toby Gray wrote: >> I've been investigating a STATUS_STACK_BUFFER_OVERRUN (0xc409) >> exception when running the latest libusbx in Windows XP. I believe it's >> due to a bug in how the fake USB descriptors for HID devices are >> created. The location of

Re: [Libusbx-devel] [PATCH] Fix HID descriptor creation code in Windows backend

2013-03-22 Thread Tim Roberts
Toby Gray wrote: > Hi, > > I've been investigating a STATUS_STACK_BUFFER_OVERRUN (0xc409) > exception when running the latest libusbx in Windows XP. I believe it's > due to a bug in how the fake USB descriptors for HID devices are > created. The location of the second endpoint was being calc

Re: [Libusbx-devel] [PATCH] Fix HID descriptor creation code in Windows backend

2013-03-22 Thread Toby Gray
On 22/03/13 13:57, Toby Gray wrote: > > I also can't reproduce it with debug builds of libusbx, only release > binaries. I've just realised that the reason for this must be that debug builds aren't optimising out the variables around the buffer which is overrun. As these variables aren't used a