Re: Fwd: I want to report an issue I found with your example (send ring buffer get corrupted)

Simon Rozman <[email protected]> Mon, 9 Feb 2026 13:02:36 +0100
Newsgroups com.zx2c4.lists.wireguard
Organization Amebis
Message-ID <[email protected]>
Hi, Oded!

Reviewing your issue closely, I may have found the cause. I have queued 
a proposal to fix it here: 
https://git.zx2c4.com/wintun/commit/driver/wintun.c?id=8814f660310c30a9297fc640c844c4ab6f27e5d7

However, I need to reinstall my testing environment to test and confirm 
it working.

Lep pozdrav | Best regards,
Simon Rozman
Amebis, d. o. o., Kamnik

On 4. 2. 2026 19.19, Oded Katz wrote:
> Hi,
> 
> I'm reposting this one as I didn't get any response.
> 
> We were trying to integrate `wintun` into our product and while
> testing we found an issue with upload of high UDP throughput on
> multiple sockets. initially we thought it may be related to our
> integration. but we managed to find the same issue in your example
> code.we tried to do some debugging on the example, but it seems like
> the corruption is on the driver side.
> the way to reproduce this issue- run the example
> - run the `send_udp.py` (the attached python script) on 2 different
> command terminals
>     - `send_udp.py 10.6.7.8 5201 1450`
>     - `send_udp.py 10.6.7.8 5201 1400`after some time the
> `WintunReceivePacket` returns NULL and `GetLastError()` return 13
> (`ERROR_INVALID_DATA`)
> many thanks,
> and I hope you can help us.
> btw: in the meantime, I'll try to see if I can contribute myself with a fix
> Oded