bug-apl
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug-apl] Several bugs


From: Анастасия Яблоков
Subject: [Bug-apl] Several bugs
Date: Fri, 13 Jun 2014 01:34:58 +0400

The two following inputs cause APL to crash:

$ echo "**********************" | apl --script

$ echo "10?111111111111" | apl --script

Any characters like !,*,~ and , can cause the first one. Starts happening after about 18 characters.
The second one can be used by large numbers being passed to the deal. Doesn't occur without a number prefixing it (0 works in triggering the bug).

Other non crash bug:
This shows the random function returning the same values on each run, which isn't very random. This only occurs in scripts passed by stdin or by the -f option.
$ echo "10?10" | apl --script

All bugs tested on both Debian 7.2 and OSX 10.9.
(input can be given in any form, echo used for clarity)

reply via email to

[Prev in Thread] Current Thread [Next in Thread]