]> git.ipfire.org Git - thirdparty/krb5.git/commit
Fix KDC to drop repeated in-progress requests
authorSarah Day <sarahday@mit.edu>
Mon, 15 Aug 2016 20:11:31 +0000 (16:11 -0400)
committerTom Yu <tlyu@mit.edu>
Fri, 2 Sep 2016 22:30:32 +0000 (18:30 -0400)
commit6b0085918a61e6dbe2a661ac46919bd90a5aa0ce
treea86075ff6778c4b0c2d482072115d800444acc6b
parentdbc0548cb76b5fc557c7aea70147c780321fae7f
Fix KDC to drop repeated in-progress requests

When a KDC receives a repeated request while the original request is
still in progress, it is supposed to be to drop the request.  Commit
f07760088b72a11c54dd72efbc5739f231a4d4b0 introduced a bug in this
logic, causing the KDC to instead send an empty reply.  In
kdc_check_lookaside(), return a NULL reply_packet for empty entries,
restoring the expected behavior.

[ghudson@mit.edu: edited commit message, added a comment]

(cherry picked from commit 847fc7b3caa823c219c97cc307ccb8d7d519a20f)

ticket: 8477
version_fixed: 1.13.7
src/kdc/replay.c