Skip to content
Snippets Groups Projects
Commit 11bdffdf authored by Michael Tüxen's avatar Michael Tüxen
Browse files

Don't crash when using

 setsockopt(3, SOL_SOCKET, SO_ACCEPTFILTER, {af_name = "dataready"}, ...) = 0
parent 1c459c6d
No related branches found
No related tags found
No related merge requests found
...@@ -3348,7 +3348,7 @@ accept_filter_arg ...@@ -3348,7 +3348,7 @@ accept_filter_arg
$$ = new_expression(EXPR_ACCEPT_FILTER_ARG); $$ = new_expression(EXPR_ACCEPT_FILTER_ARG);
$$->value.accept_filter_arg = calloc(1, sizeof(struct accept_filter_arg_expr)); $$->value.accept_filter_arg = calloc(1, sizeof(struct accept_filter_arg_expr));
$$->value.accept_filter_arg->af_name = $2; $$->value.accept_filter_arg->af_name = $2;
$$->value.accept_filter_arg->af_arg = NULL; $$->value.accept_filter_arg->af_arg = new_expression(EXPR_ELLIPSIS);
#else #else
$$ = NULL; $$ = NULL;
#endif #endif
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment