We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ee2d5ea commit 7c9c5ffCopy full SHA for 7c9c5ff
1 file changed
src/routes.c
@@ -2961,6 +2961,10 @@ static wolfsentry_errcode_t wolfsentry_route_event_dispatch_by_route_1(
2961
WOLFSENTRY_ERROR_RERETURN(ret);
2962
}
2963
2964
+ if (route->header.parent_table == NULL) {
2965
+ ret = WOLFSENTRY_ERROR_ENCODE(INTERNAL_CHECK_FATAL);
2966
+ goto out;
2967
+ }
2968
if (route->header.parent_table->ent_type != WOLFSENTRY_OBJECT_TYPE_ROUTE) {
2969
ret = WOLFSENTRY_ERROR_ENCODE(WRONG_OBJECT);
2970
goto out;
0 commit comments