Ticket #413 (closed defect: fixed)
Opened 2 years ago
load-sa-rules.pl skips rules whose description lines start with spaces
| Reported by: | rjl | Owned by: | rjl |
|---|---|---|---|
| Priority: | normal | Milestone: | 1.0.3 |
| Component: | Perl scripts | Version: | 1.0.2 |
| Severity: | normal | Keywords: | load-sa-rules.pl describe |
| Cc: |
Description
The regex in scan_rule_file() is only looking for the word "describe" in a
left-anchored position, e.g.
/describe..../
Any leading whitespace before the word "describe" causes the rule to be skipped. The script should be made more tolerant of leading whitespace.
Change History
Note: See
TracTickets for help on using
tickets.

