aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorGavin Howard <gavin@yzena.com>2021-07-25 19:44:32 -0600
committerGavin Howard <gavin@yzena.com>2021-07-25 19:44:32 -0600
commit2c1f677422e8bf0dccb8664ae8618812e0e597e9 (patch)
treef79fc368370ccab9de1f7ca2d7eac355c67a8973 /tests
parent5e165d8c05a0c42403cf6e4e86ad5d164b41ee54 (diff)
downloadplatform_external_bc-2c1f677422e8bf0dccb8664ae8618812e0e597e9.tar.gz
platform_external_bc-2c1f677422e8bf0dccb8664ae8618812e0e597e9.tar.bz2
platform_external_bc-2c1f677422e8bf0dccb8664ae8618812e0e597e9.zip
Fix a crash, a firing assert
This was caused by not unsetting vm.is_stdin when pulling data from stdin for read(). Signed-off-by: Gavin Howard <gavin@yzena.com>
Diffstat (limited to 'tests')
-rw-r--r--tests/bc/errors/29.txt20
1 files changed, 20 insertions, 0 deletions
diff --git a/tests/bc/errors/29.txt b/tests/bc/errors/29.txt
new file mode 100644
index 00000000..36368adf
--- /dev/null
+++ b/tests/bc/errors/29.txt
@@ -0,0 +1,20 @@
+uobase = obaseseed=273546
+seed=N7273546
+read()@546
+seed=946
+read()@546
+seed=99999G9999999CDDDDDDDCDDDDDDDN7273546
+eed=273546
+seed=N7273546
+read()@546
+seez=9999CDDDDDDDN7"73546
+eed=273546
+seed=N727354546
+seed=99999G99999999999999N7273546
+eed=273546
+seed=N7273546
+read()@546
+seed=9"99CDDDDDDDN7273546
+eed=273546
+seed=N72tuinj46
+seed=99999G99€99999999999C \ No newline at end of file