Files
SDL/src/video
Ryan C. Gordon d0d1414836 messagebox: Copy title and message up front, to protect SDL_GetError() strings.
It's possible (likely!) someone could just pass a pointer returned by
SDL_GetError for one of these strings, but the message box code has to do a
ton of complicated stuff that might _also_ call SDL_SetError, so you could
end up with the string having different contents by the time you display it.

Just make a copy of the strings unconditionally at the start, so they're safe
no matter where they came from.

Fixes #10932.
2024-12-16 21:58:05 -05:00
..
2024-12-09 23:49:17 -05:00
2024-08-29 17:33:52 -07:00
2024-09-06 08:54:05 -07:00
2024-11-24 17:44:00 -08:00
2024-08-22 13:30:02 -07:00
2024-08-22 13:30:02 -07:00