summaryrefslogtreecommitdiff
path: root/Source/Core/InputCommon/ControllerInterface/DualShockUDPClient
diff options
context:
space:
mode:
authorPokechu22 <Pokechu022@gmail.com>2020-12-11 23:04:32 -0800
committerPokechu22 <Pokechu022@gmail.com>2021-03-06 21:58:28 -0800
commit058c7db80b074fa52aaa504329ee69cf25a516e3 (patch)
tree9fc4a04fe7968f632461d33f80191e44eaec8b87 /Source/Core/InputCommon/ControllerInterface/DualShockUDPClient
parent089250fde65c2e225681c0ef6917d28fa187e8de (diff)
Software: Fix out of bounds accesses in CopyRegion
Fixes issue 11393. The problem is that left and top make no sense for a width by height array; they only make sense in a larger array where from which a smaller part is extracted. Thus, the overall size of the array is provided to CopyRegion in addition to the sub-region. EncodeXFB already handles the extraction, so CopyRegion's only use there is to resize the image (and thus no sub-region is provided).
Diffstat (limited to 'Source/Core/InputCommon/ControllerInterface/DualShockUDPClient')
0 files changed, 0 insertions, 0 deletions