Skip to content

Commit

Permalink
Pacify Coverity (CID #1634478)
Browse files Browse the repository at this point in the history
  • Loading branch information
ndptech committed Nov 6, 2024
1 parent 9f3d477 commit c01f1db
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/lib/eap/base.c
Original file line number Diff line number Diff line change
Expand Up @@ -431,7 +431,8 @@ unlang_action_t eap_virtual_server(request_t *request, eap_session_t *eap_sessio
*/
fr_state_restore_to_child(request, eap_session->identity, REQUEST_DATA_EAP_SESSION);

fr_pair_prepend_by_da(request->request_ctx, &vp, &request->request_pairs, attr_packet_type);
if (fr_pair_prepend_by_da(request->request_ctx, &vp, &request->request_pairs,
attr_packet_type) < 0) return UNLANG_ACTION_FAIL;
vp->vp_uint32 = FR_RADIUS_CODE_ACCESS_REQUEST;

if (unlang_function_push(request, NULL, eap_virtual_server_resume, NULL, 0,
Expand Down

0 comments on commit c01f1db

Please sign in to comment.