[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    koffice/filters/kword/mswrite
From:       Stephan Kulow <coolo () kde ! org>
Date:       2006-11-09 9:26:54
Message-ID: 1163064414.783701.17840.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 603498 by coolo:

translate coverity report into publically available info


 M  +3 -0      libmswrite.cpp  


--- trunk/koffice/filters/kword/mswrite/libmswrite.cpp #603497:603498
@@ -740,6 +740,9 @@
 
 					if (!m_generator->writeCharInfoBegin (charProp)) return false;
 				}
+#ifdef __GNUC__
+#warning if charProp is NULL, then this line will crash, so either the check above \
or the following line is buggy (CID 2839) +#endif
 
 				// ultimately aim for end of CharProperty block; if that's not possible, aim for \
                end of paragraph
 				DWord aimUltimateByte = charProp->getEndCharByte () > paraEndByte ? paraEndByte \
: charProp->getEndCharByte ();


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic