diff options
author | Jan <sentrycraft123@gmail.com> | 2024-06-20 16:42:17 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-06-20 16:42:17 +0200 |
commit | 26fffcfdbaa23def1d2ed0a15e53ed7907883083 (patch) | |
tree | 8b1d2b1a3e481d33a0c135ab33f0cc083244d991 /primedev/scripts/scriptjson.h | |
parent | 8e56367314315c53c8c7bede25e5900da9c9e31c (diff) | |
download | NorthstarLauncher-26fffcfdbaa23def1d2ed0a15e53ed7907883083.tar.gz NorthstarLauncher-26fffcfdbaa23def1d2ed0a15e53ed7907883083.zip |
Remove invalid memset in ServerPresence (#709)
The use of sizeof is incorrect here since `this` is a pointer and sizeof is used on the pointer directly, instead of what the pointer points to.
It seems to work without issue due to padding but could cause issues if an instanced class like `std::string` gets nulled.
Diffstat (limited to 'primedev/scripts/scriptjson.h')
0 files changed, 0 insertions, 0 deletions