commit 6e3e5d9c28d4cb12a35d58ed075a25edd6b6a98f from: Stefan Sperling date: Thu Oct 18 13:35:24 2018 UTC fix a NULL deref in tog commit - 5de5890b2ef3bcc0dc71dcbb4ecea948a6fb9599 commit + 6e3e5d9c28d4cb12a35d58ed075a25edd6b6a98f blob - c414939ac76b56daca8dca217ab02535d4019773 blob + 82f68df62a56e13c9eedea83c7c8f227f69e0fc4 --- tog/tog.c +++ tog/tog.c @@ -403,7 +403,7 @@ view_resize(struct tog_view *view) view->lines = LINES; view->cols = COLS; - if (view_is_parent_view(view)) { + if (view->child) { view->child->begin_x = view_split_begin_x(view->begin_x); if (view->child->begin_x == 0) { view_fullscreen(view->child);