Project

General

Profile

Actions

Bug #160

closed

sdl3: copy_surface() memory access trouble

Added by Marko Lindqvist 11 months ago. Updated 10 months ago.

Status:
Closed
Priority:
Normal
Category:
sdl3-client
Target version:
Start date:
01/09/2024
Due date:
% Done:

0%

Estimated time:

Description

sdl3-client copy_surface() pass original surface's pixels array to SDL_CreateSurfaceFrom(). So created copy shares the data with the original, and gets corrupted when the original frees the data.


Files

Actions

Also available in: Atom PDF