diff options
author | Alexander Bokovoy <ab@samba.org> | 2013-12-24 13:01:46 +0200 |
---|---|---|
committer | Jakub Hrozek <jhrozek@redhat.com> | 2014-01-09 10:34:28 +0100 |
commit | fe521d1ad610920ce5411589a158157d6a5f0794 (patch) | |
tree | fb26313de337116d2122bbddf963369ee9afc505 /src/db/sysdb_subdomains.c | |
parent | 850f7b6ce4a0f3faa168d6ded2467585065436e6 (diff) | |
download | sssd-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/sysdb_subdomains.c')
0 files changed, 0 insertions, 0 deletions