Topic "kerberos names contain trailing NULL"

Author Message
pm

Guest


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
pm

Guest


PS. A really nice product!
Advertisements

You can post new topics in this forum






Search Site

What is WinSCP?

It is award-winning SFTP client, SCP client, FTPS client and FTP client integrated into one software program for file transfer to FTP server or secure SFTP server. [More]

And it's free!

Donate

About donations

$9   $19   $49   $99

About donations

Recommend

WinSCP Privacy Policy

WinSCP License