From: Peter Howkins Date: Tue, 3 Jul 2018 17:07:10 +0000 (+0100) Subject: dtpad: Coverity 174846 X-Git-Tag: 2.3.0a~239 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=56abbf15be4c2d451f7bbf8e7dc5cc77b0e820d2;p=oweals%2Fcde.git dtpad: Coverity 174846 --- 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); }