Discussion:
Windows Build of Kerberos V5 Release 1.19.1
Wagner Thomas 6220 sIT
2021-04-26 09:03:43 UTC
Permalink
Dear developer team,


We tried to build a windows version of 1.19.1 and raised an C-runtime exception decoding a kerberos ticket.

We think that we found following issue:

.\krb5-1.19.1\src\lib\krb5\rcache\rc_defl.c

line 70:
*fd_out = open(O_CREAT | O_RDWR | O_BINARY, 0600);

The filename is missing as parameter one.

*fd_out = open(fname, O_CREAT | O_RDWR | O_BINARY, 0600);


Please have a look on this.


Best regards
Thomas Wagner
_______________________________________________
krbdev mailing list ***@mit.edu
https://mailman.mit.edu/mailman/listinfo/krbdev
Greg Hudson
2021-04-26 21:54:17 UTC
Permalink
Post by Wagner Thomas 6220 sIT
*fd_out = open(O_CREAT | O_RDWR | O_BINARY, 0600);
The filename is missing as parameter one.
Thanks. I've submitted a fix, along with a change to the compiler
options to flag errors of this nature in our CI.
_______________________________________________
krbdev mailing list ***@mit.edu
https://mailman.mit.edu/mailman/listinfo/krbdev

Loading...