Actions
Bug #5010
closedfailure with dataset file mishandling
Affected Versions:
Effort:
Difficulty:
Label:
Description
Traceback (most recent call last):
File "./bin/suricata-update", line 33, in <module>
sys.exit(main.main())
File "/home/ard/Orgs/oisf/suricata-update/suricata/update/main.py", line 1323, in main
sys.exit(_main())
File "/home/ard/Orgs/oisf/suricata-update/suricata/update/main.py", line 1259, in _main
write_merged(os.path.join(output_filename), rulemap, dep_files)
File "/home/ard/Orgs/oisf/suricata-update/suricata/update/main.py", line 497, in write_merged
handle_dataset_files(rule, dep_files)
File "/home/ard/Orgs/oisf/suricata-update/suricata/update/main.py", line 427, in handle_dataset_files
load_attr = [el.strip() for el in rule.dataset.split(",") if "load" in el][0]
IndexError: list index out of range
Handle this and support all dataset attributes to avoid this.
Updated by Shivani Bhardwaj almost 4 years ago
- Status changed from Assigned to In Review
Updated by Jason Ish over 3 years ago
- Assignee changed from Shivani Bhardwaj to Jason Ish
- Target version changed from 1.3.0 to 1.2.4
Updated by Jason Ish over 3 years ago
- Status changed from In Review to Closed
Actions