Searched refs:rd_len (Results 1 – 2 of 2) sorted by relevance
706 UInt rd_len = read_UInt_le(&rd_first8[4]); in handle_transaction() local709 if (rd_len > 4*1024*1024) goto fail; in handle_transaction()712 req->n_data = rd_len; in handle_transaction()713 req->data = calloc(rd_len, 1); in handle_transaction()714 if (rd_len > 0) { in handle_transaction()716 if (r != rd_len) goto fail; in handle_transaction()
249 UInt rd_len = read_UInt_le(&rd_first8[4]); in do_transaction() local252 if (rd_len < 4 || rd_len > 4*1024*1024) return NULL; in do_transaction()254 res->n_data = rd_len; in do_transaction()255 res->data = ML_(dinfo_zalloc)("di.do_transaction.2", rd_len); in do_transaction()257 if (r != rd_len) return NULL; in do_transaction()