[krbdev.mit.edu #7223] SVN Commit

Greg Hudson via RT rt-comment at krbdev.mit.edu
Wed Aug 15 15:34:00 EDT 2012


Fix apply_keysalt_policy bug

If apply_keysalt_policy is called with null result arguments (as from
kadm5_setkey_principal_3), we would dereference a null pointer if the
principal has no policy or no policy allowed_keysalts field, due to an
incorrect optimization.  Reported by Nico.

https://github.com/krb5/krb5/commit/b52d0c793c82e9c74f03b1d2a5d251a1adc4626f
Author: Greg Hudson <ghudson at mit.edu>
Commit: b52d0c793c82e9c74f03b1d2a5d251a1adc4626f
Branch: master
 src/lib/kadm5/srv/svr_principal.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)



More information about the krb5-bugs mailing list