cppcheck analysis of gretl_1.8.7-1.dsc
- ./cli/gretlcli.c:435 [error] - Memory leak: line
- ./gui2/calculator.c:970 [error] - Uninitialized variable: s
- ./gui2/database.c:2715 [error] - Resource leak: dir
- ./gui2/dialogs.c:293 [error] - Uninitialized variable: s
- ./gui2/gpt_control.c:1536 [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:322 [possible error] - Resource leak: fp
- ./gui2/helpfiles.c:1152 [error] - Uninitialized variable: word
- ./gui2/model_table.c:951 [error] - Uninitialized variable: targ
- ./gui2/ssheet.c:873 [error] - Uninitialized variable: tmp
- ./lib/src/compare.c:2539 [possible error] - Memory leak: Ft
- ./lib/src/compat.c:324 [error] - Memory leak: x
- ./lib/src/compat.c:324 [error] - Memory leak: y
- ./lib/src/csvdata.c:911 [error] - Uninitialized variable: d1
- ./lib/src/dataio.c:90 [error] - Uninitialized variable: word
- ./lib/src/dataio.c:1550 [error] - Uninitialized variable: s1
- ./lib/src/dataio.c:1760 [error] - Uninitialized variable: tryfile
- ./lib/src/dataset.c:2238 [error] - Uninitialized variable: vname
- ./lib/src/describe.c:4958 [error] - Memory leak: x
- ./lib/src/discrete.c:2394 [error] - Memory leak: v
- ./lib/src/genfuncs.c:1881 [error] - Uninitialized variable: test
- ./lib/src/genlex.c:714 [error] - Uninitialized variable: test
- ./lib/src/genmain.c:227 [error] - Uninitialized variable: word
- ./lib/src/gmm.c:1328 [possible error] - Memory leak: wa4
- ./lib/src/graphing.c:794 [error] - Uninitialized variable: ptstr
- ./lib/src/gretl_func.c:3672 [error] - Uninitialized variable: word
- ./lib/src/gretl_intl.c:982 [possible error] - Buffer access out-of-bounds
- ./lib/src/gretl_intl.c:639 [error] - Uninitialized variable: ocpy
- ./lib/src/gretl_model.c:1255 [possible error] - Memory leak: mc
- ./lib/src/gretl_panel.c:4560 [possible error] - Memory leak: mask
- ./lib/src/gretl_paths.c:670 [possible error] - Resource leak: dir
- ./lib/src/gretl_paths.c:1501 [error] - Uninitialized variable: s
- ./lib/src/gretl_restrict.c:901 [error] - Uninitialized variable: tmp
- ./lib/src/gretl_win32.c:76 [error] - Uninitialized variable: tmp
- ./lib/src/gretl_xml.c:1309 [possible error] - Memory leak: mask
- ./lib/src/interact.c:1319 [error] - Uninitialized variable: test
- ./lib/src/interact.c:5057 [error] - Uninitialized variable: word
- ./lib/src/libset.c:2055 [possible error] - Memory leak: newstate
- ./lib/src/libset.c:965 [error] - Uninitialized variable: p1
- ./lib/src/missing.c:292 [possible error] - Memory leak: mobs
- ./lib/src/modelprint.c:1363 [error] - Uninitialized variable: vname
- ./lib/src/modelprint.c:3393 [error] - Uninitialized variable: tmp
- ./lib/src/modelprint.c:4911 [error] - Uninitialized variable: s
- ./lib/src/nls.c:2806 [possible error] - Memory leak: uhat
- ./lib/src/nls.c:2806 [possible error] - Memory leak: yhat
- ./lib/src/nls.c:2476 [error] - Uninitialized variable: word
- ./lib/src/printout.c:1259 [error] - Uninitialized variable: s
- ./lib/src/subsample.c:694 [error] - Uninitialized variable: formula
- ./lib/src/transforms.c:1012 [error] - Uninitialized variable: tmp
- ./lib/src/tsls.c:137 [possible error] - Memory leak: endog
- ./plugin/arbond.c:624 [error] - Memory leak: mask
- ./plugin/excel_import.c:1403 [error] - Memory leak: blanks
- ./plugin/heckit.c:842 [possible error] - Memory leak: fullcoeff
- ./plugin/jrestrict.c:1574 [error] - Memory leak: sc
- ./plugin/libole2/ms-ole.c:471 [error] - Memory leak: pps
- ./plugin/liml.c:215 [possible error] - Memory leak: ymod
- ./plugin/sas_import.c:290 [error] - Uninitialized variable: dstr
- ./plugin/sas_import.c:330 [error] - Uninitialized variable: hstr
- ./plugin/spss_import.c:1142 [possible error] - Memory leak: label
- ./plugin/stata_import.c:383 [possible error] - Memory leak: tr
- ./plugin/workbook.c:621 [error] - Memory leak: problem_loading
- ./plugin/zipunzip/zipmain.c:703 [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:318 [error] - Mismatching allocation and deallocation: xname
- ./plugin/zipunzip/zsystem.c:416 [error] - Mismatching allocation and deallocation: tmp
- ./plugin/zipunzip/zsystem.c:420 [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