From fbe630b28a6d401362ef63d12d202caa15999d03 Mon Sep 17 00:00:00 2001 From: David Huggins-Daines Date: Thu, 19 Sep 2024 07:45:00 -0400 Subject: [PATCH] fix: accept only valid octal digits (thanks fuzz!) --- playa/psparser.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/playa/psparser.py b/playa/psparser.py index e2c0c9c5..4a38e680 100755 --- a/playa/psparser.py +++ b/playa/psparser.py @@ -605,7 +605,7 @@ def _parse_hexstring(self) -> bytes: ) STRLEXER = re.compile( rb"""(?: - (?P \\\d{1,3}) + (?P \\[0-7]{1,3}) | (?P \\(?:\r\n?|\n)) | (?P \\.) | (?P \()