Ignore:
Timestamp:
Jun 17, 2009, 2:19:52 PM (16 years ago)
Author:
Herwig Bauernfeind
Message:

Update 3.3 branch to 3.3.5

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/samba-3.3.x/source/passdb/lookup_sid.c

    r223 r274  
    469469
    470470        if (num_rids) {
    471                 *names = TALLOC_ARRAY(mem_ctx, const char *, num_rids);
     471                *names = TALLOC_ZERO_ARRAY(mem_ctx, const char *, num_rids);
    472472                *types = TALLOC_ARRAY(mem_ctx, enum lsa_SidType, num_rids);
    473473
     
    475475                        return false;
    476476                }
     477
     478                for (i = 0; i < num_rids; i++)
     479                        (*types)[i] = SID_NAME_UNKNOWN;
    477480        } else {
    478481                *names = NULL;
Note: See TracChangeset for help on using the changeset viewer.