Ignore:
Timestamp:
May 13, 2014, 11:39:04 AM (11 years ago)
Author:
Silvan Scherrer
Message:

Samba Server: update trunk to 3.6.23

Location:
trunk/server
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/server

  • trunk/server/nsswitch/libwbclient/wbc_sid.c

    r745 r862  
    422422
    423423                names[i].domain_index = strtoul(p, &q, 10);
     424                if (names[i].domain_index < 0) {
     425                        goto wbc_err_invalid;
     426                }
     427                if (names[i].domain_index >= num_domains) {
     428                        goto wbc_err_invalid;
     429                }
     430
    424431                if (*q != ' ') {
    425432                        goto wbc_err_invalid;
Note: See TracChangeset for help on using the changeset viewer.