Project

General

Profile

Actions

Bug #383

closed

player_number() access for packaging unit after player_destroy()

Added by Marko Lindqvist 8 months ago. Updated 8 months ago.

Status:
Closed
Priority:
Normal
Category:
Server
Target version:
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

Actions #1

Updated by Marko Lindqvist 8 months ago

It's unit's nationality that refers to removed player.

Actions #3

Updated by Marko Lindqvist 8 months ago

  • Status changed from In Review to Closed
Actions

Also available in: Atom PDF