On 2017-10-03 22:37:45 +0000, Eric Wasylishen wrote:
Changing the SDL_memcpy to a SDL_memmove fixes the ASan warning and seems to work..
If I understand right, the memcpy is copying "output" (which is directly after "input" in a single buffer), over top of "input", which is OK, it just needs to be a memmove instead of memcpy:
[ input ] [ output (possibly longer than input) ]
-->
[ output (possibly longer than input) ] [ unused ]
On 2017-10-11 02:32:18 +0000, Ryan C. Gordon wrote:
This bug report was migrated from our old Bugzilla tracker.
Reported in version: HG 2.1
Reported for operating system, platform: Other, x86
Comments on the original bug report:
On 2017-09-26 04:46:03 +0000, Eric Wasylishen wrote:
On 2017-10-03 22:37:45 +0000, Eric Wasylishen wrote:
On 2017-10-11 02:32:18 +0000, Ryan C. Gordon wrote:
The text was updated successfully, but these errors were encountered: