Commit 09c805a4 authored by Lars Ingebrigtsen's avatar Lars Ingebrigtsen

Add recursion check for comint password prompting

* lisp/comint.el (comint--prompt-recursion-depth): New variable
(bug#33252).
(comint-watch-for-password-prompt): Use it to avoid bugging out
and making Emacs unusable when a shell script is prompting for
passwords in an infloop.
parent 08f0b0b9
Pipeline #2361 passed with stage
in 53 minutes and 48 seconds