TechnikEmpire / Divert.Net

.NET Wrapper for WinDivert
MIT License
54 stars 10 forks source link

For GetPacketProcess, change PMIB pointer params to pointer-to-pointer. #3

Closed TechnikEmpire closed 7 years ago

TechnikEmpire commented 8 years ago

Since we free the PMIB pointers in associated methods, need to change those params to pointer-to-pointer and have the methods set the pPMIB to nullptr after freeing, to avoid potential double frees.

TechnikEmpire commented 7 years ago

Can't do this in C++/CLR because it's stupid.