Commit Graph

2 Commits

Author SHA1 Message Date
DavidKorczynski 89436392c7
croniter: catch top-level exceptions (#9948)
The current exceptions caught are not the top-level croniter ones. This
changes it to be that.

Fixes, e.g.: https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=57122

Signed-off-by: David Korczynski <david@adalogics.com>
2023-03-18 13:29:23 +00:00
Sean Gilligan 4325da9f17
Improving coverage for croniter (#9860)
`fuzz_iter.py`
- Added coverage of optional `hash_id` parameter
- Added call to `is_valid` method
- Added call to `get_next` & `get_prev` methods for the returned
croniter iterator

`fuzz_match.py`
- Added fuzzing of `croniter.match`

`fuzz_range.py`
- Added fuzzing of `croniter.range`
2023-03-15 03:42:13 -07:00