Hi,

we found that ksh sometimes triggers fork bomb when it receives SIGTSTP, reproduced on both latest stable and latest alpha.

Reproducer:
============== create file /root/foo ==============
vi /tmp/bar
echo end
===================================================

$ ksh
# exec /root/foo

when in VI, send TSTP using CTRL-z

and ksh starts forking
$ ps -ef --forest
root      4741     1  0 20:11 pts/0    00:00:00 /root/foo
root      4742  4741  0 20:11 pts/0    00:00:00  \_ /root/foo
root      4743  4742  0 20:11 pts/0    00:00:00      \_ /root/foo
root      4744  4743  0 20:11 pts/0    00:00:00          \_ /root/foo
root      4745  4744  0 20:11 pts/0    00:00:00              \_
...

Let me know if you need more information.

Michal
_______________________________________________
ast-developers mailing list
ast-developers@lists.research.att.com
http://lists.research.att.com/mailman/listinfo/ast-developers

Reply via email to