127
125
/* work out how much to expand to get a non fault */
129
129
stub_in = data_blob(NULL, base_in->length + n);
130
130
data_blob_clear(&stub_in);
131
131
memcpy(stub_in.data, base_in->data, insert_ofs);
132
132
memcpy(stub_in.data+insert_ofs+n, base_in->data+insert_ofs, base_in->length-insert_ofs);
134
status = dcerpc_request(p, NULL, opnum, tctx, &stub_in, &stub_out);
138
145
printf("expand by %d gives %s\n", n, nt_errstr(status));