Red Hat Bugzilla – Bug 14301
workstation 1.1.1-21 ftp core dumps on put nfs* when symlink present.
Last modified: 2008-05-01 11:37:56 EDT
This was an accidental discovery I was shipping the updated nfs-utils around to various systems and
on one I had a symlink nfs1 --> /nfs1 under a user account. put nfs* immediately core dumps with a
segmentation fault. put nfs-* works, also oddly enough mput nfs* works to where it wants to also
upload the symlink/directory. Like I side I dont knowhow much of a bug this is but I thought I report it
*** Bug 14303 has been marked as a duplicate of this bug. ***
The symlink seems to be a red herring. I can trigger this also with 'put *' and
regular files. Poke around with gdb and you see that the seg fault is in a
free, relatively obvious conclusion to come to. Comparison to the netkit ftp
source (which has the same ancient base as the mit code) shows that the free in
cmds.c:1863 (krb5-1.2.1) isn't present in the netkit source. Removal of this
line seems to fix the problem for me
This should be fixed in krb5-1.1.1-25 and krb5-1.2.1-9. Until Raw Hide gets
refreshed, you can grab updated packages from http://people.redhat.com/krb5/.