dxx-rebirth/similar
Kp 7e362f9433 Fix undefined behavior in D1 briefing setup
In one path, load_briefing_screen is called with `br->background_name`
as an input.  This caused a call to `snprintf(a, sizeof(a), "%s", a);`,
which is undefined behavior.  Switch back to the prior style of
unconditionally declaring a local array, performing filename
manipulation in that array, and copying the array back to
`br->background_name` afterward.

Reported-by: zicodxx <https://github.com/dxx-rebirth/dxx-rebirth/issues/420>
2019-05-30 03:29:24 +00:00
..
2d Fix bogus borders due to fill_n length/value transposition 2019-03-29 02:34:53 +00:00
3d Use xrange for loops with zero start and simple identifier end 2019-05-04 18:27:37 +00:00
arch Use xrange for loops with zero start and simple identifier end 2019-05-04 18:27:37 +00:00
editor Use enumerate() to iterate some MAX_SIDES_PER_SEGMENT loops 2019-05-04 18:27:37 +00:00
main Fix undefined behavior in D1 briefing setup 2019-05-30 03:29:24 +00:00
misc Fix various gcc-9 -Wformat-truncation warnings 2019-05-06 00:36:16 +00:00