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:35:11 +0100
commit153efc74ff188c12c03e9578c6fb1d39c69ef5d7 (patch)
tree59d50c3676a9fd40a311805bd20113f9c228a57c /src/db
parent1ff814c4d42b1369fd21ec022b56e913ea5cbf62 (diff)
downloadsssd-153efc74ff188c12c03e9578c6fb1d39c69ef5d7.tar.gz
sssd-153efc74ff188c12c03e9578c6fb1d39c69ef5d7.tar.xz
sssd-153efc74ff188c12c03e9578c6fb1d39c69ef5d7.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