diff options
author | Daniel Borkmann <dborkman@redhat.com> | 2013-06-12 12:49:45 +0200 |
---|---|---|
committer | Daniel Borkmann <dborkman@redhat.com> | 2013-06-12 12:49:45 +0200 |
commit | 9c645ee7da2a82529ff3ed01d04e0893904d7702 (patch) | |
tree | dd1848a075fcdedcd6b7b2294881e8b16c218391 | |
parent | c0d19330c7df0a441545942e7ac87721c718edf4 (diff) |
flowtop: set bug if screen is NULL
If this is ever the case, bail out.
Signed-off-by: Daniel Borkmann <dborkman@redhat.com>
-rw-r--r-- | flowtop.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -917,6 +917,8 @@ static void presenter_screen_update(WINDOW *screen, struct flow_list *fl, [IPPROTO_ICMPV6] = 1, }; + bug_on(screen == NULL); + curs_set(0); maxy = getmaxy(screen); |