Differences From Artifact [c450a901da]:
- File ssh.c — part of check-in [f3f0eafa38] at 2004-12-02 07:37:28 on branch trunk — NULL a couple of members after freeing them in ssh_free(). In particular, should stop ssh_do_close() accessing freed ssh->channels when invoked later from ssh_free(). Spotted by Fred Sauer. (Perhaps this is the cause of the crashes people have been reporting on abnormal closures such as `Software caused connection abort'? I've not been able to test this.) (user: jacob size: 226685)
To Artifact [7e59e9caff]:
- File ssh.c — part of check-in [95d7fcd0a1] at 2004-12-16 09:38:39 on branch trunk — Fix obviously stupid segfault. Ahem. (user: simon size: 226685)
| ︙ | |||
7254 7255 7256 7257 7258 7259 7260 | 7254 7255 7256 7257 7258 7259 7260 7261 7262 7263 7264 7265 7266 7267 7268 7269 7270 | - + |
if (ssh->crcda_ctx) {
crcda_free_context(ssh->crcda_ctx);
ssh->crcda_ctx = NULL;
}
if (ssh->s)
ssh_do_close(ssh);
expire_timer_context(ssh);
|
| ︙ |