2c4dc7a nss-idmap: use right group list pointer after sss_get_ex()

1 file Authored by sbose 5 years ago, Committed by jhrozek 5 years ago,
    nss-idmap: use right group list pointer after sss_get_ex()
    
    If the initial array is too small it will be reallocated during
    sss_get_ex() and the pointer might change and the initial memory area
    should not be used anymore.
    
    Related to https://pagure.io/SSSD/sssd/issue/3715
    
    Reviewed-by: Jakub Hrozek <jhrozek@redhat.com>