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
#1
Updated by Marko Lindqvist 7 months ago
- File 0050-Initialize-extra-before-calling-unit_assign_specific.patch 0050-Initialize-extra-before-calling-unit_assign_specific.patch added
- File 0018-Initialize-extra-before-calling-unit_assign_specific.patch 0018-Initialize-extra-before-calling-unit_assign_specific.patch added
- Status changed from New to In Review
- Assignee set to Marko Lindqvist
Actions