Actions
Bug #460
closedaction_sub_target_id_for_action() using uninitialized extra in case of pillage
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