dc: Fix segfault when executing strings generated using asciify
function old new delta zxc_vm_process 6884 6891 +7 Signed-off-by: Brian Foley <bpfoley@google.com> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
This commit is contained in:
committed by
Denys Vlasenko
parent
7454879a1d
commit
b64470be17
@@ -54,6 +54,11 @@ testing "dc: x should not execute or pop non-strings" \
|
||||
"42\n" \
|
||||
"" ""
|
||||
|
||||
testing "dc: x should work with strings created from a" \
|
||||
"dc -e'42 112 a x'" \
|
||||
"42\n" \
|
||||
"" ""
|
||||
|
||||
testing "dc read" \
|
||||
"dc -finput" \
|
||||
"2\n9\n1\n" \
|
||||
|
Reference in New Issue
Block a user