summaryrefslogtreecommitdiff
path: root/Source/Core/InputCommon/ControllerInterface/Xlib/XInput2.cpp
diff options
context:
space:
mode:
authorJosJuice <josjuice@gmail.com>2024-03-31 21:53:51 +0200
committerJosJuice <josjuice@gmail.com>2024-03-31 21:58:05 +0200
commitad43b032534094b1acfa1e4a9c0717ecc75e0f47 (patch)
treea126733acfb5fc92681b183a7985b8a4c6bb4553 /Source/Core/InputCommon/ControllerInterface/Xlib/XInput2.cpp
parenta5e410df11b83646f21941caba98674d807daa7e (diff)
HW: Remove calls to GetPointer
Typically when someone uses GetPointer, it's because they want to read from a range of memory. GetPointer is unsafe to use for this. While it does check that the passed-in address is valid, it doesn't know the size of the range that will be accessed, so it can't check that the end address is valid. The safer alternative GetPointerForRange should be used instead. Note that there is still the problem of many callers not checking for nullptr. This is part 2 of a series of changes removing the use of GetPointer throughout the code base. After this, VideoCommon is the one major part of Dolphin that remains.
Diffstat (limited to 'Source/Core/InputCommon/ControllerInterface/Xlib/XInput2.cpp')
0 files changed, 0 insertions, 0 deletions