diff options
| author | Martin Kosek <mkosek@redhat.com> | 2013-02-07 13:17:28 +0100 |
|---|---|---|
| committer | Martin Kosek <mkosek@redhat.com> | 2013-02-12 10:37:23 +0100 |
| commit | ce90a4538bb78eba310f34b3dc4b51413d50c4be (patch) | |
| tree | ea083b169e6b5f843a590861102093f0e9ba3680 /ipapython/test | |
| parent | e234edc9957cd1f530b1eff632774a7e09dc1e18 (diff) | |
ipa-kdb: avoid ENOMEM when all SIDs are filtered out
When all SIDs in info3.sids structure were filtered out, we tried
to talloc_realloc to zero memory size. talloc_realloc then returned
NULL pointer and filter_login_info returned with ENOMEM.
The code now rather frees the SID array and set info3.sidcount to
correct value.
Diffstat (limited to 'ipapython/test')
0 files changed, 0 insertions, 0 deletions
