diff options
author | Maria Matejka <mq@ucw.cz> | 2021-12-06 19:03:00 +0100 |
---|---|---|
committer | Maria Matejka <mq@ucw.cz> | 2021-12-07 13:05:20 +0100 |
commit | 4f43d326b4ab8c8ddd4bc00152859e768c27590a (patch) | |
tree | bf37bbfed032ea2c9bd9d4ec8f6932a9495f2229 /lib/event.c | |
parent | e32eafaaa76c27fe5cae496e500e257a5dede7f3 (diff) |
Event list asserts to prevent running into rotten data
Diffstat (limited to 'lib/event.c')
-rw-r--r-- | lib/event.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/event.c b/lib/event.c index 5031f314..766ffa15 100644 --- a/lib/event.c +++ b/lib/event.c @@ -182,6 +182,7 @@ ev_run_list(event_list *l) WALK_LIST_FIRST(n, tmp_list) { event *e = SKIP_BACK(event, n, n); + ASSERT_DIE(n->next->prev == n); if (legacy) { |