1
0
Fork 0
dosbox-staging/src/gui
Patryk Obara e872ea0169 Use memory safe container for GL error log
Fixes V576 warning from PVS-Studio - in this case PVS is somewhat
pedantic, as it warns about printf'ing of malloc'ed memory and risk the
associated problems in OOM situations.

In this case it can be a problem, as LOG_MSG aka GFX_ShowMsg
allocates memory during printing in result an error message could cause
stack overflow, although it's extremely unlikely on modern OSes.

Avoid triggering this warning by using memory-safe container and using
C++11 data() accessor to vector internal buffer; in case of OOM
situation, stack will be unrolled and program should exit with nice
error message.
2020-02-12 08:40:01 +01:00
..
.gitignore Import svn:ignore props to .gitignore files 2019-09-15 20:34:57 +02:00
dosbox_logo.h Update year and address of FSF 2019-01-25 14:09:58 +00:00
dosbox_splash.h Add splash and various new configuration file functionality 2009-05-20 18:26:35 +00:00
dosbox_staging_splash.c Use dosbox-staging splash screen 2020-01-16 06:42:19 +01:00
Makefile.am Add OpenGL shader support. (patch by ny00123 and refined by jmarsh). Add several builtin ones that mimic the scalers and some extra. Thanks jmarsh 2020-02-10 18:59:01 +00:00
midi.cpp Indicate system includes for relevant SDL headers 2019-12-26 03:23:19 +01:00
midi_alsa.h Update year and address of FSF 2019-01-25 14:09:58 +00:00
midi_coreaudio.h Update year and address of FSF 2019-01-25 14:09:58 +00:00
midi_coremidi.h Update year and address of FSF 2019-01-25 14:09:58 +00:00
midi_oss.h Update year and address of FSF 2019-01-25 14:09:58 +00:00
midi_win32.h Update year and address of FSF 2019-01-25 14:09:58 +00:00
render.cpp Merge branch 'svn/trunk' r4319 2020-02-12 08:39:40 +01:00
render_glsl.h Add OpenGL shader support. (patch by ny00123 and refined by jmarsh). Add several builtin ones that mimic the scalers and some extra. Thanks jmarsh 2020-02-10 18:59:01 +00:00
render_loops.h Update year and address of FSF 2019-01-25 14:09:58 +00:00
render_scalers.cpp Limit max software scaler line limit to a 4k monitor. (relevant for people who use larger scalers) 2020-02-07 15:39:21 +00:00
render_scalers.h Limit max software scaler line limit to a 4k monitor. (relevant for people who use larger scalers) 2020-02-07 15:39:21 +00:00
render_simple.h Increase limits a bit more for people who want to use that. 2020-02-07 15:41:31 +00:00
render_templates.h Unifdef unused scaler implementations 2020-02-06 09:23:18 +01:00
render_templates_hq.h Fix NULL issues in render_templates_hq.h 2020-01-22 09:40:00 +01:00
render_templates_hq2x.h Update year and address of FSF 2019-01-25 14:09:58 +00:00
render_templates_hq3x.h Update year and address of FSF 2019-01-25 14:09:58 +00:00
render_templates_sai.h Remove usage of register storage specifier 2020-02-02 15:16:29 +01:00
sdl_gui.cpp Indicate system includes for relevant SDL headers 2019-12-26 03:23:19 +01:00
sdl_mapper.cpp Fix six Coverity and PVS analysis bugs 2020-02-02 16:37:09 +01:00
sdlmain.cpp Use memory safe container for GL error log 2020-02-12 08:40:01 +01:00