From 712b13756a09014ef730c8f9b96da4dc2f09b762 Mon Sep 17 00:00:00 2001 From: Tavian Barnes Date: Fri, 11 Nov 2022 14:59:54 -0500 Subject: exec: Fix index overflow parsing -exec + --- tests/posix/exec_plus_nothing.sh | 2 ++ tests/posix/ok_plus_nothing.sh | 2 ++ 2 files changed, 4 insertions(+) create mode 100644 tests/posix/exec_plus_nothing.sh create mode 100644 tests/posix/ok_plus_nothing.sh (limited to 'tests/posix') diff --git a/tests/posix/exec_plus_nothing.sh b/tests/posix/exec_plus_nothing.sh new file mode 100644 index 0000000..ef01968 --- /dev/null +++ b/tests/posix/exec_plus_nothing.sh @@ -0,0 +1,2 @@ +# Regression test: don't look OOB for {} + +fail invoke_bfs basic -exec + diff --git a/tests/posix/ok_plus_nothing.sh b/tests/posix/ok_plus_nothing.sh new file mode 100644 index 0000000..7cb7de5 --- /dev/null +++ b/tests/posix/ok_plus_nothing.sh @@ -0,0 +1,2 @@ +# Regression test: don't look OOB for {} + +fail invoke_bfs basic -ok + -- cgit v1.2.3