From: | ghudson@mit.edu |
Subject: | SVN Commit |
user() was replying to the user command and then calling login(),
which could send a continuation reply if it fails to chdir to the
user's homedir. Continuation replies must come before the actual
reply; the mis-ordering was causing ftp and ftpd to deadlock. To fix
the bug, invoke login() before reply() so that the continuation reply
comes first.
https://github.com/krb5/krb5/commit/c7d9d2c14150ab8df01c67fce258a27f6103eac4
Commit By: ghudson
Revision: 22519
Changed Files:
U trunk/src/appl/gssftp/ftpd/ftpd.c