cppcheck analysis of gretl_1.7.7-1.dsc
- ./cli/gretlcli.c:454 [error] - Memory leak: line
- ./gui2/calculator.c:965 [error] - Uninitialized variable: s
- ./gui2/dialogs.c:172 [error] - Uninitialized variable: s
- ./gui2/gpt_control.c:1366 [error] - Uninitialized variable: i
- ./gui2/gtksourceview/gtksourcelanguage.c:887 [error] - Memory leak: end_regex
- ./gui2/gtksourceview/gtksourcelanguage.c:1051 [error] - Memory leak: id_temp
- ./gui2/guiprint.c:334 [possible error] - Resource leak: fp
- ./gui2/helpfiles.c:1346 [error] - Uninitialized variable: word
- ./gui2/ssheet.c:800 [error] - Uninitialized variable: tmp
- ./lib/src/compare.c:2202 [possible error] - Memory leak: Ft
- ./lib/src/compat.c:326 [error] - Memory leak: x
- ./lib/src/compat.c:326 [error] - Memory leak: y
- ./lib/src/compat.c:666 [error] - Memory leak: rhot
- ./lib/src/dataio.c:90 [error] - Uninitialized variable: word
- ./lib/src/dataio.c:1829 [error] - Uninitialized variable: tryfile
- ./lib/src/dataset.c:2091 [error] - Uninitialized variable: vname
- ./lib/src/describe.c:4371 [error] - Memory leak: x
- ./lib/src/discrete.c:823 [error] - Memory leak: act_pred
- ./lib/src/estimate.c:642 [error] - Memory leak: xpy
- ./lib/src/genfuncs.c:1703 [error] - Uninitialized variable: test
- ./lib/src/genlex.c:642 [error] - Uninitialized variable: test
- ./lib/src/genmain.c:223 [error] - Uninitialized variable: word
- ./lib/src/gretl_intl.c:648 [possible error] - Buffer access out-of-bounds
- ./lib/src/gretl_model.c:1213 [possible error] - Memory leak: mc
- ./lib/src/gretl_panel.c:4102 [possible error] - Memory leak: mask
- ./lib/src/gretl_paths.c:333 [possible error] - Resource leak: dir
- ./lib/src/gretl_paths.c:1092 [error] - Uninitialized variable: s
- ./lib/src/gretl_paths.c:656 [error] - Uninitialized variable: lfname
- ./lib/src/gretl_restrict.c:2022 [error] - Uninitialized variable: err
- ./lib/src/gretl_win32.c:129 [error] - Uninitialized variable: tmp
- ./lib/src/gretl_xml.c:1188 [possible error] - Memory leak: mask
- ./lib/src/interact.c:1333 [error] - Uninitialized variable: test
- ./lib/src/interact.c:4794 [error] - Uninitialized variable: word
- ./lib/src/libset.c:1838 [possible error] - Memory leak: newstate
- ./lib/src/libset.c:905 [error] - Uninitialized variable: p1
- ./lib/src/missing.c:292 [possible error] - Memory leak: mobs
- ./lib/src/modelprint.c:1526 [error] - Uninitialized variable: vname
- ./lib/src/printout.c:1126 [error] - Uninitialized variable: s
- ./lib/src/subsample.c:628 [error] - Uninitialized variable: formula
- ./lib/src/transforms.c:971 [error] - Uninitialized variable: tmp
- ./lib/src/tsls.c:141 [possible error] - Memory leak: endog
- ./plugin/excel_import.c:1329 [error] - Memory leak: blanks
- ./plugin/heckit.c:653 [possible error] - Memory leak: fullcoeff
- ./plugin/jrestrict.c:1581 [error] - Memory leak: sc
- ./plugin/libole2/ms-ole.c:627 [error] - Memory leak: pps
- ./plugin/liml.c:219 [possible error] - Memory leak: ymod
- ./plugin/odbc_import.c:343 [possible error] - Memory leak: x
- ./plugin/workbook.c:622 [error] - Memory leak: problem_loading
- ./plugin/zipunzip/zipmain.c:681 [error] - Resource leak: fr
- ./plugin/zipunzip/zipwork.c:428 [error] - Resource leak: fin
- ./plugin/zipunzip/zipwork.c:792 [possible error] - Resource leak: fout
- ./plugin/zipunzip/zsystem.c:338 [error] - Mismatching allocation and deallocation: tmp
- ./plugin/zipunzip/zsystem.c:342 [error] - Mismatching allocation and deallocation: tmp
- ./plugin/zipunzip/zsystem.c:43 [error] - Uninitialized variable: tmp
Note: if you think the results reveal a security bug,
please don't hesitate to contact the
security team
This report was generated on Thu, 16 Dec 2010 05:48:49 +0000, based on results by cppcheck 1.41-modif