Skip to content

Commit

Permalink
Merge pull request #583 from collective/feat/improve-fuzzing-coverage
Browse files Browse the repository at this point in the history
Fuzzer Work: Added More Exception Handling
  • Loading branch information
niccokunzmann committed Nov 10, 2023
2 parents 0816d7b + 7cb4c56 commit 64d9f03
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
2 changes: 1 addition & 1 deletion CHANGES.rst
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ Minor changes:
- Added corpus to fuzzing directory
- Added exclusion of fuzzing corpus in MANIFEST.in
- Augmented fuzzer to optionally convert multiple calendars from a source string

- Added additional exception handling of defined errors to fuzzer, to allow fuzzer to explore deeper
Breaking changes:

- ...
Expand Down
6 changes: 5 additions & 1 deletion src/icalendar/fuzzing/ical_fuzzer.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,11 @@

_value_error_matches = [
"component", "parse", "Expected", "Wrong date format", "END encountered",
"vDDD", 'recurrence', 'Wrong datetime', 'Offset must', 'Invalid iCalendar'
"vDDD", 'recurrence', 'Offset must', 'Invalid iCalendar',
'alue MUST', 'Key name', 'Invalid content line', 'does not exist',
'base 64', 'must use datetime', 'Unknown date type', 'Wrong',
'Start time', 'iCalendar', 'recurrence', 'float, float', 'utc offset',
'parent'
]


Expand Down

0 comments on commit 64d9f03

Please sign in to comment.