[krbdev.mit.edu #8393] git commit

Greg Hudson via RT rt-comment at krbdev.mit.edu
Mon Apr 25 21:10:16 EDT 2016


Fix minor race in kadmin time interval parsing

When parsing kadmin time intervals using getdate.y relative time
formats, make sure the same timestamp is added to and substracted from
the relative value.  To accomplish this, rename get_date() to
get_date_rel() with a second parameter for the current time, and make
get_date() a wrapper with the current signature for the benefit of
kdb5_util and kdb5_ldap_util.

https://github.com/krb5/krb5/commit/cf6e4cae6e43f06cb1d173576d155952440db2fc
Author: Greg Hudson <ghudson at mit.edu>
Commit: cf6e4cae6e43f06cb1d173576d155952440db2fc
Branch: master
 src/kadmin/cli/getdate.y |   12 ++++++++++--
 src/kadmin/cli/kadmin.c  |   10 +++++-----
 src/kadmin/cli/kadmin.h  |    2 +-
 3 files changed, 16 insertions(+), 8 deletions(-)



More information about the krb5-bugs mailing list