[krbdev.mit.edu #6543] SVN Commit

Tom Yu via RT rt-comment at krbdev.mit.edu
Mon Sep 28 21:39:03 EDT 2009


pull up r22519 from trunk

 ------------------------------------------------------------------------
 r22519 | ghudson | 2009-08-12 14:53:47 -0400 (Wed, 12 Aug 2009) | 12 lines

 ticket: 6543
 subject: Reply message ordering bug in ftpd
 tags: pullup
 target_version: 1.7

 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.

http://src.mit.edu/fisheye/changelog/krb5/?cs=22812
Commit By: tlyu
Revision: 22812
Changed Files:
U   branches/krb5-1-7/src/appl/gssftp/ftpd/ftpd.c




More information about the krb5-bugs mailing list