From: Jon Trulson Date: Mon, 2 Apr 2018 00:35:14 +0000 (-0600) Subject: dtcreate/CreateActionAppShell.c: coverity CID 175092; uninit ptr read X-Git-Tag: 2.2.4a~140 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=dbe044c24cb59fde8b047c06b93376ff7a83283c;p=oweals%2Fcde.git dtcreate/CreateActionAppShell.c: coverity CID 175092; uninit ptr read --- diff --git a/cde/programs/dtcreate/CreateActionAppShell.c b/cde/programs/dtcreate/CreateActionAppShell.c index d4987e5f..4818fc78 100644 --- a/cde/programs/dtcreate/CreateActionAppShell.c +++ b/cde/programs/dtcreate/CreateActionAppShell.c @@ -249,7 +249,7 @@ void activateCB_CA_MB_FileSave(Widget UxWidget, { ushort usRc = 0; - char *pszActionFile; + char *pszActionFile = NULL; char *msgPtr, *bufPtr; Boolean bHaveError = FALSE; struct stat statbuf;