From cedb47114f402ffa865175f9ab6e93a8ae6a974c Mon Sep 17 00:00:00 2001 From: Jon Trulson Date: Fri, 26 Dec 2014 15:58:50 -0700 Subject: [PATCH] DtTerm: Coverity (memory corruption, moderate) --- cde/lib/DtTerm/TermPrim/TermPrimBufferWc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cde/lib/DtTerm/TermPrim/TermPrimBufferWc.c b/cde/lib/DtTerm/TermPrim/TermPrimBufferWc.c index 3f72b64f..58b665e3 100644 --- a/cde/lib/DtTerm/TermPrim/TermPrimBufferWc.c +++ b/cde/lib/DtTerm/TermPrim/TermPrimBufferWc.c @@ -300,7 +300,7 @@ _primBufferInsertWc short overflowWidth; short localCol; TermLine line; - wchar_t *pwc; + wchar_t *pwc = NULL; TermCharInfoRec charInfo; /* -- 2.25.1