[Toybox] Toybox bc run away interactive process

Sasha Toltec sashatoltec1 at gmail.com
Mon Aug 27 00:57:37 PDT 2018


When attempting to use ctrl-c to kill the toybox bc implementation
while in non-interactive mode a bug results in it entering interactive
mode while the program continues to run and then the user loses
control of both interactive and non-interactive modes.

To reproduce:
echo "s(131231)" | ./bc -l   .. and hit ctrl-c

This consumes many GB of memory before finally exhausting the system.


Sasha Toltec
Toltec Enterprises
sashatoltec1 at gmail.com



More information about the Toybox mailing list