Skip to content

Commit

Permalink
Merge pull request #5154 from rgerhards/i5148
Browse files Browse the repository at this point in the history
mmnormalize bugfix: if msg cannot be parsed, parser chain is stopped
  • Loading branch information
rgerhards committed Jun 19, 2023
2 parents fa83b5b + f2bac98 commit 7db2a0f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion plugins/pmnormalize/pmnormalize.c
Original file line number Diff line number Diff line change
Expand Up @@ -234,10 +234,11 @@ CODESTARTparse2
"json: %s\n", r, fjson_object_to_json_string(json));
}
fjson_object_put(json);
ABORT_FINALIZE(RS_RET_COULD_NOT_PARSE);
} else {
iRet = MsgSetPropsViaJSON_Object(pMsg, json);
}

finalize_it:
ENDparse2


Expand Down

0 comments on commit 7db2a0f

Please sign in to comment.