Skip to content

Commit

Permalink
- fixed - null pointer dereference in mmsServer_handleDeleteNamedVari…
Browse files Browse the repository at this point in the history
…ableListRequest when receiving malformed message (LIB61850-430)
  • Loading branch information
mzillgith committed Feb 2, 2024
1 parent 5b35010 commit 2823184
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/mms/iso_mms/server/mms_named_variable_list_service.c
Expand Up @@ -140,6 +140,12 @@ mmsServer_handleDeleteNamedVariableListRequest(MmsServerConnection connection,
mmsMsg_createMmsRejectPdu(&invokeId, MMS_ERROR_REJECT_INVALID_PDU, response);
goto exit_function;
}

if (request->listOfVariableListName == NULL)
{
mmsMsg_createMmsRejectPdu(&invokeId, MMS_ERROR_REJECT_INVALID_PDU, response);
goto exit_function;
}

long scopeOfDelete = DeleteNamedVariableListRequest__scopeOfDelete_specific;

Expand Down

0 comments on commit 2823184

Please sign in to comment.