Ignore:
Timestamp:
Jun 28, 2011, 9:27:20 AM (14 years ago)
Author:
Herwig Bauernfeind
Message:

Samba 3.5: Update vendor to version 3.5.5

Location:
vendor/current/libcli/security
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • vendor/current/libcli/security/dom_sid.c

    r414 r581  
    116116        for (i=0;sidstr[i];i++) {
    117117                if (sidstr[i] == '-') num_sub_auths++;
     118        }
     119
     120        if (num_sub_auths > MAXSUBAUTHS) {
     121                return false;
    118122        }
    119123
  • vendor/current/libcli/security/dom_sid.h

    r414 r581  
    4141char *dom_sid_string(TALLOC_CTX *mem_ctx, const struct dom_sid *sid);
    4242
     43#ifndef MAXSUBAUTHS
     44#define MAXSUBAUTHS 15 /* max sub authorities in a SID */
     45#endif
     46
    4347#endif /*_DOM_SID_H_*/
    4448
Note: See TracChangeset for help on using the changeset viewer.