]> git.ipfire.org Git - thirdparty/krb5.git/commit
Avoid infinite loop on duplicate keysalts
authorBen Kaduk <kaduk@mit.edu>
Thu, 20 Nov 2014 20:44:04 +0000 (15:44 -0500)
committerBen Kaduk <kaduk@mit.edu>
Thu, 20 Nov 2014 20:44:04 +0000 (15:44 -0500)
commitc828e7cb137de3559f026dcc552a52162d9ca5cd
tree47031346700dc64d526537ff5766ce400ab8d6db
parent3eeb1a7eaa6757502d73944b7694405cdd571e1c
Avoid infinite loop on duplicate keysalts

When duplicate suppression was requested, we would enter an
infinite loop upon encountering a duplicate entry, a bug
introduced in commit 0918990bf1d8560d74473fc0e41d08d433da1a15
and thus present in release 1.13.

Rework the conditional to avoid the loop, at the expense of
additional indentation for some of the code.

Ticket: 8038
tags: pullup
target_version: 1.13.1
src/lib/kadm5/str_conv.c