Post a reply

Before posting, please read how to report bug or request support effectively.

Bug reports without an attached log file are usually useless.

Options
Add an Attachment

If you do not want to add an Attachment to your Post, please leave the Fields blank.

(maximum 10 MB; please compress large files; only common media, archive, text and programming file formats are allowed)

Options

Topic review

pm

RE: kerberos names contain trailing NULL

PS. A really nice product!
pm

kerberos names contain trailing NULL

When calling gssapi import_name function winscp passes in the trailing null. THis is incorrect and blows up the kerberos gss lib I am using.

The problem is here in ssh_gss_import_name

gssbuf.length = sizeof("host@") + strlen(host);

sizeof includes the trailing null on the end of "host@"

I suspect that the MIT kerberos library forgives this error