Ignore:
Timestamp:
May 12, 2014, 8:58:38 PM (11 years ago)
Author:
Silvan Scherrer
Message:

Samba 3.6: updated vendor to latest version

File:
1 edited

Legend:

Unmodified
Added
Removed
  • vendor/current/source4/libcli/util/clilsa.c

    r740 r860  
    255255        if (names.count != 1) {
    256256                talloc_free(mem_ctx2);
    257                 return NT_STATUS_UNSUCCESSFUL;
     257                return NT_STATUS_INVALID_NETWORK_RESPONSE;
     258        }
     259        if (domains == NULL) {
     260                talloc_free(mem_ctx2);
     261                return NT_STATUS_INVALID_NETWORK_RESPONSE;
     262        }
     263        if (domains->count != 1) {
     264                talloc_free(mem_ctx2);
     265                return NT_STATUS_INVALID_NETWORK_RESPONSE;
     266        }
     267        if (names.names[0].sid_index != UINT32_MAX &&
     268            names.names[0].sid_index >= domains->count)
     269        {
     270                talloc_free(mem_ctx2);
     271                return NT_STATUS_INVALID_NETWORK_RESPONSE;
    258272        }
    259273
     
    316330        if (sids.count != 1) {
    317331                talloc_free(mem_ctx2);
    318                 return NT_STATUS_UNSUCCESSFUL;
     332                return NT_STATUS_INVALID_NETWORK_RESPONSE;
     333        }
     334        if (domains->count != 1) {
     335                talloc_free(mem_ctx2);
     336                return NT_STATUS_INVALID_NETWORK_RESPONSE;
    319337        }
    320338
Note: See TracChangeset for help on using the changeset viewer.