mirror of
https://git.tartarus.org/simon/putty.git
synced 2025-03-19 05:15:26 -05:00

If term_get_userpass_input is called with term->ldisc not yet set up, then we had a special-case handler that returns an error message - but it does it via the same subroutine that returns normal results, which also turns off the prompt callback in term->ldisc! Need an extra NULL check in that subroutine. Thanks Coverity.