Ticket #47809

load_action_range_max() passing NULL as string

Eröffnet am: 2023-04-09 00:35 Letztes Update: 2023-09-30 06:45

Auswertung:
Verantwortlicher:
Typ:
Status:
Geschlossen
Komponente:
Meilenstein:
Priorität:
5 - Mittel
Schweregrad:
5 - Mittel
Lösung:
Gefixt
Datei:
2

Details

load_action_range_max() handles all actions, including those for which action_max_range_ruleset_var_name() returns NULL. Yet it does 'secfile_entry_lookup(file, "actions.%s", action_max_range_ruleset_var_name(act));'

Haven't checked the other handling of other similar ruleset entries for actions. It's possible that this is a common bug-pattern.

Ticket-Verlauf (3/7 Historien)

2023-04-09 00:35 Aktualisiert von: cazfi
  • New Ticket "load_action_range_max() passing NULL as string" created
2023-09-18 10:54 Aktualisiert von: cazfi
Kommentar

The function is actually only called when there's var name, but this should still be refactored to avoid the duplicate call.

2023-09-18 11:10 Aktualisiert von: cazfi
  • Verantwortlicher Update from (Keine) to cazfi
  • Lösung Update from Keine to Accepted
  • Meilenstein Update from (Keine) to 3.1.0-beta4 (closed)
2023-09-22 21:35 Aktualisiert von: cazfi
Kommentar

Pushed to branches other than S3_1. S3_1 will wait for 3.1.0-beta3 release first.

2023-09-30 06:45 Aktualisiert von: cazfi
  • Status Update from Offen to Geschlossen
  • Lösung Update from Accepted to Gefixt

Bearbeiten

Please login to add comment to this ticket » Anmelden