Ticket #47809

load_action_range_max() passing NULL as string

오픈 날짜: 2023-04-09 00:35 마지막 업데이트: 2023-09-30 06:45

Reporter:
소유자:
Type:
Status:
Closed
Component:
Priority:
5 - Medium
Severity:
5 - Medium
Resolution:
Fixed
File:
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 History (3/7 Histories)

2023-04-09 00:35 Updated by: cazfi
  • New Ticket "load_action_range_max() passing NULL as string" created
2023-09-18 10:54 Updated by: cazfi
댓글 올리기

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 Updated by: cazfi
  • 소유자 Update from (None) to cazfi
  • Resolution Update from None to Accepted
  • Milestone Update from (None) to 3.1.0-beta4 (closed)
2023-09-22 21:35 Updated by: cazfi
댓글 올리기

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

2023-09-30 06:45 Updated by: cazfi
  • Status Update from Open to Closed
  • Resolution Update from Accepted to Fixed

Edit

Please login to add comment to this ticket » Login