ddnet/src
bors[bot] bc8ec8c1d7
Merge #5856
5856: Fix receiving IPv6 packets after IPv4 ones on Linux r=def- a=heinrich5991

Previously, the socket addresses were truncated as the `msg_namelen` field is both input **and** output: After receiving an IPv4 packet, the socket address field would be too short for an IPv6 address.

## Checklist

- [ ] Tested the change ingame
- [ ] Provided screenshots if it is a visual change
- [ ] Tested in combination with possibly related configuration options
- [x] Written a unit test (especially base/) or added coverage to integration test
- [ ] 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>
2022-09-19 23:30:52 +00:00
..
android More vector naming format 2022-06-15 19:37:37 +02:00
antibot Merge pull request #3961 from fokkonaut/pr-antibot 2021-12-19 19:33:56 +01:00
base Fix receiving IPv6 packets after IPv4 ones on Linux 2022-09-20 01:06:56 +02:00
engine Also print the CURLcode on failed requests 2022-09-19 15:06:27 +02:00
game Merge #5848 #5851 2022-09-18 11:40:11 +00:00
macos Huge variable naming format 2022-07-08 18:01:29 +02:00
mastersrv mastersrv: Small convenience function 2022-06-13 17:00:54 +02:00
steam Huge variable naming format 2022-07-08 18:01:29 +02:00
test Fix receiving IPv6 packets after IPv4 ones on Linux 2022-09-20 01:06:56 +02:00
tools Fix mismatched bound warning in map_replace_area and map_create_pixelart 2022-09-15 23:23:04 +02:00