From: Jon Trulson Date: Fri, 26 Dec 2014 22:58:50 +0000 (-0700) Subject: DtTerm: Coverity (memory corruption, moderate) X-Git-Tag: 2.2.3~80 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=cedb47114f402ffa865175f9ab6e93a8ae6a974c;p=oweals%2Fcde.git DtTerm: Coverity (memory corruption, moderate) --- 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; /*