cppcheck analysis of fontforge_0.0.20100501-4.dsc
- ./Unicode/dump.c:966 [error] - Resource leak: output
- ./Unicode/dump.c:979 [error] - Resource leak: header
- ./fontforge/contextchain.c:1766 [error] - Possible null pointer dereference: classes
- ./fontforge/cvimages.c:1122 [error] - Resource leak: dir
- ./fontforge/effects.c:43 [error] - Uninitialized variable: sc
- ./fontforge/effects.c:78 [error] - Uninitialized variable: sc
- ./fontforge/effects.c:784 [error] - Uninitialized variable: sc
- ./fontforge/fontview.c:4808 [error] - Resource leak: old
- ./fontforge/fontviewbase.c:850 [error] - Uninitialized variable: sc
- ./fontforge/fontviewbase.c:885 [error] - Uninitialized variable: sc
- ./fontforge/fontviewbase.c:973 [error] - Uninitialized variable: sc
- ./fontforge/fontviewbase.c:1038 [error] - Uninitialized variable: sc
- ./fontforge/fontviewbase.c:1169 [error] - Uninitialized variable: sc
- ./fontforge/fvcomposit.c:2677 [error] - Uninitialized variable: ret
- ./fontforge/glyphcomp.c:797 [error] - Uninitialized variable: ly
- ./fontforge/groupsdlg.c:890 [error] - Uninitialized variable: sc
- ./fontforge/histograms.c:72 [error] - Uninitialized variable: sc
- ./fontforge/histograms.c:147 [error] - Uninitialized variable: sc
- ./fontforge/layer2layer.c:113 [error] - Uninitialized variable: sc
- ./fontforge/lookups.c:1101 [error] - Uninitialized variable: i
- ./fontforge/macbinary.c:2796 [error] - Resource leak: temp
- ./fontforge/macbinary.c:2533 [error] - Dangerous usage of 'buffer' (strncpy doesn't always 0-terminate it)
- ./fontforge/nonlineartrans.c:697 [error] - Uninitialized variable: sc
- ./fontforge/nonlineartrans.c:867 [error] - Uninitialized variable: sc
- ./fontforge/parsepdf.c:1374 [error] - Array index -1 is out of bounds
- ./fontforge/parsepdf.c:1374 [error] - Array index -2 is out of bounds
- ./fontforge/parsepdf.c:2064 [error] - Possible null pointer dereference: select_this_font
- ./fontforge/parsepfa.c:2609 [error] - Deallocating a deallocated pointer: in
- ./fontforge/parsettfbmf.c:1038 [error] - Resource leak: subtables
- ./fontforge/psread.c:4625 [error] - Array index -1 is out of bounds
- ./fontforge/psread.c:4628 [error] - Array index -1 is out of bounds
- ./fontforge/psread.c:4629 [error] - Array index -1 is out of bounds
- ./fontforge/psread.c:4634 [error] - Array index -1 is out of bounds
- ./fontforge/psread.c:4636 [error] - Array index -1 is out of bounds
- ./fontforge/psread.c:4637 [error] - Array index -1 is out of bounds
- ./fontforge/python.c:7060 [error] - Resource leak: file
- ./fontforge/scripting.c:2532 [error] - Uninitialized variable: orig
- ./fontforge/sfd.c:5005 [error] - Resource leak: dir
- ./fontforge/splinechar.c:1432 [error] - Uninitialized variable: start1
- ./fontforge/splinechar.c:1439 [error] - Uninitialized variable: start2
- ./fontforge/splinesave.c:1647 [error] - Possible null pointer dereference: gi - otherwise it is redundant to check if gi is null at line 1648
- ./fontforge/splinestroke.c:3653 [error] - Uninitialized variable: sc
- ./fontforge/tilepath.c:1337 [error] - Uninitialized variable: sc
- ./fontforge/tottfaat.c:942 [error] - Uninitialized variable: sc
- ./fontforge/tottfgpos.c:4656 [error] - Possible null pointer dereference: glyphs
- ./fontforge/tottfgpos.c:1946 [error] - Possible null pointer dereference: offsets
- ./fontforge/ufo.c:855 [error] - Resource leak: info
- ./fontforge/ufo.c:672 [error] - Uninitialized variable: sc
- ./fontforge/ufo.c:682 [error] - Uninitialized variable: sc
- ./gdraw/gdrawtxt.c:1259 [error] - Uninitialized variable: str
- ./gdraw/ggadgets.c:855 [error] - Possible null pointer dereference: prev
- ./po/toengb.c:138 [error] - Resource leak: input
- ./po/toengb.c:180 [error] - Resource leak: output
Note: if you think the results reveal a security bug,
please don't hesitate to contact the
security team
This report was generated on Tue, 21 Dec 2010 21:58:03 +0000, based on results by cppcheck 1.46