wintun/driver
Jason A. Donenfeld 6cf9ac71c3 driver: do not assume aligned addresses when allocating MDLs
IoAllocateMdl allocates a different size structure depending on the
bottom in-page bits of the address. By passing null, it assumes that the
address is aligned within the page, which it might not be. Fix this by
passing the eventual virtual address to the allocation function so that
the right amount is always allocated.

Reported-by: Oleksandr Muzychuk <oleksandr.muzychuk@apriorit.com>
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2021-05-10 19:02:49 +02:00
..
driver.vcxproj driver: cleanup unused DBG define 2021-05-10 11:24:44 +02:00
driver.vcxproj.filters driver: move to subfolder 2020-11-06 07:29:47 +01:00
undocumented.h global: bump copyright 2021-01-30 16:45:26 +01:00
wintun.c driver: do not assume aligned addresses when allocating MDLs 2021-05-10 19:02:49 +02:00
wintun.inf global: bump copyright 2021-01-30 16:45:26 +01:00
wintun.rc Fix © in resources 2021-03-19 12:04:23 +01:00