ddnet/src/game/editor
bors[bot] e9b174a00f
Merge #3389
3389: Alternative alternative fix for malloc of size 0 r=def- a=heinrich5991

Has a short diff to the original code before a4f13ed4a8.
Supersedes #3353. Thanks for the idea, @timakro.

<!-- What is the motivation for the changes of this pull request -->

## Checklist

- [ ] Tested the change ingame
- [ ] Provided screenshots if it is a visual change
- [ ] Tested in combination with possibly related configuration options
- [ ] Written a unit test if it works standalone, system.c especially
- [ ] Considered possible null pointers and out of bounds array indexing
- [ ] Changed no physics that affect existing maps
- [ ] Tested the change with [ASan+UBSan or valgrind's memcheck](https://github.com/ddnet/ddnet/#using-addresssanitizer--undefinedbehavioursanitizer-or-valgrinds-memcheck) (optional)


Co-authored-by: heinrich5991 <heinrich5991@gmail.com>
2020-12-22 11:23:40 +00:00
..
auto_map.cpp Fix clang-analyzer-core.CallAndMessage 2020-10-14 15:45:47 +02:00
auto_map.h Run clang-format 2020-09-26 21:50:15 +02:00
editor.cpp Allow reordering in the settings editor 2020-12-14 12:06:11 +01:00
editor.h Fix ScaleFontSize with too long strings 2020-11-08 00:02:35 +01:00
explanations.cpp Replaced tile names. 2020-09-13 23:00:49 +03:00
io.cpp Alternative alternative fix for malloc of size 0 2020-12-08 12:29:10 +01:00
layer_game.cpp NOLINT bugprone-parent-virtual-call where clang-tidy is stupid 2020-11-05 08:25:34 +01:00
layer_quads.cpp Fix variable names manually 2020-11-02 22:40:40 +01:00
layer_sounds.cpp Add m_PosEnv as index that must be offset when appended 2020-11-01 23:04:33 +01:00
layer_tiles.cpp NOLINT bugprone-parent-virtual-call where clang-tidy is stupid 2020-11-05 08:25:34 +01:00
popups.cpp Fix variable names manually 2020-11-02 22:40:40 +01:00