Skip to content

Commit

Permalink
fix missing handling of ?
Browse files Browse the repository at this point in the history
  • Loading branch information
ValekoZ committed Nov 10, 2024
1 parent d68a6dd commit 10cb8fa
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions gef.py
Original file line number Diff line number Diff line change
Expand Up @@ -8946,9 +8946,9 @@ def do_invoke(self, _: List[str], **kwargs: Any) -> None:
addr = safe_parse_and_eval(arg)

if addr is None:
if arg[0] in 'r-' and \
arg[1] in 'w-' and \
arg[2] in 'x-':
if arg[0] in 'r-?' and \
arg[1] in 'w-?' and \
arg[2] in 'x-?':
perms.union(Permission.from_filter_repr(arg))
continue

Expand Down

0 comments on commit 10cb8fa

Please sign in to comment.