9b3f22f SDAP: sysdb_search_users does not set users_count for failures

Authored and Committed by lslebodn 7 years ago
    SDAP: sysdb_search_users does not set users_count for failures
    
    ==32577== Conditional jump or move depends on uninitialised value(s)
    ==32577==    at 0x140DCE10: sdap_process_missing_member_2307 (sdap_async_groups.c:1556)
    ==32577==    by 0x140DCE10: sdap_process_group_members_2307 (sdap_async_groups.c:1625)
    ==32577==    by 0x140DCE10: sdap_process_group_send (sdap_async_groups.c:1298)
    ==32577==    by 0x140DCE10: sdap_get_groups_process (sdap_async_groups.c:2130)
    ==32577==    by 0x140CFDA8: generic_ext_search_handler.isra.3 (sdap_async.c:1688)
    ==32577==    by 0x140D2416: sdap_get_generic_op_finished (sdap_async.c:1578)
    ==32577==    by 0x140D0DFC: sdap_process_message (sdap_async.c:353)
    ==32577==    by 0x140D0DFC: sdap_process_result (sdap_async.c:197)
    ==32577==    by 0x8BF1B4E: tevent_common_loop_timer_delay (tevent_timed.c:341)
    ==32577==    by 0x8BF2B59: epoll_event_loop_once (tevent_epoll.c:911)
    ==32577==    by 0x8BF1256: std_event_loop_once (tevent_standard.c:114)
    ==32577==    by 0x8BED40C: _tevent_loop_once (tevent.c:533)
    ==32577==    by 0x8BED5AA: tevent_common_loop_wait (tevent.c:637)
    ==32577==    by 0x8BF11F6: std_event_loop_wait (tevent_standard.c:140)
    ==32577==    by 0x529DD02: server_loop (server.c:702)
    ==32577==    by 0x110951: main (data_provider_be.c:587)
    
    Resolves:
    https://fedorahosted.org/sssd/ticket/3121
    
    Reviewed-by: Pavel Březina <pbrezina@redhat.com>