Skip to content

Commit

Permalink
Merge pull request #311 from bshifter/unset-empties-rework
Browse files Browse the repository at this point in the history
filterx: add missing check for unexpected arguments in unset_empties
  • Loading branch information
alltilla authored Sep 26, 2024
2 parents b0812f9 + 845b026 commit 811b33f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/filterx/func-unset-empties.c
Original file line number Diff line number Diff line change
Expand Up @@ -489,7 +489,8 @@ filterx_function_unset_empties_new(FilterXFunctionArgs *args, GError **error)

reset_flags(&self->flags, ALL_FLAG_SET(FilterXFunctionUnsetEmptiesFlags));

if (!_extract_args(self, args, error))
if (!_extract_args(self, args, error) ||
!filterx_function_args_check(args, error))
goto error;

filterx_function_args_free(args);
Expand Down

0 comments on commit 811b33f

Please sign in to comment.