Skip to content

Commit

Permalink
filterx: handle errors in filterx_expr_eval_typed()
Browse files Browse the repository at this point in the history
Signed-off-by: Balazs Scheidler <[email protected]>
  • Loading branch information
bazsi committed Apr 8, 2024
1 parent c68e8cb commit 83c998c
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions lib/filterx/filterx-expr.h
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,10 @@ static inline FilterXObject *
filterx_expr_eval_typed(FilterXExpr *self)
{
FilterXObject *result = filterx_expr_eval(self);

if (!result)
return NULL;

FilterXObject *unmarshalled = filterx_object_unmarshal(result);

if (!unmarshalled)
Expand Down

0 comments on commit 83c998c

Please sign in to comment.