mirror of
https://github.com/reactos/reactos.git
synced 2024-11-18 21:13:52 +00:00
1815aae877
Since indeeed the memcpy/move type of functions usually don't operate on pointers to 'volatile' data, don't make ClientCaptureBuffer volatile. Instead when retrieving the values of its 'Size' and 'PointerCount' members (see the SEH block), use the so-called technique of "volatile glasses" [1], where the pointer will be explicitly casted to "volatile TYPE*" where needed. [1]: https://docs.microsoft.com/archive/blogs/itgoestoeleven/why-your-user-mode-pointer-captures-are-probably-broken |
||
---|---|---|
.. | ||
api.c | ||
api.h | ||
CMakeLists.txt | ||
csrsrv.rc | ||
csrsrv.spec | ||
init.c | ||
procsup.c | ||
server.c | ||
session.c | ||
srv.h | ||
status.h | ||
thredsup.c | ||
wait.c |