summaryrefslogtreecommitdiffstats
path: root/src/db
diff options
context:
space:
mode:
authorAlexander Bokovoy <ab@samba.org>2013-12-24 13:01:46 +0200
committerJakub Hrozek <jhrozek@redhat.com>2014-01-09 10:34:28 +0100
commitfe521d1ad610920ce5411589a158157d6a5f0794 (patch)
treefb26313de337116d2122bbddf963369ee9afc505 /src/db
parent850f7b6ce4a0f3faa168d6ded2467585065436e6 (diff)
downloadsssd-fe521d1ad610920ce5411589a158157d6a5f0794.tar.gz
sssd-fe521d1ad610920ce5411589a158157d6a5f0794.tar.xz
sssd-fe521d1ad610920ce5411589a158157d6a5f0794.zip
FAST: when parsing krb5_child response, make sure to not miss OTP message if it was last one
The last message in the stream might be with empty payload which means we get only message type and message length (0) returned, i.e. 8 bytes left remaining in the stream after processing preceding message. This makes our calculation at the end of a message processing loop incorrect -- p+2*sizeof(int32_t) can be equal to len, after all. Fixes FAST processing for FreeIPA native OTP case: https://fedorahosted.org/sssd/ticket/2186
Diffstat (limited to 'src/db')
0 files changed, 0 insertions, 0 deletions