ddnet/src/game/editor
Robert Müller bbe9f23a9c Refactor str_copy usages and buffer sizes in editor
Use templated `str_copy` function in most cases to specify the correct buffer size.

Fixes two cases where the buffer size was hard-coded to a number.

Fix buffer size not being checked when copying auto mapper configuration name. Loading an auto mapper configuration with a name longer than 128 bytes could cause an out-of-bounds write.

Increase sizes of some text buffers that were potentially too small.
2023-06-13 20:45:51 +02:00
..
auto_map.cpp Refactor str_copy usages and buffer sizes in editor 2023-06-13 20:45:51 +02:00
auto_map.h Format vector variables names (fixes #5209) 2022-06-11 21:38:49 +02:00
editor.cpp Refactor str_copy usages and buffer sizes in editor 2023-06-13 20:45:51 +02:00
editor.h Refactor str_copy usages and buffer sizes in editor 2023-06-13 20:45:51 +02:00
explanations.cpp Rename TILE_CHECKPOINT_XXX to TILE_TIME_CHECKPOINT_XXX 2022-06-30 23:41:40 +02:00
io.cpp Refactor str_copy usages and buffer sizes in editor 2023-06-13 20:45:51 +02:00
layer_game.cpp Refactor str_copy usages and buffer sizes in editor 2023-06-13 20:45:51 +02:00
layer_quads.cpp Move generic popup handling to UI (port from editor and upstream) 2023-04-07 17:16:16 +02:00
layer_sounds.cpp Move generic popup handling to UI (port from editor and upstream) 2023-04-07 17:16:16 +02:00
layer_tiles.cpp Refactor str_copy usages and buffer sizes in editor 2023-06-13 20:45:51 +02:00
popups.cpp Refactor str_copy usages and buffer sizes in editor 2023-06-13 20:45:51 +02:00