cppcheck analysis of petsc_3.0.0.dfsg-3.dsc
- ./src/contrib/fun3d/comp/flow.c:691 [possible error] - Resource leak: fptr
- ./src/contrib/fun3d/comp/flow.c:2542 [possible error] - Resource leak: fptr1
- ./src/contrib/semiLagrange/examples/tutorials/ex1.c:131 [error] - Uninitialized variable: result
- ./src/contrib/semiLagrange/examples/tutorials/ex2.c:130 [error] - Uninitialized variable: result
- ./src/dm/da/src/da2.c:1871 [error] - Invalid number of character ([) when these macros are defined: 'new'.
- ./src/dm/da/src/da2.c:1871 [error] - Invalid number of character ([) when these macros are defined: 'new;PETSC_USE_COMPLEX'.
- ./src/dm/mesh/examples/tests/imesh1.cxx:253 [error] - Memory leak: tmp
- ./src/dm/mesh/examples/tests/meshing.cxx:64 [error] - Mismatching allocation and deallocation: coord_template
- ./src/dm/mesh/examples/tutorials/CohesiveTopology.cc:86 [possible error] - Memory leak: indices
- ./src/dm/mesh/examples/tutorials/fast_coarsen.h:530 [possible error] - Memory leak: bound_init
- ./src/dm/mesh/examples/tutorials/grade2.cxx:1002 [possible error] - Memory leak: v
- ./src/dm/mesh/examples/tutorials/mixedpoisson.cxx:735 [possible error] - Memory leak: v
- ./src/dm/mesh/examples/tutorials/navierStokes.cxx:1066 [possible error] - Memory leak: v
- ./src/dm/mesh/examples/tutorials/stokes.cxx:996 [possible error] - Memory leak: v
- ./src/dm/mesh/examples/tutorials/stokesPeriodic.cxx:1170 [possible error] - Memory leak: v
- ./src/mat/examples/tests/ex81.c:59 [error] - Buffer access out-of-bounds
- ./src/mat/examples/tests/ex81.c:68 [error] - Buffer access out-of-bounds
- ./src/mat/impls/aij/mpi/mpiaij.c:3150 [error] - Invalid number of character (() when these macros are defined: 'PETSC_USE_DEBUGGING'.
- ./src/mat/impls/aij/mpi/mpimatmatmult.c:95 [error] - Uninitialized variable: mult
- ./src/mat/impls/aij/mpi/mpimatmatmult.c:162 [error] - Uninitialized variable: mult
- ./src/mat/impls/aij/mpi/mpiptap.c:41 [error] - Uninitialized variable: merge
- ./src/mat/impls/aij/mpi/mpiptap.c:61 [error] - Uninitialized variable: merge
- ./src/snes/examples/tutorials/ex10d/ex10.c:497 [error] - Resource leak: fptr
- ./src/sys/adic/adic/alloc.c:388 [error] - Invalid number of character ({) when these macros are defined: 'DEBUG'.
- ./src/sys/draw/impls/x/xvgrab.c:35 [error] - Invalid number of character ({) when these macros are defined: ''.
- ./src/sys/examples/tests/ex2.c:12 [error] - Possible null pointer dereference: x
- ./src/sys/fileio/mpiuopen.c:220 [possible error] - Resource leak: fd
- ./src/vec/vec/utils/vscat.c:319 [error] - Uninitialized variable: sto
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 06:00:11 +0000, based on results by cppcheck 1.41-modif