summaryrefslogtreecommitdiffstats
path: root/ipa
diff options
context:
space:
mode:
authorMartin Kosek <mkosek@redhat.com>2013-02-07 13:17:28 +0100
committerMartin Kosek <mkosek@redhat.com>2013-02-12 10:37:23 +0100
commitce90a4538bb78eba310f34b3dc4b51413d50c4be (patch)
treeea083b169e6b5f843a590861102093f0e9ba3680 /ipa
parente234edc9957cd1f530b1eff632774a7e09dc1e18 (diff)
downloadfreeipa-ce90a4538bb78eba310f34b3dc4b51413d50c4be.tar.gz
freeipa-ce90a4538bb78eba310f34b3dc4b51413d50c4be.tar.xz
freeipa-ce90a4538bb78eba310f34b3dc4b51413d50c4be.zip
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 'ipa')
0 files changed, 0 insertions, 0 deletions