We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
tomllib.py
1 parent 1e97542 commit 2d5ff34Copy full SHA for 2d5ff34
1 file changed
tomllib.py
@@ -1,8 +1,11 @@
1
import tomllib
2
3
+POSSIBLE_EXCEPTIONS = (KeyError, RecursionError, tomllib.TOMLDecodeError,
4
+ TypeError, ValueError)
5
+
6
def FuzzerRunOne(FuzzerInput):
7
try:
8
tomllib.loads(FuzzerInput.decode("utf-8", "replace"))
- except tomllib.TOMLDecodeError:
9
+ except POSSIBLE_EXCEPTIONS:
10
return
11
0 commit comments