3 ms·
More accurately: Undefined Behaviour does. Windows only writes to the location because the program gave it that pointer. It's the program's fault that they gav
by CuriousCosmic 5y ago
More accurately: Undefined Behaviour does.
Windows only writes to the location because the program gave it that pointer. It's the program's fault that they gave a pointer to an async API when they didn't first guarantee that said pointer would be valid in the future. Really there should be tooling for catching this kind of thing (there is on Linux but less so on Windows).