diff options
author | Pavel Březina <pbrezina@redhat.com> | 2013-02-27 12:12:19 +0100 |
---|---|---|
committer | Jakub Hrozek <jhrozek@redhat.com> | 2013-03-01 10:10:21 +0100 |
commit | cd2327153a9ac55f3cf470c294691506096bd1eb (patch) | |
tree | 6c8ef50ff180b279e755cf9b289c98158186e0a9 /src/db/sysdb_upgrade.c | |
parent | 30c76633788c498b7d34e7e5944a3d36f26ec2db (diff) | |
download | sssd-cd2327153a9ac55f3cf470c294691506096bd1eb.tar.gz sssd-cd2327153a9ac55f3cf470c294691506096bd1eb.tar.bz2 sssd-cd2327153a9ac55f3cf470c294691506096bd1eb.zip |
autofs: fix invalid header 'number of entries' in packet
https://fedorahosted.org/sssd/ticket/1739
Pointer to packet body may change while filling packet with autofs
mount points. As a consequence, we sometimes wrote the number of
entries into invalid body and we recieved an arbitrary number
on the client side.
If the number was 0, there were some skipped entries. If the number
was greater than 0, everything worked correctly, because we iterate
through the cached entries until we reach packet length - we don't
compare to the number.
Diffstat (limited to 'src/db/sysdb_upgrade.c')
0 files changed, 0 insertions, 0 deletions