Hi,
I've been running 'Cppcheck 1.44' on the whole source 27/10/10 10 GTM (I have a
slow machine) : I join the raw output sorted by 'Error Type'.
I run it too with '--enable=unusedFunctions' : I got 3195 matches... looks
enormous.
I'll check part of this output. Do I send the file ?
I've been looking at the (so-called) "Easy to solve bug" : Styles and Formatting
window does not remember hierarchical view.
Well, the source is so huge...
Regards.
[/mnt/sdb6/libreoffice-build-3.2.99.2/clone/bootstrap/dmake/dbug/malloc/testmem.c:167]: (error)
Buffer access out-of-bounds: one
[/mnt/sdb6/libreoffice-build-3.2.99.2/clone/bootstrap/dmake/dbug/malloc/testmem.c:171]: (error)
Buffer access out-of-bounds: one
[/mnt/sdb6/libreoffice-build-3.2.99.2/clone/bootstrap/dmake/dbug/malloc/testmem.c:177]: (error)
Buffer access out-of-bounds: one
[/mnt/sdb6/libreoffice-build-3.2.99.2/clone/bootstrap/dmake/dbug/malloc/testmem.c:182]: (error)
Buffer access out-of-bounds: one
[/mnt/sdb6/libreoffice-build-3.2.99.2/clone/bootstrap/dmake/dbug/malloc/testmem.c:185]: (error)
Buffer access out-of-bounds: one
[/mnt/sdb6/libreoffice-build-3.2.99.2/clone/bootstrap/dmake/dbug/malloc/testmem.c:188]: (error)
Buffer access out-of-bounds: one
[/mnt/sdb6/libreoffice-build-3.2.99.2/clone/bootstrap/dmake/msdos/dirlib.c:202]: (error) Buffer
access out-of-bounds: nd.dd_name
[/mnt/sdb6/libreoffice-build-3.2.99.2/clone/bootstrap/dmake/msdos/dirlib.c:206]: (error) Buffer
access out-of-bounds: nd.dd_name
[/mnt/sdb6/libreoffice-build-3.2.99.2/clone/bootstrap/dmake/msdos/dirlib.c:209]: (error) Buffer
access out-of-bounds: nd.dd_name
[/mnt/sdb6/libreoffice-build-3.2.99.2/clone/libs-gui/rsc/source/rscpp/cpp6.c:817]: (error) Buffer
access out-of-bounds: file.buffer
[clone/bootstrap/dmake/unix/arlib.c:151]: (error) Resource leak: f
[clone/bootstrap/dmake/unix/arlib.c:183]: (error) Resource leak: f
[clone/bootstrap/soltools/adjustvisibility/adjustvisibility.cxx:249]: (error) Resource leak: fd
[clone/sdk/odk/source/unoapploader/win/unoapploader.c:413]: (error) Resource leak: ferr
[clone/ure/sal/rtl/source/alloc.c:115]: (error) Resource leak: fd
[clone/calc/sc/source/ui/attrdlg/scdlgfact.cxx:1628]: (error) Null pointer dereference
[clone/filters/binfilter/bf_svtools/source/items1/svt_itemset.cxx:155]: (error) Null pointer
dereference
[clone/filters/binfilter/bf_svx/source/editeng/svx_editobj.cxx:285]: (error) Null pointer
dereference
[clone/filters/binfilter/bf_svx/source/svdraw/svx_svdobj.cxx:2365]: (error) Null pointer dereference
[clone/filters/binfilter/bf_sw/source/core/doc/sw_SwStyleNameMapper.cxx:482]: (error) Null pointer
dereference
[clone/filters/binfilter/bf_sw/source/core/doc/sw_SwStyleNameMapper.cxx:494]: (error) Null pointer
dereference
[clone/filters/binfilter/bf_sw/source/core/doc/sw_SwStyleNameMapper.cxx:506]: (error) Null pointer
dereference
[clone/filters/binfilter/bf_sw/source/core/doc/sw_SwStyleNameMapper.cxx:518]: (error) Null pointer
dereference
[clone/filters/binfilter/bf_sw/source/core/doc/sw_SwStyleNameMapper.cxx:530]: (error) Null pointer
dereference
[clone/filters/binfilter/bf_sw/source/core/doc/sw_SwStyleNameMapper.cxx:542]: (error) Null pointer
dereference
[clone/filters/binfilter/bf_sw/source/core/doc/sw_SwStyleNameMapper.cxx:556]: (error) Null pointer
dereference
[clone/filters/binfilter/bf_sw/source/core/doc/sw_SwStyleNameMapper.cxx:568]: (error) Null pointer
dereference
[clone/filters/binfilter/bf_sw/source/core/doc/sw_SwStyleNameMapper.cxx:582]: (error) Null pointer
dereference
[clone/filters/binfilter/bf_sw/source/core/doc/sw_SwStyleNameMapper.cxx:596]: (error) Null pointer
dereference
[clone/filters/binfilter/bf_sw/source/core/doc/sw_SwStyleNameMapper.cxx:610]: (error) Null pointer
dereference
[clone/filters/binfilter/bf_sw/source/core/except/sw_errhdl.cxx:111]: (error) Null pointer
dereference
[clone/filters/writerfilter/qa/cppunittests/xxml/testXXML.cxx:141]: (error) Null pointer dereference
[clone/libs-core/editeng/source/editeng/editobj.cxx:392]: (error) Null pointer dereference
[clone/libs-gui/canvas/source/vcl/canvas.cxx:119]: (error) Null pointer dereference
[clone/libs-gui/svl/source/items/itemset.cxx:152]: (error) Null pointer dereference
[clone/libs-gui/tools/source/debug/debug.cxx:311]: (error) Null pointer dereference
[clone/sdk/autodoc/source/parser_i/idl/parsenv2.cxx:200]: (error) Null pointer dereference
[clone/writer/sw/source/core/crsr/crossrefbookmark.cxx:73]: (error) Null pointer dereference
[clone/writer/sw/source/core/doc/SwStyleNameMapper.cxx:487]: (error) Null pointer dereference
[clone/writer/sw/source/core/doc/SwStyleNameMapper.cxx:499]: (error) Null pointer dereference
[clone/writer/sw/source/core/doc/SwStyleNameMapper.cxx:511]: (error) Null pointer dereference
[clone/writer/sw/source/core/doc/SwStyleNameMapper.cxx:523]: (error) Null pointer dereference
[clone/writer/sw/source/core/doc/SwStyleNameMapper.cxx:535]: (error) Null pointer dereference
[clone/writer/sw/source/core/doc/SwStyleNameMapper.cxx:547]: (error) Null pointer dereference
[clone/writer/sw/source/core/doc/SwStyleNameMapper.cxx:561]: (error) Null pointer dereference
[clone/writer/sw/source/core/doc/SwStyleNameMapper.cxx:573]: (error) Null pointer dereference
[clone/writer/sw/source/core/doc/SwStyleNameMapper.cxx:587]: (error) Null pointer dereference
[clone/writer/sw/source/core/doc/SwStyleNameMapper.cxx:601]: (error) Null pointer dereference
[clone/writer/sw/source/core/doc/SwStyleNameMapper.cxx:615]: (error) Null pointer dereference
[clone/writer/sw/source/core/except/errhdl.cxx:101]: (error) Null pointer dereference
[clone/writer/sw/source/ui/fldui/fldedt.cxx:172]: (error) Null pointer dereference
[clone/writer/sw/source/ui/fldui/fldedt.cxx:176]: (error) Null pointer dereference
[clone/writer/sw/source/ui/fldui/fldedt.cxx:180]: (error) Null pointer dereference
[clone/writer/sw/source/ui/fldui/fldedt.cxx:209]: (error) Null pointer dereference
[clone/writer/sw/source/ui/fldui/fldedt.cxx:214]: (error) Null pointer dereference
[clone/writer/sw/source/ui/fldui/fldedt.cxx:260]: (error) Null pointer dereference
[clone/writer/sw/source/ui/fldui/fldedt.cxx:290]: (error) Null pointer dereference
[clone/writer/sw/source/ui/fldui/fldpage.cxx:140]: (error) Null pointer dereference
[clone/writer/sw/source/ui/fldui/fldtdlg.cxx:220]: (error) Null pointer dereference
[clone/writer/sw/source/ui/misc/linenum.cxx:61]: (error) Null pointer dereference
[clone/writer/sw/source/ui/misc/linenum.cxx:76]: (error) Null pointer dereference
[clone/calc/sc/source/ui/pagedlg/areasdlg.cxx:432]: (error) Possible null pointer dereference: pEd
[clone/calc/sc/source/ui/view/output2.cxx:3257]: (error) Possible null pointer dereference: pInfo -
otherwise it is redundant to check if pInfo is null at line 3314
[clone/calc/sc/source/ui/view/output2.cxx:3258]: (error) Possible null pointer dereference: pInfo -
otherwise it is redundant to check if pInfo is null at line 3314
[clone/calc/sc/source/ui/view/output2.cxx:3264]: (error) Possible null pointer dereference: pInfo -
otherwise it is redundant to check if pInfo is null at line 3314
[clone/calc/sc/source/ui/view/tabvwsh3.cxx:697]: (error) Possible null pointer dereference: pDlg
[clone/calc/sc/source/ui/view/tabvwsh3.cxx:699]: (error) Possible null pointer dereference: pDlg
[clone/calc/sc/source/ui/view/viewfun4.cxx:396]: (error) Possible null pointer dereference:
pTObject - otherwise it is redundant to check if pTObject is null at line 397
[clone/calc/sc/source/ui/view/viewfunc.cxx:816]: (error) Possible null pointer dereference:
pCellAttrs
[clone/filters/binfilter/bf_svx/source/unodraw/svx_unopage.cxx:162]: (error) Possible null pointer
dereference: pShape - otherwise it is redundant to check if pShape is null at line 177
[clone/filters/binfilter/bf_svx/source/unodraw/svx_unoshap2.cxx:221]: (error) Possible null pointer
dereference: pShape - otherwise it is redundant to check if pShape is null at line 238
[clone/filters/binfilter/bf_sw/source/core/draw/sw_dcontact.cxx:926]: (error) Possible null pointer
dereference: pModify
[clone/filters/binfilter/bf_sw/source/core/layout/sw_frmtool.cxx:2309]: (error) Possible null
pointer dereference: pFloat
[clone/filters/binfilter/bf_sw/source/core/layout/sw_ftnfrm.cxx:1944]: (error) Possible null
pointer dereference: pBoss - otherwise it is redundant to check if pBoss is null at line 1947
[clone/filters/binfilter/bf_sw/source/core/layout/sw_newfrm.cxx:478]: (error) Possible null pointer
dereference: pNode - otherwise it is redundant to check if pNode is null at line 492
[clone/filters/binfilter/bf_sw/source/ui/uno/sw_unotxdoc.cxx:637]: (error) Possible null pointer
dereference: pxUnoCrsr
[clone/impress/sd/source/ui/func/fusnapln.cxx:186]: (error) Possible null pointer dereference: pPV
[clone/impress/slideshow/source/engine/OGLTrans/OGLTrans_TransitionerImpl.cxx:542]: (error)
Possible null pointer dereference: pWindow - otherwise it is redundant to check if pWindow is null
at line 545
[clone/libs-core/sfx2/source/appl/appserv.cxx:576]: (error) Possible null pointer dereference: crash
[clone/libs-core/ucb/source/sorter/sortdynres.cxx:344]: (error) Possible null pointer dereference:
pCurSet
[clone/libs-gui/toolkit/source/helper/unowrapper.cxx:263]: (error) Possible null pointer
dereference: pWindow - otherwise it is redundant to check if pWindow is null at line 317
[clone/libs-gui/toolkit/source/helper/unowrapper.cxx:279]: (error) Possible null pointer
dereference: pWindow - otherwise it is redundant to check if pWindow is null at line 317
[clone/libs-gui/toolkit/source/helper/unowrapper.cxx:295]: (error) Possible null pointer
dereference: pWindow - otherwise it is redundant to check if pWindow is null at line 317
[clone/libs-gui/toolkit/source/helper/unowrapper.cxx:299]: (error) Possible null pointer
dereference: pWindow - otherwise it is redundant to check if pWindow is null at line 317
[clone/libs-gui/tools/source/string/strcvt.cxx:181]: (error) Possible null pointer dereference:
pToolsData
[clone/libs-gui/tools/source/string/strcvt.cxx:238]: (error) Possible null pointer dereference:
pToolsData
[clone/libs-gui/tools/source/string/strcvt.cxx:334]: (error) Possible null pointer dereference:
pToolsData
[clone/libs-gui/tools/source/string/strcvt.cxx:341]: (error) Possible null pointer dereference:
pToolsData
[clone/libs-gui/tools/source/string/strcvt.cxx:344]: (error) Possible null pointer dereference:
pToolsData
[clone/libs-gui/tools/source/string/strcvt.cxx:351]: (error) Possible null pointer dereference:
pToolsData
[clone/libs-gui/ucbhelper/workben/ucbexplorer/ucbexplorer.cxx:983]: (error) Possible null pointer
dereference: pEntry
[clone/libs-gui/vcl/source/gdi/bitmap2.cxx:220]: (error) Possible null pointer dereference: pMemStm
[clone/ure/sal/rtl/source/locale.c:163]: (error) Possible null pointer dereference: pEntry
[clone/writer/starmath/source/view.cxx:1734]: (error) Possible null pointer dereference: pDlg
[clone/writer/sw/source/core/doc/tblrwcl.cxx:736]: (error) Possible null pointer dereference: pBxs
[clone/writer/sw/source/core/docnode/ndtbl.cxx:2855]: (error) Possible null pointer dereference:
pTab
[clone/writer/sw/source/core/draw/dcontact.cxx:2045]: (error) Possible null pointer dereference:
pModify
[clone/writer/sw/source/core/layout/frmtool.cxx:2687]: (error) Possible null pointer dereference:
pFloat
[clone/writer/sw/source/core/layout/ftnfrm.cxx:2810]: (error) Possible null pointer dereference:
pTmpBoss - otherwise it is redundant to check if pTmpBoss is null at line 2813
[clone/writer/sw/source/core/layout/ssfrm.cxx:284]: (error) Possible null pointer dereference: pBody
[clone/writer/sw/source/core/text/EnhancedPDFExportHelper.cxx:1105]: (error) Possible null pointer
dereference: pTxtFmt - otherwise it is redundant to check if pTxtFmt is null at line 1110
[clone/writer/sw/source/filter/html/wrthtml.cxx:731]: (error) Possible null pointer dereference:
pSurrSection
[clone/writer/sw/source/filter/html/wrthtml.cxx:731]: (error) Possible null pointer dereference:
pSurrFmt
[clone/writer/sw/source/ui/app/appopt.cxx:497]: (error) Possible null pointer dereference: pRet
[clone/writer/sw/source/ui/app/appopt.cxx:519]: (error) Possible null pointer dereference: pRet
[clone/writer/sw/source/ui/docvw/edtwin.cxx:3881]: (error) Possible null pointer dereference: pFmt
[clone/writer/sw/source/ui/frmdlg/wrap.cxx:650]: (error) Possible null pointer dereference:
pOpposite
[clone/writer/sw/source/ui/shells/drwbassh.cxx:243]: (error) Possible null pointer dereference: pDlg
[clone/writer/sw/source/ui/uiview/pview.cxx:818]: (error) Possible null pointer dereference: pDlg
[clone/writer/sw/source/ui/uiview/view2.cxx:1609]: (error) Possible null pointer dereference: pDlg
[clone/components/lingucomponent/source/spellcheck/macosxspell/macspellimp.cxx:425]: (error)
Uninitialized variable: count
[clone/filters/binfilter/bf_sfx2/source/doc/sfx2_objuno.cxx:511]: (error) Uninitialized variable:
nIntVal
[clone/filters/binfilter/bf_sfx2/source/doc/sfx2_objuno.cxx:526]: (error) Uninitialized variable:
nIntVal
[clone/filters/binfilter/bf_sw/source/core/fields/sw_expfld.cxx:1088]: (error) Uninitialized
variable: fVal
[clone/filters/binfilter/bf_sw/source/core/fields/sw_usrfld.cxx:342]: (error) Uninitialized
variable: fVal
[clone/filters/binfilter/bf_sw/source/core/swg/sw_swgstr.cxx:221]: (error) Uninitialized variable:
val
[clone/filters/binfilter/bf_sw/source/core/swg/sw_swgstr.cxx:224]: (error) Uninitialized variable:
val
[clone/filters/binfilter/bf_sw/source/core/unocore/sw_unoidx.cxx:408]: (error) Uninitialized
variable: pTOXBase
[clone/filters/binfilter/bf_sw/source/core/unocore/sw_unoidx.cxx:695]: (error) Uninitialized
variable: pTOXBase
[clone/filters/binfilter/bf_sw/source/core/unocore/sw_unostyle.cxx:1912]: (error) Uninitialized
variable: nSet
[clone/filters/binfilter/bf_sw/source/ui/app/sw_docstyle.cxx:820]: (error) Uninitialized variable:
pItem
[clone/filters/binfilter/bf_xmloff/source/core/xmloff_SettingsExportHelper.cxx:118]: (error)
Uninitialized variable: fDouble
[clone/filters/binfilter/bf_xmloff/source/forms/xmloff_controlpropertyhdl.cxx:313]: (error)
Uninitialized variable: fAngle
[clone/filters/binfilter/bf_xmloff/source/forms/xmloff_controlpropertyhdl.cxx:316]: (error)
Uninitialized variable: fAngle
[clone/filters/binfilter/bf_xmloff/source/text/xmloff_txtexppr.cxx:285]: (error) Uninitialized
variable: nTemp
[clone/filters/binfilter/bf_xmloff/source/text/xmloff_txtexppr.cxx:286]: (error) Uninitialized
variable: nTemp
[clone/filters/filter/source/msfilter/msdffimp.cxx:5153]: (error) Uninitialized variable: fNumber
[clone/filters/filter/source/msfilter/msdffimp.cxx:5154]: (error) Uninitialized variable: fNumber
[clone/filters/writerfilter/source/dmapper/DomainMapper.cxx:2864]: (error) Uninitialized variable:
fDoubleValue
[clone/filters/writerfilter/source/dmapper/DomainMapper.cxx:2865]: (error) Uninitialized variable:
fDoubleValue
[clone/libs-core/fpicker/source/aqua/ControlHelper.cxx:942]: (error) Uninitialized variable: menu
[clone/libs-gui/dtrans/source/win32/workbench/testmarshal.cxx:126]: (error) Uninitialized variable:
pIDo
[clone/libs-gui/i18npool/source/localedata/localedata.cxx:679]: (error) Uninitialized variable:
section
[clone/libs-gui/tools/bootstrp/command.cxx:493]: (error) Uninitialized variable: nRet
[clone/ure/bridges/source/cpp_uno/gcc3_linux_sparc/cpp2uno.cxx:387]: (error) Uninitialized
variable: nFunctionIndex
[clone/ure/bridges/source/cpp_uno/gcc3_solaris_sparc/cpp2uno.cxx:384]: (error) Uninitialized
variable: nFunctionIndex
[clone/ure/sal/qa/osl/mutex/osl_Mutex.cxx:279]: (error) Uninitialized variable: pGlobalMutex
[clone/ure/sal/qa/osl/mutex/osl_Mutex.cxx:535]: (error) Uninitialized variable: pGlobalMutex
[clone/ure/sal/qa/osl/mutex/osl_Mutex.cxx:558]: (error) Uninitialized variable: pGlobalMutex
[clone/ure/sal/qa/osl/mutex/osl_Mutex.cxx:562]: (error) Uninitialized variable: pGlobalMutex1
[clone/ure/stoc/test/testiadapter.cxx:361]: (error) Uninitialized variable: fFloat
[clone/ure/stoc/test/testiadapter.cxx:362]: (error) Uninitialized variable: fDouble
[clone/ure/stoc/test/testiadapter.cxx:388]: (error) Uninitialized variable: fFloat
[clone/ure/stoc/test/testiadapter.cxx:389]: (error) Uninitialized variable: fDouble
[clone/writer/sw/source/ui/app/docstyle.cxx:1311]: (error) Uninitialized variable: pItem
[clone/filters/binfilter/bf_basic/source/sbx/sbxdec.hxx:35]: (error) Invalid number of character
({) when these macros are defined: 'WIN32'.
[clone/filters/binfilter/bf_basic/source/sbx/sbxdec.hxx:35]: (error) Invalid number of character
({) when these macros are defined: 'WIN32;__MINGW32__'.
[clone/filters/binfilter/bf_sc/source/filter/xml/sc_xmlwrap.cxx:768]: (error) Invalid number of
character ({) when these macros are defined: 'SEQTYPE'.
[clone/filters/binfilter/bf_sd/source/ui/unoidl/sd_facreg.cxx:130]: (error) Invalid number of
character ({) when these macros are defined: ''.
[clone/filters/binfilter/bf_sfx2/source/doc/sfx2_interno.cxx:271]: (error) Invalid number of
character ({) when these macros are defined: ''.
[clone/filters/binfilter/bf_so3/source/data/pseudo.cxx:350]: (error) Invalid number of character
({) when these macros are defined: ''.
[clone/filters/binfilter/bf_so3/source/data/pseudo.cxx:350]: (error) Invalid number of character
({) when these macros are defined: 'TEST_INVARIANT'.
[clone/filters/binfilter/bf_so3/source/inplace/client.cxx:623]: (error) Invalid number of character
({) when these macros are defined: ''.
[clone/filters/binfilter/bf_so3/source/inplace/client.cxx:623]: (error) Invalid number of character
({) when these macros are defined: 'DBG_UTIL'.
[clone/filters/binfilter/bf_so3/source/inplace/client.cxx:623]: (error) Invalid number of character
({) when these macros are defined: 'DBG_UTIL;TEST_INVARIANT'.
[clone/filters/binfilter/bf_so3/source/inplace/client.cxx:623]: (error) Invalid number of character
({) when these macros are defined: 'DBG_UTIL_PROT'.
[clone/filters/binfilter/bf_so3/source/inplace/client.cxx:623]: (error) Invalid number of character
({) when these macros are defined: 'TEST_INVARIANT'.
[clone/filters/binfilter/bf_so3/source/inplace/client.cxx:623]: (error) Invalid number of character
({) when these macros are defined: 'WNT'.
[clone/filters/binfilter/bf_so3/source/inplace/ipclient.cxx:361]: (error) Invalid number of
character ({) when these macros are defined: ''.
[clone/filters/binfilter/bf_so3/source/inplace/ipclient.cxx:361]: (error) Invalid number of
character ({) when these macros are defined: 'DBG_UTIL'.
[clone/filters/binfilter/bf_so3/source/inplace/ipclient.cxx:361]: (error) Invalid number of
character ({) when these macros are defined: 'TEST_INVARIANT'.
[clone/filters/binfilter/bf_so3/source/inplace/ipclient.cxx:361]: (error) Invalid number of
character ({) when these macros are defined: 'WAR_NUR_EIN_TEST'.
[clone/filters/binfilter/bf_so3/source/inplace/ipobj.cxx:508]: (error) Invalid number of character
({) when these macros are defined: ''.
[clone/filters/binfilter/bf_so3/source/inplace/ipobj.cxx:508]: (error) Invalid number of character
({) when these macros are defined: 'DBG_UTIL'.
[clone/filters/binfilter/bf_so3/source/inplace/ipobj.cxx:508]: (error) Invalid number of character
({) when these macros are defined: 'DBG_UTIL;TEST_INVARIANT'.
[clone/filters/binfilter/bf_so3/source/inplace/ipobj.cxx:508]: (error) Invalid number of character
({) when these macros are defined: 'TEST_INVARIANT'.
[clone/filters/binfilter/bf_so3/source/misc/iface.cxx:204]: (error) Invalid number of character ({)
when these macros are defined: ''.
[clone/filters/binfilter/bf_so3/source/misc/iface.cxx:204]: (error) Invalid number of character ({)
when these macros are defined: 'DBG_UTIL'.
[clone/filters/binfilter/bf_so3/source/misc/iface.cxx:204]: (error) Invalid number of character ({)
when these macros are defined: 'DBG_UTIL;TEST_INVARIANT'.
[clone/filters/binfilter/bf_so3/source/misc/iface.cxx:204]: (error) Invalid number of character ({)
when these macros are defined: 'TEST_INVARIANT'.
[clone/filters/binfilter/bf_so3/source/persist/persist.cxx:337]: (error) Invalid number of
character ({) when these macros are defined: ''.
[clone/filters/binfilter/bf_so3/source/persist/persist.cxx:337]: (error) Invalid number of
character ({) when these macros are defined: 'C40;SOLARIS'.
[clone/filters/binfilter/bf_so3/source/persist/persist.cxx:337]: (error) Invalid number of
character ({) when these macros are defined: 'DBG_UTIL'.
[clone/filters/binfilter/bf_so3/source/persist/persist.cxx:337]: (error) Invalid number of
character ({) when these macros are defined: 'DBG_UTIL;TEST_INVARIANT'.
[clone/filters/binfilter/bf_so3/source/persist/persist.cxx:337]: (error) Invalid number of
character ({) when these macros are defined: 'TEST_INVARIANT'.
[clone/filters/binfilter/bf_so3/source/persist/persist.cxx:337]: (error) Invalid number of
character ({) when these macros are defined: '_NO_MODIFY_ADVISE'.
[clone/filters/binfilter/bf_so3/source/persist/svstor.cxx:161]: (error) Invalid number of character
({) when these macros are defined: ''.
[clone/filters/binfilter/bf_so3/source/persist/svstor.cxx:161]: (error) Invalid number of character
({) when these macros are defined: 'TEST_INVARIANT'.
[clone/filters/binfilter/bf_svtools/source/svdde/svt_ddemldeb.cxx:281]: (error) Invalid number of
character ({) when these macros are defined: ''.
[clone/filters/binfilter/bf_svx/source/engine3d/svx_obj3d.cxx:2967]: (error) Invalid number of
character ({) when these macros are defined: ''.
[clone/filters/binfilter/bf_svx/source/engine3d/svx_obj3d.cxx:2967]: (error) Invalid number of
character ({) when these macros are defined: 'DBG_UTIL'.
[clone/filters/binfilter/bf_sw/source/core/doc/sw_numpara.cxx:289]: (error) Invalid number of
character ({) when these macros are defined: ''.
[clone/filters/binfilter/bf_sw/source/core/doc/sw_numpara.cxx:289]: (error) Invalid number of
character ({) when these macros are defined: '_MSC_VER'.
[clone/filters/binfilter/bf_sw/source/core/text/sw_porlay.cxx:1184]: (error) Invalid number of
character ({) when these macros are defined: ''.
[clone/filters/binfilter/bf_sw/source/core/text/sw_porlay.cxx:1184]: (error) Invalid number of
character ({) when these macros are defined: 'DBGTXT'.
[clone/filters/binfilter/bf_sw/source/core/text/sw_porlay.cxx:1184]: (error) Invalid number of
character ({) when these macros are defined: 'DBG_UTIL'.
[clone/filters/binfilter/bf_sw/source/core/text/sw_porlay.cxx:1184]: (error) Invalid number of
character ({) when these macros are defined: 'GCC'.
[clone/filters/binfilter/bf_sw/source/core/text/sw_porlay.cxx:1184]: (error) Invalid number of
character ({) when these macros are defined: 'UNX'.
[clone/filters/binfilter/bf_sw/source/core/text/sw_porlay.cxx:1184]: (error) Invalid number of
character ({) when these macros are defined: 'VERTICAL_LAYOUT'.
[clone/filters/binfilter/bf_sw/source/core/text/sw_porlay.cxx:1184]: (error) Invalid number of
character ({) when these macros are defined: '_MSC_VER'.
[clone/libs-core/basic/source/sbx/sbxdec.hxx:37]: (error) Invalid number of character ({) when
these macros are defined: 'WIN32'.
[clone/libs-core/basic/source/sbx/sbxdec.hxx:37]: (error) Invalid number of character ({) when
these macros are defined: 'WIN32;__MINGW32__'.
[clone/filters/binfilter/bf_sw/source/core/frmedt/sw_tblsel.cxx:815]: (error) Invalid number of
character (() when these macros are defined: ''.
[clone/filters/binfilter/bf_sw/source/core/frmedt/sw_tblsel.cxx:815]: (error) Invalid number of
character (() when these macros are defined: 'VERTICAL_LAYOUT'.
[clone/filters/binfilter/bf_sw/source/core/frmedt/sw_tblsel.cxx:815]: (error) Invalid number of
character (() when these macros are defined: '_MSC_VER'.
[clone/libs-core/connectivity/source/drivers/ado/AResultSet.cxx:1069]: (error) Invalid number of
character (() when these macros are defined: ''.
[clone/libs-core/connectivity/source/drivers/jdbc/ResultSet.cxx:972]: (error) Invalid number of
character (() when these macros are defined: ''.
[clone/libs-core/connectivity/source/drivers/kab/KResultSet.cxx:911]: (error) Invalid number of
character (() when these macros are defined: ''.
[clone/libs-core/connectivity/source/drivers/macab/MacabResultSet.cxx:997]: (error) Invalid number
of character (() when these macros are defined: ''.
[clone/libs-core/connectivity/source/drivers/mozab/MResultSet.cxx:626]: (error) Invalid number of
character (() when these macros are defined: ''.
[clone/libs-core/connectivity/source/drivers/mozab/MResultSet.cxx:626]: (error) Invalid number of
character (() when these macros are defined: '__MINGW32__'.
[clone/libs-core/connectivity/source/drivers/odbcbase/OResultSet.cxx:1385]: (error) Invalid number
of character (() when these macros are defined: ''.
[clone/ure/sal/osl/unx/signal.c:576]: (error) Invalid number of character (() when these macros are
defined: 'INCLUDE_BACKTRACE;LINUX;SAL_ENABLE_CRASH_REPORT'.
[clone/ure/sal/osl/unx/signal.c:576]: (error) Invalid number of character (() when these macros are
defined: 'INCLUDE_BACKTRACE;SAL_ENABLE_CRASH_REPORT'.
[clone/ure/sal/osl/unx/signal.c:576]: (error) Invalid number of character (() when these macros are
defined: 'INCLUDE_BACKTRACE;SAL_ENABLE_CRASH_REPORT;SOLARIS'.
[clone/ure/sal/osl/unx/signal.c:576]: (error) Invalid number of character (() when these macros are
defined: 'LINUX;SAL_ENABLE_CRASH_REPORT'.
[clone/filters/hwpfilter/source/hstream.cpp:48]: (error) Common realloc mistake: "seq" nulled but
not freed upon failure
[clone/libs-core/desktop/win32/source/guistdio/guistdio.inc:201]: (error) Common realloc mistake:
"readBuf" nulled but not freed upon failure
[clone/libs-core/ucb/source/ucp/ftp/test_ftpurl.cxx:270]: (error) Common realloc mistake: "dest"
nulled but not freed upon failure
[clone/libs-gui/i18npool/source/breakiterator/gendict.cxx:107]: (error) Common realloc mistake:
"lenArray" nulled but not freed upon failure
[clone/libs-gui/vcl/unx/source/gdi/xlfd_attr.cxx:545]: (error) Common realloc mistake: "mpList"
nulled but not freed upon failure
[clone/sdk/odk/source/unoapploader/unx/unoapploader.c:148]: (error) Common realloc mistake:
"libpath" nulled but not freed upon failure
[clone/sdk/odk/source/unoapploader/win/unoapploader.c:154]: (error) Common realloc mistake: "buf"
nulled but not freed upon failure
[clone/ure/sal/osl/os2/socket.c:923]: (error) Common realloc mistake: "pFullQualifiedName" nulled
but not freed upon failure
[clone/ure/sal/osl/unx/socket.c:964]: (error) Common realloc mistake: "pFullQualifiedName" nulled
but not freed upon failure
[clone/ure/sal/osl/w32/security.c:357]: (error) Common realloc mistake: "pInfoBuffer" nulled but
not freed upon failure
[clone/ure/sal/osl/w32/security.c:915]: (error) Common realloc mistake: "pInfoBuffer" nulled but
not freed upon failure
[clone/extensions/sdext/source/minimizer/unodialog.cxx:359]: (error) Division by zero
[clone/ure/sal/qa/rtl_strings/rtl_old_testostring.cxx:233]: (error) Division by zero
[clone/writer/sw/source/ui/vba/vbarows.cxx:269]: (error) Division by zero
[clone/bootstrap/dmake/msdos/dirlib.c:200]: (error) Data is allocated but not initialized: nd
[clone/ure/sal/osl/os2/security.c:68]: (error) Data is allocated but not initialized: pSecImpl
[clone/ure/sal/osl/os2/semaphor.c:68]: (error) Data is allocated but not initialized: pSemaphoreImpl
[clone/filters/binfilter/bf_so3/source/inplace/outplace.cxx:718]: (error) Return of the address of
an auto-variable
[clone/filters/binfilter/bf_so3/source/inplace/outplace.cxx:782]: (error) Return of the address of
an auto-variable
[clone/filters/hwpfilter/source/htags.cpp:150]: (error) Memory leak: data
[clone/libs-gui/i18npool/source/localedata/localedata.cxx:446]: (error) Memory leak: pNewItem
[clone/libs-gui/rsc/source/parser/rsclex.hxx:74]: (error) Memory leak: ObjectStack::pRoot
[clone/libs-gui/tools/source/debug/debug.cxx:107]: (error) Memory leak: PointerList::pFirst
[clone/libs-gui/tools/source/inet/inetmime.cxx:86]: (error) Memory leak:
INetMIMECharsetList_Impl::m_pFirst
[clone/ure/bridges/source/jni_uno/nativethreadpool.cxx:215]: (error) Memory leak: j
[clone/ure/sal/qa/osl/file/osl_File.cxx:3144]: (error) Memory leak: pTV_modify
[clone/filters/lotuswordpro/source/filter/lwpdrawobj.cxx:586]: (error) Mismatching allocation and
deallocation: LwpDrawPolygon::m_pVector
[clone/filters/lotuswordpro/source/filter/lwpgrfobj.cxx:826]: (error) Mismatching allocation and
deallocation: pEquData
[clone/libs-gui/l10ntools/source/export.cxx:1731]: (style) Redundant assignment of "nState" in
switch
[clone/libs-gui/l10ntools/source/export.cxx:1730]: (style) Redundant assignment of "nStart" in
switch
[clone/libs-gui/vcl/os2/source/window/salobj.cxx:118]: (style) Redundant assignment of "bDef" in
switch
[clone/ure/sal/qa/osl/process/osl_Thread.cxx:1127]: (style) Redundant assignment of "sPrioStr" in
switch
[clone/libs-gui/svtools/source/uno/svtxgridcontrol.cxx:611]: (error) Array index -1 is out of bounds
[clone/libs-gui/toolkit/source/layout/vcl/wbutton.cxx:497]: (error) Same iterator is used with both
maAdvanced and lst
[clone/writer/sw/source/core/fields/docufld.cxx:929]: (error) Wrong assignment of an auto-variable
to an effective parameter of a function
[clone/writer/sw/source/core/layout/paintfrm.cxx:2715]: (error) Invalid iterator: aIter
[clone/writer/sw/source/filter/ww8/docxattributeoutput.cxx:383]: (error) Dangerous iterator usage.
After erase the iterator is invalid so dereferencing it or comparing it with another iterator is
invalid.
[clone/writer/sw/source/filter/ww8/docxattributeoutput.cxx:415]: (error) Dangerous iterator usage.
After erase the iterator is invalid so dereferencing it or comparing it with another iterator is
invalid.
Context
- [Libreoffice] Cppcheck · Gert Faller
Privacy Policy |
Impressum (Legal Info) |
Copyright information: Unless otherwise specified, all text and images
on this website are licensed under the
Creative Commons Attribution-Share Alike 3.0 License.
This does not include the source code of LibreOffice, which is
licensed under the Mozilla Public License (
MPLv2).
"LibreOffice" and "The Document Foundation" are
registered trademarks of their corresponding registered owners or are
in actual use as trademarks in one or more countries. Their respective
logos and icons are also subject to international copyright laws. Use
thereof is explained in our
trademark policy.