forked from krb5/krb5
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
In k5_externalize_auth_context(), serialize the correct field when remote_port is set. This is not a reachable bug because the function is only accessible via gss_export_sec_context(), and the GSS library does not set a remote port. In generic_gss_oid_to_str(), remove an inconsistent tests for a null minor_status. (XXX consider removing more checks in this file, and adding validation to g_oid_ops.c functions.) In the checksum functions, avoid crashing if the caller passes a null key and checksum type 0. An error will be returned instead when find_cksumtype() can't find the checksum type. (krb5_k_verify_checksum() already had this check.) In pkinit_open_session(), remove an unnecessary null check for ctx->p11_module_name, and add a check for p11name being null due to an asprintf() failure. In profile_add_node(), add a check for null ret_node in the duplicate subsection check. This is not a reachable bug becaues the function is currently never called with null ret_node and null value. In ksu's main(), check for krb5_cc_default_name() returning NULL (which only happens on allocation failure). Also clean up some vestiges left behind by commit 9ebae7c. In the KDC and kpropd write_pid_file(), avoid briefly leaking the file handle on write failure. In get_authorized_princ_names(), close login_fp if we fail to open k5users_path. Reported by Valery Fedorenko.
- Loading branch information
1 parent
15d5e8d
commit bc758b2
Showing
12 changed files
with
53 additions
and
67 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters