summaryrefslogtreecommitdiffstats
path: root/match.c
diff options
context:
space:
mode:
Diffstat (limited to 'match.c')
-rw-r--r--match.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/match.c b/match.c
index a82f47da..9b2a6900 100644
--- a/match.c
+++ b/match.c
@@ -2129,7 +2129,7 @@ static val v_trailer(match_files_ctx *c)
*/
uw_unwind {
uw_frame_t *ex = uw_current_exit_point();
- if (ex->uw.type == UW_BLOCK && ex->bl.protocol == accept_s)
+ if (ex && ex->uw.type == UW_BLOCK && ex->bl.protocol == accept_s)
rplacd(ex->bl.result, cons(c->data, c->data_lineno));
}