Do not cast away const when calling DetourCreateProcessWithDll
MrSapps opened this issue · 0 comments
MrSapps commented
Where DetourCreateProcessWithDll is called in https://github.com/0vercl0k/stuffz/blob/master/The%20Sentinel/ProcessSpawner/main.cpp
The const should not be casted away as this is given to an API which can write back to the buffer causing undefined behavior/crash.