Actions
Bug #383
closedplayer_number() access for packaging unit after player_destroy()
Start date:
03/31/2024
Due date:
% Done:
0%
Estimated time:
Description
Seen on S3_1 with valgrind, When the game ends.
server_remove_player() calls player_destroy() to free player, before (possible another server_remove_player() call) player_clear() -> remove_city() -> send_unit_info() -> package_unit() -> player_number()
Files
Updated by Marko Lindqvist 9 months ago
It's unit's nationality that refers to removed player.
Actions
#2
Updated by Marko Lindqvist 9 months ago
- File 0051-Adjust-nationality-of-remaining-units-after-player-r.patch 0051-Adjust-nationality-of-remaining-units-after-player-r.patch added
- File 0002-Adjust-nationality-of-remaining-units-after-player-r.patch 0002-Adjust-nationality-of-remaining-units-after-player-r.patch added
- Status changed from New to In Review
- Assignee set to Marko Lindqvist
Patch also for S2_6 attached.
Actions