Differences From Artifact [409bcae31a]:
- File ssh.c — part of check-in [3f7657c9b5] at 2011-10-02 06:50:45 on branch trunk — While I'm crusading against arbitrary limits, here's a redesign of prompt_t to arrange that the buffer in which each prompt is stored can be reallocated larger during the input process. (user: simon size: 307233)
To Artifact [422cfc3c2d]:
- File ssh.c — part of check-in [596656b982] at 2011-12-07 13:07:02 on branch trunk — Add a missing free_prompts() call in the keyboard-interactive code. (user: simon size: 307541)
| ︙ | |||
8520 8521 8522 8523 8524 8525 8526 8527 8528 8529 8530 8531 8532 8533 | 8520 8521 8522 8523 8524 8525 8526 8527 8528 8529 8530 8531 8532 8533 8534 8535 8536 8537 8538 8539 8540 | + + + + + + + |
dont_log_password(ssh, s->pktout, PKTLOG_BLANK);
ssh2_pkt_addstring(s->pktout,
s->cur_prompt->prompts[i]->result);
end_log_omission(ssh, s->pktout);
}
ssh2_pkt_send_with_padding(ssh, s->pktout, 256);
/*
* Free the prompts structure from this iteration.
* If there's another, a new one will be allocated
* when we return to the top of this while loop.
*/
free_prompts(s->cur_prompt);
/*
* Get the next packet in case it's another
* INFO_REQUEST.
*/
crWaitUntilV(pktin);
}
|
| ︙ |