mirror of
https://github.com/ddnet/ddnet.git
synced 2024-10-20 15:58:18 +00:00
bbe9f23a9c
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. |
||
---|---|---|
.. | ||
auto_map.cpp | ||
auto_map.h | ||
editor.cpp | ||
editor.h | ||
explanations.cpp | ||
io.cpp | ||
layer_game.cpp | ||
layer_quads.cpp | ||
layer_sounds.cpp | ||
layer_tiles.cpp | ||
popups.cpp |