Incidencia #45729

action_decision_maybe_auto() wrongly assumes that actor_unit is not NULL

Abrir Fecha: 2022-09-26 16:00 Última actualización: 2022-10-05 06:06

Informador:
Propietario:
Tipo:
Estado:
Cerrado
Componente:
Prioridad:
5 - Medium
Gravedad:
5 - Medium
Resolución:
Fixed
Fichero:
1

Details

action_decision_maybe_auto() might get called with NULL actor unit if the client does not know the unit in question. Yet it assumes, both by an assert() and by using the pointer, that it's not NULL.

Likely this should be fixed on the caller side - there's no point in calling the function without a unit.

Ticket History (3/4 Histories)

2022-09-26 16:00 Updated by: cazfi
  • New Ticket "action_decision_maybe_auto() wrongly assumes that actor_unit is not NULL" created
2022-09-30 09:12 Updated by: cazfi
  • Propietario Update from (Ninguno) to cazfi
  • Resolución Update from Ninguno to Accepted
  • Hito Update from (Ninguno) to 3.1.0 (cerrado)
2022-10-05 06:06 Updated by: cazfi
  • Estado Update from Open to Cerrado
  • Resolución Update from Accepted to Fixed

Editar

You are not logged in. I you are not logged in, your comment will be treated as an anonymous post. » Entrar