Changeset 860 for vendor/current/source4/winbind
- Timestamp:
- May 12, 2014, 8:58:38 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
vendor/current/source4/winbind/wb_async_helpers.c
r740 r860 121 121 } 122 122 123 if (state->names.count != state->num_sids) { 124 composite_error(state->ctx, 125 NT_STATUS_INVALID_NETWORK_RESPONSE); 126 return; 127 } 128 123 129 state->result = talloc_array(state, struct wb_sid_object *, 124 130 state->num_sids); … … 141 147 } 142 148 149 if (domains == NULL) { 150 composite_error(state->ctx, 151 NT_STATUS_INVALID_NETWORK_RESPONSE); 152 return; 153 } 143 154 if (name->sid_index >= domains->count) { 144 155 composite_error(state->ctx, 145 NT_STATUS_INVALID_ PARAMETER);156 NT_STATUS_INVALID_NETWORK_RESPONSE); 146 157 return; 147 158 } … … 273 284 } 274 285 286 if (state->sids.count != state->num_names) { 287 composite_error(state->ctx, 288 NT_STATUS_INVALID_NETWORK_RESPONSE); 289 return; 290 } 291 275 292 state->result = talloc_array(state, struct wb_sid_object *, 276 293 state->num_names); … … 291 308 } 292 309 310 if (domains == NULL) { 311 composite_error(state->ctx, 312 NT_STATUS_INVALID_NETWORK_RESPONSE); 313 return; 314 } 293 315 if (sid->sid_index >= domains->count) { 294 316 composite_error(state->ctx, 295 NT_STATUS_INVALID_ PARAMETER);317 NT_STATUS_INVALID_NETWORK_RESPONSE); 296 318 return; 297 319 }
Note:
See TracChangeset
for help on using the changeset viewer.