From 56abbf15be4c2d451f7bbf8e7dc5cc77b0e820d2 Mon Sep 17 00:00:00 2001 From: Peter Howkins Date: Tue, 3 Jul 2018 18:07:10 +0100 Subject: [PATCH] dtpad: Coverity 174846 --- cde/programs/dtpad/main.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/cde/programs/dtpad/main.c b/cde/programs/dtpad/main.c index 83679c08..fa8dc64f 100644 --- a/cde/programs/dtpad/main.c +++ b/cde/programs/dtpad/main.c @@ -1876,4 +1876,8 @@ dtpadXIOErrorHandler( fprintf(stderr, "X IO Error"); PanicSave(); + + /* Man page for XSetIOErrorhandler says this is a fatal error and + * should not return */ + exit(EXIT_FAILURE); } -- 2.25.1