diff options
author | Sumit Bose <sbose@redhat.com> | 2014-10-29 15:20:12 +0100 |
---|---|---|
committer | Jakub Hrozek <jhrozek@redhat.com> | 2014-11-04 12:34:44 +0100 |
commit | a1bd8bc666df7fa696523ec8ec1dfe3d79780588 (patch) | |
tree | 39881072cb375ee0119ad96edbcdb2e130195a8b /src/confdb | |
parent | cff89439b21f8573c6896b09cb1a8d5f9de3144c (diff) | |
download | sssd-a1bd8bc666df7fa696523ec8ec1dfe3d79780588.tar.gz sssd-a1bd8bc666df7fa696523ec8ec1dfe3d79780588.tar.xz sssd-a1bd8bc666df7fa696523ec8ec1dfe3d79780588.zip |
memberof: check for empty arrays to avoid segfaults
The arrays with members to add or delete may be empty, i.e. have 0
entries. In this case further processing should be skipped to avoid
segfaults later on.
Fixes (hopefully) https://fedorahosted.org/sssd/ticket/2430
Reviewed-by: Jakub Hrozek <jhrozek@redhat.com>
Diffstat (limited to 'src/confdb')
0 files changed, 0 insertions, 0 deletions