load_action_range_max() passing NULL as string
The function is actually only called when there's var name, but this should still be refactored to avoid the duplicate call.
Pushed to branches other than S3_1. S3_1 will wait for 3.1.0-beta3 release first.
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.