ddnet/src
bors[bot] c74b0c8536
Merge #4389
4389: Sanitize owner data in client (fixes #4388) r=edg-l a=def-

and don't access out of scope on owner < 0

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

## Checklist

- [x] 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
- [x] Considered possible null pointers and out of bounds array indexing
- [x] Changed no physics that affect existing maps
- [x] 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: def <dennis@felsin9.de>
2021-11-26 06:55:48 +00:00
..
android Add Android build scripts 2021-08-24 12:18:20 +02:00
antibot Properly export antibot DLL symbols on Windows, this time for real 2021-10-05 17:38:58 +02:00
base add empty lines to method documentation 2021-11-25 20:01:29 +01:00
engine Enable sv_swap, more reasonable default for timeout 2021-11-23 16:58:06 +01:00
game Merge #4389 2021-11-26 06:55:48 +00:00
macos OSX -> macOS 2021-02-12 13:41:41 +01:00
macoslaunch OSX -> macOS 2021-02-12 13:41:41 +01:00
mastersrv uint64 -> uint64_t, int64 -> int64_t 2021-06-24 17:19:17 +02:00
steam Run clang-format 2020-09-26 21:50:15 +02:00
test add str_utf8_stats to base system 2021-11-24 23:24:46 +01:00
tools Fix map_extract 2021-11-13 21:07:03 +01:00
twping uint64 -> uint64_t, int64 -> int64_t 2021-06-24 17:19:17 +02:00