diff options
author | Alexander Bokovoy <ab@samba.org> | 2013-12-24 13:01:46 +0200 |
---|---|---|
committer | Jakub Hrozek <jhrozek@redhat.com> | 2014-01-09 16:54:41 +0100 |
commit | 103f7efda7b84e7c791af2ebc2255e61e826fd75 (patch) | |
tree | 0a7d56e984d81a09f953a3c4795d8ac5484ab9f6 /server/examples | |
parent | 91ab35daf713e146dfae53a67f6b86b424c897d5 (diff) | |
download | sssd-1.11.2-24.el7.tar.gz sssd-1.11.2-24.el7.tar.xz sssd-1.11.2-24.el7.zip |
FAST: when parsing krb5_child response, make sure to not miss OTP message if it was last onesssd-1.11.2-24.el7
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 'server/examples')
0 files changed, 0 insertions, 0 deletions