Project

General

Profile

Actions

Bug #460

closed

action_sub_target_id_for_action() using uninitialized extra in case of pillage

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

Status:
Closed
Priority:
Normal
Category:
Server
Target version:
Start date:
04/17/2024
Due date:
% Done:

0%

Estimated time:

Description

action_sub_target_id_for_action() action_has_result(..ACTRES_PILLAGE) handling pass uninitialized extra pointer to unit_assign_specific_activity_target(). If that's not NULL, the call assumes it to be ok to begin with, and does not overwrite it. This lead to crash in later exter_number(pextra).


Files

Actions

Also available in: Atom PDF