1
0
Fork 0
dosbox-staging/src
Patryk Obara c619445003 Avoid buffer underflow by copying all fields
This code made silent assumption that first fields in direntry are
exactly 14 bytes - this was fine, except would break as soon as anyone
would touch the struct (or e.g. if a compiler would lack support for
packed structures and inject some padding in there); rewrite the copy
code to follow the same pattern as other fields - now the code will be
fine even if someone will change fields in the direntry struct.

Fixes 2 PVS static analysis issues (buffer underflow on src and dst).
2020-02-23 01:13:11 +01:00
..
cpu Initialize imm variable 2020-02-10 03:23:54 +01:00
debug Merge branch 'svn/trunk' r4318 2020-02-10 02:54:10 +01:00
dos Avoid buffer underflow by copying all fields 2020-02-23 01:13:11 +01:00
fpu Fix format warnings in fpu 2020-01-11 20:52:55 +01:00
gui Fix window position when starting in fullscreen 2020-02-21 01:20:16 +01:00
hardware Only resize the sendbuffer if needed 2020-02-19 19:25:47 +01:00
ints Remove unused private field 2020-02-02 15:16:29 +01:00
libs Fix audio-related static analysis issues 2020-01-29 17:13:25 +01:00
misc Print newline after 'config -axadd' 2020-02-15 19:10:20 +01:00
platform Stop silencing deprecation warnings in MSVC 2019-12-29 20:04:39 +01:00
shell Add cga_mono machine 2020-01-29 13:46:23 +01:00
.gitignore Import svn:ignore props to .gitignore files 2019-09-15 20:34:57 +02:00
dosbox.cpp Change 'sblaster.oplemu = default' to select 'nuked' 2020-02-15 19:10:20 +01:00
dosbox.ico Updated Icon. Thanks Chaosfish 2007-01-10 15:07:12 +00:00
dosbox_splash.svg Add DOSBox splash screen graphic in vector format 2019-11-02 19:29:03 +01:00
dosbox_staging_splash.svg Use dosbox-staging splash screen 2020-01-16 06:42:19 +01:00
dosbox_staging_splash_640_400.png Use dosbox-staging splash screen 2020-01-16 06:42:19 +01:00
Makefile.am Move nukedopl to libs 2020-01-09 22:50:47 +01:00
winres.rc Update version in config.h and resource script 2019-12-09 07:22:15 +01:00