fr_value_box_bstrdup_buffer_shallow(NULL, &vp->data, NULL, identity, false);
}
- pair_update_request(&new, attr_session_id);
+ MEM(pair_update_request(&new, attr_session_id) >= 0);
fr_pair_value_memdup(new, (uint8_t const *)vp->vp_strvalue, vp->vp_length, vp->vp_tainted);
MEM(eap_aka_sim_session->fastauth_sent = talloc_bstrndup(eap_aka_sim_session,
identity[talloc_array_length(identity) - 1] = '\0';
fr_value_box_bstrdup_buffer_shallow(NULL, &vp->data, NULL, identity, false);
}
- pair_update_request(&new, attr_eap_aka_sim_next_pseudonym);
+ MEM(pair_update_request(&new, attr_eap_aka_sim_next_pseudonym) >= 0);
fr_pair_value_copy(new, vp);
MEM(eap_aka_sim_session->pseudonym_sent = talloc_bstrndup(eap_aka_sim_session,
*/
if (outlen > vb->vb_length) {
char *outbuff;
- fr_value_box_bstr_realloc(vb, &outbuff, vb, outlen);
+ if (fr_value_box_bstr_realloc(vb, &outbuff, vb, outlen) < 0) return -1;
memcpy(outbuff, escaped, outlen);
}
return UNLANG_ACTION_CALCULATE_RESULT;
}
while ((extent = fr_dlist_tail(&leaf))) {
- fr_pair_list_copy(extent->list_ctx, extent->list, &child->reply_pairs);
+ MEM(fr_pair_list_copy(extent->list_ctx, extent->list, &child->reply_pairs) >= 0);
fr_dlist_talloc_free_tail(&leaf);
}
}