Flawfinder version 2.0.10, (C) 2001-2019 David A. Wheeler.
Number of rules (primarily dangerous function names) in C/C++ ruleset: 223
Examining data/petsc-3.14.1+dfsg1/interfaces/lua/src/luasrc.c
Examining data/petsc-3.14.1+dfsg1/include/petscversion.h
Examining data/petsc-3.14.1+dfsg1/include/petsctao.h
Examining data/petsc-3.14.1+dfsg1/include/petscfe.h
Examining data/petsc-3.14.1+dfsg1/include/ftn-auto/petscloghf.c
Examining data/petsc-3.14.1+dfsg1/include/petscsnes.h
Examining data/petsc-3.14.1+dfsg1/include/petscdt.h
Examining data/petsc-3.14.1+dfsg1/include/petscmatlab.h
Examining data/petsc-3.14.1+dfsg1/include/petscdraw.h
Examining data/petsc-3.14.1+dfsg1/include/petscblaslapack.h
Examining data/petsc-3.14.1+dfsg1/include/petscvalgrind.h
Examining data/petsc-3.14.1+dfsg1/include/petscsystypes.h
Examining data/petsc-3.14.1+dfsg1/include/petscdmnetwork.h
Examining data/petsc-3.14.1+dfsg1/include/petsclog.h
Examining data/petsc-3.14.1+dfsg1/include/petscdmshell.h
Examining data/petsc-3.14.1+dfsg1/include/petsc/finclude/petsctao.h
Examining data/petsc-3.14.1+dfsg1/include/petsc/finclude/petscsnes.h
Examining data/petsc-3.14.1+dfsg1/include/petsc/finclude/petscdraw.h
Examining data/petsc-3.14.1+dfsg1/include/petsc/finclude/petscdmnetwork.h
Examining data/petsc-3.14.1+dfsg1/include/petsc/finclude/petsclog.h
Examining data/petsc-3.14.1+dfsg1/include/petsc/finclude/petscdmswarm.h
Examining data/petsc-3.14.1+dfsg1/include/petsc/finclude/petsc.h
Examining data/petsc-3.14.1+dfsg1/include/petsc/finclude/petscmat.h
Examining data/petsc-3.14.1+dfsg1/include/petsc/finclude/petscpc.h
Examining data/petsc-3.14.1+dfsg1/include/petsc/finclude/petscsys.h
Examining data/petsc-3.14.1+dfsg1/include/petsc/finclude/petscdmda.h
Examining data/petsc-3.14.1+dfsg1/include/petsc/finclude/petscdmplex.h
Examining data/petsc-3.14.1+dfsg1/include/petsc/finclude/petscts.h
Examining data/petsc-3.14.1+dfsg1/include/petsc/finclude/petscvec.h
Examining data/petsc-3.14.1+dfsg1/include/petsc/finclude/petscdmlabel.h
Examining data/petsc-3.14.1+dfsg1/include/petsc/finclude/petscbag.h
Examining data/petsc-3.14.1+dfsg1/include/petsc/finclude/petscviewer.h
Examining data/petsc-3.14.1+dfsg1/include/petsc/finclude/petscao.h
Examining data/petsc-3.14.1+dfsg1/include/petsc/finclude/petscksp.h
Examining data/petsc-3.14.1+dfsg1/include/petsc/finclude/petscis.h
Examining data/petsc-3.14.1+dfsg1/include/petsc/finclude/petscdm.h
Examining data/petsc-3.14.1+dfsg1/include/petsc/finclude/petscsnesfas.h
Examining data/petsc-3.14.1+dfsg1/include/petsc/private/sfimpl.h
Examining data/petsc-3.14.1+dfsg1/include/petsc/private/bagimpl.h
Examining data/petsc-3.14.1+dfsg1/include/petsc/private/dmlabelimpl.h
Examining data/petsc-3.14.1+dfsg1/include/petsc/private/characteristicimpl.h
Examining data/petsc-3.14.1+dfsg1/include/petsc/private/dmproductimpl.h
Examining data/petsc-3.14.1+dfsg1/include/petsc/private/petscscalapack.h
Examining data/petsc-3.14.1+dfsg1/include/petsc/private/dmpatchimpl.h
Examining data/petsc-3.14.1+dfsg1/include/petsc/private/pcmgimpl.h
Examining data/petsc-3.14.1+dfsg1/include/petsc/private/petscfvimpl.h
Examining data/petsc-3.14.1+dfsg1/include/petsc/private/kspimpl.h
Examining data/petsc-3.14.1+dfsg1/include/petsc/private/hashseti.h
Examining data/petsc-3.14.1+dfsg1/include/petsc/private/viewerimpl.h
Examining data/petsc-3.14.1+dfsg1/include/petsc/private/vieweradiosimpl.h
Examining data/petsc-3.14.1+dfsg1/include/petsc/private/isimpl.h
Examining data/petsc-3.14.1+dfsg1/include/petsc/private/dmstagimpl.h
Examining data/petsc-3.14.1+dfsg1/include/petsc/private/viewerhdf5impl.h
Examining data/petsc-3.14.1+dfsg1/include/petsc/private/dmimpl.h
Examining data/petsc-3.14.1+dfsg1/include/petsc/private/petschypre.h
Examining data/petsc-3.14.1+dfsg1/include/petsc/private/dmadaptorimpl.h
Examining data/petsc-3.14.1+dfsg1/include/petsc/private/matimpl.h
Examining data/petsc-3.14.1+dfsg1/include/petsc/private/hashmapi.h
Examining data/petsc-3.14.1+dfsg1/include/petsc/private/drawimpl.h
Examining data/petsc-3.14.1+dfsg1/include/petsc/private/hashset.h
Examining data/petsc-3.14.1+dfsg1/include/petsc/private/taoimpl.h
Examining data/petsc-3.14.1+dfsg1/include/petsc/private/sectionimpl.h
Examining data/petsc-3.14.1+dfsg1/include/petsc/private/snesimpl.h
Examining data/petsc-3.14.1+dfsg1/include/petsc/private/hashmapij.h
Examining data/petsc-3.14.1+dfsg1/include/petsc/private/petscfptimpl.h
Examining data/petsc-3.14.1+dfsg1/include/petsc/private/dmpleximpl.h
Examining data/petsc-3.14.1+dfsg1/include/petsc/private/linesearchimpl.h
Examining data/petsc-3.14.1+dfsg1/include/petsc/private/matorderimpl.h
Examining data/petsc-3.14.1+dfsg1/include/petsc/private/logimpl.h
Examining data/petsc-3.14.1+dfsg1/include/petsc/private/vecscatterimpl.h
Examining data/petsc-3.14.1+dfsg1/include/petsc/private/fortranimpl.h
Examining data/petsc-3.14.1+dfsg1/include/petsc/private/partitionerimpl.h
Examining data/petsc-3.14.1+dfsg1/include/petsc/private/petscdsimpl.h
Examining data/petsc-3.14.1+dfsg1/include/petsc/private/dmfieldimpl.h
Examining data/petsc-3.14.1+dfsg1/include/petsc/private/glvisviewerimpl.h
Examining data/petsc-3.14.1+dfsg1/include/petsc/private/pcpatchimpl.h
Examining data/petsc-3.14.1+dfsg1/include/petsc/private/petscfeimpl.h
Examining data/petsc-3.14.1+dfsg1/include/petsc/private/dmswarmimpl.h
Examining data/petsc-3.14.1+dfsg1/include/petsc/private/pcgamgimpl.h
Examining data/petsc-3.14.1+dfsg1/include/petsc/private/glvisvecimpl.h
Examining data/petsc-3.14.1+dfsg1/include/petsc/private/hashtable.h
Examining data/petsc-3.14.1+dfsg1/include/petsc/private/dtimpl.h
Examining data/petsc-3.14.1+dfsg1/include/petsc/private/tshistoryimpl.h
Examining data/petsc-3.14.1+dfsg1/include/petsc/private/cudavecimpl.h
Examining data/petsc-3.14.1+dfsg1/include/petsc/private/dmnetworkimpl.h
Examining data/petsc-3.14.1+dfsg1/include/petsc/private/pcimpl.h
Examining data/petsc-3.14.1+dfsg1/include/petsc/private/f90impl.h
Examining data/petsc-3.14.1+dfsg1/include/petsc/private/petscelemental.h
Examining data/petsc-3.14.1+dfsg1/include/petsc/private/dmforestimpl.h
Examining data/petsc-3.14.1+dfsg1/include/petsc/private/petscconvestimpl.h
Examining data/petsc-3.14.1+dfsg1/include/petsc/private/petscimpl.h
Examining data/petsc-3.14.1+dfsg1/include/petsc/private/vieweradios2impl.h
Examining data/petsc-3.14.1+dfsg1/include/petsc/private/hashsetij.h
Examining data/petsc-3.14.1+dfsg1/include/petsc/private/vecimpl.h
Examining data/petsc-3.14.1+dfsg1/include/petsc/private/kernels/blockinvert.h
Examining data/petsc-3.14.1+dfsg1/include/petsc/private/kernels/petscaxpy.h
Examining data/petsc-3.14.1+dfsg1/include/petsc/private/kernels/khash.h
Examining data/petsc-3.14.1+dfsg1/include/petsc/private/kernels/blocktranspose.h
Examining data/petsc-3.14.1+dfsg1/include/petsc/private/kernels/blockmatmult.h
Examining data/petsc-3.14.1+dfsg1/include/petsc/private/petschpddm.h
Examining data/petsc-3.14.1+dfsg1/include/petsc/private/viewerexodusiiimpl.h
Examining data/petsc-3.14.1+dfsg1/include/petsc/private/taolinesearchimpl.h
Examining data/petsc-3.14.1+dfsg1/include/petsc/private/hashmap.h
Examining data/petsc-3.14.1+dfsg1/include/petsc/private/tsimpl.h
Examining data/petsc-3.14.1+dfsg1/include/petsc/private/dmdaimpl.h
Examining data/petsc-3.14.1+dfsg1/include/petsc/private/dmmbimpl.h
Examining data/petsc-3.14.1+dfsg1/include/petsc/private/hashmapiv.h
Examining data/petsc-3.14.1+dfsg1/include/petsc/mpiuni/mpi.h
Examining data/petsc-3.14.1+dfsg1/include/petsc/mpiuni/mpif.h
Examining data/petsc-3.14.1+dfsg1/include/petsc/mpiuni/mpiunifdef.h
Examining data/petsc-3.14.1+dfsg1/include/petscpctypes.h
Examining data/petsc-3.14.1+dfsg1/include/petscwebclient.h
Examining data/petsc-3.14.1+dfsg1/include/petscdmswarm.h
Examining data/petsc-3.14.1+dfsg1/include/petscpartitioner.h
Examining data/petsc-3.14.1+dfsg1/include/petsc.h
Examining data/petsc-3.14.1+dfsg1/include/petscdmdatypes.h
Examining data/petsc-3.14.1+dfsg1/include/petscistypes.h
Examining data/petsc-3.14.1+dfsg1/include/petscpf.h
Examining data/petsc-3.14.1+dfsg1/include/petscdmadaptor.h
Examining data/petsc-3.14.1+dfsg1/include/petscdmforest.h
Examining data/petsc-3.14.1+dfsg1/include/petsccublas.h
Examining data/petsc-3.14.1+dfsg1/include/petscmatelemental.h
Examining data/petsc-3.14.1+dfsg1/include/petscdstypes.h
Examining data/petsc-3.14.1+dfsg1/include/petsctime.h
Examining data/petsc-3.14.1+dfsg1/include/petscds.h
Examining data/petsc-3.14.1+dfsg1/include/petscviewerexodusii.h
Examining data/petsc-3.14.1+dfsg1/include/petscerror.h
Examining data/petsc-3.14.1+dfsg1/include/petscsectiontypes.h
Examining data/petsc-3.14.1+dfsg1/include/petscsftypes.h
Examining data/petsc-3.14.1+dfsg1/include/petscaijdevice.h
Examining data/petsc-3.14.1+dfsg1/include/petsclayouthdf5.h
Examining data/petsc-3.14.1+dfsg1/include/petscmat.h
Examining data/petsc-3.14.1+dfsg1/include/petscdmstag.h
Examining data/petsc-3.14.1+dfsg1/include/petscblaslapack_mangle.h
Examining data/petsc-3.14.1+dfsg1/include/petscpc.h
Examining data/petsc-3.14.1+dfsg1/include/petscvec.hpp
Examining data/petsc-3.14.1+dfsg1/include/petscsys.h
Examining data/petsc-3.14.1+dfsg1/include/petscdmda.h
Examining data/petsc-3.14.1+dfsg1/include/petscmathypre.h
Examining data/petsc-3.14.1+dfsg1/include/petsccharacteristic.h
Examining data/petsc-3.14.1+dfsg1/include/petscdmcomposite.h
Examining data/petsc-3.14.1+dfsg1/include/petscdrawtypes.h
Examining data/petsc-3.14.1+dfsg1/include/petscviennacl.h
Examining data/petsc-3.14.1+dfsg1/include/petscdmplex.h
Examining data/petsc-3.14.1+dfsg1/include/petscts.h
Examining data/petsc-3.14.1+dfsg1/include/petscdmtypes.h
Examining data/petsc-3.14.1+dfsg1/include/petscdmfield.h
Examining data/petsc-3.14.1+dfsg1/include/petsctaolinesearch.h
Examining data/petsc-3.14.1+dfsg1/include/petscctable.h
Examining data/petsc-3.14.1+dfsg1/include/petscvec.h
Examining data/petsc-3.14.1+dfsg1/include/petscfv.h
Examining data/petsc-3.14.1+dfsg1/include/petscfvtypes.h
Examining data/petsc-3.14.1+dfsg1/include/petscdmplextypes.h
Examining data/petsc-3.14.1+dfsg1/include/petscfetypes.h
Examining data/petsc-3.14.1+dfsg1/include/petscsf.h
Examining data/petsc-3.14.1+dfsg1/include/petscdmredundant.h
Examining data/petsc-3.14.1+dfsg1/include/petsccxxcomplexfix.h
Examining data/petsc-3.14.1+dfsg1/include/petscdmlabel.h
Examining data/petsc-3.14.1+dfsg1/include/petscmath.h
Examining data/petsc-3.14.1+dfsg1/include/petscdmsliced.h
Examining data/petsc-3.14.1+dfsg1/include/petscbag.h
Examining data/petsc-3.14.1+dfsg1/include/petscviewer.h
Examining data/petsc-3.14.1+dfsg1/include/petscao.h
Examining data/petsc-3.14.1+dfsg1/include/petscksp.h
Examining data/petsc-3.14.1+dfsg1/include/petsclandau.h
Examining data/petsc-3.14.1+dfsg1/include/petscviewersaws.h
Examining data/petsc-3.14.1+dfsg1/include/petscviewertypes.h
Examining data/petsc-3.14.1+dfsg1/include/petscviewerhdf5.h
Examining data/petsc-3.14.1+dfsg1/include/petscis.h
Examining data/petsc-3.14.1+dfsg1/include/petscdmproduct.h
Examining data/petsc-3.14.1+dfsg1/include/petscbt.h
Examining data/petsc-3.14.1+dfsg1/include/petscconvest.h
Examining data/petsc-3.14.1+dfsg1/include/petscoptions.h
Examining data/petsc-3.14.1+dfsg1/include/petscdmpatch.h
Examining data/petsc-3.14.1+dfsg1/include/petscdm.h
Examining data/petsc-3.14.1+dfsg1/include/petscdmmoab.h
Examining data/petsc-3.14.1+dfsg1/include/petscmatcoarsen.h
Examining data/petsc-3.14.1+dfsg1/include/petscsection.h
Examining data/petsc-3.14.1+dfsg1/src/contrib/fun3d/comp/flow.c
Examining data/petsc-3.14.1+dfsg1/src/contrib/fun3d/comp/user.h
Examining data/petsc-3.14.1+dfsg1/src/contrib/fun3d/incomp/flow.c
Examining data/petsc-3.14.1+dfsg1/src/contrib/fun3d/incomp/user.h
Examining data/petsc-3.14.1+dfsg1/src/ts/characteristic/interface/mocregis.c
Examining data/petsc-3.14.1+dfsg1/src/ts/characteristic/interface/ftn-auto/characteristicf.c
Examining data/petsc-3.14.1+dfsg1/src/ts/characteristic/interface/characteristic.c
Examining data/petsc-3.14.1+dfsg1/src/ts/characteristic/interface/slregis.c
Examining data/petsc-3.14.1+dfsg1/src/ts/characteristic/impls/da/slda.c
Examining data/petsc-3.14.1+dfsg1/src/ts/characteristic/impls/da/slda.h
Examining data/petsc-3.14.1+dfsg1/src/ts/utils/ftn-auto/dmplextsf.c
Examining data/petsc-3.14.1+dfsg1/src/ts/utils/tsconvest.c
Examining data/petsc-3.14.1+dfsg1/src/ts/utils/dmplexts.c
Examining data/petsc-3.14.1+dfsg1/src/ts/utils/dmlocalts.c
Examining data/petsc-3.14.1+dfsg1/src/ts/utils/dmnetworkts.c
Examining data/petsc-3.14.1+dfsg1/src/ts/utils/dmplexlandau/ftn-auto/plexlandf.c
Examining data/petsc-3.14.1+dfsg1/src/ts/utils/dmplexlandau/land_kernel.h
Examining data/petsc-3.14.1+dfsg1/src/ts/utils/dmplexlandau/plexland.c
Examining data/petsc-3.14.1+dfsg1/src/ts/utils/dmplexlandau/kokkos/landau.kokkos.cxx
Examining data/petsc-3.14.1+dfsg1/src/ts/utils/dmplexlandau/ftn-custom/zlandaucreate.c
Examining data/petsc-3.14.1+dfsg1/src/ts/utils/dmplexlandau/land_tensors.h
Examining data/petsc-3.14.1+dfsg1/src/ts/utils/dmplexlandau/tutorials/ex1.c
Examining data/petsc-3.14.1+dfsg1/src/ts/utils/dmplexlandau/tutorials/ex2.c
Examining data/petsc-3.14.1+dfsg1/src/ts/utils/dmts.c
Examining data/petsc-3.14.1+dfsg1/src/ts/utils/dmdats.c
Examining data/petsc-3.14.1+dfsg1/src/ts/interface/ts.c
Examining data/petsc-3.14.1+dfsg1/src/ts/interface/ftn-auto/tsf.c
Examining data/petsc-3.14.1+dfsg1/src/ts/interface/tsrhssplit.c
Examining data/petsc-3.14.1+dfsg1/src/ts/interface/tsregall.c
Examining data/petsc-3.14.1+dfsg1/src/ts/interface/ftn-custom/ztsregf.c
Examining data/petsc-3.14.1+dfsg1/src/ts/interface/ftn-custom/ztscreatef.c
Examining data/petsc-3.14.1+dfsg1/src/ts/interface/ftn-custom/ztsf.c
Examining data/petsc-3.14.1+dfsg1/src/ts/interface/tsreg.c
Examining data/petsc-3.14.1+dfsg1/src/ts/interface/tshistory.c
Examining data/petsc-3.14.1+dfsg1/src/ts/interface/sensitivity/ftn-auto/tssenf.c
Examining data/petsc-3.14.1+dfsg1/src/ts/interface/sensitivity/tssen.c
Examining data/petsc-3.14.1+dfsg1/src/ts/interface/tseig.c
Examining data/petsc-3.14.1+dfsg1/src/ts/interface/tscreate.c
Examining data/petsc-3.14.1+dfsg1/src/ts/interface/dlregists.c
Examining data/petsc-3.14.1+dfsg1/src/ts/impls/python/pythonts.c
Examining data/petsc-3.14.1+dfsg1/src/ts/impls/python/ftn-custom/zpythontf.c
Examining data/petsc-3.14.1+dfsg1/src/ts/impls/arkimex/ftn-auto/arkimexf.c
Examining data/petsc-3.14.1+dfsg1/src/ts/impls/arkimex/arkimex.c
Examining data/petsc-3.14.1+dfsg1/src/ts/impls/arkimex/ftn-custom/zarkimexf.c
Examining data/petsc-3.14.1+dfsg1/src/ts/impls/implicit/radau5/radau5.c
Examining data/petsc-3.14.1+dfsg1/src/ts/impls/implicit/theta/ftn-auto/thetaf.c
Examining data/petsc-3.14.1+dfsg1/src/ts/impls/implicit/theta/theta.c
Examining data/petsc-3.14.1+dfsg1/src/ts/impls/implicit/sundials/ftn-auto/sundialsf.c
Examining data/petsc-3.14.1+dfsg1/src/ts/impls/implicit/sundials/sundials.c
Examining data/petsc-3.14.1+dfsg1/src/ts/impls/implicit/sundials/ftn-custom/zsundialsf.c
Examining data/petsc-3.14.1+dfsg1/src/ts/impls/implicit/sundials/sundials.h
Examining data/petsc-3.14.1+dfsg1/src/ts/impls/implicit/alpha/ftn-auto/alpha2f.c
Examining data/petsc-3.14.1+dfsg1/src/ts/impls/implicit/alpha/ftn-auto/alpha1f.c
Examining data/petsc-3.14.1+dfsg1/src/ts/impls/implicit/alpha/alpha1.c
Examining data/petsc-3.14.1+dfsg1/src/ts/impls/implicit/alpha/alpha2.c
Examining data/petsc-3.14.1+dfsg1/src/ts/impls/implicit/glle/glle.c
Examining data/petsc-3.14.1+dfsg1/src/ts/impls/implicit/glle/glle.h
Examining data/petsc-3.14.1+dfsg1/src/ts/impls/implicit/glle/glleadapt.c
Examining data/petsc-3.14.1+dfsg1/src/ts/impls/implicit/discgrad/tsdiscgrad.c
Examining data/petsc-3.14.1+dfsg1/src/ts/impls/eimex/eimex.c
Examining data/petsc-3.14.1+dfsg1/src/ts/impls/multirate/mprk.c
Examining data/petsc-3.14.1+dfsg1/src/ts/impls/pseudo/ftn-auto/posindepf.c
Examining data/petsc-3.14.1+dfsg1/src/ts/impls/pseudo/posindep.c
Examining data/petsc-3.14.1+dfsg1/src/ts/impls/symplectic/basicsymplectic/basicsymplectic.c
Examining data/petsc-3.14.1+dfsg1/src/ts/impls/mimex/mimex.c
Examining data/petsc-3.14.1+dfsg1/src/ts/impls/explicit/euler/euler.c
Examining data/petsc-3.14.1+dfsg1/src/ts/impls/explicit/rk/ftn-auto/rkf.c
Examining data/petsc-3.14.1+dfsg1/src/ts/impls/explicit/rk/mrk.h
Examining data/petsc-3.14.1+dfsg1/src/ts/impls/explicit/rk/ftn-custom/zrkf.c
Examining data/petsc-3.14.1+dfsg1/src/ts/impls/explicit/rk/rk.h
Examining data/petsc-3.14.1+dfsg1/src/ts/impls/explicit/rk/mrk.c
Examining data/petsc-3.14.1+dfsg1/src/ts/impls/explicit/rk/rk.c
Examining data/petsc-3.14.1+dfsg1/src/ts/impls/explicit/ssp/ftn-auto/sspf.c
Examining data/petsc-3.14.1+dfsg1/src/ts/impls/explicit/ssp/ftn-custom/zsspf.c
Examining data/petsc-3.14.1+dfsg1/src/ts/impls/explicit/ssp/ssp.c
Examining data/petsc-3.14.1+dfsg1/src/ts/impls/rosw/rosw.c
Examining data/petsc-3.14.1+dfsg1/src/ts/impls/rosw/ftn-custom/zroswf.c
Examining data/petsc-3.14.1+dfsg1/src/ts/impls/bdf/ftn-auto/bdff.c
Examining data/petsc-3.14.1+dfsg1/src/ts/impls/bdf/bdf.c
Examining data/petsc-3.14.1+dfsg1/src/ts/impls/glee/glee.c
Examining data/petsc-3.14.1+dfsg1/src/ts/trajectory/utils/reconstruct.c
Examining data/petsc-3.14.1+dfsg1/src/ts/trajectory/interface/ftn-auto/trajf.c
Examining data/petsc-3.14.1+dfsg1/src/ts/trajectory/interface/ftn-custom/ztrajf.c
Examining data/petsc-3.14.1+dfsg1/src/ts/trajectory/interface/traj.c
Examining data/petsc-3.14.1+dfsg1/src/ts/trajectory/impls/memory/trajmemory.c
Examining data/petsc-3.14.1+dfsg1/src/ts/trajectory/impls/singlefile/singlefile.c
Examining data/petsc-3.14.1+dfsg1/src/ts/trajectory/impls/visualization/trajvisualization.c
Examining data/petsc-3.14.1+dfsg1/src/ts/trajectory/impls/basic/trajbasic.c
Examining data/petsc-3.14.1+dfsg1/src/ts/tests/ex22.c
Examining data/petsc-3.14.1+dfsg1/src/ts/tests/ex11.c
Examining data/petsc-3.14.1+dfsg1/src/ts/tests/ex7.c
Examining data/petsc-3.14.1+dfsg1/src/ts/tests/ex3.c
Examining data/petsc-3.14.1+dfsg1/src/ts/tests/ex4.c
Examining data/petsc-3.14.1+dfsg1/src/ts/tests/ex5.c
Examining data/petsc-3.14.1+dfsg1/src/ts/tests/ex9.c
Examining data/petsc-3.14.1+dfsg1/src/ts/tests/ex25.c
Examining data/petsc-3.14.1+dfsg1/src/ts/tests/ex10.c
Examining data/petsc-3.14.1+dfsg1/src/ts/tests/ex13.c
Examining data/petsc-3.14.1+dfsg1/src/ts/tests/ex1.c
Examining data/petsc-3.14.1+dfsg1/src/ts/tests/ex6.c
Examining data/petsc-3.14.1+dfsg1/src/ts/tests/ex21.c
Examining data/petsc-3.14.1+dfsg1/src/ts/tests/ex24.c
Examining data/petsc-3.14.1+dfsg1/src/ts/tests/ex8.c
Examining data/petsc-3.14.1+dfsg1/src/ts/tests/ex15.c
Examining data/petsc-3.14.1+dfsg1/src/ts/tests/ex12.c
Examining data/petsc-3.14.1+dfsg1/src/ts/tests/ex2.c
Examining data/petsc-3.14.1+dfsg1/src/ts/tests/ex14.c
Examining data/petsc-3.14.1+dfsg1/src/ts/event/ftn-auto/tseventf.c
Examining data/petsc-3.14.1+dfsg1/src/ts/event/tsevent.c
Examining data/petsc-3.14.1+dfsg1/src/ts/adapt/interface/ftn-auto/tsadaptf.c
Examining data/petsc-3.14.1+dfsg1/src/ts/adapt/interface/ftn-custom/ztsadaptf.c
Examining data/petsc-3.14.1+dfsg1/src/ts/adapt/interface/tsadapt.c
Examining data/petsc-3.14.1+dfsg1/src/ts/adapt/impls/cfl/adaptcfl.c
Examining data/petsc-3.14.1+dfsg1/src/ts/adapt/impls/dsp/ftn-auto/adaptdspf.c
Examining data/petsc-3.14.1+dfsg1/src/ts/adapt/impls/dsp/adaptdsp.c
Examining data/petsc-3.14.1+dfsg1/src/ts/adapt/impls/dsp/ftn-custom/zadaptdspf.c
Examining data/petsc-3.14.1+dfsg1/src/ts/adapt/impls/none/adaptnone.c
Examining data/petsc-3.14.1+dfsg1/src/ts/adapt/impls/history/adapthist.c
Examining data/petsc-3.14.1+dfsg1/src/ts/adapt/impls/history/ftn-auto/adapthistf.c
Examining data/petsc-3.14.1+dfsg1/src/ts/adapt/impls/basic/adaptbasic.c
Examining data/petsc-3.14.1+dfsg1/src/ts/adapt/impls/glee/adaptglee.c
Examining data/petsc-3.14.1+dfsg1/src/ts/tutorials/ex48.c
Examining data/petsc-3.14.1+dfsg1/src/ts/tutorials/ex28.c
Examining data/petsc-3.14.1+dfsg1/src/ts/tutorials/ex22.c
Examining data/petsc-3.14.1+dfsg1/src/ts/tutorials/ex26.c
Examining data/petsc-3.14.1+dfsg1/src/ts/tutorials/ex11.c
Examining data/petsc-3.14.1+dfsg1/src/ts/tutorials/ex11_sa.c
Examining data/petsc-3.14.1+dfsg1/src/ts/tutorials/ex7.c
Examining data/petsc-3.14.1+dfsg1/src/ts/tutorials/extchemfield.c
Examining data/petsc-3.14.1+dfsg1/src/ts/tutorials/ex46.c
Examining data/petsc-3.14.1+dfsg1/src/ts/tutorials/ex43.c
Examining data/petsc-3.14.1+dfsg1/src/ts/tutorials/ex41.c
Examining data/petsc-3.14.1+dfsg1/src/ts/tutorials/ex3.c
Examining data/petsc-3.14.1+dfsg1/src/ts/tutorials/ex31.c
Examining data/petsc-3.14.1+dfsg1/src/ts/tutorials/ex17.c
Examining data/petsc-3.14.1+dfsg1/src/ts/tutorials/ex20td.c
Examining data/petsc-3.14.1+dfsg1/src/ts/tutorials/ex4.c
Examining data/petsc-3.14.1+dfsg1/src/ts/tutorials/hamiltonian/ex1.c
Examining data/petsc-3.14.1+dfsg1/src/ts/tutorials/ex5.c
Examining data/petsc-3.14.1+dfsg1/src/ts/tutorials/eimex/ct_vdp_imex.c
Examining data/petsc-3.14.1+dfsg1/src/ts/tutorials/eimex/allen_cahn.c
Examining data/petsc-3.14.1+dfsg1/src/ts/tutorials/ex53.c
Examining data/petsc-3.14.1+dfsg1/src/ts/tutorials/ex9.c
Examining data/petsc-3.14.1+dfsg1/src/ts/tutorials/ex44.c
Examining data/petsc-3.14.1+dfsg1/src/ts/tutorials/ex52.c
Examining data/petsc-3.14.1+dfsg1/src/ts/tutorials/ex25.c
Examining data/petsc-3.14.1+dfsg1/src/ts/tutorials/ex20fwd.c
Examining data/petsc-3.14.1+dfsg1/src/ts/tutorials/multirate/ex7.c
Examining data/petsc-3.14.1+dfsg1/src/ts/tutorials/multirate/ex3.c
Examining data/petsc-3.14.1+dfsg1/src/ts/tutorials/multirate/finitevolume1d.h
Examining data/petsc-3.14.1+dfsg1/src/ts/tutorials/multirate/ex5.c
Examining data/petsc-3.14.1+dfsg1/src/ts/tutorials/multirate/finitevolume1d.c
Examining data/petsc-3.14.1+dfsg1/src/ts/tutorials/multirate/ex1.c
Examining data/petsc-3.14.1+dfsg1/src/ts/tutorials/multirate/ex6.c
Examining data/petsc-3.14.1+dfsg1/src/ts/tutorials/multirate/ex8.c
Examining data/petsc-3.14.1+dfsg1/src/ts/tutorials/multirate/ex2.c
Examining data/petsc-3.14.1+dfsg1/src/ts/tutorials/power_grid/ex7.c
Examining data/petsc-3.14.1+dfsg1/src/ts/tutorials/power_grid/ex3opt_fd.c
Examining data/petsc-3.14.1+dfsg1/src/ts/tutorials/power_grid/ex3.c
Examining data/petsc-3.14.1+dfsg1/src/ts/tutorials/power_grid/ex5.c
Examining data/petsc-3.14.1+dfsg1/src/ts/tutorials/power_grid/ex3sa.c
Examining data/petsc-3.14.1+dfsg1/src/ts/tutorials/power_grid/ex9.c
Examining data/petsc-3.14.1+dfsg1/src/ts/tutorials/power_grid/ex1.c
Examining data/petsc-3.14.1+dfsg1/src/ts/tutorials/power_grid/ex6.c
Examining data/petsc-3.14.1+dfsg1/src/ts/tutorials/power_grid/ex3.h
Examining data/petsc-3.14.1+dfsg1/src/ts/tutorials/power_grid/ex9opt.c
Examining data/petsc-3.14.1+dfsg1/src/ts/tutorials/power_grid/stability_9bus/ex9busopt.c
Examining data/petsc-3.14.1+dfsg1/src/ts/tutorials/power_grid/stability_9bus/ex9bus.c
Examining data/petsc-3.14.1+dfsg1/src/ts/tutorials/power_grid/stability_9bus/ex9busoptfd.c
Examining data/petsc-3.14.1+dfsg1/src/ts/tutorials/power_grid/stability_9bus/ex9busdmnetwork.c
Examining data/petsc-3.14.1+dfsg1/src/ts/tutorials/power_grid/stability_9bus/ex9busadj.c
Examining data/petsc-3.14.1+dfsg1/src/ts/tutorials/power_grid/ex8.c
Examining data/petsc-3.14.1+dfsg1/src/ts/tutorials/power_grid/ex3opt.c
Examining data/petsc-3.14.1+dfsg1/src/ts/tutorials/power_grid/ex9adj.c
Examining data/petsc-3.14.1+dfsg1/src/ts/tutorials/power_grid/ex2.c
Examining data/petsc-3.14.1+dfsg1/src/ts/tutorials/hybrid/ex1fwd.c
Examining data/petsc-3.14.1+dfsg1/src/ts/tutorials/hybrid/ex1.c
Examining data/petsc-3.14.1+dfsg1/src/ts/tutorials/hybrid/ex1adj.c
Examining data/petsc-3.14.1+dfsg1/src/ts/tutorials/hybrid/ex1fd.c
Examining data/petsc-3.14.1+dfsg1/src/ts/tutorials/ex20.c
Examining data/petsc-3.14.1+dfsg1/src/ts/tutorials/ex49.c
Examining data/petsc-3.14.1+dfsg1/src/ts/tutorials/ex10.c
Examining data/petsc-3.14.1+dfsg1/src/ts/tutorials/network/wash/wash.h
Examining data/petsc-3.14.1+dfsg1/src/ts/tutorials/network/wash/pipeInterface.c
Examining data/petsc-3.14.1+dfsg1/src/ts/tutorials/network/wash/pipe.h
Examining data/petsc-3.14.1+dfsg1/src/ts/tutorials/network/wash/pipes1.c
Examining data/petsc-3.14.1+dfsg1/src/ts/tutorials/network/wash/pipeImpls.c
Examining data/petsc-3.14.1+dfsg1/src/ts/tutorials/ex47.c
Examining data/petsc-3.14.1+dfsg1/src/ts/tutorials/ex19.c
Examining data/petsc-3.14.1+dfsg1/src/ts/tutorials/ex20opt_ic.c
Examining data/petsc-3.14.1+dfsg1/src/ts/tutorials/ex13.c
Examining data/petsc-3.14.1+dfsg1/src/ts/tutorials/ex1.c
Examining data/petsc-3.14.1+dfsg1/src/ts/tutorials/ex6.c
Examining data/petsc-3.14.1+dfsg1/src/ts/tutorials/ex20opt_p.c
Examining data/petsc-3.14.1+dfsg1/src/ts/tutorials/ex29.c
Examining data/petsc-3.14.1+dfsg1/src/ts/tutorials/ex42.c
Examining data/petsc-3.14.1+dfsg1/src/ts/tutorials/ex27.c
Examining data/petsc-3.14.1+dfsg1/src/ts/tutorials/ex50.c
Examining data/petsc-3.14.1+dfsg1/src/ts/tutorials/optimal_control/ex1.c
Examining data/petsc-3.14.1+dfsg1/src/ts/tutorials/ex21.c
Examining data/petsc-3.14.1+dfsg1/src/ts/tutorials/ex24.c
Examining data/petsc-3.14.1+dfsg1/src/ts/tutorials/ex20adj.c
Examining data/petsc-3.14.1+dfsg1/src/ts/tutorials/ex8.c
Examining data/petsc-3.14.1+dfsg1/src/ts/tutorials/ex16fwd.c
Examining data/petsc-3.14.1+dfsg1/src/ts/tutorials/extchem.c
Examining data/petsc-3.14.1+dfsg1/src/ts/tutorials/ex35.cxx
Examining data/petsc-3.14.1+dfsg1/src/ts/tutorials/ex40.c
Examining data/petsc-3.14.1+dfsg1/src/ts/tutorials/ex45.c
Examining data/petsc-3.14.1+dfsg1/src/ts/tutorials/ex36.c
Examining data/petsc-3.14.1+dfsg1/src/ts/tutorials/ex34.c
Examining data/petsc-3.14.1+dfsg1/src/ts/tutorials/advection-diffusion-reaction/ex3.c
Examining data/petsc-3.14.1+dfsg1/src/ts/tutorials/advection-diffusion-reaction/ex4.c
Examining data/petsc-3.14.1+dfsg1/src/ts/tutorials/advection-diffusion-reaction/ex5.c
Examining data/petsc-3.14.1+dfsg1/src/ts/tutorials/advection-diffusion-reaction/ex1.c
Examining data/petsc-3.14.1+dfsg1/src/ts/tutorials/advection-diffusion-reaction/ex6.c
Examining data/petsc-3.14.1+dfsg1/src/ts/tutorials/advection-diffusion-reaction/ex5adj.c
Examining data/petsc-3.14.1+dfsg1/src/ts/tutorials/advection-diffusion-reaction/ex5opt_ic.c
Examining data/petsc-3.14.1+dfsg1/src/ts/tutorials/advection-diffusion-reaction/ex2.c
Examining data/petsc-3.14.1+dfsg1/src/ts/tutorials/ex15.c
Examining data/petsc-3.14.1+dfsg1/src/ts/tutorials/ex18.c
Examining data/petsc-3.14.1+dfsg1/src/ts/tutorials/ex36SE.c
Examining data/petsc-3.14.1+dfsg1/src/ts/tutorials/ex12.c
Examining data/petsc-3.14.1+dfsg1/src/ts/tutorials/ex2.c
Examining data/petsc-3.14.1+dfsg1/src/ts/tutorials/ex51.c
Examining data/petsc-3.14.1+dfsg1/src/ts/tutorials/phasefield/biharmonic3.c
Examining data/petsc-3.14.1+dfsg1/src/ts/tutorials/phasefield/potentials.c
Examining data/petsc-3.14.1+dfsg1/src/ts/tutorials/phasefield/heat.c
Examining data/petsc-3.14.1+dfsg1/src/ts/tutorials/phasefield/biharmonic2.c
Examining data/petsc-3.14.1+dfsg1/src/ts/tutorials/phasefield/biharmonic.c
Examining data/petsc-3.14.1+dfsg1/src/ts/tutorials/ex36A.c
Examining data/petsc-3.14.1+dfsg1/src/ts/tutorials/autodiff/adr_ex1.cxx
Examining data/petsc-3.14.1+dfsg1/src/ts/tutorials/autodiff/ex16adj.cxx
Examining data/petsc-3.14.1+dfsg1/src/ts/tutorials/autodiff/adr_ex5adj_mf.cxx
Examining data/petsc-3.14.1+dfsg1/src/ts/tutorials/autodiff/ex16opt_ic.cxx
Examining data/petsc-3.14.1+dfsg1/src/ts/tutorials/autodiff/ex16adj_tl.cxx
Examining data/petsc-3.14.1+dfsg1/src/ts/tutorials/autodiff/adr_ex5adj.cxx
Examining data/petsc-3.14.1+dfsg1/src/ts/tutorials/autodiff/adolc-utils/contexts.cxx
Examining data/petsc-3.14.1+dfsg1/src/ts/tutorials/autodiff/adolc-utils/drivers.cxx
Examining data/petsc-3.14.1+dfsg1/src/ts/tutorials/autodiff/adolc-utils/matfree.cxx
Examining data/petsc-3.14.1+dfsg1/src/ts/tutorials/autodiff/adolc-utils/init.cxx
Examining data/petsc-3.14.1+dfsg1/src/ts/tutorials/autodiff/adolc-utils/sparse.cxx
Examining data/petsc-3.14.1+dfsg1/src/ts/tutorials/ex14.c
Examining data/petsc-3.14.1+dfsg1/src/ts/tutorials/ex16.c
Examining data/petsc-3.14.1+dfsg1/src/ts/f90-mod/petscts.h
Examining data/petsc-3.14.1+dfsg1/src/sys/ams/pams.c
Examining data/petsc-3.14.1+dfsg1/src/sys/python/ftn-custom/zpythonf.c
Examining data/petsc-3.14.1+dfsg1/src/sys/python/pythonsys.c
Examining data/petsc-3.14.1+dfsg1/src/sys/info/ftn-auto/verboseinfof.c
Examining data/petsc-3.14.1+dfsg1/src/sys/info/ftn-custom/zverboseinfof.c
Examining data/petsc-3.14.1+dfsg1/src/sys/info/verboseinfo.c
Examining data/petsc-3.14.1+dfsg1/src/sys/utils/mpishm.c
Examining data/petsc-3.14.1+dfsg1/src/sys/utils/ftn-auto/psleepf.c
Examining data/petsc-3.14.1+dfsg1/src/sys/utils/ftn-auto/memcf.c
Examining data/petsc-3.14.1+dfsg1/src/sys/utils/ftn-auto/mpiuf.c
Examining data/petsc-3.14.1+dfsg1/src/sys/utils/ftn-auto/psplitf.c
Examining data/petsc-3.14.1+dfsg1/src/sys/utils/ftn-auto/sortdf.c
Examining data/petsc-3.14.1+dfsg1/src/sys/utils/ftn-auto/sortipf.c
Examining data/petsc-3.14.1+dfsg1/src/sys/utils/ftn-auto/sortif.c
Examining data/petsc-3.14.1+dfsg1/src/sys/utils/ftn-auto/mpitsf.c
Examining data/petsc-3.14.1+dfsg1/src/sys/utils/ftn-auto/sortsof.c
Examining data/petsc-3.14.1+dfsg1/src/sys/utils/mpitr.c
Examining data/petsc-3.14.1+dfsg1/src/sys/utils/mathfit.c
Examining data/petsc-3.14.1+dfsg1/src/sys/utils/fhost.c
Examining data/petsc-3.14.1+dfsg1/src/sys/utils/ctable.c
Examining data/petsc-3.14.1+dfsg1/src/sys/utils/sortso.c
Examining data/petsc-3.14.1+dfsg1/src/sys/utils/str.c
Examining data/petsc-3.14.1+dfsg1/src/sys/utils/sortd.c
Examining data/petsc-3.14.1+dfsg1/src/sys/utils/pdisplay.c
Examining data/petsc-3.14.1+dfsg1/src/sys/utils/sorti.c
Examining data/petsc-3.14.1+dfsg1/src/sys/utils/segbuffer.c
Examining data/petsc-3.14.1+dfsg1/src/sys/utils/pbarrier.c
Examining data/petsc-3.14.1+dfsg1/src/sys/utils/mpilong.c
Examining data/petsc-3.14.1+dfsg1/src/sys/utils/sseenabled.c
Examining data/petsc-3.14.1+dfsg1/src/sys/utils/arch.c
Examining data/petsc-3.14.1+dfsg1/src/sys/utils/memc.c
Examining data/petsc-3.14.1+dfsg1/src/sys/utils/fuser.c
Examining data/petsc-3.14.1+dfsg1/src/sys/utils/ftn-custom/zstrf.c
Examining data/petsc-3.14.1+dfsg1/src/sys/utils/ftn-custom/zfhostf.c
Examining data/petsc-3.14.1+dfsg1/src/sys/utils/ftn-custom/zarchf.c
Examining data/petsc-3.14.1+dfsg1/src/sys/utils/ftn-custom/zsortsof.c
Examining data/petsc-3.14.1+dfsg1/src/sys/utils/psleep.c
Examining data/petsc-3.14.1+dfsg1/src/sys/utils/mpiu.c
Examining data/petsc-3.14.1+dfsg1/src/sys/utils/psplit.c
Examining data/petsc-3.14.1+dfsg1/src/sys/utils/mathinf.c
Examining data/petsc-3.14.1+dfsg1/src/sys/utils/mathclose.c
Examining data/petsc-3.14.1+dfsg1/src/sys/utils/matheq.c
Examining data/petsc-3.14.1+dfsg1/src/sys/utils/ftn-kernels/fcopy.h
Examining data/petsc-3.14.1+dfsg1/src/sys/utils/mpits.c
Examining data/petsc-3.14.1+dfsg1/src/sys/utils/sortip.c
Examining data/petsc-3.14.1+dfsg1/src/sys/utils/mpimesg.c
Examining data/petsc-3.14.1+dfsg1/src/sys/totalview/tv_data_display.c
Examining data/petsc-3.14.1+dfsg1/src/sys/totalview/tv_data_display.h
Examining data/petsc-3.14.1+dfsg1/src/sys/f90-src/f90_cwrap.c
Examining data/petsc-3.14.1+dfsg1/src/sys/tests/ex28.c
Examining data/petsc-3.14.1+dfsg1/src/sys/tests/ex22.c
Examining data/petsc-3.14.1+dfsg1/src/sys/tests/ex26.c
Examining data/petsc-3.14.1+dfsg1/src/sys/tests/ex11.c
Examining data/petsc-3.14.1+dfsg1/src/sys/tests/ex7.c
Examining data/petsc-3.14.1+dfsg1/src/sys/tests/ex43.c
Examining data/petsc-3.14.1+dfsg1/src/sys/tests/ex41.c
Examining data/petsc-3.14.1+dfsg1/src/sys/tests/ex35.c
Examining data/petsc-3.14.1+dfsg1/src/sys/tests/ex3.c
Examining data/petsc-3.14.1+dfsg1/src/sys/tests/ex31.c
Examining data/petsc-3.14.1+dfsg1/src/sys/tests/ex4.c
Examining data/petsc-3.14.1+dfsg1/src/sys/tests/ex5.c
Examining data/petsc-3.14.1+dfsg1/src/sys/tests/ex53.c
Examining data/petsc-3.14.1+dfsg1/src/sys/tests/ex9.c
Examining data/petsc-3.14.1+dfsg1/src/sys/tests/ex52.c
Examining data/petsc-3.14.1+dfsg1/src/sys/tests/ex25.c
Examining data/petsc-3.14.1+dfsg1/src/sys/tests/ex54.c
Examining data/petsc-3.14.1+dfsg1/src/sys/tests/ex20.c
Examining data/petsc-3.14.1+dfsg1/src/sys/tests/ex49.c
Examining data/petsc-3.14.1+dfsg1/src/sys/tests/options/ex55.c
Examining data/petsc-3.14.1+dfsg1/src/sys/tests/ex10.c
Examining data/petsc-3.14.1+dfsg1/src/sys/tests/ex37.c
Examining data/petsc-3.14.1+dfsg1/src/sys/tests/ex44.cxx
Examining data/petsc-3.14.1+dfsg1/src/sys/tests/ex47.c
Examining data/petsc-3.14.1+dfsg1/src/sys/tests/ex19.c
Examining data/petsc-3.14.1+dfsg1/src/sys/tests/ex30.c
Examining data/petsc-3.14.1+dfsg1/src/sys/tests/ex45.cxx
Examining data/petsc-3.14.1+dfsg1/src/sys/tests/ex1.c
Examining data/petsc-3.14.1+dfsg1/src/sys/tests/ex6.c
Examining data/petsc-3.14.1+dfsg1/src/sys/tests/ex46.cxx
Examining data/petsc-3.14.1+dfsg1/src/sys/tests/ex29.c
Examining data/petsc-3.14.1+dfsg1/src/sys/tests/ex42.c
Examining data/petsc-3.14.1+dfsg1/src/sys/tests/ex27.c
Examining data/petsc-3.14.1+dfsg1/src/sys/tests/ex50.c
Examining data/petsc-3.14.1+dfsg1/src/sys/tests/ex21.c
Examining data/petsc-3.14.1+dfsg1/src/sys/tests/ex24.c
Examining data/petsc-3.14.1+dfsg1/src/sys/tests/ex8.c
Examining data/petsc-3.14.1+dfsg1/src/sys/tests/ex40.c
Examining data/petsc-3.14.1+dfsg1/src/sys/tests/ex23.c
Examining data/petsc-3.14.1+dfsg1/src/sys/tests/ex34.c
Examining data/petsc-3.14.1+dfsg1/src/sys/tests/ex15.c
Examining data/petsc-3.14.1+dfsg1/src/sys/tests/ex18.c
Examining data/petsc-3.14.1+dfsg1/src/sys/tests/ex12.c
Examining data/petsc-3.14.1+dfsg1/src/sys/tests/ex2.c
Examining data/petsc-3.14.1+dfsg1/src/sys/tests/ex51.c
Examining data/petsc-3.14.1+dfsg1/src/sys/tests/ex39.c
Examining data/petsc-3.14.1+dfsg1/src/sys/tests/ex32.c
Examining data/petsc-3.14.1+dfsg1/src/sys/tests/ex14.c
Examining data/petsc-3.14.1+dfsg1/src/sys/tests/ex16.c
Examining data/petsc-3.14.1+dfsg1/src/sys/memory/ftn-auto/mtrf.c
Examining data/petsc-3.14.1+dfsg1/src/sys/memory/ftn-auto/memf.c
Examining data/petsc-3.14.1+dfsg1/src/sys/memory/ftn-custom/zmtrf.c
Examining data/petsc-3.14.1+dfsg1/src/sys/memory/mal.c
Examining data/petsc-3.14.1+dfsg1/src/sys/memory/mhbw.c
Examining data/petsc-3.14.1+dfsg1/src/sys/memory/mtr.c
Examining data/petsc-3.14.1+dfsg1/src/sys/memory/mem.c
Examining data/petsc-3.14.1+dfsg1/src/sys/logging/ftn-auto/xmllogeventf.c
Examining data/petsc-3.14.1+dfsg1/src/sys/logging/ftn-auto/plogf.c
Examining data/petsc-3.14.1+dfsg1/src/sys/logging/utils/classlog.c
Examining data/petsc-3.14.1+dfsg1/src/sys/logging/utils/stack.c
Examining data/petsc-3.14.1+dfsg1/src/sys/logging/utils/stagelog.c
Examining data/petsc-3.14.1+dfsg1/src/sys/logging/utils/eventlog.c
Examining data/petsc-3.14.1+dfsg1/src/sys/logging/plog.c
Examining data/petsc-3.14.1+dfsg1/src/sys/logging/xmlviewer.c
Examining data/petsc-3.14.1+dfsg1/src/sys/logging/xmllogevent.c
Examining data/petsc-3.14.1+dfsg1/src/sys/logging/ftn-custom/zplogf.c
Examining data/petsc-3.14.1+dfsg1/src/sys/logging/xmlviewer.h
Examining data/petsc-3.14.1+dfsg1/src/sys/objects/cuda/handle.c
Examining data/petsc-3.14.1+dfsg1/src/sys/objects/ftn-auto/gcookief.c
Examining data/petsc-3.14.1+dfsg1/src/sys/objects/ftn-auto/optionsf.c
Examining data/petsc-3.14.1+dfsg1/src/sys/objects/ftn-auto/inheritf.c
Examining data/petsc-3.14.1+dfsg1/src/sys/objects/ftn-auto/statef.c
Examining data/petsc-3.14.1+dfsg1/src/sys/objects/ftn-auto/tagmf.c
Examining data/petsc-3.14.1+dfsg1/src/sys/objects/ftn-auto/pinitf.c
Examining data/petsc-3.14.1+dfsg1/src/sys/objects/ftn-auto/gcommf.c
Examining data/petsc-3.14.1+dfsg1/src/sys/objects/ftn-auto/destroyf.c
Examining data/petsc-3.14.1+dfsg1/src/sys/objects/ftn-auto/subcommf.c
Examining data/petsc-3.14.1+dfsg1/src/sys/objects/pinit.c
Examining data/petsc-3.14.1+dfsg1/src/sys/objects/pgname.c
Examining data/petsc-3.14.1+dfsg1/src/sys/objects/tagm.c
Examining data/petsc-3.14.1+dfsg1/src/sys/objects/ptype.c
Examining data/petsc-3.14.1+dfsg1/src/sys/objects/gcookie.c
Examining data/petsc-3.14.1+dfsg1/src/sys/objects/pname.c
Examining data/petsc-3.14.1+dfsg1/src/sys/objects/options.c
Examining data/petsc-3.14.1+dfsg1/src/sys/objects/state.c
Examining data/petsc-3.14.1+dfsg1/src/sys/objects/olist.c
Examining data/petsc-3.14.1+dfsg1/src/sys/objects/kokkos/kinit.kokkos.cxx
Examining data/petsc-3.14.1+dfsg1/src/sys/objects/ftn-custom/zversionf.c
Examining data/petsc-3.14.1+dfsg1/src/sys/objects/ftn-custom/zstartf.c
Examining data/petsc-3.14.1+dfsg1/src/sys/objects/ftn-custom/zinheritf.c
Examining data/petsc-3.14.1+dfsg1/src/sys/objects/ftn-custom/zpgnamef.c
Examining data/petsc-3.14.1+dfsg1/src/sys/objects/ftn-custom/zgtype.c
Examining data/petsc-3.14.1+dfsg1/src/sys/objects/ftn-custom/zstart.c
Examining data/petsc-3.14.1+dfsg1/src/sys/objects/ftn-custom/zoptionsf.c
Examining data/petsc-3.14.1+dfsg1/src/sys/objects/ftn-custom/zprefixf.c
Examining data/petsc-3.14.1+dfsg1/src/sys/objects/ftn-custom/zgcommf.c
Examining data/petsc-3.14.1+dfsg1/src/sys/objects/ftn-custom/zpnamef.c
Examining data/petsc-3.14.1+dfsg1/src/sys/objects/ftn-custom/zptypef.c
Examining data/petsc-3.14.1+dfsg1/src/sys/objects/ftn-custom/zdestroyf.c
Examining data/petsc-3.14.1+dfsg1/src/sys/objects/cxx/ftn-auto/elementalf.c
Examining data/petsc-3.14.1+dfsg1/src/sys/objects/cxx/elemental.cxx
Examining data/petsc-3.14.1+dfsg1/src/sys/objects/gcomm.c
Examining data/petsc-3.14.1+dfsg1/src/sys/objects/inherit.c
Examining data/petsc-3.14.1+dfsg1/src/sys/objects/version.c
Examining data/petsc-3.14.1+dfsg1/src/sys/objects/prefix.c
Examining data/petsc-3.14.1+dfsg1/src/sys/objects/gtype.c
Examining data/petsc-3.14.1+dfsg1/src/sys/objects/subcomm.c
Examining data/petsc-3.14.1+dfsg1/src/sys/objects/aoptions.c
Examining data/petsc-3.14.1+dfsg1/src/sys/objects/fcallback.c
Examining data/petsc-3.14.1+dfsg1/src/sys/objects/init.c
Examining data/petsc-3.14.1+dfsg1/src/sys/objects/destroy.c
Examining data/petsc-3.14.1+dfsg1/src/sys/classes/viewer/interface/ftn-auto/flushf.c
Examining data/petsc-3.14.1+dfsg1/src/sys/classes/viewer/interface/ftn-auto/viewregf.c
Examining data/petsc-3.14.1+dfsg1/src/sys/classes/viewer/interface/ftn-auto/viewf.c
Examining data/petsc-3.14.1+dfsg1/src/sys/classes/viewer/interface/viewa.c
Examining data/petsc-3.14.1+dfsg1/src/sys/classes/viewer/interface/flush.c
Examining data/petsc-3.14.1+dfsg1/src/sys/classes/viewer/interface/viewregall.c
Examining data/petsc-3.14.1+dfsg1/src/sys/classes/viewer/interface/ftn-custom/zviewaf.c
Examining data/petsc-3.14.1+dfsg1/src/sys/classes/viewer/interface/ftn-custom/zviewasetf.c
Examining data/petsc-3.14.1+dfsg1/src/sys/classes/viewer/interface/viewers.c
Examining data/petsc-3.14.1+dfsg1/src/sys/classes/viewer/interface/dlregispetsc.c
Examining data/petsc-3.14.1+dfsg1/src/sys/classes/viewer/interface/view.c
Examining data/petsc-3.14.1+dfsg1/src/sys/classes/viewer/interface/viewreg.c
Examining data/petsc-3.14.1+dfsg1/src/sys/classes/viewer/interface/dupl.c
Examining data/petsc-3.14.1+dfsg1/src/sys/classes/viewer/impls/mathematica/mathematica.c
Examining data/petsc-3.14.1+dfsg1/src/sys/classes/viewer/impls/mathematica/runtime.c
Examining data/petsc-3.14.1+dfsg1/src/sys/classes/viewer/impls/mathematica/mathematica.h
Examining data/petsc-3.14.1+dfsg1/src/sys/classes/viewer/impls/ams/amsopen.c
Examining data/petsc-3.14.1+dfsg1/src/sys/classes/viewer/impls/ams/ams.c
Examining data/petsc-3.14.1+dfsg1/src/sys/classes/viewer/impls/glvis/ftn-auto/glvisf.c
Examining data/petsc-3.14.1+dfsg1/src/sys/classes/viewer/impls/glvis/glvis.c
Examining data/petsc-3.14.1+dfsg1/src/sys/classes/viewer/impls/string/ftn-custom/zstringvf.c
Examining data/petsc-3.14.1+dfsg1/src/sys/classes/viewer/impls/string/stringv.c
Examining data/petsc-3.14.1+dfsg1/src/sys/classes/viewer/impls/hdf5/ftn-auto/hdf5vf.c
Examining data/petsc-3.14.1+dfsg1/src/sys/classes/viewer/impls/hdf5/ftn-custom/zhdf5f.c
Examining data/petsc-3.14.1+dfsg1/src/sys/classes/viewer/impls/hdf5/hdf5v.c
Examining data/petsc-3.14.1+dfsg1/src/sys/classes/viewer/impls/adios/adios.c
Examining data/petsc-3.14.1+dfsg1/src/sys/classes/viewer/impls/socket/send.c
Examining data/petsc-3.14.1+dfsg1/src/sys/classes/viewer/impls/socket/ftn-custom/zsendf.c
Examining data/petsc-3.14.1+dfsg1/src/sys/classes/viewer/impls/socket/socket.h
Examining data/petsc-3.14.1+dfsg1/src/sys/classes/viewer/impls/socket/matlab/sread.c
Examining data/petsc-3.14.1+dfsg1/src/sys/classes/viewer/impls/socket/matlab/bread.c
Examining data/petsc-3.14.1+dfsg1/src/sys/classes/viewer/impls/socket/matlab/sopen.c
Examining data/petsc-3.14.1+dfsg1/src/sys/classes/viewer/impls/socket/matlab/sclose.c
Examining data/petsc-3.14.1+dfsg1/src/sys/classes/viewer/impls/socket/matlab/swrite.c
Examining data/petsc-3.14.1+dfsg1/src/sys/classes/viewer/impls/vtk/vtkv.c
Examining data/petsc-3.14.1+dfsg1/src/sys/classes/viewer/impls/vtk/ftn-custom/zvtkvf.c
Examining data/petsc-3.14.1+dfsg1/src/sys/classes/viewer/impls/vtk/vtkvimpl.h
Examining data/petsc-3.14.1+dfsg1/src/sys/classes/viewer/impls/vu/petscvu.c
Examining data/petsc-3.14.1+dfsg1/src/sys/classes/viewer/impls/draw/ftn-auto/drawvf.c
Examining data/petsc-3.14.1+dfsg1/src/sys/classes/viewer/impls/draw/vdraw.h
Examining data/petsc-3.14.1+dfsg1/src/sys/classes/viewer/impls/draw/drawv.c
Examining data/petsc-3.14.1+dfsg1/src/sys/classes/viewer/impls/draw/ftn-custom/zdrawvf.c
Examining data/petsc-3.14.1+dfsg1/src/sys/classes/viewer/impls/adios2/adios2.c
Examining data/petsc-3.14.1+dfsg1/src/sys/classes/viewer/impls/binary/ftn-auto/binvf.c
Examining data/petsc-3.14.1+dfsg1/src/sys/classes/viewer/impls/binary/binv.c
Examining data/petsc-3.14.1+dfsg1/src/sys/classes/viewer/impls/binary/f90-custom/zbinvf90.c
Examining data/petsc-3.14.1+dfsg1/src/sys/classes/viewer/impls/binary/ftn-custom/zbinvf.c
Examining data/petsc-3.14.1+dfsg1/src/sys/classes/viewer/impls/ascii/ftn-auto/vcreateaf.c
Examining data/petsc-3.14.1+dfsg1/src/sys/classes/viewer/impls/ascii/ftn-auto/filevf.c
Examining data/petsc-3.14.1+dfsg1/src/sys/classes/viewer/impls/ascii/asciiimpl.h
Examining data/petsc-3.14.1+dfsg1/src/sys/classes/viewer/impls/ascii/filev.c
Examining data/petsc-3.14.1+dfsg1/src/sys/classes/viewer/impls/ascii/ftn-custom/zfilevf.c
Examining data/petsc-3.14.1+dfsg1/src/sys/classes/viewer/impls/ascii/ftn-custom/zvcreatef.c
Examining data/petsc-3.14.1+dfsg1/src/sys/classes/viewer/impls/ascii/vcreatea.c
Examining data/petsc-3.14.1+dfsg1/src/sys/classes/viewer/impls/matlab/ftn-custom/zvmatlabf.c
Examining data/petsc-3.14.1+dfsg1/src/sys/classes/viewer/impls/matlab/vmatlab.c
Examining data/petsc-3.14.1+dfsg1/src/sys/classes/viewer/tests/ex3.c
Examining data/petsc-3.14.1+dfsg1/src/sys/classes/viewer/tests/ex4.c
Examining data/petsc-3.14.1+dfsg1/src/sys/classes/viewer/tests/ex5.c
Examining data/petsc-3.14.1+dfsg1/src/sys/classes/viewer/tests/ex6.c
Examining data/petsc-3.14.1+dfsg1/src/sys/classes/viewer/tutorials/ex1.c
Examining data/petsc-3.14.1+dfsg1/src/sys/classes/viewer/tutorials/ex2.c
Examining data/petsc-3.14.1+dfsg1/src/sys/classes/matlabengine/ftn-auto/matlabf.c
Examining data/petsc-3.14.1+dfsg1/src/sys/classes/matlabengine/ftn-custom/zmatlabf.c
Examining data/petsc-3.14.1+dfsg1/src/sys/classes/matlabengine/matlab.c
Examining data/petsc-3.14.1+dfsg1/src/sys/classes/random/interface/ftn-auto/randomcf.c
Examining data/petsc-3.14.1+dfsg1/src/sys/classes/random/interface/ftn-auto/randomf.c
Examining data/petsc-3.14.1+dfsg1/src/sys/classes/random/interface/randreg.c
Examining data/petsc-3.14.1+dfsg1/src/sys/classes/random/interface/random.c
Examining data/petsc-3.14.1+dfsg1/src/sys/classes/random/interface/ftn-custom/zrandomf.c
Examining data/petsc-3.14.1+dfsg1/src/sys/classes/random/interface/dlregisrand.c
Examining data/petsc-3.14.1+dfsg1/src/sys/classes/random/interface/randomc.c
Examining data/petsc-3.14.1+dfsg1/src/sys/classes/random/impls/sprng/sprng.c
Examining data/petsc-3.14.1+dfsg1/src/sys/classes/random/impls/rand48/rand48.c
Examining data/petsc-3.14.1+dfsg1/src/sys/classes/random/impls/random123/random123.c
Examining data/petsc-3.14.1+dfsg1/src/sys/classes/random/impls/rand/rand.c
Examining data/petsc-3.14.1+dfsg1/src/sys/classes/random/impls/rander48/rander48.c
Examining data/petsc-3.14.1+dfsg1/src/sys/classes/random/tests/ex3.c
Examining data/petsc-3.14.1+dfsg1/src/sys/classes/random/randomimpl.h
Examining data/petsc-3.14.1+dfsg1/src/sys/classes/random/tutorials/ex1.c
Examining data/petsc-3.14.1+dfsg1/src/sys/classes/random/tutorials/ex2.c
Examining data/petsc-3.14.1+dfsg1/src/sys/classes/draw/utils/ftn-auto/axiscf.c
Examining data/petsc-3.14.1+dfsg1/src/sys/classes/draw/utils/ftn-auto/dscatterf.c
Examining data/petsc-3.14.1+dfsg1/src/sys/classes/draw/utils/ftn-auto/barsf.c
Examining data/petsc-3.14.1+dfsg1/src/sys/classes/draw/utils/ftn-auto/histsf.c
Examining data/petsc-3.14.1+dfsg1/src/sys/classes/draw/utils/ftn-auto/lgf.c
Examining data/petsc-3.14.1+dfsg1/src/sys/classes/draw/utils/ftn-auto/lgcf.c
Examining data/petsc-3.14.1+dfsg1/src/sys/classes/draw/utils/image.c
Examining data/petsc-3.14.1+dfsg1/src/sys/classes/draw/utils/axisc.c
Examining data/petsc-3.14.1+dfsg1/src/sys/classes/draw/utils/axis.c
Examining data/petsc-3.14.1+dfsg1/src/sys/classes/draw/utils/bars.c
Examining data/petsc-3.14.1+dfsg1/src/sys/classes/draw/utils/zoom.c
Examining data/petsc-3.14.1+dfsg1/src/sys/classes/draw/utils/dscatter.c
Examining data/petsc-3.14.1+dfsg1/src/sys/classes/draw/utils/ftn-custom/zaxisf.c
Examining data/petsc-3.14.1+dfsg1/src/sys/classes/draw/utils/ftn-custom/zlgcf.c
Examining data/petsc-3.14.1+dfsg1/src/sys/classes/draw/utils/ftn-custom/zzoomf.c
Examining data/petsc-3.14.1+dfsg1/src/sys/classes/draw/utils/cmap.c
Examining data/petsc-3.14.1+dfsg1/src/sys/classes/draw/utils/hists.c
Examining data/petsc-3.14.1+dfsg1/src/sys/classes/draw/utils/lgc.c
Examining data/petsc-3.14.1+dfsg1/src/sys/classes/draw/utils/lgimpl.h
Examining data/petsc-3.14.1+dfsg1/src/sys/classes/draw/utils/lg.c
Examining data/petsc-3.14.1+dfsg1/src/sys/classes/draw/utils/cmap/inferno.h
Examining data/petsc-3.14.1+dfsg1/src/sys/classes/draw/utils/cmap/magma.h
Examining data/petsc-3.14.1+dfsg1/src/sys/classes/draw/utils/cmap/coolwarm.h
Examining data/petsc-3.14.1+dfsg1/src/sys/classes/draw/utils/cmap/plasma.h
Examining data/petsc-3.14.1+dfsg1/src/sys/classes/draw/utils/cmap/parula.h
Examining data/petsc-3.14.1+dfsg1/src/sys/classes/draw/utils/cmap/viridis.h
Examining data/petsc-3.14.1+dfsg1/src/sys/classes/draw/utils/axisimpl.h
Examining data/petsc-3.14.1+dfsg1/src/sys/classes/draw/interface/ftn-auto/dlinef.c
Examining data/petsc-3.14.1+dfsg1/src/sys/classes/draw/interface/ftn-auto/dflushf.c
Examining data/petsc-3.14.1+dfsg1/src/sys/classes/draw/interface/ftn-auto/drawf.c
Examining data/petsc-3.14.1+dfsg1/src/sys/classes/draw/interface/ftn-auto/dtrif.c
Examining data/petsc-3.14.1+dfsg1/src/sys/classes/draw/interface/ftn-auto/dpausef.c
Examining data/petsc-3.14.1+dfsg1/src/sys/classes/draw/interface/ftn-auto/dsavef.c
Examining data/petsc-3.14.1+dfsg1/src/sys/classes/draw/interface/ftn-auto/drawregf.c
Examining data/petsc-3.14.1+dfsg1/src/sys/classes/draw/interface/ftn-auto/dcoorf.c
Examining data/petsc-3.14.1+dfsg1/src/sys/classes/draw/interface/ftn-auto/dtextf.c
Examining data/petsc-3.14.1+dfsg1/src/sys/classes/draw/interface/ftn-auto/dclearf.c
Examining data/petsc-3.14.1+dfsg1/src/sys/classes/draw/interface/ftn-auto/dmousef.c
Examining data/petsc-3.14.1+dfsg1/src/sys/classes/draw/interface/ftn-auto/dpointf.c
Examining data/petsc-3.14.1+dfsg1/src/sys/classes/draw/interface/ftn-auto/dellipsef.c
Examining data/petsc-3.14.1+dfsg1/src/sys/classes/draw/interface/ftn-auto/dmarkerf.c
Examining data/petsc-3.14.1+dfsg1/src/sys/classes/draw/interface/ftn-auto/drectf.c
Examining data/petsc-3.14.1+dfsg1/src/sys/classes/draw/interface/ftn-auto/dviewpf.c
Examining data/petsc-3.14.1+dfsg1/src/sys/classes/draw/interface/dtext.c
Examining data/petsc-3.14.1+dfsg1/src/sys/classes/draw/interface/dellipse.c
Examining data/petsc-3.14.1+dfsg1/src/sys/classes/draw/interface/drawreg.c
Examining data/petsc-3.14.1+dfsg1/src/sys/classes/draw/interface/dcoor.c
Examining data/petsc-3.14.1+dfsg1/src/sys/classes/draw/interface/dpoint.c
Examining data/petsc-3.14.1+dfsg1/src/sys/classes/draw/interface/dpause.c
Examining data/petsc-3.14.1+dfsg1/src/sys/classes/draw/interface/dmarker.c
Examining data/petsc-3.14.1+dfsg1/src/sys/classes/draw/interface/ftn-custom/zdrawf.c
Examining data/petsc-3.14.1+dfsg1/src/sys/classes/draw/interface/ftn-custom/zdtextf.c
Examining data/petsc-3.14.1+dfsg1/src/sys/classes/draw/interface/ftn-custom/zdtrif.c
Examining data/petsc-3.14.1+dfsg1/src/sys/classes/draw/interface/ftn-custom/zdrawregf.c
Examining data/petsc-3.14.1+dfsg1/src/sys/classes/draw/interface/dmouse.c
Examining data/petsc-3.14.1+dfsg1/src/sys/classes/draw/interface/dviewp.c
Examining data/petsc-3.14.1+dfsg1/src/sys/classes/draw/interface/drect.c
Examining data/petsc-3.14.1+dfsg1/src/sys/classes/draw/interface/dline.c
Examining data/petsc-3.14.1+dfsg1/src/sys/classes/draw/interface/drawregall.c
Examining data/petsc-3.14.1+dfsg1/src/sys/classes/draw/interface/dflush.c
Examining data/petsc-3.14.1+dfsg1/src/sys/classes/draw/interface/dtri.c
Examining data/petsc-3.14.1+dfsg1/src/sys/classes/draw/interface/draw.c
Examining data/petsc-3.14.1+dfsg1/src/sys/classes/draw/interface/dsave.c
Examining data/petsc-3.14.1+dfsg1/src/sys/classes/draw/interface/dclear.c
Examining data/petsc-3.14.1+dfsg1/src/sys/classes/draw/impls/tikz/tikz.c
Examining data/petsc-3.14.1+dfsg1/src/sys/classes/draw/impls/image/drawimage.h
Examining data/petsc-3.14.1+dfsg1/src/sys/classes/draw/impls/image/drawimage.c
Examining data/petsc-3.14.1+dfsg1/src/sys/classes/draw/impls/x/xtone.c
Examining data/petsc-3.14.1+dfsg1/src/sys/classes/draw/impls/x/ximage.c
Examining data/petsc-3.14.1+dfsg1/src/sys/classes/draw/impls/x/xops.c
Examining data/petsc-3.14.1+dfsg1/src/sys/classes/draw/impls/x/xinit.c
Examining data/petsc-3.14.1+dfsg1/src/sys/classes/draw/impls/x/ximpl.h
Examining data/petsc-3.14.1+dfsg1/src/sys/classes/draw/impls/x/ftn-custom/zdrawopenxf.c
Examining data/petsc-3.14.1+dfsg1/src/sys/classes/draw/impls/x/xioerr.c
Examining data/petsc-3.14.1+dfsg1/src/sys/classes/draw/impls/x/xtext.c
Examining data/petsc-3.14.1+dfsg1/src/sys/classes/draw/impls/x/xcolor.c
Examining data/petsc-3.14.1+dfsg1/src/sys/classes/draw/impls/x/drawopenx.c
Examining data/petsc-3.14.1+dfsg1/src/sys/classes/draw/impls/null/ftn-auto/drawnullf.c
Examining data/petsc-3.14.1+dfsg1/src/sys/classes/draw/impls/null/drawnull.c
Examining data/petsc-3.14.1+dfsg1/src/sys/classes/draw/impls/win32/win32draw.c
Examining data/petsc-3.14.1+dfsg1/src/sys/classes/draw/impls/win32/win32draw.h
Examining data/petsc-3.14.1+dfsg1/src/sys/classes/draw/tests/ex11.c
Examining data/petsc-3.14.1+dfsg1/src/sys/classes/draw/tests/ex7.c
Examining data/petsc-3.14.1+dfsg1/src/sys/classes/draw/tests/ex3.c
Examining data/petsc-3.14.1+dfsg1/src/sys/classes/draw/tests/ex4.c
Examining data/petsc-3.14.1+dfsg1/src/sys/classes/draw/tests/ex9.c
Examining data/petsc-3.14.1+dfsg1/src/sys/classes/draw/tests/ex10.c
Examining data/petsc-3.14.1+dfsg1/src/sys/classes/draw/tests/ex1.c
Examining data/petsc-3.14.1+dfsg1/src/sys/classes/draw/tests/ex6.c
Examining data/petsc-3.14.1+dfsg1/src/sys/classes/draw/tests/ex12.c
Examining data/petsc-3.14.1+dfsg1/src/sys/classes/draw/tests/ex2.c
Examining data/petsc-3.14.1+dfsg1/src/sys/classes/bag/ftn-auto/bagf.c
Examining data/petsc-3.14.1+dfsg1/src/sys/classes/bag/f90-custom/zbagf90.c
Examining data/petsc-3.14.1+dfsg1/src/sys/classes/bag/ftn-custom/zbagf.c
Examining data/petsc-3.14.1+dfsg1/src/sys/classes/bag/bag.c
Examining data/petsc-3.14.1+dfsg1/src/sys/time/ftn-auto/cputimef.c
Examining data/petsc-3.14.1+dfsg1/src/sys/time/cputime.c
Examining data/petsc-3.14.1+dfsg1/src/sys/time/ftn-custom/zptimef.c
Examining data/petsc-3.14.1+dfsg1/src/sys/time/fdate.c
Examining data/petsc-3.14.1+dfsg1/src/sys/error/ftn-auto/checkptrf.c
Examining data/petsc-3.14.1+dfsg1/src/sys/error/ftn-auto/adebugf.c
Examining data/petsc-3.14.1+dfsg1/src/sys/error/ftn-auto/errf.c
Examining data/petsc-3.14.1+dfsg1/src/sys/error/ftn-auto/fpf.c
Examining data/petsc-3.14.1+dfsg1/src/sys/error/ftn-auto/signalf.c
Examining data/petsc-3.14.1+dfsg1/src/sys/error/err.c
Examining data/petsc-3.14.1+dfsg1/src/sys/error/pstack.c
Examining data/petsc-3.14.1+dfsg1/src/sys/error/errtrace.c
Examining data/petsc-3.14.1+dfsg1/src/sys/error/tests/ex1.c
Examining data/petsc-3.14.1+dfsg1/src/sys/error/tests/ex2.c
Examining data/petsc-3.14.1+dfsg1/src/sys/error/fp.c
Examining data/petsc-3.14.1+dfsg1/src/sys/error/adebug.c
Examining data/petsc-3.14.1+dfsg1/src/sys/error/ftn-custom/zerrf.c
Examining data/petsc-3.14.1+dfsg1/src/sys/error/checkptr.c
Examining data/petsc-3.14.1+dfsg1/src/sys/error/errabort.c
Examining data/petsc-3.14.1+dfsg1/src/sys/error/signal.c
Examining data/petsc-3.14.1+dfsg1/src/sys/error/errstop.c
Examining data/petsc-3.14.1+dfsg1/src/sys/fileio/ftn-auto/sysiof.c
Examining data/petsc-3.14.1+dfsg1/src/sys/fileio/fdir.c
Examining data/petsc-3.14.1+dfsg1/src/sys/fileio/fwd.c
Examining data/petsc-3.14.1+dfsg1/src/sys/fileio/grpath.c
Examining data/petsc-3.14.1+dfsg1/src/sys/fileio/mpiuopen.c
Examining data/petsc-3.14.1+dfsg1/src/sys/fileio/rpath.c
Examining data/petsc-3.14.1+dfsg1/src/sys/fileio/ftn-custom/zmpiuopenf.c
Examining data/petsc-3.14.1+dfsg1/src/sys/fileio/ftn-custom/zmprintf.c
Examining data/petsc-3.14.1+dfsg1/src/sys/fileio/ftn-custom/zsysiof.c
Examining data/petsc-3.14.1+dfsg1/src/sys/fileio/ftn-custom/zghomef.c
Examining data/petsc-3.14.1+dfsg1/src/sys/fileio/mprint.c
Examining data/petsc-3.14.1+dfsg1/src/sys/fileio/ftest.c
Examining data/petsc-3.14.1+dfsg1/src/sys/fileio/sysio.c
Examining data/petsc-3.14.1+dfsg1/src/sys/fileio/smatlab.c
Examining data/petsc-3.14.1+dfsg1/src/sys/fileio/mprint.h
Examining data/petsc-3.14.1+dfsg1/src/sys/fileio/ghome.c
Examining data/petsc-3.14.1+dfsg1/src/sys/fileio/fpath.c
Examining data/petsc-3.14.1+dfsg1/src/sys/fileio/fretrieve.c
Examining data/petsc-3.14.1+dfsg1/src/sys/mpiuni/mpi.c
Examining data/petsc-3.14.1+dfsg1/src/sys/mpiuni/mpitime.c
Examining data/petsc-3.14.1+dfsg1/src/sys/ftn-custom/zsys.c
Examining data/petsc-3.14.1+dfsg1/src/sys/ftn-custom/zutils.c
Examining data/petsc-3.14.1+dfsg1/src/sys/webclient/client.c
Examining data/petsc-3.14.1+dfsg1/src/sys/webclient/box.c
Examining data/petsc-3.14.1+dfsg1/src/sys/webclient/google.c
Examining data/petsc-3.14.1+dfsg1/src/sys/webclient/globus.c
Examining data/petsc-3.14.1+dfsg1/src/sys/webclient/tellmycell.c
Examining data/petsc-3.14.1+dfsg1/src/sys/webclient/textbelt.c
Examining data/petsc-3.14.1+dfsg1/src/sys/webclient/tutorials/boxobtainrefreshtoken.c
Examining data/petsc-3.14.1+dfsg1/src/sys/webclient/tutorials/googleobtainrefreshtoken.c
Examining data/petsc-3.14.1+dfsg1/src/sys/webclient/tutorials/urlshorten.c
Examining data/petsc-3.14.1+dfsg1/src/sys/webclient/tutorials/boxupload.c
Examining data/petsc-3.14.1+dfsg1/src/sys/webclient/tutorials/googledriveupload.c
Examining data/petsc-3.14.1+dfsg1/src/sys/webclient/tutorials/globusobtaintransfers.c
Examining data/petsc-3.14.1+dfsg1/src/sys/yaml/ftn-custom/zyamlimplsf.c
Examining data/petsc-3.14.1+dfsg1/src/sys/yaml/yamlimpls.c
Examining data/petsc-3.14.1+dfsg1/src/sys/dll/ftn-auto/regf.c
Examining data/petsc-3.14.1+dfsg1/src/sys/dll/dlimpl.c
Examining data/petsc-3.14.1+dfsg1/src/sys/dll/dl.c
Examining data/petsc-3.14.1+dfsg1/src/sys/dll/reg.c
Examining data/petsc-3.14.1+dfsg1/src/sys/tutorials/ex3.c
Examining data/petsc-3.14.1+dfsg1/src/sys/tutorials/ex17.c
Examining data/petsc-3.14.1+dfsg1/src/sys/tutorials/ex4.c
Examining data/petsc-3.14.1+dfsg1/src/sys/tutorials/ex5.c
Examining data/petsc-3.14.1+dfsg1/src/sys/tutorials/ex20.c
Examining data/petsc-3.14.1+dfsg1/src/sys/tutorials/ex19.c
Examining data/petsc-3.14.1+dfsg1/src/sys/tutorials/ex1.c
Examining data/petsc-3.14.1+dfsg1/src/sys/tutorials/ex6.c
Examining data/petsc-3.14.1+dfsg1/src/sys/tutorials/ex2.c
Examining data/petsc-3.14.1+dfsg1/src/sys/tutorials/ex16.c
Examining data/petsc-3.14.1+dfsg1/src/sys/f90-mod/petscdraw.h
Examining data/petsc-3.14.1+dfsg1/src/sys/f90-mod/petsclog.h
Examining data/petsc-3.14.1+dfsg1/src/sys/f90-mod/petscerror.h
Examining data/petsc-3.14.1+dfsg1/src/sys/f90-mod/petscsys.h
Examining data/petsc-3.14.1+dfsg1/src/sys/f90-mod/petscbag.h
Examining data/petsc-3.14.1+dfsg1/src/sys/f90-mod/petscviewer.h
Examining data/petsc-3.14.1+dfsg1/src/mat/utils/ftn-auto/bandwidthf.c
Examining data/petsc-3.14.1+dfsg1/src/mat/utils/ftn-auto/axpyf.c
Examining data/petsc-3.14.1+dfsg1/src/mat/utils/ftn-auto/getcolvf.c
Examining data/petsc-3.14.1+dfsg1/src/mat/utils/ftn-auto/multequalf.c
Examining data/petsc-3.14.1+dfsg1/src/mat/utils/ftn-auto/gcreatef.c
Examining data/petsc-3.14.1+dfsg1/src/mat/utils/ftn-auto/zerodiagf.c
Examining data/petsc-3.14.1+dfsg1/src/mat/utils/gcreate.c
Examining data/petsc-3.14.1+dfsg1/src/mat/utils/multequal.c
Examining data/petsc-3.14.1+dfsg1/src/mat/utils/getcolv.c
Examining data/petsc-3.14.1+dfsg1/src/mat/utils/zerodiag.c
Examining data/petsc-3.14.1+dfsg1/src/mat/utils/axpy.c
Examining data/petsc-3.14.1+dfsg1/src/mat/utils/matstashspace.c
Examining data/petsc-3.14.1+dfsg1/src/mat/utils/matstash.c
Examining data/petsc-3.14.1+dfsg1/src/mat/utils/factorschur.c
Examining data/petsc-3.14.1+dfsg1/src/mat/utils/compressedrow.c
Examining data/petsc-3.14.1+dfsg1/src/mat/utils/bandwidth.c
Examining data/petsc-3.14.1+dfsg1/src/mat/utils/freespace.h
Examining data/petsc-3.14.1+dfsg1/src/mat/utils/matio.c
Examining data/petsc-3.14.1+dfsg1/src/mat/utils/overlapsplit.c
Examining data/petsc-3.14.1+dfsg1/src/mat/utils/freespace.c
Examining data/petsc-3.14.1+dfsg1/src/mat/utils/pheap.c
Examining data/petsc-3.14.1+dfsg1/src/mat/utils/zerorows.c
Examining data/petsc-3.14.1+dfsg1/src/mat/utils/convert.c
Examining data/petsc-3.14.1+dfsg1/src/mat/interface/ftn-auto/matnullf.c
Examining data/petsc-3.14.1+dfsg1/src/mat/interface/ftn-auto/matrixf.c
Examining data/petsc-3.14.1+dfsg1/src/mat/interface/ftn-auto/matproductf.c
Examining data/petsc-3.14.1+dfsg1/src/mat/interface/matproduct.c
Examining data/petsc-3.14.1+dfsg1/src/mat/interface/dlregismat.c
Examining data/petsc-3.14.1+dfsg1/src/mat/interface/f90-custom/zmatrixf90.c
Examining data/petsc-3.14.1+dfsg1/src/mat/interface/matnull.c
Examining data/petsc-3.14.1+dfsg1/src/mat/interface/matregis.c
Examining data/petsc-3.14.1+dfsg1/src/mat/interface/ftn-custom/zmatnullf.c
Examining data/petsc-3.14.1+dfsg1/src/mat/interface/ftn-custom/zmatregf.c
Examining data/petsc-3.14.1+dfsg1/src/mat/interface/ftn-custom/zmatrixf.c
Examining data/petsc-3.14.1+dfsg1/src/mat/interface/matrix.c
Examining data/petsc-3.14.1+dfsg1/src/mat/interface/matreg.c
Examining data/petsc-3.14.1+dfsg1/src/mat/impls/python/pythonmat.c
Examining data/petsc-3.14.1+dfsg1/src/mat/impls/python/ftn-custom/zpythonmf.c
Examining data/petsc-3.14.1+dfsg1/src/mat/impls/is/ftn-auto/matisf.c
Examining data/petsc-3.14.1+dfsg1/src/mat/impls/is/matis.c
Examining data/petsc-3.14.1+dfsg1/src/mat/impls/is/matis.h
Examining data/petsc-3.14.1+dfsg1/src/mat/impls/preallocator/ftn-auto/matpreallocatorf.c
Examining data/petsc-3.14.1+dfsg1/src/mat/impls/preallocator/matpreallocator.c
Examining data/petsc-3.14.1+dfsg1/src/mat/impls/baij/mpi/ftn-auto/mpibaijf.c
Examining data/petsc-3.14.1+dfsg1/src/mat/impls/baij/mpi/mpibaij.c
Examining data/petsc-3.14.1+dfsg1/src/mat/impls/baij/mpi/mpibaij.h
Examining data/petsc-3.14.1+dfsg1/src/mat/impls/baij/mpi/mpb_baij.c
Examining data/petsc-3.14.1+dfsg1/src/mat/impls/baij/mpi/mpiaijbaij.c
Examining data/petsc-3.14.1+dfsg1/src/mat/impls/baij/mpi/ftn-custom/zmpibaijf.c
Examining data/petsc-3.14.1+dfsg1/src/mat/impls/baij/mpi/baijov.c
Examining data/petsc-3.14.1+dfsg1/src/mat/impls/baij/mpi/baijmkl/mpibaijmkl.c
Examining data/petsc-3.14.1+dfsg1/src/mat/impls/baij/mpi/mmbaij.c
Examining data/petsc-3.14.1+dfsg1/src/mat/impls/baij/seq/baijsolvnat11.c
Examining data/petsc-3.14.1+dfsg1/src/mat/impls/baij/seq/baijsolv.c
Examining data/petsc-3.14.1+dfsg1/src/mat/impls/baij/seq/ftn-auto/baijf.c
Examining data/petsc-3.14.1+dfsg1/src/mat/impls/baij/seq/baijsolvtrannat6.c
Examining data/petsc-3.14.1+dfsg1/src/mat/impls/baij/seq/baijsolvtran3.c
Examining data/petsc-3.14.1+dfsg1/src/mat/impls/baij/seq/dgefa2.c
Examining data/petsc-3.14.1+dfsg1/src/mat/impls/baij/seq/dgefa5.c
Examining data/petsc-3.14.1+dfsg1/src/mat/impls/baij/seq/baijsolvnat14.c
Examining data/petsc-3.14.1+dfsg1/src/mat/impls/baij/seq/baijsolvtrannat2.c
Examining data/petsc-3.14.1+dfsg1/src/mat/impls/baij/seq/baijsolvnat7.c
Examining data/petsc-3.14.1+dfsg1/src/mat/impls/baij/seq/baijsolvnat15.c
Examining data/petsc-3.14.1+dfsg1/src/mat/impls/baij/seq/baijsolvnat5.c
Examining data/petsc-3.14.1+dfsg1/src/mat/impls/baij/seq/baijsolvnat4.c
Examining data/petsc-3.14.1+dfsg1/src/mat/impls/baij/seq/baijfact81.c
Examining data/petsc-3.14.1+dfsg1/src/mat/impls/baij/seq/baijsolvnat6.c
Examining data/petsc-3.14.1+dfsg1/src/mat/impls/baij/seq/baijsolvtran6.c
Examining data/petsc-3.14.1+dfsg1/src/mat/impls/baij/seq/baijsolvtrann.c
Examining data/petsc-3.14.1+dfsg1/src/mat/impls/baij/seq/baijsolvnat2.c
Examining data/petsc-3.14.1+dfsg1/src/mat/impls/baij/seq/dgefa6.c
Examining data/petsc-3.14.1+dfsg1/src/mat/impls/baij/seq/baijfact3.c
Examining data/petsc-3.14.1+dfsg1/src/mat/impls/baij/seq/baijfact4.c
Examining data/petsc-3.14.1+dfsg1/src/mat/impls/baij/seq/dgefa.c
Examining data/petsc-3.14.1+dfsg1/src/mat/impls/baij/seq/ftn-custom/zbaijf.c
Examining data/petsc-3.14.1+dfsg1/src/mat/impls/baij/seq/aijbaij.c
Examining data/petsc-3.14.1+dfsg1/src/mat/impls/baij/seq/baij.h
Examining data/petsc-3.14.1+dfsg1/src/mat/impls/baij/seq/baijmkl/baijmkl.h
Examining data/petsc-3.14.1+dfsg1/src/mat/impls/baij/seq/baijmkl/baijmkl.c
Examining data/petsc-3.14.1+dfsg1/src/mat/impls/baij/seq/dgefa7.c
Examining data/petsc-3.14.1+dfsg1/src/mat/impls/baij/seq/baijsolvnat1.c
Examining data/petsc-3.14.1+dfsg1/src/mat/impls/baij/seq/baijsolvtran7.c
Examining data/petsc-3.14.1+dfsg1/src/mat/impls/baij/seq/baijsolvtrannat7.c
Examining data/petsc-3.14.1+dfsg1/src/mat/impls/baij/seq/baijsolvnat3.c
Examining data/petsc-3.14.1+dfsg1/src/mat/impls/baij/seq/baijsolvtrannat4.c
Examining data/petsc-3.14.1+dfsg1/src/mat/impls/baij/seq/baijfact5.c
Examining data/petsc-3.14.1+dfsg1/src/mat/impls/baij/seq/baijfact2.c
Examining data/petsc-3.14.1+dfsg1/src/mat/impls/baij/seq/baijfact11.c
Examining data/petsc-3.14.1+dfsg1/src/mat/impls/baij/seq/baijfact7.c
Examining data/petsc-3.14.1+dfsg1/src/mat/impls/baij/seq/baij2.c
Examining data/petsc-3.14.1+dfsg1/src/mat/impls/baij/seq/baijfact.c
Examining data/petsc-3.14.1+dfsg1/src/mat/impls/baij/seq/ftn-kernels/fsolvebaij.h
Examining data/petsc-3.14.1+dfsg1/src/mat/impls/baij/seq/baijsolvtrannat5.c
Examining data/petsc-3.14.1+dfsg1/src/mat/impls/baij/seq/baijsolvtran4.c
Examining data/petsc-3.14.1+dfsg1/src/mat/impls/baij/seq/dgefa4.c
Examining data/petsc-3.14.1+dfsg1/src/mat/impls/baij/seq/baij.c
Examining data/petsc-3.14.1+dfsg1/src/mat/impls/baij/seq/baijsolvtran1.c
Examining data/petsc-3.14.1+dfsg1/src/mat/impls/baij/seq/baijfact9.c
Examining data/petsc-3.14.1+dfsg1/src/mat/impls/baij/seq/baijsolvtran2.c
Examining data/petsc-3.14.1+dfsg1/src/mat/impls/baij/seq/dgedi.c
Examining data/petsc-3.14.1+dfsg1/src/mat/impls/baij/seq/baijsolvtrannat1.c
Examining data/petsc-3.14.1+dfsg1/src/mat/impls/baij/seq/baijsolvtrannat3.c
Examining data/petsc-3.14.1+dfsg1/src/mat/impls/baij/seq/baijfact13.c
Examining data/petsc-3.14.1+dfsg1/src/mat/impls/baij/seq/baijsolvtran5.c
Examining data/petsc-3.14.1+dfsg1/src/mat/impls/baij/seq/dgefa3.c
Examining data/petsc-3.14.1+dfsg1/src/mat/impls/cdiagonal/ftn-auto/cdiagonalf.c
Examining data/petsc-3.14.1+dfsg1/src/mat/impls/cdiagonal/cdiagonal.c
Examining data/petsc-3.14.1+dfsg1/src/mat/impls/adj/mpi/ftn-auto/mpiadjf.c
Examining data/petsc-3.14.1+dfsg1/src/mat/impls/adj/mpi/mpiadj.c
Examining data/petsc-3.14.1+dfsg1/src/mat/impls/adj/mpi/ftn-custom/zmpiadjf.c
Examining data/petsc-3.14.1+dfsg1/src/mat/impls/adj/mpi/mpiadj.h
Examining data/petsc-3.14.1+dfsg1/src/mat/impls/cufft/ftn-auto/cufftf.c
Examining data/petsc-3.14.1+dfsg1/src/mat/impls/dense/mpi/ftn-auto/mpidensef.c
Examining data/petsc-3.14.1+dfsg1/src/mat/impls/dense/mpi/mpidense.h
Examining data/petsc-3.14.1+dfsg1/src/mat/impls/dense/mpi/ftn-custom/zmpidensef.c
Examining data/petsc-3.14.1+dfsg1/src/mat/impls/dense/mpi/mpidense.c
Examining data/petsc-3.14.1+dfsg1/src/mat/impls/dense/mpi/mmdense.c
Examining data/petsc-3.14.1+dfsg1/src/mat/impls/dense/seq/densehdf5.c
Examining data/petsc-3.14.1+dfsg1/src/mat/impls/dense/seq/ftn-custom/zdensef.c
Examining data/petsc-3.14.1+dfsg1/src/mat/impls/dense/seq/dense.c
Examining data/petsc-3.14.1+dfsg1/src/mat/impls/dense/seq/dense.h
Examining data/petsc-3.14.1+dfsg1/src/mat/impls/scalapack/ftn-auto/matscalapackf.c
Examining data/petsc-3.14.1+dfsg1/src/mat/impls/scalapack/matscalapack.c
Examining data/petsc-3.14.1+dfsg1/src/mat/impls/normal/ftn-auto/normmf.c
Examining data/petsc-3.14.1+dfsg1/src/mat/impls/normal/ftn-auto/normmhf.c
Examining data/petsc-3.14.1+dfsg1/src/mat/impls/normal/normmh.c
Examining data/petsc-3.14.1+dfsg1/src/mat/impls/normal/normm.c
Examining data/petsc-3.14.1+dfsg1/src/mat/impls/aij/mpi/mpiaijpc.c
Examining data/petsc-3.14.1+dfsg1/src/mat/impls/aij/mpi/ftn-auto/mpiaijf.c
Examining data/petsc-3.14.1+dfsg1/src/mat/impls/aij/mpi/mpimattransposematmult.c
Examining data/petsc-3.14.1+dfsg1/src/mat/impls/aij/mpi/mpiptap.c
Examining data/petsc-3.14.1+dfsg1/src/mat/impls/aij/mpi/mpiviennacl/mpiaijviennacl.cxx
Examining data/petsc-3.14.1+dfsg1/src/mat/impls/aij/mpi/strumpack/ftn-auto/strumpackf.c
Examining data/petsc-3.14.1+dfsg1/src/mat/impls/aij/mpi/strumpack/strumpack.c
Examining data/petsc-3.14.1+dfsg1/src/mat/impls/aij/mpi/mpiov.c
Examining data/petsc-3.14.1+dfsg1/src/mat/impls/aij/mpi/mpiaij.h
Examining data/petsc-3.14.1+dfsg1/src/mat/impls/aij/mpi/mumps/ftn-auto/mumpsf.c
Examining data/petsc-3.14.1+dfsg1/src/mat/impls/aij/mpi/mumps/mumps.c
Examining data/petsc-3.14.1+dfsg1/src/mat/impls/aij/mpi/clique/matcliqueimpl.h
Examining data/petsc-3.14.1+dfsg1/src/mat/impls/aij/mpi/clique/clique.cxx
Examining data/petsc-3.14.1+dfsg1/src/mat/impls/aij/mpi/aijmkl/mpiaijmkl.c
Examining data/petsc-3.14.1+dfsg1/src/mat/impls/aij/mpi/mkl_cpardiso/ftn-auto/mkl_cpardisof.c
Examining data/petsc-3.14.1+dfsg1/src/mat/impls/aij/mpi/mkl_cpardiso/mkl_cpardiso.c
Examining data/petsc-3.14.1+dfsg1/src/mat/impls/aij/mpi/fdmpiaij.c
Examining data/petsc-3.14.1+dfsg1/src/mat/impls/aij/mpi/kokkos/mpiaijkok.kokkos.cxx
Examining data/petsc-3.14.1+dfsg1/src/mat/impls/aij/mpi/ftn-custom/zmpiaijf.c
Examining data/petsc-3.14.1+dfsg1/src/mat/impls/aij/mpi/mmaij.c
Examining data/petsc-3.14.1+dfsg1/src/mat/impls/aij/mpi/mpimatmatmatmult.c
Examining data/petsc-3.14.1+dfsg1/src/mat/impls/aij/mpi/mpiaij.c
Examining data/petsc-3.14.1+dfsg1/src/mat/impls/aij/mpi/mpimatmatmult.c
Examining data/petsc-3.14.1+dfsg1/src/mat/impls/aij/mpi/aijperm/mpiaijperm.c
Examining data/petsc-3.14.1+dfsg1/src/mat/impls/aij/mpi/mpicusparse/ftn-auto/mpiaijcusparsef.c
Examining data/petsc-3.14.1+dfsg1/src/mat/impls/aij/mpi/mpicusparse/mpicusparsematimpl.h
Examining data/petsc-3.14.1+dfsg1/src/mat/impls/aij/mpi/aijsell/mpiaijsell.c
Examining data/petsc-3.14.1+dfsg1/src/mat/impls/aij/mpi/pastix/pastix.c
Examining data/petsc-3.14.1+dfsg1/src/mat/impls/aij/mpi/superlu_dist/superlu_dist.c
Examining data/petsc-3.14.1+dfsg1/src/mat/impls/aij/mpi/mpb_aij.c
Examining data/petsc-3.14.1+dfsg1/src/mat/impls/aij/mpi/crl/mcrl.c
Examining data/petsc-3.14.1+dfsg1/src/mat/impls/aij/seq/cholmod/aijcholmod.c
Examining data/petsc-3.14.1+dfsg1/src/mat/impls/aij/seq/ftn-auto/aijf.c
Examining data/petsc-3.14.1+dfsg1/src/mat/impls/aij/seq/aijhdf5.c
Examining data/petsc-3.14.1+dfsg1/src/mat/impls/aij/seq/inode.c
Examining data/petsc-3.14.1+dfsg1/src/mat/impls/aij/seq/superlu/ftn-auto/superluf.c
Examining data/petsc-3.14.1+dfsg1/src/mat/impls/aij/seq/superlu/superlu.c
Examining data/petsc-3.14.1+dfsg1/src/mat/impls/aij/seq/seqviennacl/aijviennacl.cxx
Examining data/petsc-3.14.1+dfsg1/src/mat/impls/aij/seq/seqviennacl/viennaclmatimpl.h
Examining data/petsc-3.14.1+dfsg1/src/mat/impls/aij/seq/inode2.c
Examining data/petsc-3.14.1+dfsg1/src/mat/impls/aij/seq/aij.c
Examining data/petsc-3.14.1+dfsg1/src/mat/impls/aij/seq/klu/klu.c
Examining data/petsc-3.14.1+dfsg1/src/mat/impls/aij/seq/aij.h
Examining data/petsc-3.14.1+dfsg1/src/mat/impls/aij/seq/aijmkl/aijmkl.c
Examining data/petsc-3.14.1+dfsg1/src/mat/impls/aij/seq/aijmkl/aijmkl.h
Examining data/petsc-3.14.1+dfsg1/src/mat/impls/aij/seq/matptap.c
Examining data/petsc-3.14.1+dfsg1/src/mat/impls/aij/seq/matmatmult.c
Examining data/petsc-3.14.1+dfsg1/src/mat/impls/aij/seq/matrart.c
Examining data/petsc-3.14.1+dfsg1/src/mat/impls/aij/seq/kokkos/aijkokkosimpl.hpp
Examining data/petsc-3.14.1+dfsg1/src/mat/impls/aij/seq/kokkos/aijkok.kokkos.cxx
Examining data/petsc-3.14.1+dfsg1/src/mat/impls/aij/seq/bas/spbas_cholesky.h
Examining data/petsc-3.14.1+dfsg1/src/mat/impls/aij/seq/bas/spbas.c
Examining data/petsc-3.14.1+dfsg1/src/mat/impls/aij/seq/bas/spbas.h
Examining data/petsc-3.14.1+dfsg1/src/mat/impls/aij/seq/bas/basfactor.c
Examining data/petsc-3.14.1+dfsg1/src/mat/impls/aij/seq/ftn-custom/zaijf.c
Examining data/petsc-3.14.1+dfsg1/src/mat/impls/aij/seq/mkl_pardiso/ftn-auto/mkl_pardisof.c
Examining data/petsc-3.14.1+dfsg1/src/mat/impls/aij/seq/mkl_pardiso/mkl_pardiso.c
Examining data/petsc-3.14.1+dfsg1/src/mat/impls/aij/seq/mkl_pardiso/mkl_utils.c
Examining data/petsc-3.14.1+dfsg1/src/mat/impls/aij/seq/fdaij.c
Examining data/petsc-3.14.1+dfsg1/src/mat/impls/aij/seq/lusol/lusol.c
Examining data/petsc-3.14.1+dfsg1/src/mat/impls/aij/seq/aijfact.c
Examining data/petsc-3.14.1+dfsg1/src/mat/impls/aij/seq/ij.c
Examining data/petsc-3.14.1+dfsg1/src/mat/impls/aij/seq/aijperm/aijperm.c
Examining data/petsc-3.14.1+dfsg1/src/mat/impls/aij/seq/mattransposematmult.c
Examining data/petsc-3.14.1+dfsg1/src/mat/impls/aij/seq/essl/essl.c
Examining data/petsc-3.14.1+dfsg1/src/mat/impls/aij/seq/ftn-kernels/fmult.h
Examining data/petsc-3.14.1+dfsg1/src/mat/impls/aij/seq/ftn-kernels/frelax.h
Examining data/petsc-3.14.1+dfsg1/src/mat/impls/aij/seq/ftn-kernels/fsolve.h
Examining data/petsc-3.14.1+dfsg1/src/mat/impls/aij/seq/ftn-kernels/fmultadd.h
Examining data/petsc-3.14.1+dfsg1/src/mat/impls/aij/seq/umfpack/umfpack.c
Examining data/petsc-3.14.1+dfsg1/src/mat/impls/aij/seq/matmatmatmult.c
Examining data/petsc-3.14.1+dfsg1/src/mat/impls/aij/seq/seqcusparse/ftn-auto/aijcusparsef.c
Examining data/petsc-3.14.1+dfsg1/src/mat/impls/aij/seq/seqcusparse/cusparsematimpl.h
Examining data/petsc-3.14.1+dfsg1/src/mat/impls/aij/seq/aijsell/aijsell.c
Examining data/petsc-3.14.1+dfsg1/src/mat/impls/aij/seq/symtranspose.c
Examining data/petsc-3.14.1+dfsg1/src/mat/impls/aij/seq/crl/crl.c
Examining data/petsc-3.14.1+dfsg1/src/mat/impls/aij/seq/crl/ftn-kernels/fmultcrl.h
Examining data/petsc-3.14.1+dfsg1/src/mat/impls/aij/seq/crl/crl.h
Examining data/petsc-3.14.1+dfsg1/src/mat/impls/aij/seq/matlab/aijmatlab.c
Examining data/petsc-3.14.1+dfsg1/src/mat/impls/nest/ftn-auto/matnestf.c
Examining data/petsc-3.14.1+dfsg1/src/mat/impls/nest/matnestimpl.h
Examining data/petsc-3.14.1+dfsg1/src/mat/impls/nest/ftn-custom/zmatnestf.c
Examining data/petsc-3.14.1+dfsg1/src/mat/impls/nest/matnest.c
Examining data/petsc-3.14.1+dfsg1/src/mat/impls/maij/ftn-auto/maijf.c
Examining data/petsc-3.14.1+dfsg1/src/mat/impls/maij/maij.c
Examining data/petsc-3.14.1+dfsg1/src/mat/impls/maij/maij.h
Examining data/petsc-3.14.1+dfsg1/src/mat/impls/fft/ftn-custom/zfftf.c
Examining data/petsc-3.14.1+dfsg1/src/mat/impls/fft/fft.c
Examining data/petsc-3.14.1+dfsg1/src/mat/impls/fft/fft.h
Examining data/petsc-3.14.1+dfsg1/src/mat/impls/fft/fftw/ftn-auto/fftwf.c
Examining data/petsc-3.14.1+dfsg1/src/mat/impls/fft/fftw/fftw.c
Examining data/petsc-3.14.1+dfsg1/src/mat/impls/hypre/mhypre.h
Examining data/petsc-3.14.1+dfsg1/src/mat/impls/hypre/mhypre.c
Examining data/petsc-3.14.1+dfsg1/src/mat/impls/hara/matharacpu.cxx
Examining data/petsc-3.14.1+dfsg1/src/mat/impls/hara/matharasampler.hpp
Examining data/petsc-3.14.1+dfsg1/src/mat/impls/localref/ftn-auto/mlocalreff.c
Examining data/petsc-3.14.1+dfsg1/src/mat/impls/localref/mlocalref.c
Examining data/petsc-3.14.1+dfsg1/src/mat/impls/sbaij/mpi/ftn-auto/mpisbaijf.c
Examining data/petsc-3.14.1+dfsg1/src/mat/impls/sbaij/mpi/sbaijov.c
Examining data/petsc-3.14.1+dfsg1/src/mat/impls/sbaij/mpi/mpisbaij.c
Examining data/petsc-3.14.1+dfsg1/src/mat/impls/sbaij/mpi/mpisbaij.h
Examining data/petsc-3.14.1+dfsg1/src/mat/impls/sbaij/mpi/ftn-custom/zmpisbaijf.c
Examining data/petsc-3.14.1+dfsg1/src/mat/impls/sbaij/mpi/mpiaijsbaij.c
Examining data/petsc-3.14.1+dfsg1/src/mat/impls/sbaij/mpi/mmsbaij.c
Examining data/petsc-3.14.1+dfsg1/src/mat/impls/sbaij/seq/cholmod/cholmodimpl.h
Examining data/petsc-3.14.1+dfsg1/src/mat/impls/sbaij/seq/cholmod/sbaijcholmod.c
Examining data/petsc-3.14.1+dfsg1/src/mat/impls/sbaij/seq/sbaijfact4.c
Examining data/petsc-3.14.1+dfsg1/src/mat/impls/sbaij/seq/sbaij2.c
Examining data/petsc-3.14.1+dfsg1/src/mat/impls/sbaij/seq/ftn-auto/sbaijf.c
Examining data/petsc-3.14.1+dfsg1/src/mat/impls/sbaij/seq/sbaijfact10.c
Examining data/petsc-3.14.1+dfsg1/src/mat/impls/sbaij/seq/sbaijfact8.c
Examining data/petsc-3.14.1+dfsg1/src/mat/impls/sbaij/seq/sbaijfact7.c
Examining data/petsc-3.14.1+dfsg1/src/mat/impls/sbaij/seq/sbaij.h
Examining data/petsc-3.14.1+dfsg1/src/mat/impls/sbaij/seq/sro.c
Examining data/petsc-3.14.1+dfsg1/src/mat/impls/sbaij/seq/sbaijfact11.c
Examining data/petsc-3.14.1+dfsg1/src/mat/impls/sbaij/seq/sbaijfact5.c
Examining data/petsc-3.14.1+dfsg1/src/mat/impls/sbaij/seq/relax.h
Examining data/petsc-3.14.1+dfsg1/src/mat/impls/sbaij/seq/aijsbaij.c
Examining data/petsc-3.14.1+dfsg1/src/mat/impls/sbaij/seq/sbaijfact2.c
Examining data/petsc-3.14.1+dfsg1/src/mat/impls/sbaij/seq/ftn-custom/zsbaijf.c
Examining data/petsc-3.14.1+dfsg1/src/mat/impls/sbaij/seq/sbaijfact9.c
Examining data/petsc-3.14.1+dfsg1/src/mat/impls/sbaij/seq/sbaijfact6.c
Examining data/petsc-3.14.1+dfsg1/src/mat/impls/sbaij/seq/sbaij.c
Examining data/petsc-3.14.1+dfsg1/src/mat/impls/sbaij/seq/sbaijfact3.c
Examining data/petsc-3.14.1+dfsg1/src/mat/impls/sbaij/seq/sbaijfact.c
Examining data/petsc-3.14.1+dfsg1/src/mat/impls/sbaij/seq/sbaijfact12.c
Examining data/petsc-3.14.1+dfsg1/src/mat/impls/shell/ftn-auto/shellf.c
Examining data/petsc-3.14.1+dfsg1/src/mat/impls/shell/shellcnv.c
Examining data/petsc-3.14.1+dfsg1/src/mat/impls/shell/shell.c
Examining data/petsc-3.14.1+dfsg1/src/mat/impls/shell/ftn-custom/zshellf.c
Examining data/petsc-3.14.1+dfsg1/src/mat/impls/transpose/ftn-auto/htransmf.c
Examining data/petsc-3.14.1+dfsg1/src/mat/impls/transpose/ftn-auto/transmf.c
Examining data/petsc-3.14.1+dfsg1/src/mat/impls/transpose/htransm.c
Examining data/petsc-3.14.1+dfsg1/src/mat/impls/transpose/transm.c
Examining data/petsc-3.14.1+dfsg1/src/mat/impls/scatter/ftn-auto/mscatterf.c
Examining data/petsc-3.14.1+dfsg1/src/mat/impls/scatter/mscatter.c
Examining data/petsc-3.14.1+dfsg1/src/mat/impls/submat/ftn-auto/submatf.c
Examining data/petsc-3.14.1+dfsg1/src/mat/impls/submat/submat.c
Examining data/petsc-3.14.1+dfsg1/src/mat/impls/blockmat/seq/blockmat.c
Examining data/petsc-3.14.1+dfsg1/src/mat/impls/sell/mpi/mpisell.c
Examining data/petsc-3.14.1+dfsg1/src/mat/impls/sell/mpi/mmsell.c
Examining data/petsc-3.14.1+dfsg1/src/mat/impls/sell/mpi/mpisell.h
Examining data/petsc-3.14.1+dfsg1/src/mat/impls/sell/seq/sell.c
Examining data/petsc-3.14.1+dfsg1/src/mat/impls/sell/seq/fdsell.c
Examining data/petsc-3.14.1+dfsg1/src/mat/impls/sell/seq/ftn-custom/zsellf.c
Examining data/petsc-3.14.1+dfsg1/src/mat/impls/sell/seq/sell.h
Examining data/petsc-3.14.1+dfsg1/src/mat/impls/lrc/ftn-auto/lrcf.c
Examining data/petsc-3.14.1+dfsg1/src/mat/impls/lrc/lrc.c
Examining data/petsc-3.14.1+dfsg1/src/mat/impls/mffd/ftn-auto/mffdf.c
Examining data/petsc-3.14.1+dfsg1/src/mat/impls/mffd/ftn-auto/wpf.c
Examining data/petsc-3.14.1+dfsg1/src/mat/impls/mffd/ftn-auto/mffddeff.c
Examining data/petsc-3.14.1+dfsg1/src/mat/impls/mffd/mfregis.c
Examining data/petsc-3.14.1+dfsg1/src/mat/impls/mffd/mffddef.c
Examining data/petsc-3.14.1+dfsg1/src/mat/impls/mffd/ftn-custom/zmffdf.c
Examining data/petsc-3.14.1+dfsg1/src/mat/impls/mffd/mffd.c
Examining data/petsc-3.14.1+dfsg1/src/mat/impls/mffd/wp.c
Examining data/petsc-3.14.1+dfsg1/src/mat/impls/mffd/mffdimpl.h
Examining data/petsc-3.14.1+dfsg1/src/mat/impls/elemental/matelem.cxx
Examining data/petsc-3.14.1+dfsg1/src/mat/impls/kaij/ftn-auto/kaijf.c
Examining data/petsc-3.14.1+dfsg1/src/mat/impls/kaij/kaij.h
Examining data/petsc-3.14.1+dfsg1/src/mat/impls/kaij/kaij.c
Examining data/petsc-3.14.1+dfsg1/src/mat/impls/dummy/matdummy.c
Examining data/petsc-3.14.1+dfsg1/src/mat/impls/composite/ftn-auto/mcompositef.c
Examining data/petsc-3.14.1+dfsg1/src/mat/impls/composite/mcomposite.c
Examining data/petsc-3.14.1+dfsg1/src/mat/tests/ex86.c
Examining data/petsc-3.14.1+dfsg1/src/mat/tests/ex173.c
Examining data/petsc-3.14.1+dfsg1/src/mat/tests/ex207.c
Examining data/petsc-3.14.1+dfsg1/src/mat/tests/ex58.c
Examining data/petsc-3.14.1+dfsg1/src/mat/tests/ex48.c
Examining data/petsc-3.14.1+dfsg1/src/mat/tests/ex28.c
Examining data/petsc-3.14.1+dfsg1/src/mat/tests/ex22.c
Examining data/petsc-3.14.1+dfsg1/src/mat/tests/ex182.c
Examining data/petsc-3.14.1+dfsg1/src/mat/tests/ex163.c
Examining data/petsc-3.14.1+dfsg1/src/mat/tests/ex26.c
Examining data/petsc-3.14.1+dfsg1/src/mat/tests/ex72.c
Examining data/petsc-3.14.1+dfsg1/src/mat/tests/ex195.c
Examining data/petsc-3.14.1+dfsg1/src/mat/tests/ex149.c
Examining data/petsc-3.14.1+dfsg1/src/mat/tests/ex141.c
Examining data/petsc-3.14.1+dfsg1/src/mat/tests/ex210.c
Examining data/petsc-3.14.1+dfsg1/src/mat/tests/ex132.c
Examining data/petsc-3.14.1+dfsg1/src/mat/tests/ex204.c
Examining data/petsc-3.14.1+dfsg1/src/mat/tests/ex136.c
Examining data/petsc-3.14.1+dfsg1/src/mat/tests/ex228.c
Examining data/petsc-3.14.1+dfsg1/src/mat/tests/ex11.c
Examining data/petsc-3.14.1+dfsg1/src/mat/tests/ex57.c
Examining data/petsc-3.14.1+dfsg1/src/mat/tests/ex191.c
Examining data/petsc-3.14.1+dfsg1/src/mat/tests/ex33.c
Examining data/petsc-3.14.1+dfsg1/src/mat/tests/ex150.c
Examining data/petsc-3.14.1+dfsg1/src/mat/tests/ex185.c
Examining data/petsc-3.14.1+dfsg1/src/mat/tests/ex72mmio.h
Examining data/petsc-3.14.1+dfsg1/src/mat/tests/ex82.c
Examining data/petsc-3.14.1+dfsg1/src/mat/tests/ex56.c
Examining data/petsc-3.14.1+dfsg1/src/mat/tests/ex69.c
Examining data/petsc-3.14.1+dfsg1/src/mat/tests/ex7.c
Examining data/petsc-3.14.1+dfsg1/src/mat/tests/ex134.c
Examining data/petsc-3.14.1+dfsg1/src/mat/tests/ex121.c
Examining data/petsc-3.14.1+dfsg1/src/mat/tests/ex157.c
Examining data/petsc-3.14.1+dfsg1/src/mat/tests/ex46.c
Examining data/petsc-3.14.1+dfsg1/src/mat/tests/ex91.c
Examining data/petsc-3.14.1+dfsg1/src/mat/tests/ex43.c
Examining data/petsc-3.14.1+dfsg1/src/mat/tests/ex138.c
Examining data/petsc-3.14.1+dfsg1/src/mat/tests/ex174.cxx
Examining data/petsc-3.14.1+dfsg1/src/mat/tests/ex177.c
Examining data/petsc-3.14.1+dfsg1/src/mat/tests/ex240.c
Examining data/petsc-3.14.1+dfsg1/src/mat/tests/ex130.c
Examining data/petsc-3.14.1+dfsg1/src/mat/tests/ex74.c
Examining data/petsc-3.14.1+dfsg1/src/mat/tests/ex41.c
Examining data/petsc-3.14.1+dfsg1/src/mat/tests/ex129.c
Examining data/petsc-3.14.1+dfsg1/src/mat/tests/ex35.c
Examining data/petsc-3.14.1+dfsg1/src/mat/tests/ex64.c
Examining data/petsc-3.14.1+dfsg1/src/mat/tests/ex166.c
Examining data/petsc-3.14.1+dfsg1/src/mat/tests/ex3.c
Examining data/petsc-3.14.1+dfsg1/src/mat/tests/ex139.c
Examining data/petsc-3.14.1+dfsg1/src/mat/tests/ex31.c
Examining data/petsc-3.14.1+dfsg1/src/mat/tests/ex112.c
Examining data/petsc-3.14.1+dfsg1/src/mat/tests/ex17.c
Examining data/petsc-3.14.1+dfsg1/src/mat/tests/ex115.c
Examining data/petsc-3.14.1+dfsg1/src/mat/tests/ex73.c
Examining data/petsc-3.14.1+dfsg1/src/mat/tests/ex120.c
Examining data/petsc-3.14.1+dfsg1/src/mat/tests/ex107.c
Examining data/petsc-3.14.1+dfsg1/src/mat/tests/ex190.c
Examining data/petsc-3.14.1+dfsg1/src/mat/tests/ex4.c
Examining data/petsc-3.14.1+dfsg1/src/mat/tests/ex94.c
Examining data/petsc-3.14.1+dfsg1/src/mat/tests/ex5.c
Examining data/petsc-3.14.1+dfsg1/src/mat/tests/ex59.c
Examining data/petsc-3.14.1+dfsg1/src/mat/tests/ex151.c
Examining data/petsc-3.14.1+dfsg1/src/mat/tests/ex202.c
Examining data/petsc-3.14.1+dfsg1/src/mat/tests/ex221.c
Examining data/petsc-3.14.1+dfsg1/src/mat/tests/ex53.c
Examining data/petsc-3.14.1+dfsg1/src/mat/tests/ex146.c
Examining data/petsc-3.14.1+dfsg1/src/mat/tests/ex193.c
Examining data/petsc-3.14.1+dfsg1/src/mat/tests/ex55.c
Examining data/petsc-3.14.1+dfsg1/src/mat/tests/ex95.c
Examining data/petsc-3.14.1+dfsg1/src/mat/tests/ex164.c
Examining data/petsc-3.14.1+dfsg1/src/mat/tests/ex9.c
Examining data/petsc-3.14.1+dfsg1/src/mat/tests/ex88.c
Examining data/petsc-3.14.1+dfsg1/src/mat/tests/ex68.c
Examining data/petsc-3.14.1+dfsg1/src/mat/tests/ex104.c
Examining data/petsc-3.14.1+dfsg1/src/mat/tests/ex93.c
Examining data/petsc-3.14.1+dfsg1/src/mat/tests/ex44.c
Examining data/petsc-3.14.1+dfsg1/src/mat/tests/ex211.c
Examining data/petsc-3.14.1+dfsg1/src/mat/tests/ex170.c
Examining data/petsc-3.14.1+dfsg1/src/mat/tests/ex161.c
Examining data/petsc-3.14.1+dfsg1/src/mat/tests/ex52.c
Examining data/petsc-3.14.1+dfsg1/src/mat/tests/ex143.c
Examining data/petsc-3.14.1+dfsg1/src/mat/tests/ex71.c
Examining data/petsc-3.14.1+dfsg1/src/mat/tests/ex301.c
Examining data/petsc-3.14.1+dfsg1/src/mat/tests/ex25.c
Examining data/petsc-3.14.1+dfsg1/src/mat/tests/ex231.cxx
Examining data/petsc-3.14.1+dfsg1/src/mat/tests/ex102.c
Examining data/petsc-3.14.1+dfsg1/src/mat/tests/ex244.cxx
Examining data/petsc-3.14.1+dfsg1/src/mat/tests/ex108.c
Examining data/petsc-3.14.1+dfsg1/src/mat/tests/ex180.c
Examining data/petsc-3.14.1+dfsg1/src/mat/tests/ex119.c
Examining data/petsc-3.14.1+dfsg1/src/mat/tests/ex54.c
Examining data/petsc-3.14.1+dfsg1/src/mat/tests/ex218.c
Examining data/petsc-3.14.1+dfsg1/src/mat/tests/ex61.c
Examining data/petsc-3.14.1+dfsg1/src/mat/tests/ex20.c
Examining data/petsc-3.14.1+dfsg1/src/mat/tests/ex118.c
Examining data/petsc-3.14.1+dfsg1/src/mat/tests/ex89.c
Examining data/petsc-3.14.1+dfsg1/src/mat/tests/ex227.c
Examining data/petsc-3.14.1+dfsg1/src/mat/tests/ex229.c
Examining data/petsc-3.14.1+dfsg1/src/mat/tests/ex49.c
Examining data/petsc-3.14.1+dfsg1/src/mat/tests/ex111.c
Examining data/petsc-3.14.1+dfsg1/src/mat/tests/ex176.c
Examining data/petsc-3.14.1+dfsg1/src/mat/tests/ex10.c
Examining data/petsc-3.14.1+dfsg1/src/mat/tests/ex37.c
Examining data/petsc-3.14.1+dfsg1/src/mat/tests/ex77.c
Examining data/petsc-3.14.1+dfsg1/src/mat/tests/ex144.c
Examining data/petsc-3.14.1+dfsg1/src/mat/tests/ex47.c
Examining data/petsc-3.14.1+dfsg1/src/mat/tests/ex19.c
Examining data/petsc-3.14.1+dfsg1/src/mat/tests/ex30.c
Examining data/petsc-3.14.1+dfsg1/src/mat/tests/ex155.c
Examining data/petsc-3.14.1+dfsg1/src/mat/tests/ex213.c
Examining data/petsc-3.14.1+dfsg1/src/mat/tests/ex13.c
Examining data/petsc-3.14.1+dfsg1/src/mat/tests/ex171.c
Examining data/petsc-3.14.1+dfsg1/src/mat/tests/ex1.c
Examining data/petsc-3.14.1+dfsg1/src/mat/tests/ex131.c
Examining data/petsc-3.14.1+dfsg1/src/mat/tests/ex6.c
Examining data/petsc-3.14.1+dfsg1/src/mat/tests/ex87.c
Examining data/petsc-3.14.1+dfsg1/src/mat/tests/ex162.c
Examining data/petsc-3.14.1+dfsg1/src/mat/tests/ex78.c
Examining data/petsc-3.14.1+dfsg1/src/mat/tests/ex212.c
Examining data/petsc-3.14.1+dfsg1/src/mat/tests/ex80.c
Examining data/petsc-3.14.1+dfsg1/src/mat/tests/ex60.c
Examining data/petsc-3.14.1+dfsg1/src/mat/tests/ex106.c
Examining data/petsc-3.14.1+dfsg1/src/mat/tests/ex199.c
Examining data/petsc-3.14.1+dfsg1/src/mat/tests/ex226.c
Examining data/petsc-3.14.1+dfsg1/src/mat/tests/ex29.c
Examining data/petsc-3.14.1+dfsg1/src/mat/tests/ex42.c
Examining data/petsc-3.14.1+dfsg1/src/mat/tests/ex62.c
Examining data/petsc-3.14.1+dfsg1/src/mat/tests/ex27.c
Examining data/petsc-3.14.1+dfsg1/src/mat/tests/ex66.c
Examining data/petsc-3.14.1+dfsg1/src/mat/tests/ex236.c
Examining data/petsc-3.14.1+dfsg1/src/mat/tests/ex50.c
Examining data/petsc-3.14.1+dfsg1/src/mat/tests/ex175.c
Examining data/petsc-3.14.1+dfsg1/src/mat/tests/ex167.c
Examining data/petsc-3.14.1+dfsg1/src/mat/tests/ex99.c
Examining data/petsc-3.14.1+dfsg1/src/mat/tests/ex21.c
Examining data/petsc-3.14.1+dfsg1/src/mat/tests/ex158.c
Examining data/petsc-3.14.1+dfsg1/src/mat/tests/ex237.c
Examining data/petsc-3.14.1+dfsg1/src/mat/tests/ex203.c
Examining data/petsc-3.14.1+dfsg1/src/mat/tests/ex137.c
Examining data/petsc-3.14.1+dfsg1/src/mat/tests/ex194.c
Examining data/petsc-3.14.1+dfsg1/src/mat/tests/ex300.c
Examining data/petsc-3.14.1+dfsg1/src/mat/tests/ex24.c
Examining data/petsc-3.14.1+dfsg1/src/mat/tests/ex113.c
Examining data/petsc-3.14.1+dfsg1/src/mat/tests/ex145.c
Examining data/petsc-3.14.1+dfsg1/src/mat/tests/ex147.c
Examining data/petsc-3.14.1+dfsg1/src/mat/tests/ex208.c
Examining data/petsc-3.14.1+dfsg1/src/mat/tests/ex230.c
Examining data/petsc-3.14.1+dfsg1/src/mat/tests/ex90.c
Examining data/petsc-3.14.1+dfsg1/src/mat/tests/ex110.c
Examining data/petsc-3.14.1+dfsg1/src/mat/tests/ex70.c
Examining data/petsc-3.14.1+dfsg1/src/mat/tests/ex8.c
Examining data/petsc-3.14.1+dfsg1/src/mat/tests/ex214.c
Examining data/petsc-3.14.1+dfsg1/src/mat/tests/ex234.c
Examining data/petsc-3.14.1+dfsg1/src/mat/tests/ex235.c
Examining data/petsc-3.14.1+dfsg1/src/mat/tests/ex222.c
Examining data/petsc-3.14.1+dfsg1/src/mat/tests/ex232.c
Examining data/petsc-3.14.1+dfsg1/src/mat/tests/ex128.c
Examining data/petsc-3.14.1+dfsg1/src/mat/tests/ex225.c
Examining data/petsc-3.14.1+dfsg1/src/mat/tests/ex124.c
Examining data/petsc-3.14.1+dfsg1/src/mat/tests/ex220.c
Examining data/petsc-3.14.1+dfsg1/src/mat/tests/ex153.c
Examining data/petsc-3.14.1+dfsg1/src/mat/tests/ex116.c
Examining data/petsc-3.14.1+dfsg1/src/mat/tests/ex206.c
Examining data/petsc-3.14.1+dfsg1/src/mat/tests/ex168.c
Examining data/petsc-3.14.1+dfsg1/src/mat/tests/ex192.c
Examining data/petsc-3.14.1+dfsg1/src/mat/tests/ex198.c
Examining data/petsc-3.14.1+dfsg1/src/mat/tests/ex97.c
Examining data/petsc-3.14.1+dfsg1/src/mat/tests/ex75.c
Examining data/petsc-3.14.1+dfsg1/src/mat/tests/ex152.c
Examining data/petsc-3.14.1+dfsg1/src/mat/tests/ex40.c
Examining data/petsc-3.14.1+dfsg1/src/mat/tests/ex23.c
Examining data/petsc-3.14.1+dfsg1/src/mat/tests/ex98.c
Examining data/petsc-3.14.1+dfsg1/src/mat/tests/ex209.c
Examining data/petsc-3.14.1+dfsg1/src/mat/tests/ex165.c
Examining data/petsc-3.14.1+dfsg1/src/mat/tests/ex96.c
Examining data/petsc-3.14.1+dfsg1/src/mat/tests/ex122.c
Examining data/petsc-3.14.1+dfsg1/src/mat/tests/ex159.c
Examining data/petsc-3.14.1+dfsg1/src/mat/tests/ex243.c
Examining data/petsc-3.14.1+dfsg1/src/mat/tests/ex103.c
Examining data/petsc-3.14.1+dfsg1/src/mat/tests/ex45.c
Examining data/petsc-3.14.1+dfsg1/src/mat/tests/ex142.c
Examining data/petsc-3.14.1+dfsg1/src/mat/tests/ex92.c
Examining data/petsc-3.14.1+dfsg1/src/mat/tests/ex34.c
Examining data/petsc-3.14.1+dfsg1/src/mat/tests/ex205.c
Examining data/petsc-3.14.1+dfsg1/src/mat/tests/ex148.c
Examining data/petsc-3.14.1+dfsg1/src/mat/tests/ex135.c
Examining data/petsc-3.14.1+dfsg1/src/mat/tests/ex15.c
Examining data/petsc-3.14.1+dfsg1/src/mat/tests/ex18.c
Examining data/petsc-3.14.1+dfsg1/src/mat/tests/ex114.c
Examining data/petsc-3.14.1+dfsg1/src/mat/tests/ex12.c
Examining data/petsc-3.14.1+dfsg1/src/mat/tests/ex72mmio.c
Examining data/petsc-3.14.1+dfsg1/src/mat/tests/ex2.c
Examining data/petsc-3.14.1+dfsg1/src/mat/tests/ex51.c
Examining data/petsc-3.14.1+dfsg1/src/mat/tests/ex200.c
Examining data/petsc-3.14.1+dfsg1/src/mat/tests/ex101.c
Examining data/petsc-3.14.1+dfsg1/src/mat/tests/ex38.c
Examining data/petsc-3.14.1+dfsg1/src/mat/tests/ex127.c
Examining data/petsc-3.14.1+dfsg1/src/mat/tests/ex215.c
Examining data/petsc-3.14.1+dfsg1/src/mat/tests/ex39.c
Examining data/petsc-3.14.1+dfsg1/src/mat/tests/ex181.c
Examining data/petsc-3.14.1+dfsg1/src/mat/tests/ex117.c
Examining data/petsc-3.14.1+dfsg1/src/mat/tests/ex197.c
Examining data/petsc-3.14.1+dfsg1/src/mat/tests/ex245.c
Examining data/petsc-3.14.1+dfsg1/src/mat/tests/ex172.c
Examining data/petsc-3.14.1+dfsg1/src/mat/tests/ex100.c
Examining data/petsc-3.14.1+dfsg1/src/mat/tests/ex32.c
Examining data/petsc-3.14.1+dfsg1/src/mat/tests/ex109.c
Examining data/petsc-3.14.1+dfsg1/src/mat/tests/ex76.c
Examining data/petsc-3.14.1+dfsg1/src/mat/tests/ex242.c
Examining data/petsc-3.14.1+dfsg1/src/mat/tests/ex14.c
Examining data/petsc-3.14.1+dfsg1/src/mat/tests/ex184.c
Examining data/petsc-3.14.1+dfsg1/src/mat/tests/ex160.c
Examining data/petsc-3.14.1+dfsg1/src/mat/tests/ex133.c
Examining data/petsc-3.14.1+dfsg1/src/mat/tests/ex125.c
Examining data/petsc-3.14.1+dfsg1/src/mat/tests/ex65.c
Examining data/petsc-3.14.1+dfsg1/src/mat/tests/ex183.c
Examining data/petsc-3.14.1+dfsg1/src/mat/tests/ex16.c
Examining data/petsc-3.14.1+dfsg1/src/mat/tests/ex169.c
Examining data/petsc-3.14.1+dfsg1/src/mat/tests/ex83.c
Examining data/petsc-3.14.1+dfsg1/src/mat/tests/ex233.c
Examining data/petsc-3.14.1+dfsg1/src/mat/partition/ftn-auto/partitionf.c
Examining data/petsc-3.14.1+dfsg1/src/mat/partition/impls/party/ftn-auto/partyf.c
Examining data/petsc-3.14.1+dfsg1/src/mat/partition/impls/party/party.c
Examining data/petsc-3.14.1+dfsg1/src/mat/partition/impls/party/ftn-custom/zpartyf.c
Examining data/petsc-3.14.1+dfsg1/src/mat/partition/impls/pmetis/ftn-auto/pmetisf.c
Examining data/petsc-3.14.1+dfsg1/src/mat/partition/impls/pmetis/pmetis.c
Examining data/petsc-3.14.1+dfsg1/src/mat/partition/impls/scotch/ftn-auto/scotchf.c
Examining data/petsc-3.14.1+dfsg1/src/mat/partition/impls/scotch/scotch.c
Examining data/petsc-3.14.1+dfsg1/src/mat/partition/impls/hierarchical/hierarchical.c
Examining data/petsc-3.14.1+dfsg1/src/mat/partition/impls/chaco/ftn-auto/chacof.c
Examining data/petsc-3.14.1+dfsg1/src/mat/partition/impls/chaco/chaco.c
Examining data/petsc-3.14.1+dfsg1/src/mat/partition/spartition.c
Examining data/petsc-3.14.1+dfsg1/src/mat/partition/ftn-custom/zpartitionf.c
Examining data/petsc-3.14.1+dfsg1/src/mat/partition/partition.c
Examining data/petsc-3.14.1+dfsg1/src/mat/color/utils/weights.c
Examining data/petsc-3.14.1+dfsg1/src/mat/color/utils/valid.c
Examining data/petsc-3.14.1+dfsg1/src/mat/color/utils/bipartite.c
Examining data/petsc-3.14.1+dfsg1/src/mat/color/interface/ftn-auto/matcoloringf.c
Examining data/petsc-3.14.1+dfsg1/src/mat/color/interface/ftn-custom/zmatcoloringf.c
Examining data/petsc-3.14.1+dfsg1/src/mat/color/interface/matcoloring.c
Examining data/petsc-3.14.1+dfsg1/src/mat/color/interface/matcoloringregi.c
Examining data/petsc-3.14.1+dfsg1/src/mat/color/impls/power/power.c
Examining data/petsc-3.14.1+dfsg1/src/mat/color/impls/minpack/numsrt.c
Examining data/petsc-3.14.1+dfsg1/src/mat/color/impls/minpack/setr.c
Examining data/petsc-3.14.1+dfsg1/src/mat/color/impls/minpack/degr.c
Examining data/petsc-3.14.1+dfsg1/src/mat/color/impls/minpack/ido.c
Examining data/petsc-3.14.1+dfsg1/src/mat/color/impls/minpack/color.h
Examining data/petsc-3.14.1+dfsg1/src/mat/color/impls/minpack/color.c
Examining data/petsc-3.14.1+dfsg1/src/mat/color/impls/minpack/dsm.c
Examining data/petsc-3.14.1+dfsg1/src/mat/color/impls/minpack/slo.c
Examining data/petsc-3.14.1+dfsg1/src/mat/color/impls/minpack/seq.c
Examining data/petsc-3.14.1+dfsg1/src/mat/color/impls/natural/natural.c
Examining data/petsc-3.14.1+dfsg1/src/mat/color/impls/greedy/greedy.c
Examining data/petsc-3.14.1+dfsg1/src/mat/color/impls/jp/jp.c
Examining data/petsc-3.14.1+dfsg1/src/mat/order/ftn-auto/spectralf.c
Examining data/petsc-3.14.1+dfsg1/src/mat/order/fndsep.c
Examining data/petsc-3.14.1+dfsg1/src/mat/order/genrcm.c
Examining data/petsc-3.14.1+dfsg1/src/mat/order/sorder.c
Examining data/petsc-3.14.1+dfsg1/src/mat/order/gennd.c
Examining data/petsc-3.14.1+dfsg1/src/mat/order/fnroot.c
Examining data/petsc-3.14.1+dfsg1/src/mat/order/sprcm.c
Examining data/petsc-3.14.1+dfsg1/src/mat/order/qmdrch.c
Examining data/petsc-3.14.1+dfsg1/src/mat/order/gen1wd.c
Examining data/petsc-3.14.1+dfsg1/src/mat/order/degree.c
Examining data/petsc-3.14.1+dfsg1/src/mat/order/rcm.c
Examining data/petsc-3.14.1+dfsg1/src/mat/order/rootls.c
Examining data/petsc-3.14.1+dfsg1/src/mat/order/fn1wd.c
Examining data/petsc-3.14.1+dfsg1/src/mat/order/spqmd.c
Examining data/petsc-3.14.1+dfsg1/src/mat/order/ftn-custom/zsorderf.c
Examining data/petsc-3.14.1+dfsg1/src/mat/order/qmdupd.c
Examining data/petsc-3.14.1+dfsg1/src/mat/order/sregis.c
Examining data/petsc-3.14.1+dfsg1/src/mat/order/qmdmrg.c
Examining data/petsc-3.14.1+dfsg1/src/mat/order/genqmd.c
Examining data/petsc-3.14.1+dfsg1/src/mat/order/sp1wd.c
Examining data/petsc-3.14.1+dfsg1/src/mat/order/spnd.c
Examining data/petsc-3.14.1+dfsg1/src/mat/order/spectral.c
Examining data/petsc-3.14.1+dfsg1/src/mat/order/amd/amd.c
Examining data/petsc-3.14.1+dfsg1/src/mat/order/wbm.c
Examining data/petsc-3.14.1+dfsg1/src/mat/order/qmdqt.c
Examining data/petsc-3.14.1+dfsg1/src/mat/ftn-custom/zmat.c
Examining data/petsc-3.14.1+dfsg1/src/mat/coarsen/ftn-auto/coarsenf.c
Examining data/petsc-3.14.1+dfsg1/src/mat/coarsen/impls/hem/hem.c
Examining data/petsc-3.14.1+dfsg1/src/mat/coarsen/impls/mis/mis.c
Examining data/petsc-3.14.1+dfsg1/src/mat/coarsen/scoarsen.c
Examining data/petsc-3.14.1+dfsg1/src/mat/coarsen/ftn-custom/zcoarsenf.c
Examining data/petsc-3.14.1+dfsg1/src/mat/coarsen/coarsen.c
Examining data/petsc-3.14.1+dfsg1/src/mat/matfd/ftn-auto/fdmatrixf.c
Examining data/petsc-3.14.1+dfsg1/src/mat/matfd/fdmatrix.c
Examining data/petsc-3.14.1+dfsg1/src/mat/matfd/ftn-custom/zfdmatrixf.c
Examining data/petsc-3.14.1+dfsg1/src/mat/tutorials/ex11.c
Examining data/petsc-3.14.1+dfsg1/src/mat/tutorials/ex7.c
Examining data/petsc-3.14.1+dfsg1/src/mat/tutorials/ex3.c
Examining data/petsc-3.14.1+dfsg1/src/mat/tutorials/ex17.c
Examining data/petsc-3.14.1+dfsg1/src/mat/tutorials/ex4.c
Examining data/petsc-3.14.1+dfsg1/src/mat/tutorials/ex9.c
Examining data/petsc-3.14.1+dfsg1/src/mat/tutorials/ex10.c
Examining data/petsc-3.14.1+dfsg1/src/mat/tutorials/ex1.c
Examining data/petsc-3.14.1+dfsg1/src/mat/tutorials/ex8.c
Examining data/petsc-3.14.1+dfsg1/src/mat/tutorials/ex15.c
Examining data/petsc-3.14.1+dfsg1/src/mat/tutorials/ex12.c
Examining data/petsc-3.14.1+dfsg1/src/mat/tutorials/ex2.c
Examining data/petsc-3.14.1+dfsg1/src/mat/tutorials/ex16.c
Examining data/petsc-3.14.1+dfsg1/src/mat/f90-mod/petscmat.h
Examining data/petsc-3.14.1+dfsg1/src/mat/f90-mod/petscmatfactorinfosize.h
Examining data/petsc-3.14.1+dfsg1/src/mat/f90-mod/petscmatinfosize.h
Examining data/petsc-3.14.1+dfsg1/src/dm/field/interface/ftn-auto/dmfieldf.c
Examining data/petsc-3.14.1+dfsg1/src/dm/field/interface/dlregisdmfield.c
Examining data/petsc-3.14.1+dfsg1/src/dm/field/interface/dmfieldregi.c
Examining data/petsc-3.14.1+dfsg1/src/dm/field/interface/dmfield.c
Examining data/petsc-3.14.1+dfsg1/src/dm/field/impls/ds/dmfieldds.c
Examining data/petsc-3.14.1+dfsg1/src/dm/field/impls/da/dmfieldda.c
Examining data/petsc-3.14.1+dfsg1/src/dm/field/impls/shell/dmfieldshell.c
Examining data/petsc-3.14.1+dfsg1/src/dm/field/tutorials/ex1.c
Examining data/petsc-3.14.1+dfsg1/src/dm/interface/ftn-auto/dmgetf.c
Examining data/petsc-3.14.1+dfsg1/src/dm/interface/ftn-auto/dmf.c
Examining data/petsc-3.14.1+dfsg1/src/dm/interface/dmi.c
Examining data/petsc-3.14.1+dfsg1/src/dm/interface/dmglvis.c
Examining data/petsc-3.14.1+dfsg1/src/dm/interface/dmget.c
Examining data/petsc-3.14.1+dfsg1/src/dm/interface/ftn-custom/zdmgetf.c
Examining data/petsc-3.14.1+dfsg1/src/dm/interface/ftn-custom/zdmf.c
Examining data/petsc-3.14.1+dfsg1/src/dm/interface/dmregall.c
Examining data/petsc-3.14.1+dfsg1/src/dm/interface/dm.c
Examining data/petsc-3.14.1+dfsg1/src/dm/interface/dlregisdmdm.c
Examining data/petsc-3.14.1+dfsg1/src/dm/partitioner/interface/partitioner.c
Examining data/petsc-3.14.1+dfsg1/src/dm/partitioner/interface/ftn-auto/partitionerf.c
Examining data/petsc-3.14.1+dfsg1/src/dm/partitioner/interface/ftn-custom/zpartitioner.c
Examining data/petsc-3.14.1+dfsg1/src/dm/partitioner/interface/partitionerreg.c
Examining data/petsc-3.14.1+dfsg1/src/dm/partitioner/impls/parmetis/partparmetis.c
Examining data/petsc-3.14.1+dfsg1/src/dm/partitioner/impls/gather/partgather.c
Examining data/petsc-3.14.1+dfsg1/src/dm/partitioner/impls/simple/partsimple.c
Examining data/petsc-3.14.1+dfsg1/src/dm/partitioner/impls/shell/ftn-auto/partshellf.c
Examining data/petsc-3.14.1+dfsg1/src/dm/partitioner/impls/shell/partshell.c
Examining data/petsc-3.14.1+dfsg1/src/dm/partitioner/impls/matpart/partmatpart.c
Examining data/petsc-3.14.1+dfsg1/src/dm/partitioner/impls/ptscotch/partptscotch.c
Examining data/petsc-3.14.1+dfsg1/src/dm/partitioner/impls/chaco/partchaco.c
Examining data/petsc-3.14.1+dfsg1/src/dm/partitioner/tests/ex33.c
Examining data/petsc-3.14.1+dfsg1/src/dm/dt/interface/ftn-auto/dtdsf.c
Examining data/petsc-3.14.1+dfsg1/src/dm/dt/interface/ftn-auto/dtf.c
Examining data/petsc-3.14.1+dfsg1/src/dm/dt/interface/ftn-auto/dtaltvf.c
Examining data/petsc-3.14.1+dfsg1/src/dm/dt/interface/dt.c
Examining data/petsc-3.14.1+dfsg1/src/dm/dt/interface/dtds.c
Examining data/petsc-3.14.1+dfsg1/src/dm/dt/interface/f90-custom/zdtdsf90.c
Examining data/petsc-3.14.1+dfsg1/src/dm/dt/interface/f90-custom/zdtf90.c
Examining data/petsc-3.14.1+dfsg1/src/dm/dt/interface/dtaltv.c
Examining data/petsc-3.14.1+dfsg1/src/dm/dt/interface/ftn-custom/zdsf.c
Examining data/petsc-3.14.1+dfsg1/src/dm/dt/interface/ftn-custom/zdtf.c
Examining data/petsc-3.14.1+dfsg1/src/dm/dt/interface/ftn-custom/zdtfef.c
Examining data/petsc-3.14.1+dfsg1/src/dm/dt/tests/ex11.c
Examining data/petsc-3.14.1+dfsg1/src/dm/dt/tests/ex7.c
Examining data/petsc-3.14.1+dfsg1/src/dm/dt/tests/ex3.c
Examining data/petsc-3.14.1+dfsg1/src/dm/dt/tests/ex4.c
Examining data/petsc-3.14.1+dfsg1/src/dm/dt/tests/ex5.c
Examining data/petsc-3.14.1+dfsg1/src/dm/dt/tests/ex9.c
Examining data/petsc-3.14.1+dfsg1/src/dm/dt/tests/ex10.c
Examining data/petsc-3.14.1+dfsg1/src/dm/dt/tests/ex1.c
Examining data/petsc-3.14.1+dfsg1/src/dm/dt/tests/ex6.c
Examining data/petsc-3.14.1+dfsg1/src/dm/dt/tests/ex8.c
Examining data/petsc-3.14.1+dfsg1/src/dm/dt/tests/ex2.c
Examining data/petsc-3.14.1+dfsg1/src/dm/dt/dualspace/interface/ftn-auto/dualspacef.c
Examining data/petsc-3.14.1+dfsg1/src/dm/dt/dualspace/interface/dualspace.c
Examining data/petsc-3.14.1+dfsg1/src/dm/dt/dualspace/impls/refined/ftn-auto/dualspacerefinedf.c
Examining data/petsc-3.14.1+dfsg1/src/dm/dt/dualspace/impls/refined/dualspacerefined.c
Examining data/petsc-3.14.1+dfsg1/src/dm/dt/dualspace/impls/simple/ftn-auto/dspacesimplef.c
Examining data/petsc-3.14.1+dfsg1/src/dm/dt/dualspace/impls/simple/dspacesimple.c
Examining data/petsc-3.14.1+dfsg1/src/dm/dt/dualspace/impls/lagrange/ftn-auto/dspacelagrangef.c
Examining data/petsc-3.14.1+dfsg1/src/dm/dt/dualspace/impls/lagrange/dspacelagrange.c
Examining data/petsc-3.14.1+dfsg1/src/dm/dt/dualspace/impls/lagrange/tests/ex1.c
Examining data/petsc-3.14.1+dfsg1/src/dm/dt/dualspace/impls/lagrange/tutorials/ex1.c
Examining data/petsc-3.14.1+dfsg1/src/dm/dt/fe/interface/ftn-auto/fegeomf.c
Examining data/petsc-3.14.1+dfsg1/src/dm/dt/fe/interface/ftn-auto/fef.c
Examining data/petsc-3.14.1+dfsg1/src/dm/dt/fe/interface/fe.c
Examining data/petsc-3.14.1+dfsg1/src/dm/dt/fe/interface/ftn-custom/zfef.c
Examining data/petsc-3.14.1+dfsg1/src/dm/dt/fe/interface/fegeom.c
Examining data/petsc-3.14.1+dfsg1/src/dm/dt/fe/impls/opencl/ftn-auto/feopenclf.c
Examining data/petsc-3.14.1+dfsg1/src/dm/dt/fe/impls/opencl/feopencl.c
Examining data/petsc-3.14.1+dfsg1/src/dm/dt/fe/impls/basic/febasic.c
Examining data/petsc-3.14.1+dfsg1/src/dm/dt/fe/impls/composite/fecomposite.c
Examining data/petsc-3.14.1+dfsg1/src/dm/dt/fe/tests/ex1.c
Examining data/petsc-3.14.1+dfsg1/src/dm/dt/space/interface/ftn-auto/spacef.c
Examining data/petsc-3.14.1+dfsg1/src/dm/dt/space/interface/space.c
Examining data/petsc-3.14.1+dfsg1/src/dm/dt/space/impls/subspace/spacesubspace.c
Examining data/petsc-3.14.1+dfsg1/src/dm/dt/space/impls/sum/ftn-auto/spacesumf.c
Examining data/petsc-3.14.1+dfsg1/src/dm/dt/space/impls/sum/spacesum.c
Examining data/petsc-3.14.1+dfsg1/src/dm/dt/space/impls/tensor/ftn-auto/spacetensorf.c
Examining data/petsc-3.14.1+dfsg1/src/dm/dt/space/impls/tensor/spacetensor.c
Examining data/petsc-3.14.1+dfsg1/src/dm/dt/space/impls/point/ftn-auto/spacepointf.c
Examining data/petsc-3.14.1+dfsg1/src/dm/dt/space/impls/point/spacepoint.c
Examining data/petsc-3.14.1+dfsg1/src/dm/dt/space/impls/poly/ftn-auto/spacepolyf.c
Examining data/petsc-3.14.1+dfsg1/src/dm/dt/space/impls/poly/spacepoly.c
Examining data/petsc-3.14.1+dfsg1/src/dm/dt/fv/interface/ftn-auto/fvf.c
Examining data/petsc-3.14.1+dfsg1/src/dm/dt/fv/interface/fv.c
Examining data/petsc-3.14.1+dfsg1/src/dm/dt/fv/interface/ftn-custom/zfvf.c
Examining data/petsc-3.14.1+dfsg1/src/dm/impls/moab/dmmbio.cxx
Examining data/petsc-3.14.1+dfsg1/src/dm/impls/moab/dmmbmat.cxx
Examining data/petsc-3.14.1+dfsg1/src/dm/impls/moab/dmmoab.cxx
Examining data/petsc-3.14.1+dfsg1/src/dm/impls/moab/tests/ex1.cxx
Examining data/petsc-3.14.1+dfsg1/src/dm/impls/moab/tests/ex3.cxx
Examining data/petsc-3.14.1+dfsg1/src/dm/impls/moab/tests/ex2.cxx
Examining data/petsc-3.14.1+dfsg1/src/dm/impls/moab/dmmbutil.cxx
Examining data/petsc-3.14.1+dfsg1/src/dm/impls/moab/dmmbmg.cxx
Examining data/petsc-3.14.1+dfsg1/src/dm/impls/moab/dmmbvec.cxx
Examining data/petsc-3.14.1+dfsg1/src/dm/impls/moab/dmmbfem.cxx
Examining data/petsc-3.14.1+dfsg1/src/dm/impls/moab/dmmbfield.cxx
Examining data/petsc-3.14.1+dfsg1/src/dm/impls/plex/ftn-auto/plexinterpolatef.c
Examining data/petsc-3.14.1+dfsg1/src/dm/impls/plex/ftn-auto/plexindicesf.c
Examining data/petsc-3.14.1+dfsg1/src/dm/impls/plex/ftn-auto/plexsubmeshf.c
Examining data/petsc-3.14.1+dfsg1/src/dm/impls/plex/ftn-auto/plexgmshf.c
Examining data/petsc-3.14.1+dfsg1/src/dm/impls/plex/ftn-auto/plexfvmf.c
Examining data/petsc-3.14.1+dfsg1/src/dm/impls/plex/ftn-auto/plextreef.c
Examining data/petsc-3.14.1+dfsg1/src/dm/impls/plex/ftn-auto/plexgeometryf.c
Examining data/petsc-3.14.1+dfsg1/src/dm/impls/plex/ftn-auto/plexf.c
Examining data/petsc-3.14.1+dfsg1/src/dm/impls/plex/ftn-auto/plexfemf.c
Examining data/petsc-3.14.1+dfsg1/src/dm/impls/plex/ftn-auto/plexcreatef.c
Examining data/petsc-3.14.1+dfsg1/src/dm/impls/plex/ftn-auto/plexcgnsf.c
Examining data/petsc-3.14.1+dfsg1/src/dm/impls/plex/ftn-auto/plexrefinef.c
Examining data/petsc-3.14.1+dfsg1/src/dm/impls/plex/ftn-auto/plexorientf.c
Examining data/petsc-3.14.1+dfsg1/src/dm/impls/plex/ftn-auto/plexdistributef.c
Examining data/petsc-3.14.1+dfsg1/src/dm/impls/plex/ftn-auto/plexnaturalf.c
Examining data/petsc-3.14.1+dfsg1/src/dm/impls/plex/ftn-auto/plexexodusiif.c
Examining data/petsc-3.14.1+dfsg1/src/dm/impls/plex/ftn-auto/plexpointf.c
Examining data/petsc-3.14.1+dfsg1/src/dm/impls/plex/ftn-auto/plexcheckinterfacef.c
Examining data/petsc-3.14.1+dfsg1/src/dm/impls/plex/ftn-auto/plexprojectf.c
Examining data/petsc-3.14.1+dfsg1/src/dm/impls/plex/ftn-auto/plexegadsf.c
Examining data/petsc-3.14.1+dfsg1/src/dm/impls/plex/ftn-auto/plexpartitionf.c
Examining data/petsc-3.14.1+dfsg1/src/dm/impls/plex/ftn-auto/plexreorderf.c
Examining data/petsc-3.14.1+dfsg1/src/dm/impls/plex/plexvtu.c
Examining data/petsc-3.14.1+dfsg1/src/dm/impls/plex/plexsection.c
Examining data/petsc-3.14.1+dfsg1/src/dm/impls/plex/plexreorder.c
Examining data/petsc-3.14.1+dfsg1/src/dm/impls/plex/gmshlex.h
Examining data/petsc-3.14.1+dfsg1/src/dm/impls/plex/plexhdf5.c
Examining data/petsc-3.14.1+dfsg1/src/dm/impls/plex/plexegads.c
Examining data/petsc-3.14.1+dfsg1/src/dm/impls/plex/plexgmsh.c
Examining data/petsc-3.14.1+dfsg1/src/dm/impls/plex/plexcgns.c
Examining data/petsc-3.14.1+dfsg1/src/dm/impls/plex/plexcreate.c
Examining data/petsc-3.14.1+dfsg1/src/dm/impls/plex/plextree.c
Examining data/petsc-3.14.1+dfsg1/src/dm/impls/plex/plexvtk.c
Examining data/petsc-3.14.1+dfsg1/src/dm/impls/plex/tests/ex28.c
Examining data/petsc-3.14.1+dfsg1/src/dm/impls/plex/tests/ex22.c
Examining data/petsc-3.14.1+dfsg1/src/dm/impls/plex/tests/ex26.c
Examining data/petsc-3.14.1+dfsg1/src/dm/impls/plex/tests/ex11.c
Examining data/petsc-3.14.1+dfsg1/src/dm/impls/plex/tests/ex33.c
Examining data/petsc-3.14.1+dfsg1/src/dm/impls/plex/tests/ex7.c
Examining data/petsc-3.14.1+dfsg1/src/dm/impls/plex/tests/ex35.c
Examining data/petsc-3.14.1+dfsg1/src/dm/impls/plex/tests/ex3.c
Examining data/petsc-3.14.1+dfsg1/src/dm/impls/plex/tests/ex31.c
Examining data/petsc-3.14.1+dfsg1/src/dm/impls/plex/tests/ex17.c
Examining data/petsc-3.14.1+dfsg1/src/dm/impls/plex/tests/ex4.c
Examining data/petsc-3.14.1+dfsg1/src/dm/impls/plex/tests/ex5.c
Examining data/petsc-3.14.1+dfsg1/src/dm/impls/plex/tests/ex9.c
Examining data/petsc-3.14.1+dfsg1/src/dm/impls/plex/tests/ex25.c
Examining data/petsc-3.14.1+dfsg1/src/dm/impls/plex/tests/ex20.c
Examining data/petsc-3.14.1+dfsg1/src/dm/impls/plex/tests/ex10.c
Examining data/petsc-3.14.1+dfsg1/src/dm/impls/plex/tests/ex37.c
Examining data/petsc-3.14.1+dfsg1/src/dm/impls/plex/tests/ex19.c
Examining data/petsc-3.14.1+dfsg1/src/dm/impls/plex/tests/ex30.c
Examining data/petsc-3.14.1+dfsg1/src/dm/impls/plex/tests/ex13.c
Examining data/petsc-3.14.1+dfsg1/src/dm/impls/plex/tests/ex1.c
Examining data/petsc-3.14.1+dfsg1/src/dm/impls/plex/tests/ex6.c
Examining data/petsc-3.14.1+dfsg1/src/dm/impls/plex/tests/ex29.c
Examining data/petsc-3.14.1+dfsg1/src/dm/impls/plex/tests/ex27.c
Examining data/petsc-3.14.1+dfsg1/src/dm/impls/plex/tests/ex99.c
Examining data/petsc-3.14.1+dfsg1/src/dm/impls/plex/tests/ex21.c
Examining data/petsc-3.14.1+dfsg1/src/dm/impls/plex/tests/ex24.c
Examining data/petsc-3.14.1+dfsg1/src/dm/impls/plex/tests/ex8.c
Examining data/petsc-3.14.1+dfsg1/src/dm/impls/plex/tests/ex40.c
Examining data/petsc-3.14.1+dfsg1/src/dm/impls/plex/tests/ex23.c
Examining data/petsc-3.14.1+dfsg1/src/dm/impls/plex/tests/ex36.c
Examining data/petsc-3.14.1+dfsg1/src/dm/impls/plex/tests/ex34.c
Examining data/petsc-3.14.1+dfsg1/src/dm/impls/plex/tests/ex15.c
Examining data/petsc-3.14.1+dfsg1/src/dm/impls/plex/tests/ex18.c
Examining data/petsc-3.14.1+dfsg1/src/dm/impls/plex/tests/ex12.c
Examining data/petsc-3.14.1+dfsg1/src/dm/impls/plex/tests/ex39.c
Examining data/petsc-3.14.1+dfsg1/src/dm/impls/plex/tests/ex32.c
Examining data/petsc-3.14.1+dfsg1/src/dm/impls/plex/tests/ex14.c
Examining data/petsc-3.14.1+dfsg1/src/dm/impls/plex/tests/ex16.c
Examining data/petsc-3.14.1+dfsg1/src/dm/impls/plex/plex.c
Examining data/petsc-3.14.1+dfsg1/src/dm/impls/plex/f90-custom/zplexgeometryf90.c
Examining data/petsc-3.14.1+dfsg1/src/dm/impls/plex/f90-custom/zplexfemf90.c
Examining data/petsc-3.14.1+dfsg1/src/dm/impls/plex/f90-custom/zplexf90.c
Examining data/petsc-3.14.1+dfsg1/src/dm/impls/plex/f90-custom/zplexsectionf90.c
Examining data/petsc-3.14.1+dfsg1/src/dm/impls/plex/plexsubmesh.c
Examining data/petsc-3.14.1+dfsg1/src/dm/impls/plex/plexrefine.c
Examining data/petsc-3.14.1+dfsg1/src/dm/impls/plex/plexgenerate.c
Examining data/petsc-3.14.1+dfsg1/src/dm/impls/plex/plexproject.c
Examining data/petsc-3.14.1+dfsg1/src/dm/impls/plex/plexinterpolate.c
Examining data/petsc-3.14.1+dfsg1/src/dm/impls/plex/plexhdf5xdmf.c
Examining data/petsc-3.14.1+dfsg1/src/dm/impls/plex/plexfvm.c
Examining data/petsc-3.14.1+dfsg1/src/dm/impls/plex/plexply.c
Examining data/petsc-3.14.1+dfsg1/src/dm/impls/plex/ftn-custom/zplexexodusii.c
Examining data/petsc-3.14.1+dfsg1/src/dm/impls/plex/ftn-custom/zplexsubmesh.c
Examining data/petsc-3.14.1+dfsg1/src/dm/impls/plex/ftn-custom/zplexcreate.c
Examining data/petsc-3.14.1+dfsg1/src/dm/impls/plex/ftn-custom/zplexfluent.c
Examining data/petsc-3.14.1+dfsg1/src/dm/impls/plex/ftn-custom/zplexdistribute.c
Examining data/petsc-3.14.1+dfsg1/src/dm/impls/plex/ftn-custom/zplexgmsh.c
Examining data/petsc-3.14.1+dfsg1/src/dm/impls/plex/plexmed.c
Examining data/petsc-3.14.1+dfsg1/src/dm/impls/plex/plexcheckinterface.c
Examining data/petsc-3.14.1+dfsg1/src/dm/impls/plex/plexindices.c
Examining data/petsc-3.14.1+dfsg1/src/dm/impls/plex/plexgeometry.c
Examining data/petsc-3.14.1+dfsg1/src/dm/impls/plex/glexg.c
Examining data/petsc-3.14.1+dfsg1/src/dm/impls/plex/plexfem.c
Examining data/petsc-3.14.1+dfsg1/src/dm/impls/plex/plexadapt.c
Examining data/petsc-3.14.1+dfsg1/src/dm/impls/plex/plexpoint.c
Examining data/petsc-3.14.1+dfsg1/src/dm/impls/plex/plexcoarsen.c
Examining data/petsc-3.14.1+dfsg1/src/dm/impls/plex/generators/ctetgen/ctetgenerate.c
Examining data/petsc-3.14.1+dfsg1/src/dm/impls/plex/generators/triangle/trigenerate.c
Examining data/petsc-3.14.1+dfsg1/src/dm/impls/plex/generators/tetgen/tetgenerate.cxx
Examining data/petsc-3.14.1+dfsg1/src/dm/impls/plex/plexorient.c
Examining data/petsc-3.14.1+dfsg1/src/dm/impls/plex/plexhpddm.c
Examining data/petsc-3.14.1+dfsg1/src/dm/impls/plex/plexexodusii.c
Examining data/petsc-3.14.1+dfsg1/src/dm/impls/plex/plexfluent.c
Examining data/petsc-3.14.1+dfsg1/src/dm/impls/plex/plexglvis.c
Examining data/petsc-3.14.1+dfsg1/src/dm/impls/plex/plexpreallocate.c
Examining data/petsc-3.14.1+dfsg1/src/dm/impls/plex/plexdistribute.c
Examining data/petsc-3.14.1+dfsg1/src/dm/impls/plex/tutorials/ex7.c
Examining data/petsc-3.14.1+dfsg1/src/dm/impls/plex/tutorials/ex5.c
Examining data/petsc-3.14.1+dfsg1/src/dm/impls/plex/tutorials/ex9.c
Examining data/petsc-3.14.1+dfsg1/src/dm/impls/plex/tutorials/ex1.c
Examining data/petsc-3.14.1+dfsg1/src/dm/impls/plex/tutorials/ex6.c
Examining data/petsc-3.14.1+dfsg1/src/dm/impls/plex/tutorials/ex8.c
Examining data/petsc-3.14.1+dfsg1/src/dm/impls/plex/tutorials/ex2.c
Examining data/petsc-3.14.1+dfsg1/src/dm/impls/plex/plexnatural.c
Examining data/petsc-3.14.1+dfsg1/src/dm/impls/plex/plexpartition.c
Examining data/petsc-3.14.1+dfsg1/src/dm/impls/swarm/ftn-auto/swarmf.c
Examining data/petsc-3.14.1+dfsg1/src/dm/impls/swarm/swarmpic_view.c
Examining data/petsc-3.14.1+dfsg1/src/dm/impls/swarm/tests/ex4.c
Examining data/petsc-3.14.1+dfsg1/src/dm/impls/swarm/tests/ex5.c
Examining data/petsc-3.14.1+dfsg1/src/dm/impls/swarm/tests/ex1.c
Examining data/petsc-3.14.1+dfsg1/src/dm/impls/swarm/tests/ex6.c
Examining data/petsc-3.14.1+dfsg1/src/dm/impls/swarm/tests/ex2.c
Examining data/petsc-3.14.1+dfsg1/src/dm/impls/swarm/f90-custom/zswarmf90.c
Examining data/petsc-3.14.1+dfsg1/src/dm/impls/swarm/data_bucket.h
Examining data/petsc-3.14.1+dfsg1/src/dm/impls/swarm/swarmpic_plex.c
Examining data/petsc-3.14.1+dfsg1/src/dm/impls/swarm/swarm.c
Examining data/petsc-3.14.1+dfsg1/src/dm/impls/swarm/ftn-custom/zswarm.c
Examining data/petsc-3.14.1+dfsg1/src/dm/impls/swarm/data_ex.h
Examining data/petsc-3.14.1+dfsg1/src/dm/impls/swarm/data_ex.c
Examining data/petsc-3.14.1+dfsg1/src/dm/impls/swarm/swarmpic_da.c
Examining data/petsc-3.14.1+dfsg1/src/dm/impls/swarm/swarmpic_sort.c
Examining data/petsc-3.14.1+dfsg1/src/dm/impls/swarm/swarmpic.c
Examining data/petsc-3.14.1+dfsg1/src/dm/impls/swarm/swarm_migrate.c
Examining data/petsc-3.14.1+dfsg1/src/dm/impls/swarm/tutorials/ex1.c
Examining data/petsc-3.14.1+dfsg1/src/dm/impls/swarm/data_bucket.c
Examining data/petsc-3.14.1+dfsg1/src/dm/impls/patch/ftn-auto/patchcreatef.c
Examining data/petsc-3.14.1+dfsg1/src/dm/impls/patch/patchcreate.c
Examining data/petsc-3.14.1+dfsg1/src/dm/impls/patch/tests/ex1.c
Examining data/petsc-3.14.1+dfsg1/src/dm/impls/patch/patch.c
Examining data/petsc-3.14.1+dfsg1/src/dm/impls/network/ftn-auto/networkcreatef.c
Examining data/petsc-3.14.1+dfsg1/src/dm/impls/network/ftn-auto/networkf.c
Examining data/petsc-3.14.1+dfsg1/src/dm/impls/network/ftn-auto/networkmonitorf.c
Examining data/petsc-3.14.1+dfsg1/src/dm/impls/network/networkmonitor.c
Examining data/petsc-3.14.1+dfsg1/src/dm/impls/network/networkcreate.c
Examining data/petsc-3.14.1+dfsg1/src/dm/impls/network/network.c
Examining data/petsc-3.14.1+dfsg1/src/dm/impls/sliced/sliced.c
Examining data/petsc-3.14.1+dfsg1/src/dm/impls/stag/tests/ex11.c
Examining data/petsc-3.14.1+dfsg1/src/dm/impls/stag/tests/ex7.c
Examining data/petsc-3.14.1+dfsg1/src/dm/impls/stag/tests/ex3.c
Examining data/petsc-3.14.1+dfsg1/src/dm/impls/stag/tests/ex4.c
Examining data/petsc-3.14.1+dfsg1/src/dm/impls/stag/tests/ex5.c
Examining data/petsc-3.14.1+dfsg1/src/dm/impls/stag/tests/ex9.c
Examining data/petsc-3.14.1+dfsg1/src/dm/impls/stag/tests/ex10.c
Examining data/petsc-3.14.1+dfsg1/src/dm/impls/stag/tests/ex30.c
Examining data/petsc-3.14.1+dfsg1/src/dm/impls/stag/tests/ex13.c
Examining data/petsc-3.14.1+dfsg1/src/dm/impls/stag/tests/ex1.c
Examining data/petsc-3.14.1+dfsg1/src/dm/impls/stag/tests/ex6.c
Examining data/petsc-3.14.1+dfsg1/src/dm/impls/stag/tests/ex8.c
Examining data/petsc-3.14.1+dfsg1/src/dm/impls/stag/tests/ex23.c
Examining data/petsc-3.14.1+dfsg1/src/dm/impls/stag/tests/ex12.c
Examining data/petsc-3.14.1+dfsg1/src/dm/impls/stag/tests/ex2.c
Examining data/petsc-3.14.1+dfsg1/src/dm/impls/stag/tests/ex14.c
Examining data/petsc-3.14.1+dfsg1/src/dm/impls/stag/stag3d.c
Examining data/petsc-3.14.1+dfsg1/src/dm/impls/stag/stagda.c
Examining data/petsc-3.14.1+dfsg1/src/dm/impls/stag/stag.c
Examining data/petsc-3.14.1+dfsg1/src/dm/impls/stag/stagstencil.c
Examining data/petsc-3.14.1+dfsg1/src/dm/impls/stag/stag2d.c
Examining data/petsc-3.14.1+dfsg1/src/dm/impls/stag/stagutils.c
Examining data/petsc-3.14.1+dfsg1/src/dm/impls/stag/stag1d.c
Examining data/petsc-3.14.1+dfsg1/src/dm/impls/stag/tutorials/ex3.c
Examining data/petsc-3.14.1+dfsg1/src/dm/impls/stag/tutorials/ex4.c
Examining data/petsc-3.14.1+dfsg1/src/dm/impls/stag/tutorials/ex1.c
Examining data/petsc-3.14.1+dfsg1/src/dm/impls/stag/tutorials/ex6.c
Examining data/petsc-3.14.1+dfsg1/src/dm/impls/stag/tutorials/ex2.c
Examining data/petsc-3.14.1+dfsg1/src/dm/impls/stag/stagintern.c
Examining data/petsc-3.14.1+dfsg1/src/dm/impls/da/ftn-auto/dalocalf.c
Examining data/petsc-3.14.1+dfsg1/src/dm/impls/da/ftn-auto/dapreallocatef.c
Examining data/petsc-3.14.1+dfsg1/src/dm/impls/da/ftn-auto/dagtonaf.c
Examining data/petsc-3.14.1+dfsg1/src/dm/impls/da/ftn-auto/daindexf.c
Examining data/petsc-3.14.1+dfsg1/src/dm/impls/da/ftn-auto/dacreatef.c
Examining data/petsc-3.14.1+dfsg1/src/dm/impls/da/ftn-auto/fddaf.c
Examining data/petsc-3.14.1+dfsg1/src/dm/impls/da/ftn-auto/daddf.c
Examining data/petsc-3.14.1+dfsg1/src/dm/impls/da/ftn-auto/dagetelemf.c
Examining data/petsc-3.14.1+dfsg1/src/dm/impls/da/ftn-auto/dagetarrayf.c
Examining data/petsc-3.14.1+dfsg1/src/dm/impls/da/ftn-auto/gr1f.c
Examining data/petsc-3.14.1+dfsg1/src/dm/impls/da/ftn-auto/dagtolf.c
Examining data/petsc-3.14.1+dfsg1/src/dm/impls/da/ftn-auto/daf.c
Examining data/petsc-3.14.1+dfsg1/src/dm/impls/da/ftn-auto/dageometryf.c
Examining data/petsc-3.14.1+dfsg1/src/dm/impls/da/ftn-auto/dasubf.c
Examining data/petsc-3.14.1+dfsg1/src/dm/impls/da/ftn-auto/dacornf.c
Examining data/petsc-3.14.1+dfsg1/src/dm/impls/da/ftn-auto/dainterpf.c
Examining data/petsc-3.14.1+dfsg1/src/dm/impls/da/ftn-auto/dadistf.c
Examining data/petsc-3.14.1+dfsg1/src/dm/impls/da/dalocal.c
Examining data/petsc-3.14.1+dfsg1/src/dm/impls/da/daindex.c
Examining data/petsc-3.14.1+dfsg1/src/dm/impls/da/fdda.c
Examining data/petsc-3.14.1+dfsg1/src/dm/impls/da/grglvis.c
Examining data/petsc-3.14.1+dfsg1/src/dm/impls/da/dasub.c
Examining data/petsc-3.14.1+dfsg1/src/dm/impls/da/dareg.c
Examining data/petsc-3.14.1+dfsg1/src/dm/impls/da/daltol.c
Examining data/petsc-3.14.1+dfsg1/src/dm/impls/da/gr2.c
Examining data/petsc-3.14.1+dfsg1/src/dm/impls/da/da.c
Examining data/petsc-3.14.1+dfsg1/src/dm/impls/da/da3.c
Examining data/petsc-3.14.1+dfsg1/src/dm/impls/da/dagetarray.c
Examining data/petsc-3.14.1+dfsg1/src/dm/impls/da/dadd.c
Examining data/petsc-3.14.1+dfsg1/src/dm/impls/da/dacorn.c
Examining data/petsc-3.14.1+dfsg1/src/dm/impls/da/grvtk.c
Examining data/petsc-3.14.1+dfsg1/src/dm/impls/da/f90-custom/zda1f90.c
Examining data/petsc-3.14.1+dfsg1/src/dm/impls/da/dadist.c
Examining data/petsc-3.14.1+dfsg1/src/dm/impls/da/gr1.c
Examining data/petsc-3.14.1+dfsg1/src/dm/impls/da/daview.c
Examining data/petsc-3.14.1+dfsg1/src/dm/impls/da/dascatter.c
Examining data/petsc-3.14.1+dfsg1/src/dm/impls/da/dainterp.c
Examining data/petsc-3.14.1+dfsg1/src/dm/impls/da/dadestroy.c
Examining data/petsc-3.14.1+dfsg1/src/dm/impls/da/dagtona.c
Examining data/petsc-3.14.1+dfsg1/src/dm/impls/da/dageometry.c
Examining data/petsc-3.14.1+dfsg1/src/dm/impls/da/hypre/mhyp.h
Examining data/petsc-3.14.1+dfsg1/src/dm/impls/da/hypre/mhyp.c
Examining data/petsc-3.14.1+dfsg1/src/dm/impls/da/dacreate.c
Examining data/petsc-3.14.1+dfsg1/src/dm/impls/da/ftn-custom/zdasubf.c
Examining data/petsc-3.14.1+dfsg1/src/dm/impls/da/ftn-custom/zdaindexf.c
Examining data/petsc-3.14.1+dfsg1/src/dm/impls/da/ftn-custom/zda3f.c
Examining data/petsc-3.14.1+dfsg1/src/dm/impls/da/ftn-custom/zdagetscatterf.c
Examining data/petsc-3.14.1+dfsg1/src/dm/impls/da/ftn-custom/zdaviewf.c
Examining data/petsc-3.14.1+dfsg1/src/dm/impls/da/ftn-custom/zda2f.c
Examining data/petsc-3.14.1+dfsg1/src/dm/impls/da/ftn-custom/zdacornf.c
Examining data/petsc-3.14.1+dfsg1/src/dm/impls/da/ftn-custom/zdaghostf.c
Examining data/petsc-3.14.1+dfsg1/src/dm/impls/da/ftn-custom/zdaf.c
Examining data/petsc-3.14.1+dfsg1/src/dm/impls/da/ftn-custom/zda1f.c
Examining data/petsc-3.14.1+dfsg1/src/dm/impls/da/dagtol.c
Examining data/petsc-3.14.1+dfsg1/src/dm/impls/da/da1.c
Examining data/petsc-3.14.1+dfsg1/src/dm/impls/da/da2.c
Examining data/petsc-3.14.1+dfsg1/src/dm/impls/da/dagetelem.c
Examining data/petsc-3.14.1+dfsg1/src/dm/impls/da/usfft/matusfft.c
Examining data/petsc-3.14.1+dfsg1/src/dm/impls/da/dapreallocate.c
Examining data/petsc-3.14.1+dfsg1/src/dm/impls/da/daghost.c
Examining data/petsc-3.14.1+dfsg1/src/dm/impls/da/dapf.c
Examining data/petsc-3.14.1+dfsg1/src/dm/impls/shell/ftn-auto/dmshellf.c
Examining data/petsc-3.14.1+dfsg1/src/dm/impls/shell/ftn-custom/zdmshellf.c
Examining data/petsc-3.14.1+dfsg1/src/dm/impls/shell/dmshell.c
Examining data/petsc-3.14.1+dfsg1/src/dm/impls/redundant/ftn-auto/dmredundantf.c
Examining data/petsc-3.14.1+dfsg1/src/dm/impls/redundant/dmredundant.c
Examining data/petsc-3.14.1+dfsg1/src/dm/impls/product/productutils.c
Examining data/petsc-3.14.1+dfsg1/src/dm/impls/product/product.c
Examining data/petsc-3.14.1+dfsg1/src/dm/impls/forest/ftn-auto/forestf.c
Examining data/petsc-3.14.1+dfsg1/src/dm/impls/forest/tests/ex2.c
Examining data/petsc-3.14.1+dfsg1/src/dm/impls/forest/forest.c
Examining data/petsc-3.14.1+dfsg1/src/dm/impls/forest/p4est/petsc_p4est_package.h
Examining data/petsc-3.14.1+dfsg1/src/dm/impls/forest/p4est/tests/ex1.c
Examining data/petsc-3.14.1+dfsg1/src/dm/impls/forest/p4est/pforest.c
Examining data/petsc-3.14.1+dfsg1/src/dm/impls/forest/p4est/dmp4est.c
Examining data/petsc-3.14.1+dfsg1/src/dm/impls/forest/p4est/dmp8est.c
Examining data/petsc-3.14.1+dfsg1/src/dm/impls/forest/p4est/petsc_p4est_package.c
Examining data/petsc-3.14.1+dfsg1/src/dm/impls/forest/tutorials/ex1.c
Examining data/petsc-3.14.1+dfsg1/src/dm/impls/composite/ftn-auto/packf.c
Examining data/petsc-3.14.1+dfsg1/src/dm/impls/composite/packm.c
Examining data/petsc-3.14.1+dfsg1/src/dm/impls/composite/f90-custom/zfddaf90.c
Examining data/petsc-3.14.1+dfsg1/src/dm/impls/composite/packimpl.h
Examining data/petsc-3.14.1+dfsg1/src/dm/impls/composite/ftn-custom/zfddaf.c
Examining data/petsc-3.14.1+dfsg1/src/dm/impls/composite/pack.c
Examining data/petsc-3.14.1+dfsg1/src/dm/tests/ex48.c
Examining data/petsc-3.14.1+dfsg1/src/dm/tests/ex28.c
Examining data/petsc-3.14.1+dfsg1/src/dm/tests/ex22.c
Examining data/petsc-3.14.1+dfsg1/src/dm/tests/ex26.c
Examining data/petsc-3.14.1+dfsg1/src/dm/tests/ex11.c
Examining data/petsc-3.14.1+dfsg1/src/dm/tests/ex33.c
Examining data/petsc-3.14.1+dfsg1/src/dm/tests/ex7.c
Examining data/petsc-3.14.1+dfsg1/src/dm/tests/ex46.c
Examining data/petsc-3.14.1+dfsg1/src/dm/tests/ex43.c
Examining data/petsc-3.14.1+dfsg1/src/dm/tests/ex41.c
Examining data/petsc-3.14.1+dfsg1/src/dm/tests/ex35.c
Examining data/petsc-3.14.1+dfsg1/src/dm/tests/ex3.c
Examining data/petsc-3.14.1+dfsg1/src/dm/tests/ex31.c
Examining data/petsc-3.14.1+dfsg1/src/dm/tests/ex4.c
Examining data/petsc-3.14.1+dfsg1/src/dm/tests/ex5.c
Examining data/petsc-3.14.1+dfsg1/src/dm/tests/ex9.c
Examining data/petsc-3.14.1+dfsg1/src/dm/tests/ex44.c
Examining data/petsc-3.14.1+dfsg1/src/dm/tests/ex52.c
Examining data/petsc-3.14.1+dfsg1/src/dm/tests/ex25.c
Examining data/petsc-3.14.1+dfsg1/src/dm/tests/ex20.c
Examining data/petsc-3.14.1+dfsg1/src/dm/tests/ex49.c
Examining data/petsc-3.14.1+dfsg1/src/dm/tests/ex37.c
Examining data/petsc-3.14.1+dfsg1/src/dm/tests/ex47.c
Examining data/petsc-3.14.1+dfsg1/src/dm/tests/ex19.c
Examining data/petsc-3.14.1+dfsg1/src/dm/tests/ex30.c
Examining data/petsc-3.14.1+dfsg1/src/dm/tests/ex13.c
Examining data/petsc-3.14.1+dfsg1/src/dm/tests/ex1.c
Examining data/petsc-3.14.1+dfsg1/src/dm/tests/ex6.c
Examining data/petsc-3.14.1+dfsg1/src/dm/tests/ex42.c
Examining data/petsc-3.14.1+dfsg1/src/dm/tests/ex27.c
Examining data/petsc-3.14.1+dfsg1/src/dm/tests/ex50.c
Examining data/petsc-3.14.1+dfsg1/src/dm/tests/ex21.c
Examining data/petsc-3.14.1+dfsg1/src/dm/tests/ex24.c
Examining data/petsc-3.14.1+dfsg1/src/dm/tests/ex8.c
Examining data/petsc-3.14.1+dfsg1/src/dm/tests/ex40.c
Examining data/petsc-3.14.1+dfsg1/src/dm/tests/ex23.c
Examining data/petsc-3.14.1+dfsg1/src/dm/tests/ex45.c
Examining data/petsc-3.14.1+dfsg1/src/dm/tests/ex36.c
Examining data/petsc-3.14.1+dfsg1/src/dm/tests/ex34.c
Examining data/petsc-3.14.1+dfsg1/src/dm/tests/ex15.c
Examining data/petsc-3.14.1+dfsg1/src/dm/tests/ex12.c
Examining data/petsc-3.14.1+dfsg1/src/dm/tests/ex2.c
Examining data/petsc-3.14.1+dfsg1/src/dm/tests/ex51.c
Examining data/petsc-3.14.1+dfsg1/src/dm/tests/ex38.c
Examining data/petsc-3.14.1+dfsg1/src/dm/tests/ex39.c
Examining data/petsc-3.14.1+dfsg1/src/dm/tests/ex32.c
Examining data/petsc-3.14.1+dfsg1/src/dm/tests/ex14.c
Examining data/petsc-3.14.1+dfsg1/src/dm/tests/ex16.c
Examining data/petsc-3.14.1+dfsg1/src/dm/label/ftn-auto/dmlabelf.c
Examining data/petsc-3.14.1+dfsg1/src/dm/label/dmlabel.c
Examining data/petsc-3.14.1+dfsg1/src/dm/label/ftn-custom/zdmlabel.c
Examining data/petsc-3.14.1+dfsg1/src/dm/label/tutorials/ex1.c
Examining data/petsc-3.14.1+dfsg1/src/dm/tutorials/ex7.c
Examining data/petsc-3.14.1+dfsg1/src/dm/tutorials/ex3.c
Examining data/petsc-3.14.1+dfsg1/src/dm/tutorials/swarm_ex3.c
Examining data/petsc-3.14.1+dfsg1/src/dm/tutorials/ex4.c
Examining data/petsc-3.14.1+dfsg1/src/dm/tutorials/ex5.c
Examining data/petsc-3.14.1+dfsg1/src/dm/tutorials/ex9.c
Examining data/petsc-3.14.1+dfsg1/src/dm/tutorials/ex20.c
Examining data/petsc-3.14.1+dfsg1/src/dm/tutorials/ex10.c
Examining data/petsc-3.14.1+dfsg1/src/dm/tutorials/swarm_ex2.c
Examining data/petsc-3.14.1+dfsg1/src/dm/tutorials/ex19.c
Examining data/petsc-3.14.1+dfsg1/src/dm/tutorials/ex1.c
Examining data/petsc-3.14.1+dfsg1/src/dm/tutorials/ex6.c
Examining data/petsc-3.14.1+dfsg1/src/dm/tutorials/ex21.c
Examining data/petsc-3.14.1+dfsg1/src/dm/tutorials/ex15.c
Examining data/petsc-3.14.1+dfsg1/src/dm/tutorials/ex12.c
Examining data/petsc-3.14.1+dfsg1/src/dm/tutorials/ex2.c
Examining data/petsc-3.14.1+dfsg1/src/dm/tutorials/ex51.c
Examining data/petsc-3.14.1+dfsg1/src/dm/tutorials/ex14.c
Examining data/petsc-3.14.1+dfsg1/src/dm/tutorials/swarm_ex1.c
Examining data/petsc-3.14.1+dfsg1/src/dm/f90-mod/petscdmnetwork.h
Examining data/petsc-3.14.1+dfsg1/src/dm/f90-mod/petscdmswarm.h
Examining data/petsc-3.14.1+dfsg1/src/dm/f90-mod/petscdmda.h
Examining data/petsc-3.14.1+dfsg1/src/dm/f90-mod/petscdmplex.h
Examining data/petsc-3.14.1+dfsg1/src/dm/f90-mod/petscdmlabel.h
Examining data/petsc-3.14.1+dfsg1/src/dm/f90-mod/petscdm.h
Examining data/petsc-3.14.1+dfsg1/src/tao/quadratic/impls/gpcg/gpcg.c
Examining data/petsc-3.14.1+dfsg1/src/tao/quadratic/impls/gpcg/gpcg.h
Examining data/petsc-3.14.1+dfsg1/src/tao/quadratic/impls/bqpip/bqpipimpl.h
Examining data/petsc-3.14.1+dfsg1/src/tao/quadratic/impls/bqpip/bqpip.c
Examining data/petsc-3.14.1+dfsg1/src/tao/interface/ftn-auto/taosolver_boundsf.c
Examining data/petsc-3.14.1+dfsg1/src/tao/interface/ftn-auto/taosolver_hjf.c
Examining data/petsc-3.14.1+dfsg1/src/tao/interface/ftn-auto/taosolverf.c
Examining data/petsc-3.14.1+dfsg1/src/tao/interface/ftn-auto/taosolver_fgf.c
Examining data/petsc-3.14.1+dfsg1/src/tao/interface/taosolver_hj.c
Examining data/petsc-3.14.1+dfsg1/src/tao/interface/taosolver_fg.c
Examining data/petsc-3.14.1+dfsg1/src/tao/interface/taosolverregi.c
Examining data/petsc-3.14.1+dfsg1/src/tao/interface/fdiff.c
Examining data/petsc-3.14.1+dfsg1/src/tao/interface/ftn-custom/ztaosolverf.c
Examining data/petsc-3.14.1+dfsg1/src/tao/interface/taosolver.c
Examining data/petsc-3.14.1+dfsg1/src/tao/interface/dlregistao.c
Examining data/petsc-3.14.1+dfsg1/src/tao/interface/taosolver_bounds.c
Examining data/petsc-3.14.1+dfsg1/src/tao/linesearch/interface/ftn-auto/taolinesearchf.c
Examining data/petsc-3.14.1+dfsg1/src/tao/linesearch/interface/taolinesearch.c
Examining data/petsc-3.14.1+dfsg1/src/tao/linesearch/interface/ftn-custom/ztaolinesearchf.c
Examining data/petsc-3.14.1+dfsg1/src/tao/linesearch/interface/dlregis_taolinesearch.c
Examining data/petsc-3.14.1+dfsg1/src/tao/linesearch/impls/owarmijo/owarmijo.c
Examining data/petsc-3.14.1+dfsg1/src/tao/linesearch/impls/owarmijo/owarmijo.h
Examining data/petsc-3.14.1+dfsg1/src/tao/linesearch/impls/unit/unit.c
Examining data/petsc-3.14.1+dfsg1/src/tao/linesearch/impls/unit/unit.h
Examining data/petsc-3.14.1+dfsg1/src/tao/linesearch/impls/armijo/armijo.h
Examining data/petsc-3.14.1+dfsg1/src/tao/linesearch/impls/armijo/armijo.c
Examining data/petsc-3.14.1+dfsg1/src/tao/linesearch/impls/morethuente/morethuente.c
Examining data/petsc-3.14.1+dfsg1/src/tao/linesearch/impls/morethuente/morethuente.h
Examining data/petsc-3.14.1+dfsg1/src/tao/linesearch/impls/gpcglinesearch/gpcglinesearch.h
Examining data/petsc-3.14.1+dfsg1/src/tao/linesearch/impls/gpcglinesearch/gpcglinesearch.c
Examining data/petsc-3.14.1+dfsg1/src/tao/matrix/adamat.c
Examining data/petsc-3.14.1+dfsg1/src/tao/matrix/submatfree.h
Examining data/petsc-3.14.1+dfsg1/src/tao/matrix/submatfree.c
Examining data/petsc-3.14.1+dfsg1/src/tao/pde_constrained/impls/lcl/lcl.h
Examining data/petsc-3.14.1+dfsg1/src/tao/pde_constrained/impls/lcl/lcl.c
Examining data/petsc-3.14.1+dfsg1/src/tao/pde_constrained/tutorials/parabolic.c
Examining data/petsc-3.14.1+dfsg1/src/tao/pde_constrained/tutorials/elliptic.c
Examining data/petsc-3.14.1+dfsg1/src/tao/pde_constrained/tutorials/hyperbolic.c
Examining data/petsc-3.14.1+dfsg1/src/tao/complementarity/impls/asls/asfls.c
Examining data/petsc-3.14.1+dfsg1/src/tao/complementarity/impls/asls/asils.c
Examining data/petsc-3.14.1+dfsg1/src/tao/complementarity/impls/ssls/ssils.c
Examining data/petsc-3.14.1+dfsg1/src/tao/complementarity/impls/ssls/ssfls.c
Examining data/petsc-3.14.1+dfsg1/src/tao/complementarity/impls/ssls/ssls.h
Examining data/petsc-3.14.1+dfsg1/src/tao/complementarity/impls/ssls/ssls.c
Examining data/petsc-3.14.1+dfsg1/src/tao/complementarity/tutorials/blackscholes.c
Examining data/petsc-3.14.1+dfsg1/src/tao/complementarity/tutorials/minsurf1.c
Examining data/petsc-3.14.1+dfsg1/src/tao/unconstrained/impls/owlqn/owlqn.c
Examining data/petsc-3.14.1+dfsg1/src/tao/unconstrained/impls/owlqn/owlqn.h
Examining data/petsc-3.14.1+dfsg1/src/tao/unconstrained/impls/lmvm/lmvm.c
Examining data/petsc-3.14.1+dfsg1/src/tao/unconstrained/impls/lmvm/lmvm.h
Examining data/petsc-3.14.1+dfsg1/src/tao/unconstrained/impls/nls/nlsimpl.h
Examining data/petsc-3.14.1+dfsg1/src/tao/unconstrained/impls/nls/nls.c
Examining data/petsc-3.14.1+dfsg1/src/tao/unconstrained/impls/ntl/ntlimpl.h
Examining data/petsc-3.14.1+dfsg1/src/tao/unconstrained/impls/ntl/ntl.c
Examining data/petsc-3.14.1+dfsg1/src/tao/unconstrained/impls/cg/taocg.c
Examining data/petsc-3.14.1+dfsg1/src/tao/unconstrained/impls/cg/taocg.h
Examining data/petsc-3.14.1+dfsg1/src/tao/unconstrained/impls/neldermead/neldermead.c
Examining data/petsc-3.14.1+dfsg1/src/tao/unconstrained/impls/neldermead/neldermead.h
Examining data/petsc-3.14.1+dfsg1/src/tao/unconstrained/impls/ntr/ntr.c
Examining data/petsc-3.14.1+dfsg1/src/tao/unconstrained/impls/ntr/ntrimpl.h
Examining data/petsc-3.14.1+dfsg1/src/tao/unconstrained/impls/bmrm/bmrm.h
Examining data/petsc-3.14.1+dfsg1/src/tao/unconstrained/impls/bmrm/bmrm.c
Examining data/petsc-3.14.1+dfsg1/src/tao/unconstrained/tutorials/eptorsion2.c
Examining data/petsc-3.14.1+dfsg1/src/tao/unconstrained/tutorials/rosenbrock1.c
Examining data/petsc-3.14.1+dfsg1/src/tao/unconstrained/tutorials/burgers_spectral.c
Examining data/petsc-3.14.1+dfsg1/src/tao/unconstrained/tutorials/minsurf2.c
Examining data/petsc-3.14.1+dfsg1/src/tao/unconstrained/tutorials/minsurf1.c
Examining data/petsc-3.14.1+dfsg1/src/tao/unconstrained/tutorials/rosenbrock2.c
Examining data/petsc-3.14.1+dfsg1/src/tao/unconstrained/tutorials/spectraladjointassimilation.c
Examining data/petsc-3.14.1+dfsg1/src/tao/unconstrained/tutorials/rosenbrock1f.h
Examining data/petsc-3.14.1+dfsg1/src/tao/unconstrained/tutorials/eptorsion1.c
Examining data/petsc-3.14.1+dfsg1/src/tao/constrained/impls/admm/ftn-auto/admmf.c
Examining data/petsc-3.14.1+dfsg1/src/tao/constrained/impls/admm/ftn-custom/zadmmf.c
Examining data/petsc-3.14.1+dfsg1/src/tao/constrained/impls/admm/admm.h
Examining data/petsc-3.14.1+dfsg1/src/tao/constrained/impls/admm/admm.c
Examining data/petsc-3.14.1+dfsg1/src/tao/constrained/impls/ipm/ipm.c
Examining data/petsc-3.14.1+dfsg1/src/tao/constrained/impls/ipm/ipm.h
Examining data/petsc-3.14.1+dfsg1/src/tao/constrained/impls/ipm/pdipm.c
Examining data/petsc-3.14.1+dfsg1/src/tao/constrained/impls/ipm/pdipm.h
Examining data/petsc-3.14.1+dfsg1/src/tao/constrained/tutorials/toyf.h
Examining data/petsc-3.14.1+dfsg1/src/tao/constrained/tutorials/maros.c
Examining data/petsc-3.14.1+dfsg1/src/tao/constrained/tutorials/tomographyADMM.c
Examining data/petsc-3.14.1+dfsg1/src/tao/constrained/tutorials/ex1.c
Examining data/petsc-3.14.1+dfsg1/src/tao/constrained/tutorials/toy.c
Examining data/petsc-3.14.1+dfsg1/src/tao/shell/ftn-auto/taoshellf.c
Examining data/petsc-3.14.1+dfsg1/src/tao/shell/taoshell.c
Examining data/petsc-3.14.1+dfsg1/src/tao/leastsquares/impls/brgn/ftn-auto/brgnf.c
Examining data/petsc-3.14.1+dfsg1/src/tao/leastsquares/impls/brgn/brgn.h
Examining data/petsc-3.14.1+dfsg1/src/tao/leastsquares/impls/brgn/ftn-custom/zbrgnf.c
Examining data/petsc-3.14.1+dfsg1/src/tao/leastsquares/impls/brgn/brgn.c
Examining data/petsc-3.14.1+dfsg1/src/tao/leastsquares/impls/pounders/pounders.h
Examining data/petsc-3.14.1+dfsg1/src/tao/leastsquares/impls/pounders/pounders.c
Examining data/petsc-3.14.1+dfsg1/src/tao/leastsquares/impls/pounders/gqt.c
Examining data/petsc-3.14.1+dfsg1/src/tao/leastsquares/tests/chwirut2.c
Examining data/petsc-3.14.1+dfsg1/src/tao/leastsquares/tutorials/cs1.c
Examining data/petsc-3.14.1+dfsg1/src/tao/leastsquares/tutorials/chwirut1.c
Examining data/petsc-3.14.1+dfsg1/src/tao/leastsquares/tutorials/chwirut2.c
Examining data/petsc-3.14.1+dfsg1/src/tao/leastsquares/tutorials/chwirut1f.h
Examining data/petsc-3.14.1+dfsg1/src/tao/leastsquares/tutorials/chwirut2f.h
Examining data/petsc-3.14.1+dfsg1/src/tao/leastsquares/tutorials/tomography.c
Examining data/petsc-3.14.1+dfsg1/src/tao/leastsquares/tutorials/matlab/matlab_ls_test.c
Examining data/petsc-3.14.1+dfsg1/src/tao/util/ftn-auto/tao_utilf.c
Examining data/petsc-3.14.1+dfsg1/src/tao/util/tao_util.c
Examining data/petsc-3.14.1+dfsg1/src/tao/bound/utils/isutil.c
Examining data/petsc-3.14.1+dfsg1/src/tao/bound/impls/blmvm/ftn-auto/blmvmf.c
Examining data/petsc-3.14.1+dfsg1/src/tao/bound/impls/blmvm/blmvm.h
Examining data/petsc-3.14.1+dfsg1/src/tao/bound/impls/blmvm/blmvm.c
Examining data/petsc-3.14.1+dfsg1/src/tao/bound/impls/bqnk/bqnktr.c
Examining data/petsc-3.14.1+dfsg1/src/tao/bound/impls/bqnk/bqnk.c
Examining data/petsc-3.14.1+dfsg1/src/tao/bound/impls/bqnk/bqnkls.c
Examining data/petsc-3.14.1+dfsg1/src/tao/bound/impls/bqnk/bqnk.h
Examining data/petsc-3.14.1+dfsg1/src/tao/bound/impls/bqnk/bqnktl.c
Examining data/petsc-3.14.1+dfsg1/src/tao/bound/impls/bncg/bncg.c
Examining data/petsc-3.14.1+dfsg1/src/tao/bound/impls/bncg/bncg.h
Examining data/petsc-3.14.1+dfsg1/src/tao/bound/impls/tron/tron.h
Examining data/petsc-3.14.1+dfsg1/src/tao/bound/impls/tron/tron.c
Examining data/petsc-3.14.1+dfsg1/src/tao/bound/impls/bqnls/bqnls.c
Examining data/petsc-3.14.1+dfsg1/src/tao/bound/impls/bnk/bnls.c
Examining data/petsc-3.14.1+dfsg1/src/tao/bound/impls/bnk/bnk.h
Examining data/petsc-3.14.1+dfsg1/src/tao/bound/impls/bnk/bntl.c
Examining data/petsc-3.14.1+dfsg1/src/tao/bound/impls/bnk/bntr.c
Examining data/petsc-3.14.1+dfsg1/src/tao/bound/impls/bnk/bnk.c
Examining data/petsc-3.14.1+dfsg1/src/tao/bound/tutorials/jbearing2.c
Examining data/petsc-3.14.1+dfsg1/src/tao/bound/tutorials/plate2.c
Examining data/petsc-3.14.1+dfsg1/src/tao/tutorials/ex3.c
Examining data/petsc-3.14.1+dfsg1/src/tao/tutorials/ex4.c
Examining data/petsc-3.14.1+dfsg1/src/tao/tutorials/ex1.c
Examining data/petsc-3.14.1+dfsg1/src/tao/tutorials/ex2.c
Examining data/petsc-3.14.1+dfsg1/src/tao/f90-mod/petsctao.h
Examining data/petsc-3.14.1+dfsg1/src/snes/utils/dmdasnes.c
Examining data/petsc-3.14.1+dfsg1/src/snes/utils/ftn-auto/dmplexsnesf.c
Examining data/petsc-3.14.1+dfsg1/src/snes/utils/ftn-auto/convestf.c
Examining data/petsc-3.14.1+dfsg1/src/snes/utils/ftn-auto/dmadaptf.c
Examining data/petsc-3.14.1+dfsg1/src/snes/utils/dmlocalsnes.c
Examining data/petsc-3.14.1+dfsg1/src/snes/utils/dmsnes.c
Examining data/petsc-3.14.1+dfsg1/src/snes/utils/dmplexsnes.c
Examining data/petsc-3.14.1+dfsg1/src/snes/utils/convest.c
Examining data/petsc-3.14.1+dfsg1/src/snes/utils/ftn-custom/zdmdasnesf.c
Examining data/petsc-3.14.1+dfsg1/src/snes/utils/ftn-custom/zdmsnesf.c
Examining data/petsc-3.14.1+dfsg1/src/snes/utils/ftn-custom/zdmlocalsnesf.c
Examining data/petsc-3.14.1+dfsg1/src/snes/utils/dmadapt.c
Examining data/petsc-3.14.1+dfsg1/src/snes/mf/ftn-auto/snesmfjf.c
Examining data/petsc-3.14.1+dfsg1/src/snes/mf/snesmfj.c
Examining data/petsc-3.14.1+dfsg1/src/snes/interface/ftn-auto/snesf.c
Examining data/petsc-3.14.1+dfsg1/src/snes/interface/ftn-auto/snesutf.c
Examining data/petsc-3.14.1+dfsg1/src/snes/interface/ftn-auto/snespcf.c
Examining data/petsc-3.14.1+dfsg1/src/snes/interface/noise/snesdnest.c
Examining data/petsc-3.14.1+dfsg1/src/snes/interface/noise/snesmfj2.c
Examining data/petsc-3.14.1+dfsg1/src/snes/interface/noise/snesnoise.c
Examining data/petsc-3.14.1+dfsg1/src/snes/interface/snesregi.c
Examining data/petsc-3.14.1+dfsg1/src/snes/interface/saws/snessaws.c
Examining data/petsc-3.14.1+dfsg1/src/snes/interface/snespc.c
Examining data/petsc-3.14.1+dfsg1/src/snes/interface/f90-custom/zsnesf90.c
Examining data/petsc-3.14.1+dfsg1/src/snes/interface/snesob.c
Examining data/petsc-3.14.1+dfsg1/src/snes/interface/snes.c
Examining data/petsc-3.14.1+dfsg1/src/snes/interface/snesj2.c
Examining data/petsc-3.14.1+dfsg1/src/snes/interface/ftn-custom/zsnesf.c
Examining data/petsc-3.14.1+dfsg1/src/snes/interface/snesut.c
Examining data/petsc-3.14.1+dfsg1/src/snes/interface/snesj.c
Examining data/petsc-3.14.1+dfsg1/src/snes/interface/dlregissnes.c
Examining data/petsc-3.14.1+dfsg1/src/snes/impls/python/pythonsnes.c
Examining data/petsc-3.14.1+dfsg1/src/snes/impls/python/ftn-custom/zpythonsf.c
Examining data/petsc-3.14.1+dfsg1/src/snes/impls/gs/ftn-auto/snesgsf.c
Examining data/petsc-3.14.1+dfsg1/src/snes/impls/gs/gssecant.c
Examining data/petsc-3.14.1+dfsg1/src/snes/impls/gs/gsimpl.h
Examining data/petsc-3.14.1+dfsg1/src/snes/impls/gs/snesgs.c
Examining data/petsc-3.14.1+dfsg1/src/snes/impls/patch/snespatch.c
Examining data/petsc-3.14.1+dfsg1/src/snes/impls/ncg/ftn-auto/snesncgf.c
Examining data/petsc-3.14.1+dfsg1/src/snes/impls/ncg/snesncg.c
Examining data/petsc-3.14.1+dfsg1/src/snes/impls/ncg/snesncgimpl.h
Examining data/petsc-3.14.1+dfsg1/src/snes/impls/vi/ftn-auto/vif.c
Examining data/petsc-3.14.1+dfsg1/src/snes/impls/vi/ss/vissimpl.h
Examining data/petsc-3.14.1+dfsg1/src/snes/impls/vi/ss/viss.c
Examining data/petsc-3.14.1+dfsg1/src/snes/impls/vi/vi.c
Examining data/petsc-3.14.1+dfsg1/src/snes/impls/vi/rs/virs.c
Examining data/petsc-3.14.1+dfsg1/src/snes/impls/vi/rs/virsimpl.h
Examining data/petsc-3.14.1+dfsg1/src/snes/impls/ngmres/ftn-auto/snesngmresf.c
Examining data/petsc-3.14.1+dfsg1/src/snes/impls/ngmres/ngmresfunc.c
Examining data/petsc-3.14.1+dfsg1/src/snes/impls/ngmres/snesngmres.h
Examining data/petsc-3.14.1+dfsg1/src/snes/impls/ngmres/snesngmres.c
Examining data/petsc-3.14.1+dfsg1/src/snes/impls/ngmres/anderson.c
Examining data/petsc-3.14.1+dfsg1/src/snes/impls/ksponly/ksponly.c
Examining data/petsc-3.14.1+dfsg1/src/snes/impls/shell/ftn-auto/snesshellf.c
Examining data/petsc-3.14.1+dfsg1/src/snes/impls/shell/snesshell.c
Examining data/petsc-3.14.1+dfsg1/src/snes/impls/shell/ftn-custom/zsnesshellf.c
Examining data/petsc-3.14.1+dfsg1/src/snes/impls/ms/ms.c
Examining data/petsc-3.14.1+dfsg1/src/snes/impls/qn/ftn-auto/qnf.c
Examining data/petsc-3.14.1+dfsg1/src/snes/impls/qn/qn.c
Examining data/petsc-3.14.1+dfsg1/src/snes/impls/nasm/ftn-auto/nasmf.c
Examining data/petsc-3.14.1+dfsg1/src/snes/impls/nasm/nasm.c
Examining data/petsc-3.14.1+dfsg1/src/snes/impls/nasm/aspin.c
Examining data/petsc-3.14.1+dfsg1/src/snes/impls/fas/fasfunc.c
Examining data/petsc-3.14.1+dfsg1/src/snes/impls/fas/ftn-auto/fasgalerkinf.c
Examining data/petsc-3.14.1+dfsg1/src/snes/impls/fas/ftn-auto/fasfuncf.c
Examining data/petsc-3.14.1+dfsg1/src/snes/impls/fas/ftn-auto/fasf.c
Examining data/petsc-3.14.1+dfsg1/src/snes/impls/fas/fas.c
Examining data/petsc-3.14.1+dfsg1/src/snes/impls/fas/fasgalerkin.c
Examining data/petsc-3.14.1+dfsg1/src/snes/impls/fas/fasimpls.h
Examining data/petsc-3.14.1+dfsg1/src/snes/impls/ls/lsimpl.h
Examining data/petsc-3.14.1+dfsg1/src/snes/impls/ls/ls.c
Examining data/petsc-3.14.1+dfsg1/src/snes/impls/multiblock/ftn-auto/multiblockf.c
Examining data/petsc-3.14.1+dfsg1/src/snes/impls/multiblock/multiblock.c
Examining data/petsc-3.14.1+dfsg1/src/snes/impls/richardson/snesrichardsonimpl.h
Examining data/petsc-3.14.1+dfsg1/src/snes/impls/richardson/snesrichardson.c
Examining data/petsc-3.14.1+dfsg1/src/snes/impls/tr/tr.c
Examining data/petsc-3.14.1+dfsg1/src/snes/impls/tr/trimpl.h
Examining data/petsc-3.14.1+dfsg1/src/snes/impls/composite/ftn-auto/snescompositef.c
Examining data/petsc-3.14.1+dfsg1/src/snes/impls/composite/snescomposite.c
Examining data/petsc-3.14.1+dfsg1/src/snes/linesearch/interface/ftn-auto/linesearchf.c
Examining data/petsc-3.14.1+dfsg1/src/snes/linesearch/interface/linesearchregi.c
Examining data/petsc-3.14.1+dfsg1/src/snes/linesearch/interface/ftn-custom/zlinesearchf.c
Examining data/petsc-3.14.1+dfsg1/src/snes/linesearch/interface/linesearch.c
Examining data/petsc-3.14.1+dfsg1/src/snes/linesearch/impls/bt/ftn-auto/linesearchbtf.c
Examining data/petsc-3.14.1+dfsg1/src/snes/linesearch/impls/bt/linesearchbt.c
Examining data/petsc-3.14.1+dfsg1/src/snes/linesearch/impls/cp/linesearchcp.c
Examining data/petsc-3.14.1+dfsg1/src/snes/linesearch/impls/nleqerr/linesearchnleqerr.c
Examining data/petsc-3.14.1+dfsg1/src/snes/linesearch/impls/shell/ftn-custom/zlinesearchshellf.c
Examining data/petsc-3.14.1+dfsg1/src/snes/linesearch/impls/shell/linesearchshell.c
Examining data/petsc-3.14.1+dfsg1/src/snes/linesearch/impls/l2/l2impls.h
Examining data/petsc-3.14.1+dfsg1/src/snes/linesearch/impls/l2/linesearchl2.c
Examining data/petsc-3.14.1+dfsg1/src/snes/linesearch/impls/basic/basicimpls.h
Examining data/petsc-3.14.1+dfsg1/src/snes/linesearch/impls/basic/linesearchbasic.c
Examining data/petsc-3.14.1+dfsg1/src/snes/tests/ex69.c
Examining data/petsc-3.14.1+dfsg1/src/snes/tests/ex7.c
Examining data/petsc-3.14.1+dfsg1/src/snes/tests/ex17.c
Examining data/petsc-3.14.1+dfsg1/src/snes/tests/ex4.c
Examining data/petsc-3.14.1+dfsg1/src/snes/tests/ex5.c
Examining data/petsc-3.14.1+dfsg1/src/snes/tests/ex68.c
Examining data/petsc-3.14.1+dfsg1/src/snes/tests/ex20.c
Examining data/petsc-3.14.1+dfsg1/src/snes/tests/ex241.cxx
Examining data/petsc-3.14.1+dfsg1/src/snes/tests/ex1.c
Examining data/petsc-3.14.1+dfsg1/src/snes/tests/ex8.c
Examining data/petsc-3.14.1+dfsg1/src/snes/tests/ex2.c
Examining data/petsc-3.14.1+dfsg1/src/snes/tutorials/ex58.c
Examining data/petsc-3.14.1+dfsg1/src/snes/tutorials/ex48.c
Examining data/petsc-3.14.1+dfsg1/src/snes/tutorials/ex28.c
Examining data/petsc-3.14.1+dfsg1/src/snes/tutorials/ex22.c
Examining data/petsc-3.14.1+dfsg1/src/snes/tutorials/ex72.c
Examining data/petsc-3.14.1+dfsg1/src/snes/tutorials/ex57.c
Examining data/petsc-3.14.1+dfsg1/src/snes/tutorials/ex33.c
Examining data/petsc-3.14.1+dfsg1/src/snes/tutorials/ex56.c
Examining data/petsc-3.14.1+dfsg1/src/snes/tutorials/ex69.c
Examining data/petsc-3.14.1+dfsg1/src/snes/tutorials/ex46.c
Examining data/petsc-3.14.1+dfsg1/src/snes/tutorials/ex35.c
Examining data/petsc-3.14.1+dfsg1/src/snes/tutorials/ex3.c
Examining data/petsc-3.14.1+dfsg1/src/snes/tutorials/ex31.c
Examining data/petsc-3.14.1+dfsg1/src/snes/tutorials/ex10d/ex10.c
Examining data/petsc-3.14.1+dfsg1/src/snes/tutorials/ex17.c
Examining data/petsc-3.14.1+dfsg1/src/snes/tutorials/ex5.c
Examining data/petsc-3.14.1+dfsg1/src/snes/tutorials/ex59.c
Examining data/petsc-3.14.1+dfsg1/src/snes/tutorials/ex9.c
Examining data/petsc-3.14.1+dfsg1/src/snes/tutorials/ex67.c
Examining data/petsc-3.14.1+dfsg1/src/snes/tutorials/ex71.c
Examining data/petsc-3.14.1+dfsg1/src/snes/tutorials/ex25.c
Examining data/petsc-3.14.1+dfsg1/src/snes/tutorials/ex74fcomd.h
Examining data/petsc-3.14.1+dfsg1/src/snes/tutorials/ex63.c
Examining data/petsc-3.14.1+dfsg1/src/snes/tutorials/ex77.c
Examining data/petsc-3.14.1+dfsg1/src/snes/tutorials/network/power/power.c
Examining data/petsc-3.14.1+dfsg1/src/snes/tutorials/network/power/PFReadData.c
Examining data/petsc-3.14.1+dfsg1/src/snes/tutorials/network/power/power.h
Examining data/petsc-3.14.1+dfsg1/src/snes/tutorials/network/power/power2.c
Examining data/petsc-3.14.1+dfsg1/src/snes/tutorials/network/power/pffunctions.c
Examining data/petsc-3.14.1+dfsg1/src/snes/tutorials/network/ex1.c
Examining data/petsc-3.14.1+dfsg1/src/snes/tutorials/network/water/water.h
Examining data/petsc-3.14.1+dfsg1/src/snes/tutorials/network/water/waterfunctions.c
Examining data/petsc-3.14.1+dfsg1/src/snes/tutorials/network/water/waterreaddata.c
Examining data/petsc-3.14.1+dfsg1/src/snes/tutorials/network/water/water.c
Examining data/petsc-3.14.1+dfsg1/src/snes/tutorials/ex19.c
Examining data/petsc-3.14.1+dfsg1/src/snes/tutorials/ex30.c
Examining data/petsc-3.14.1+dfsg1/src/snes/tutorials/ex13.c
Examining data/petsc-3.14.1+dfsg1/src/snes/tutorials/ex1.c
Examining data/petsc-3.14.1+dfsg1/src/snes/tutorials/ex78.c
Examining data/petsc-3.14.1+dfsg1/src/snes/tutorials/ex5f.h
Examining data/petsc-3.14.1+dfsg1/src/snes/tutorials/ex42.c
Examining data/petsc-3.14.1+dfsg1/src/snes/tutorials/ex62.c
Examining data/petsc-3.14.1+dfsg1/src/snes/tutorials/ex99.c
Examining data/petsc-3.14.1+dfsg1/src/snes/tutorials/ex21.c
Examining data/petsc-3.14.1+dfsg1/src/snes/tutorials/ex24.c
Examining data/petsc-3.14.1+dfsg1/src/snes/tutorials/ex70.c
Examining data/petsc-3.14.1+dfsg1/src/snes/tutorials/ex3k.kokkos.cxx
Examining data/petsc-3.14.1+dfsg1/src/snes/tutorials/ex74ftube.h
Examining data/petsc-3.14.1+dfsg1/src/snes/tutorials/ex75.h
Examining data/petsc-3.14.1+dfsg1/src/snes/tutorials/ex75.c
Examining data/petsc-3.14.1+dfsg1/src/snes/tutorials/ex23.c
Examining data/petsc-3.14.1+dfsg1/src/snes/tutorials/ex15.c
Examining data/petsc-3.14.1+dfsg1/src/snes/tutorials/ex18.c
Examining data/petsc-3.14.1+dfsg1/src/snes/tutorials/ex12.c
Examining data/petsc-3.14.1+dfsg1/src/snes/tutorials/ex2.c
Examining data/petsc-3.14.1+dfsg1/src/snes/tutorials/ex14.c
Examining data/petsc-3.14.1+dfsg1/src/snes/tutorials/ex16.c
Examining data/petsc-3.14.1+dfsg1/src/snes/f90-mod/petscsnes.h
Examining data/petsc-3.14.1+dfsg1/src/snes/f90-mod/petscsnesfas.h
Examining data/petsc-3.14.1+dfsg1/src/ksp/pc/interface/ftn-auto/pcsetf.c
Examining data/petsc-3.14.1+dfsg1/src/ksp/pc/interface/ftn-auto/preconf.c
Examining data/petsc-3.14.1+dfsg1/src/ksp/pc/interface/precon.c
Examining data/petsc-3.14.1+dfsg1/src/ksp/pc/interface/ftn-custom/zpcsetf.c
Examining data/petsc-3.14.1+dfsg1/src/ksp/pc/interface/ftn-custom/zpreconf.c
Examining data/petsc-3.14.1+dfsg1/src/ksp/pc/interface/pcset.c
Examining data/petsc-3.14.1+dfsg1/src/ksp/pc/interface/pcregis.c
Examining data/petsc-3.14.1+dfsg1/src/ksp/pc/impls/redistribute/ftn-auto/redistributef.c
Examining data/petsc-3.14.1+dfsg1/src/ksp/pc/impls/redistribute/redistribute.c
Examining data/petsc-3.14.1+dfsg1/src/ksp/pc/impls/python/ftn-custom/zpythonpcf.c
Examining data/petsc-3.14.1+dfsg1/src/ksp/pc/impls/python/pythonpc.c
Examining data/petsc-3.14.1+dfsg1/src/ksp/pc/impls/telescope/ftn-auto/telescopef.c
Examining data/petsc-3.14.1+dfsg1/src/ksp/pc/impls/telescope/telescope_dmda.c
Examining data/petsc-3.14.1+dfsg1/src/ksp/pc/impls/telescope/telescope.h
Examining data/petsc-3.14.1+dfsg1/src/ksp/pc/impls/telescope/telescope_coarsedm.c
Examining data/petsc-3.14.1+dfsg1/src/ksp/pc/impls/telescope/telescope.c
Examining data/petsc-3.14.1+dfsg1/src/ksp/pc/impls/is/ftn-auto/pcisf.c
Examining data/petsc-3.14.1+dfsg1/src/ksp/pc/impls/is/pcis.c
Examining data/petsc-3.14.1+dfsg1/src/ksp/pc/impls/is/nn/nn.h
Examining data/petsc-3.14.1+dfsg1/src/ksp/pc/impls/is/nn/nn.c
Examining data/petsc-3.14.1+dfsg1/src/ksp/pc/impls/is/pcis.h
Examining data/petsc-3.14.1+dfsg1/src/ksp/pc/impls/mg/ftn-auto/mgfuncf.c
Examining data/petsc-3.14.1+dfsg1/src/ksp/pc/impls/mg/ftn-auto/mgf.c
Examining data/petsc-3.14.1+dfsg1/src/ksp/pc/impls/mg/mg.c
Examining data/petsc-3.14.1+dfsg1/src/ksp/pc/impls/mg/fmg.c
Examining data/petsc-3.14.1+dfsg1/src/ksp/pc/impls/mg/mgfunc.c
Examining data/petsc-3.14.1+dfsg1/src/ksp/pc/impls/mg/smg.c
Examining data/petsc-3.14.1+dfsg1/src/ksp/pc/impls/mg/ftn-custom/zmgf.c
Examining data/petsc-3.14.1+dfsg1/src/ksp/pc/impls/mg/ftn-custom/zmgfuncf.c
Examining data/petsc-3.14.1+dfsg1/src/ksp/pc/impls/mg/mgadapt.c
Examining data/petsc-3.14.1+dfsg1/src/ksp/pc/impls/wb/ftn-auto/wbf.c
Examining data/petsc-3.14.1+dfsg1/src/ksp/pc/impls/wb/wb.c
Examining data/petsc-3.14.1+dfsg1/src/ksp/pc/impls/eisens/ftn-auto/eisenf.c
Examining data/petsc-3.14.1+dfsg1/src/ksp/pc/impls/eisens/eisen.c
Examining data/petsc-3.14.1+dfsg1/src/ksp/pc/impls/hmg/ftn-auto/hmgf.c
Examining data/petsc-3.14.1+dfsg1/src/ksp/pc/impls/hmg/hmg.c
Examining data/petsc-3.14.1+dfsg1/src/ksp/pc/impls/chowiluviennacl/chowiluviennacl.cxx
Examining data/petsc-3.14.1+dfsg1/src/ksp/pc/impls/svd/svd.c
Examining data/petsc-3.14.1+dfsg1/src/ksp/pc/impls/gamg/ftn-auto/aggf.c
Examining data/petsc-3.14.1+dfsg1/src/ksp/pc/impls/gamg/ftn-auto/gamgf.c
Examining data/petsc-3.14.1+dfsg1/src/ksp/pc/impls/gamg/gamg.h
Examining data/petsc-3.14.1+dfsg1/src/ksp/pc/impls/gamg/classical.c
Examining data/petsc-3.14.1+dfsg1/src/ksp/pc/impls/gamg/agg.c
Examining data/petsc-3.14.1+dfsg1/src/ksp/pc/impls/gamg/ftn-custom/zgamgf.c
Examining data/petsc-3.14.1+dfsg1/src/ksp/pc/impls/gamg/util.c
Examining data/petsc-3.14.1+dfsg1/src/ksp/pc/impls/gamg/geo.c
Examining data/petsc-3.14.1+dfsg1/src/ksp/pc/impls/gamg/gamg.c
Examining data/petsc-3.14.1+dfsg1/src/ksp/pc/impls/bddc/ftn-auto/bddcf.c
Examining data/petsc-3.14.1+dfsg1/src/ksp/pc/impls/bddc/bddcstructs.h
Examining data/petsc-3.14.1+dfsg1/src/ksp/pc/impls/bddc/bddcprivate.h
Examining data/petsc-3.14.1+dfsg1/src/ksp/pc/impls/bddc/bddcscalingbasic.c
Examining data/petsc-3.14.1+dfsg1/src/ksp/pc/impls/bddc/bddcnullspace.c
Examining data/petsc-3.14.1+dfsg1/src/ksp/pc/impls/bddc/bddcprivate.c
Examining data/petsc-3.14.1+dfsg1/src/ksp/pc/impls/bddc/bddc.h
Examining data/petsc-3.14.1+dfsg1/src/ksp/pc/impls/bddc/bddcschurs.c
Examining data/petsc-3.14.1+dfsg1/src/ksp/pc/impls/bddc/bddcfetidp.c
Examining data/petsc-3.14.1+dfsg1/src/ksp/pc/impls/bddc/bddcgraph.c
Examining data/petsc-3.14.1+dfsg1/src/ksp/pc/impls/bddc/bddc.c
Examining data/petsc-3.14.1+dfsg1/src/ksp/pc/impls/spai/ftn-auto/ispaif.c
Examining data/petsc-3.14.1+dfsg1/src/ksp/pc/impls/spai/petscspai.h
Examining data/petsc-3.14.1+dfsg1/src/ksp/pc/impls/spai/ispai.c
Examining data/petsc-3.14.1+dfsg1/src/ksp/pc/impls/spai/dspai.c
Examining data/petsc-3.14.1+dfsg1/src/ksp/pc/impls/lmvm/ftn-auto/lmvmpcf.c
Examining data/petsc-3.14.1+dfsg1/src/ksp/pc/impls/lmvm/lmvmpc.c
Examining data/petsc-3.14.1+dfsg1/src/ksp/pc/impls/patch/pcpatch.c
Examining data/petsc-3.14.1+dfsg1/src/ksp/pc/impls/mat/pcmat.c
Examining data/petsc-3.14.1+dfsg1/src/ksp/pc/impls/jacobi/ftn-auto/jacobif.c
Examining data/petsc-3.14.1+dfsg1/src/ksp/pc/impls/jacobi/jacobi.c
Examining data/petsc-3.14.1+dfsg1/src/ksp/pc/impls/cp/cp.c
Examining data/petsc-3.14.1+dfsg1/src/ksp/pc/impls/saviennacl/saviennacl.cxx
Examining data/petsc-3.14.1+dfsg1/src/ksp/pc/impls/hypre/ftn-auto/hypref.c
Examining data/petsc-3.14.1+dfsg1/src/ksp/pc/impls/hypre/ftn-custom/zhypref.c
Examining data/petsc-3.14.1+dfsg1/src/ksp/pc/impls/hypre/hypre.c
Examining data/petsc-3.14.1+dfsg1/src/ksp/pc/impls/hara/pcharacpu.cxx
Examining data/petsc-3.14.1+dfsg1/src/ksp/pc/impls/vpbjacobi/vpbjacobi.c
Examining data/petsc-3.14.1+dfsg1/src/ksp/pc/impls/factor/ftn-auto/factorf.c
Examining data/petsc-3.14.1+dfsg1/src/ksp/pc/impls/factor/factimpl.c
Examining data/petsc-3.14.1+dfsg1/src/ksp/pc/impls/factor/ilu/ilu.h
Examining data/petsc-3.14.1+dfsg1/src/ksp/pc/impls/factor/ilu/ilu.c
Examining data/petsc-3.14.1+dfsg1/src/ksp/pc/impls/factor/cholesky/ftn-auto/choleskyf.c
Examining data/petsc-3.14.1+dfsg1/src/ksp/pc/impls/factor/cholesky/cholesky.c
Examining data/petsc-3.14.1+dfsg1/src/ksp/pc/impls/factor/factor.c
Examining data/petsc-3.14.1+dfsg1/src/ksp/pc/impls/factor/ftn-custom/zluf.c
Examining data/petsc-3.14.1+dfsg1/src/ksp/pc/impls/factor/icc/icc.c
Examining data/petsc-3.14.1+dfsg1/src/ksp/pc/impls/factor/icc/icc.h
Examining data/petsc-3.14.1+dfsg1/src/ksp/pc/impls/factor/lu/lu.h
Examining data/petsc-3.14.1+dfsg1/src/ksp/pc/impls/factor/lu/lu.c
Examining data/petsc-3.14.1+dfsg1/src/ksp/pc/impls/factor/factor.h
Examining data/petsc-3.14.1+dfsg1/src/ksp/pc/impls/hpddm/ftn-auto/hpddmf.c
Examining data/petsc-3.14.1+dfsg1/src/ksp/pc/impls/hpddm/hpddm.cxx
Examining data/petsc-3.14.1+dfsg1/src/ksp/pc/impls/parms/ftn-auto/parmsf.c
Examining data/petsc-3.14.1+dfsg1/src/ksp/pc/impls/parms/parms.c
Examining data/petsc-3.14.1+dfsg1/src/ksp/pc/impls/shell/ftn-auto/shellpcf.c
Examining data/petsc-3.14.1+dfsg1/src/ksp/pc/impls/shell/ftn-custom/zshellpcf.c
Examining data/petsc-3.14.1+dfsg1/src/ksp/pc/impls/shell/shellpc.c
Examining data/petsc-3.14.1+dfsg1/src/ksp/pc/impls/none/none.c
Examining data/petsc-3.14.1+dfsg1/src/ksp/pc/impls/gasm/ftn-auto/gasmf.c
Examining data/petsc-3.14.1+dfsg1/src/ksp/pc/impls/gasm/ftn-custom/zgasmf.c
Examining data/petsc-3.14.1+dfsg1/src/ksp/pc/impls/gasm/gasm.c
Examining data/petsc-3.14.1+dfsg1/src/ksp/pc/impls/bjacobi/ftn-auto/bjacobif.c
Examining data/petsc-3.14.1+dfsg1/src/ksp/pc/impls/bjacobi/ftn-custom/zbjacobif.c
Examining data/petsc-3.14.1+dfsg1/src/ksp/pc/impls/bjacobi/bjacobi.c
Examining data/petsc-3.14.1+dfsg1/src/ksp/pc/impls/bjacobi/bjacobi.h
Examining data/petsc-3.14.1+dfsg1/src/ksp/pc/impls/pbjacobi/pbjacobi.c
Examining data/petsc-3.14.1+dfsg1/src/ksp/pc/impls/fieldsplit/ftn-auto/fieldsplitf.c
Examining data/petsc-3.14.1+dfsg1/src/ksp/pc/impls/fieldsplit/ftn-custom/zfieldsplitf.c
Examining data/petsc-3.14.1+dfsg1/src/ksp/pc/impls/fieldsplit/fieldsplit.c
Examining data/petsc-3.14.1+dfsg1/src/ksp/pc/impls/ksp/pcksp.c
Examining data/petsc-3.14.1+dfsg1/src/ksp/pc/impls/ksp/ftn-auto/pckspf.c
Examining data/petsc-3.14.1+dfsg1/src/ksp/pc/impls/redundant/ftn-auto/redundantf.c
Examining data/petsc-3.14.1+dfsg1/src/ksp/pc/impls/redundant/redundant.c
Examining data/petsc-3.14.1+dfsg1/src/ksp/pc/impls/deflation/ftn-auto/deflationf.c
Examining data/petsc-3.14.1+dfsg1/src/ksp/pc/impls/deflation/deflation.c
Examining data/petsc-3.14.1+dfsg1/src/ksp/pc/impls/deflation/deflation.h
Examining data/petsc-3.14.1+dfsg1/src/ksp/pc/impls/deflation/deflationspace.c
Examining data/petsc-3.14.1+dfsg1/src/ksp/pc/impls/galerkin/ftn-auto/galerkinf.c
Examining data/petsc-3.14.1+dfsg1/src/ksp/pc/impls/galerkin/galerkin.c
Examining data/petsc-3.14.1+dfsg1/src/ksp/pc/impls/rowscalingviennacl/rowscalingviennacl.cxx
Examining data/petsc-3.14.1+dfsg1/src/ksp/pc/impls/sor/ftn-auto/sorf.c
Examining data/petsc-3.14.1+dfsg1/src/ksp/pc/impls/sor/sor.c
Examining data/petsc-3.14.1+dfsg1/src/ksp/pc/impls/kaczmarz/kaczmarz.c
Examining data/petsc-3.14.1+dfsg1/src/ksp/pc/impls/lsc/lsc.c
Examining data/petsc-3.14.1+dfsg1/src/ksp/pc/impls/asm/ftn-auto/asmf.c
Examining data/petsc-3.14.1+dfsg1/src/ksp/pc/impls/asm/asm.c
Examining data/petsc-3.14.1+dfsg1/src/ksp/pc/impls/asm/ftn-custom/zasmf.c
Examining data/petsc-3.14.1+dfsg1/src/ksp/pc/impls/asm/asm.h
Examining data/petsc-3.14.1+dfsg1/src/ksp/pc/impls/tfs/xyt.c
Examining data/petsc-3.14.1+dfsg1/src/ksp/pc/impls/tfs/tfs.c
Examining data/petsc-3.14.1+dfsg1/src/ksp/pc/impls/tfs/tfs.h
Examining data/petsc-3.14.1+dfsg1/src/ksp/pc/impls/tfs/ivec.c
Examining data/petsc-3.14.1+dfsg1/src/ksp/pc/impls/tfs/xxt.c
Examining data/petsc-3.14.1+dfsg1/src/ksp/pc/impls/tfs/bitmask.c
Examining data/petsc-3.14.1+dfsg1/src/ksp/pc/impls/tfs/gs.c
Examining data/petsc-3.14.1+dfsg1/src/ksp/pc/impls/tfs/comm.c
Examining data/petsc-3.14.1+dfsg1/src/ksp/pc/impls/composite/ftn-auto/compositef.c
Examining data/petsc-3.14.1+dfsg1/src/ksp/pc/impls/composite/composite.c
Examining data/petsc-3.14.1+dfsg1/src/ksp/pc/impls/composite/ftn-custom/zcompositef.c
Examining data/petsc-3.14.1+dfsg1/src/ksp/pc/impls/ml/ml.c
Examining data/petsc-3.14.1+dfsg1/src/ksp/pc/tests/ex7.c
Examining data/petsc-3.14.1+dfsg1/src/ksp/pc/tests/ex3.c
Examining data/petsc-3.14.1+dfsg1/src/ksp/pc/tests/ex4.c
Examining data/petsc-3.14.1+dfsg1/src/ksp/pc/tests/ex5.c
Examining data/petsc-3.14.1+dfsg1/src/ksp/pc/tests/ex1.c
Examining data/petsc-3.14.1+dfsg1/src/ksp/pc/tests/ex6.c
Examining data/petsc-3.14.1+dfsg1/src/ksp/pc/tests/ex8.c
Examining data/petsc-3.14.1+dfsg1/src/ksp/pc/tests/ex2.c
Examining data/petsc-3.14.1+dfsg1/src/ksp/pc/tutorials/ex3.c
Examining data/petsc-3.14.1+dfsg1/src/ksp/pc/tutorials/ex1.c
Examining data/petsc-3.14.1+dfsg1/src/ksp/pc/tutorials/ex2.c
Examining data/petsc-3.14.1+dfsg1/src/ksp/ksp/utils/ftn-auto/dmprojectf.c
Examining data/petsc-3.14.1+dfsg1/src/ksp/ksp/utils/schurm/ftn-auto/schurmf.c
Examining data/petsc-3.14.1+dfsg1/src/ksp/ksp/utils/schurm/schurm.h
Examining data/petsc-3.14.1+dfsg1/src/ksp/ksp/utils/schurm/schurm.c
Examining data/petsc-3.14.1+dfsg1/src/ksp/ksp/utils/lmvm/ftn-auto/lmvmutilsf.c
Examining data/petsc-3.14.1+dfsg1/src/ksp/ksp/utils/lmvm/brdn/ftn-auto/brdnf.c
Examining data/petsc-3.14.1+dfsg1/src/ksp/ksp/utils/lmvm/brdn/ftn-auto/badbrdnf.c
Examining data/petsc-3.14.1+dfsg1/src/ksp/ksp/utils/lmvm/brdn/brdn.h
Examining data/petsc-3.14.1+dfsg1/src/ksp/ksp/utils/lmvm/brdn/brdn.c
Examining data/petsc-3.14.1+dfsg1/src/ksp/ksp/utils/lmvm/brdn/badbrdn.c
Examining data/petsc-3.14.1+dfsg1/src/ksp/ksp/utils/lmvm/bfgs/ftn-auto/bfgsf.c
Examining data/petsc-3.14.1+dfsg1/src/ksp/ksp/utils/lmvm/bfgs/bfgs.c
Examining data/petsc-3.14.1+dfsg1/src/ksp/ksp/utils/lmvm/diagbrdn/ftn-auto/diagbrdnf.c
Examining data/petsc-3.14.1+dfsg1/src/ksp/ksp/utils/lmvm/diagbrdn/diagbrdn.c
Examining data/petsc-3.14.1+dfsg1/src/ksp/ksp/utils/lmvm/diagbrdn/diagbrdn.h
Examining data/petsc-3.14.1+dfsg1/src/ksp/ksp/utils/lmvm/lmvmimpl.c
Examining data/petsc-3.14.1+dfsg1/src/ksp/ksp/utils/lmvm/dfp/ftn-auto/dfpf.c
Examining data/petsc-3.14.1+dfsg1/src/ksp/ksp/utils/lmvm/dfp/dfp.c
Examining data/petsc-3.14.1+dfsg1/src/ksp/ksp/utils/lmvm/lmvm.h
Examining data/petsc-3.14.1+dfsg1/src/ksp/ksp/utils/lmvm/symbrdn/ftn-auto/symbadbrdnf.c
Examining data/petsc-3.14.1+dfsg1/src/ksp/ksp/utils/lmvm/symbrdn/ftn-auto/symbrdnf.c
Examining data/petsc-3.14.1+dfsg1/src/ksp/ksp/utils/lmvm/symbrdn/symbrdn.h
Examining data/petsc-3.14.1+dfsg1/src/ksp/ksp/utils/lmvm/symbrdn/symbrdn.c
Examining data/petsc-3.14.1+dfsg1/src/ksp/ksp/utils/lmvm/symbrdn/symbadbrdn.c
Examining data/petsc-3.14.1+dfsg1/src/ksp/ksp/utils/lmvm/sr1/ftn-auto/sr1f.c
Examining data/petsc-3.14.1+dfsg1/src/ksp/ksp/utils/lmvm/sr1/sr1.c
Examining data/petsc-3.14.1+dfsg1/src/ksp/ksp/utils/lmvm/lmvmutils.c
Examining data/petsc-3.14.1+dfsg1/src/ksp/ksp/utils/kspmatregi.c
Examining data/petsc-3.14.1+dfsg1/src/ksp/ksp/utils/dmproject.c
Examining data/petsc-3.14.1+dfsg1/src/ksp/ksp/interface/ftn-auto/itcreatef.c
Examining data/petsc-3.14.1+dfsg1/src/ksp/ksp/interface/ftn-auto/itclf.c
Examining data/petsc-3.14.1+dfsg1/src/ksp/ksp/interface/ftn-auto/itfuncf.c
Examining data/petsc-3.14.1+dfsg1/src/ksp/ksp/interface/ftn-auto/itresf.c
Examining data/petsc-3.14.1+dfsg1/src/ksp/ksp/interface/ftn-auto/eigef.c
Examining data/petsc-3.14.1+dfsg1/src/ksp/ksp/interface/ftn-auto/iguessf.c
Examining data/petsc-3.14.1+dfsg1/src/ksp/ksp/interface/ftn-auto/iterativf.c
Examining data/petsc-3.14.1+dfsg1/src/ksp/ksp/interface/iterativ.c
Examining data/petsc-3.14.1+dfsg1/src/ksp/ksp/interface/itcreate.c
Examining data/petsc-3.14.1+dfsg1/src/ksp/ksp/interface/saws/kspsaws.c
Examining data/petsc-3.14.1+dfsg1/src/ksp/ksp/interface/dlregisksp.c
Examining data/petsc-3.14.1+dfsg1/src/ksp/ksp/interface/f90-custom/zitfuncf90.c
Examining data/petsc-3.14.1+dfsg1/src/ksp/ksp/interface/itregis.c
Examining data/petsc-3.14.1+dfsg1/src/ksp/ksp/interface/eige.c
Examining data/petsc-3.14.1+dfsg1/src/ksp/ksp/interface/itcl.c
Examining data/petsc-3.14.1+dfsg1/src/ksp/ksp/interface/iguess.c
Examining data/petsc-3.14.1+dfsg1/src/ksp/ksp/interface/itres.c
Examining data/petsc-3.14.1+dfsg1/src/ksp/ksp/interface/dmksp.c
Examining data/petsc-3.14.1+dfsg1/src/ksp/ksp/interface/ftn-custom/ziguess.c
Examining data/petsc-3.14.1+dfsg1/src/ksp/ksp/interface/ftn-custom/zitfuncf.c
Examining data/petsc-3.14.1+dfsg1/src/ksp/ksp/interface/ftn-custom/zxonf.c
Examining data/petsc-3.14.1+dfsg1/src/ksp/ksp/interface/ftn-custom/zitclf.c
Examining data/petsc-3.14.1+dfsg1/src/ksp/ksp/interface/ftn-custom/zitcreatef.c
Examining data/petsc-3.14.1+dfsg1/src/ksp/ksp/interface/ftn-custom/zdmkspf.c
Examining data/petsc-3.14.1+dfsg1/src/ksp/ksp/interface/xmon.c
Examining data/petsc-3.14.1+dfsg1/src/ksp/ksp/interface/itfunc.c
Examining data/petsc-3.14.1+dfsg1/src/ksp/ksp/impls/python/ftn-custom/zpythonkspf.c
Examining data/petsc-3.14.1+dfsg1/src/ksp/ksp/impls/python/pythonksp.c
Examining data/petsc-3.14.1+dfsg1/src/ksp/ksp/impls/fetidp/ftn-auto/fetidpf.c
Examining data/petsc-3.14.1+dfsg1/src/ksp/ksp/impls/fetidp/fetidp.c
Examining data/petsc-3.14.1+dfsg1/src/ksp/ksp/impls/lcd/lcd.c
Examining data/petsc-3.14.1+dfsg1/src/ksp/ksp/impls/lcd/lcdimpl.h
Examining data/petsc-3.14.1+dfsg1/src/ksp/ksp/impls/preonly/preonly.c
Examining data/petsc-3.14.1+dfsg1/src/ksp/ksp/impls/cr/cr.c
Examining data/petsc-3.14.1+dfsg1/src/ksp/ksp/impls/cr/pipecr/pipecr.c
Examining data/petsc-3.14.1+dfsg1/src/ksp/ksp/impls/tcqmr/tcqmr.c
Examining data/petsc-3.14.1+dfsg1/src/ksp/ksp/impls/tcqmr/tcqmrimpl.h
Examining data/petsc-3.14.1+dfsg1/src/ksp/ksp/impls/cgs/cgs.c
Examining data/petsc-3.14.1+dfsg1/src/ksp/ksp/impls/bcgsl/ftn-auto/bcgslf.c
Examining data/petsc-3.14.1+dfsg1/src/ksp/ksp/impls/bcgsl/bcgslimpl.h
Examining data/petsc-3.14.1+dfsg1/src/ksp/ksp/impls/bcgsl/bcgsl.c
Examining data/petsc-3.14.1+dfsg1/src/ksp/ksp/impls/cheby/ftn-auto/chebyf.c
Examining data/petsc-3.14.1+dfsg1/src/ksp/ksp/impls/cheby/chebyshevimpl.h
Examining data/petsc-3.14.1+dfsg1/src/ksp/ksp/impls/cheby/cheby.c
Examining data/petsc-3.14.1+dfsg1/src/ksp/ksp/impls/gmres/ftn-auto/gmpref.c
Examining data/petsc-3.14.1+dfsg1/src/ksp/ksp/impls/gmres/ftn-auto/gmresf.c
Examining data/petsc-3.14.1+dfsg1/src/ksp/ksp/impls/gmres/gmres.c
Examining data/petsc-3.14.1+dfsg1/src/ksp/ksp/impls/gmres/gmreig.c
Examining data/petsc-3.14.1+dfsg1/src/ksp/ksp/impls/gmres/borthog.c
Examining data/petsc-3.14.1+dfsg1/src/ksp/ksp/impls/gmres/pgmres/pgmresimpl.h
Examining data/petsc-3.14.1+dfsg1/src/ksp/ksp/impls/gmres/pgmres/pgmres.c
Examining data/petsc-3.14.1+dfsg1/src/ksp/ksp/impls/gmres/borthog2.c
Examining data/petsc-3.14.1+dfsg1/src/ksp/ksp/impls/gmres/gmpre.c
Examining data/petsc-3.14.1+dfsg1/src/ksp/ksp/impls/gmres/gmres2.c
Examining data/petsc-3.14.1+dfsg1/src/ksp/ksp/impls/gmres/ftn-custom/zgmres2f.c
Examining data/petsc-3.14.1+dfsg1/src/ksp/ksp/impls/gmres/pipefgmres/ftn-auto/pipefgmresf.c
Examining data/petsc-3.14.1+dfsg1/src/ksp/ksp/impls/gmres/pipefgmres/pipefgmresimpl.h
Examining data/petsc-3.14.1+dfsg1/src/ksp/ksp/impls/gmres/pipefgmres/pipefgmres.c
Examining data/petsc-3.14.1+dfsg1/src/ksp/ksp/impls/gmres/gmresimpl.h
Examining data/petsc-3.14.1+dfsg1/src/ksp/ksp/impls/gmres/dgmres/dgmresimpl.h
Examining data/petsc-3.14.1+dfsg1/src/ksp/ksp/impls/gmres/dgmres/dgmres.c
Examining data/petsc-3.14.1+dfsg1/src/ksp/ksp/impls/gmres/lgmres/lgmresimpl.h
Examining data/petsc-3.14.1+dfsg1/src/ksp/ksp/impls/gmres/lgmres/lgmres.c
Examining data/petsc-3.14.1+dfsg1/src/ksp/ksp/impls/gmres/agmres/agmres.c
Examining data/petsc-3.14.1+dfsg1/src/ksp/ksp/impls/gmres/agmres/agmresleja.c
Examining data/petsc-3.14.1+dfsg1/src/ksp/ksp/impls/gmres/agmres/agmresorthog.c
Examining data/petsc-3.14.1+dfsg1/src/ksp/ksp/impls/gmres/agmres/agmresimpl.h
Examining data/petsc-3.14.1+dfsg1/src/ksp/ksp/impls/gmres/agmres/agmresdeflation.c
Examining data/petsc-3.14.1+dfsg1/src/ksp/ksp/impls/gmres/fgmres/ftn-auto/modpcff.c
Examining data/petsc-3.14.1+dfsg1/src/ksp/ksp/impls/gmres/fgmres/fgmresimpl.h
Examining data/petsc-3.14.1+dfsg1/src/ksp/ksp/impls/gmres/fgmres/ftn-custom/zmodpcff.c
Examining data/petsc-3.14.1+dfsg1/src/ksp/ksp/impls/gmres/fgmres/modpcf.c
Examining data/petsc-3.14.1+dfsg1/src/ksp/ksp/impls/gmres/fgmres/fgmres.c
Examining data/petsc-3.14.1+dfsg1/src/ksp/ksp/impls/minres/minres.c
Examining data/petsc-3.14.1+dfsg1/src/ksp/ksp/impls/rich/ftn-auto/richscalef.c
Examining data/petsc-3.14.1+dfsg1/src/ksp/ksp/impls/rich/richardsonimpl.h
Examining data/petsc-3.14.1+dfsg1/src/ksp/ksp/impls/rich/richscale.c
Examining data/petsc-3.14.1+dfsg1/src/ksp/ksp/impls/rich/rich.c
Examining data/petsc-3.14.1+dfsg1/src/ksp/ksp/impls/cg/cgne/cgne.c
Examining data/petsc-3.14.1+dfsg1/src/ksp/ksp/impls/cg/ftn-auto/cgtypef.c
Examining data/petsc-3.14.1+dfsg1/src/ksp/ksp/impls/cg/groppcg/groppcg.c
Examining data/petsc-3.14.1+dfsg1/src/ksp/ksp/impls/cg/pipecgrr/pipecgrr.c
Examining data/petsc-3.14.1+dfsg1/src/ksp/ksp/impls/cg/cg.c
Examining data/petsc-3.14.1+dfsg1/src/ksp/ksp/impls/cg/cgimpl.h
Examining data/petsc-3.14.1+dfsg1/src/ksp/ksp/impls/cg/stcg/stcgimpl.h
Examining data/petsc-3.14.1+dfsg1/src/ksp/ksp/impls/cg/stcg/stcg.c
Examining data/petsc-3.14.1+dfsg1/src/ksp/ksp/impls/cg/cgtype.c
Examining data/petsc-3.14.1+dfsg1/src/ksp/ksp/impls/cg/pipecg2/pipecg2.c
Examining data/petsc-3.14.1+dfsg1/src/ksp/ksp/impls/cg/gltr/ftn-auto/gltrf.c
Examining data/petsc-3.14.1+dfsg1/src/ksp/ksp/impls/cg/gltr/gltrimpl.h
Examining data/petsc-3.14.1+dfsg1/src/ksp/ksp/impls/cg/gltr/gltr.c
Examining data/petsc-3.14.1+dfsg1/src/ksp/ksp/impls/cg/cgls.c
Examining data/petsc-3.14.1+dfsg1/src/ksp/ksp/impls/cg/pipelcg/pipelcg.c
Examining data/petsc-3.14.1+dfsg1/src/ksp/ksp/impls/cg/pipeprcg/pipeprcg.c
Examining data/petsc-3.14.1+dfsg1/src/ksp/ksp/impls/cg/nash/nash.c
Examining data/petsc-3.14.1+dfsg1/src/ksp/ksp/impls/cg/nash/nashimpl.h
Examining data/petsc-3.14.1+dfsg1/src/ksp/ksp/impls/cg/pipecg/pipecg.c
Examining data/petsc-3.14.1+dfsg1/src/ksp/ksp/impls/cg/cgeig.c
Examining data/petsc-3.14.1+dfsg1/src/ksp/ksp/impls/hpddm/ftn-auto/hpddmf.c
Examining data/petsc-3.14.1+dfsg1/src/ksp/ksp/impls/hpddm/hpddm.cxx
Examining data/petsc-3.14.1+dfsg1/src/ksp/ksp/impls/fcg/ftn-auto/fcgf.c
Examining data/petsc-3.14.1+dfsg1/src/ksp/ksp/impls/fcg/pipefcg/ftn-auto/pipefcgf.c
Examining data/petsc-3.14.1+dfsg1/src/ksp/ksp/impls/fcg/pipefcg/pipefcgimpl.h
Examining data/petsc-3.14.1+dfsg1/src/ksp/ksp/impls/fcg/pipefcg/pipefcg.c
Examining data/petsc-3.14.1+dfsg1/src/ksp/ksp/impls/fcg/fcgimpl.h
Examining data/petsc-3.14.1+dfsg1/src/ksp/ksp/impls/fcg/fcg.c
Examining data/petsc-3.14.1+dfsg1/src/ksp/ksp/impls/lsqr/ftn-auto/lsqrf.c
Examining data/petsc-3.14.1+dfsg1/src/ksp/ksp/impls/lsqr/lsqr.c
Examining data/petsc-3.14.1+dfsg1/src/ksp/ksp/impls/ibcgs/ibcgs.c
Examining data/petsc-3.14.1+dfsg1/src/ksp/ksp/impls/symmlq/symmlq.c
Examining data/petsc-3.14.1+dfsg1/src/ksp/ksp/impls/tfqmr/tfqmr.c
Examining data/petsc-3.14.1+dfsg1/src/ksp/ksp/impls/tsirm/tsirm.c
Examining data/petsc-3.14.1+dfsg1/src/ksp/ksp/impls/bicg/bicg.c
Examining data/petsc-3.14.1+dfsg1/src/ksp/ksp/impls/qcg/ftn-auto/qcgf.c
Examining data/petsc-3.14.1+dfsg1/src/ksp/ksp/impls/qcg/qcg.c
Examining data/petsc-3.14.1+dfsg1/src/ksp/ksp/impls/qcg/qcgimpl.h
Examining data/petsc-3.14.1+dfsg1/src/ksp/ksp/impls/gcr/gcr.c
Examining data/petsc-3.14.1+dfsg1/src/ksp/ksp/impls/gcr/pipegcr/ftn-auto/pipegcrf.c
Examining data/petsc-3.14.1+dfsg1/src/ksp/ksp/impls/gcr/pipegcr/pipegcr.c
Examining data/petsc-3.14.1+dfsg1/src/ksp/ksp/impls/gcr/pipegcr/pipegcrimpl.h
Examining data/petsc-3.14.1+dfsg1/src/ksp/ksp/impls/bcgs/bcgsimpl.h
Examining data/petsc-3.14.1+dfsg1/src/ksp/ksp/impls/bcgs/pipebcgs/pipebcgs.c
Examining data/petsc-3.14.1+dfsg1/src/ksp/ksp/impls/bcgs/fbcgs/fbcgs.c
Examining data/petsc-3.14.1+dfsg1/src/ksp/ksp/impls/bcgs/bcgs.c
Examining data/petsc-3.14.1+dfsg1/src/ksp/ksp/impls/bcgs/fbcgsr/fbcgsr.c
Examining data/petsc-3.14.1+dfsg1/src/ksp/ksp/tests/ex58.c
Examining data/petsc-3.14.1+dfsg1/src/ksp/ksp/tests/ex48.c
Examining data/petsc-3.14.1+dfsg1/src/ksp/ksp/tests/ex28.c
Examining data/petsc-3.14.1+dfsg1/src/ksp/ksp/tests/ex22.c
Examining data/petsc-3.14.1+dfsg1/src/ksp/ksp/tests/ex26.c
Examining data/petsc-3.14.1+dfsg1/src/ksp/ksp/tests/ex63.cxx
Examining data/petsc-3.14.1+dfsg1/src/ksp/ksp/tests/ex11.c
Examining data/petsc-3.14.1+dfsg1/src/ksp/ksp/tests/ex57.c
Examining data/petsc-3.14.1+dfsg1/src/ksp/ksp/tests/ex33.c
Examining data/petsc-3.14.1+dfsg1/src/ksp/ksp/tests/ex56.c
Examining data/petsc-3.14.1+dfsg1/src/ksp/ksp/tests/ex7.c
Examining data/petsc-3.14.1+dfsg1/src/ksp/ksp/tests/ex43.c
Examining data/petsc-3.14.1+dfsg1/src/ksp/ksp/tests/ex3.c
Examining data/petsc-3.14.1+dfsg1/src/ksp/ksp/tests/ex31.c
Examining data/petsc-3.14.1+dfsg1/src/ksp/ksp/tests/ex17.c
Examining data/petsc-3.14.1+dfsg1/src/ksp/ksp/tests/ex4.c
Examining data/petsc-3.14.1+dfsg1/src/ksp/ksp/tests/ex53.c
Examining data/petsc-3.14.1+dfsg1/src/ksp/ksp/tests/ex55.c
Examining data/petsc-3.14.1+dfsg1/src/ksp/ksp/tests/ex9.c
Examining data/petsc-3.14.1+dfsg1/src/ksp/ksp/tests/ex44.c
Examining data/petsc-3.14.1+dfsg1/src/ksp/ksp/tests/ex25.c
Examining data/petsc-3.14.1+dfsg1/src/ksp/ksp/tests/ex54.c
Examining data/petsc-3.14.1+dfsg1/src/ksp/ksp/tests/ex61.c
Examining data/petsc-3.14.1+dfsg1/src/ksp/ksp/tests/ex20.c
Examining data/petsc-3.14.1+dfsg1/src/ksp/ksp/tests/ex49.c
Examining data/petsc-3.14.1+dfsg1/src/ksp/ksp/tests/ex10.c
Examining data/petsc-3.14.1+dfsg1/src/ksp/ksp/tests/ex37.c
Examining data/petsc-3.14.1+dfsg1/src/ksp/ksp/tests/ex47.c
Examining data/petsc-3.14.1+dfsg1/src/ksp/ksp/tests/ex19.c
Examining data/petsc-3.14.1+dfsg1/src/ksp/ksp/tests/ex30.c
Examining data/petsc-3.14.1+dfsg1/src/ksp/ksp/tests/ex1.c
Examining data/petsc-3.14.1+dfsg1/src/ksp/ksp/tests/ex6.c
Examining data/petsc-3.14.1+dfsg1/src/ksp/ksp/tests/ex60.c
Examining data/petsc-3.14.1+dfsg1/src/ksp/ksp/tests/ex29.c
Examining data/petsc-3.14.1+dfsg1/src/ksp/ksp/tests/ex42.c
Examining data/petsc-3.14.1+dfsg1/src/ksp/ksp/tests/ex27.c
Examining data/petsc-3.14.1+dfsg1/src/ksp/ksp/tests/ex50.c
Examining data/petsc-3.14.1+dfsg1/src/ksp/ksp/tests/ex21.c
Examining data/petsc-3.14.1+dfsg1/src/ksp/ksp/tests/ex24.c
Examining data/petsc-3.14.1+dfsg1/src/ksp/ksp/tests/ex8.c
Examining data/petsc-3.14.1+dfsg1/src/ksp/ksp/tests/benchmarkscatters/ex1.c
Examining data/petsc-3.14.1+dfsg1/src/ksp/ksp/tests/benchmarkscatters/ex2.c
Examining data/petsc-3.14.1+dfsg1/src/ksp/ksp/tests/ex40.c
Examining data/petsc-3.14.1+dfsg1/src/ksp/ksp/tests/ex45.c
Examining data/petsc-3.14.1+dfsg1/src/ksp/ksp/tests/ex34.c
Examining data/petsc-3.14.1+dfsg1/src/ksp/ksp/tests/ex15.c
Examining data/petsc-3.14.1+dfsg1/src/ksp/ksp/tests/ex18.c
Examining data/petsc-3.14.1+dfsg1/src/ksp/ksp/tests/ex2.c
Examining data/petsc-3.14.1+dfsg1/src/ksp/ksp/tests/ex51.c
Examining data/petsc-3.14.1+dfsg1/src/ksp/ksp/tests/ex38.c
Examining data/petsc-3.14.1+dfsg1/src/ksp/ksp/tests/ex39.c
Examining data/petsc-3.14.1+dfsg1/src/ksp/ksp/tests/ex32.c
Examining data/petsc-3.14.1+dfsg1/src/ksp/ksp/tests/ex14.c
Examining data/petsc-3.14.1+dfsg1/src/ksp/ksp/guess/impls/pod/pod.c
Examining data/petsc-3.14.1+dfsg1/src/ksp/ksp/guess/impls/fischer/ftn-auto/fischerf.c
Examining data/petsc-3.14.1+dfsg1/src/ksp/ksp/guess/impls/fischer/fischer.c
Examining data/petsc-3.14.1+dfsg1/src/ksp/ksp/tutorials/ex28.c
Examining data/petsc-3.14.1+dfsg1/src/ksp/ksp/tutorials/ex72.c
Examining data/petsc-3.14.1+dfsg1/src/ksp/ksp/tutorials/ex11.c
Examining data/petsc-3.14.1+dfsg1/src/ksp/ksp/tutorials/ex56.c
Examining data/petsc-3.14.1+dfsg1/src/ksp/ksp/tutorials/amrex/MyEB.H
Examining data/petsc-3.14.1+dfsg1/src/ksp/ksp/tutorials/amrex/main.cpp
Examining data/petsc-3.14.1+dfsg1/src/ksp/ksp/tutorials/amrex/MyTest.H
Examining data/petsc-3.14.1+dfsg1/src/ksp/ksp/tutorials/amrex/initEB.cpp
Examining data/petsc-3.14.1+dfsg1/src/ksp/ksp/tutorials/amrex/MyTest.cpp
Examining data/petsc-3.14.1+dfsg1/src/ksp/ksp/tutorials/ex69.c
Examining data/petsc-3.14.1+dfsg1/src/ksp/ksp/tutorials/ex7.c
Examining data/petsc-3.14.1+dfsg1/src/ksp/ksp/tutorials/ex36.cxx
Examining data/petsc-3.14.1+dfsg1/src/ksp/ksp/tutorials/ex46.c
Examining data/petsc-3.14.1+dfsg1/src/ksp/ksp/tutorials/ex43.c
Examining data/petsc-3.14.1+dfsg1/src/ksp/ksp/tutorials/ex74.c
Examining data/petsc-3.14.1+dfsg1/src/ksp/ksp/tutorials/ex41.c
Examining data/petsc-3.14.1+dfsg1/src/ksp/ksp/tutorials/ex64.c
Examining data/petsc-3.14.1+dfsg1/src/ksp/ksp/tutorials/ex3.c
Examining data/petsc-3.14.1+dfsg1/src/ksp/ksp/tutorials/ex73.c
Examining data/petsc-3.14.1+dfsg1/src/ksp/ksp/tutorials/ex4.c
Examining data/petsc-3.14.1+dfsg1/src/ksp/ksp/tutorials/ex5.c
Examining data/petsc-3.14.1+dfsg1/src/ksp/ksp/tutorials/ex59.c
Examining data/petsc-3.14.1+dfsg1/src/ksp/ksp/tutorials/ex53.c
Examining data/petsc-3.14.1+dfsg1/src/ksp/ksp/tutorials/ex55.c
Examining data/petsc-3.14.1+dfsg1/src/ksp/ksp/tutorials/ex9.c
Examining data/petsc-3.14.1+dfsg1/src/ksp/ksp/tutorials/ex68.c
Examining data/petsc-3.14.1+dfsg1/src/ksp/ksp/tutorials/ex52.c
Examining data/petsc-3.14.1+dfsg1/src/ksp/ksp/tutorials/ex67.c
Examining data/petsc-3.14.1+dfsg1/src/ksp/ksp/tutorials/ex71.c
Examining data/petsc-3.14.1+dfsg1/src/ksp/ksp/tutorials/ex25.c
Examining data/petsc-3.14.1+dfsg1/src/ksp/ksp/tutorials/ex54.c
Examining data/petsc-3.14.1+dfsg1/src/ksp/ksp/tutorials/ex49.c
Examining data/petsc-3.14.1+dfsg1/src/ksp/ksp/tutorials/ex10.c
Examining data/petsc-3.14.1+dfsg1/src/ksp/ksp/tutorials/ex77.c
Examining data/petsc-3.14.1+dfsg1/src/ksp/ksp/tutorials/network/ex1.c
Examining data/petsc-3.14.1+dfsg1/src/ksp/ksp/tutorials/network/ex1_nest.c
Examining data/petsc-3.14.1+dfsg1/src/ksp/ksp/tutorials/network/ex2.c
Examining data/petsc-3.14.1+dfsg1/src/ksp/ksp/tutorials/ex13.c
Examining data/petsc-3.14.1+dfsg1/src/ksp/ksp/tutorials/ex1.c
Examining data/petsc-3.14.1+dfsg1/src/ksp/ksp/tutorials/ex6.c
Examining data/petsc-3.14.1+dfsg1/src/ksp/ksp/tutorials/ex78.c
Examining data/petsc-3.14.1+dfsg1/src/ksp/ksp/tutorials/ex60.c
Examining data/petsc-3.14.1+dfsg1/src/ksp/ksp/tutorials/ex29.c
Examining data/petsc-3.14.1+dfsg1/src/ksp/ksp/tutorials/ex42.c
Examining data/petsc-3.14.1+dfsg1/src/ksp/ksp/tutorials/ex62.c
Examining data/petsc-3.14.1+dfsg1/src/ksp/ksp/tutorials/ex27.c
Examining data/petsc-3.14.1+dfsg1/src/ksp/ksp/tutorials/ex66.c
Examining data/petsc-3.14.1+dfsg1/src/ksp/ksp/tutorials/ex50.c
Examining data/petsc-3.14.1+dfsg1/src/ksp/ksp/tutorials/ex21.c
Examining data/petsc-3.14.1+dfsg1/src/ksp/ksp/tutorials/ex70.c
Examining data/petsc-3.14.1+dfsg1/src/ksp/ksp/tutorials/ex8.c
Examining data/petsc-3.14.1+dfsg1/src/ksp/ksp/tutorials/ex35.cxx
Examining data/petsc-3.14.1+dfsg1/src/ksp/ksp/tutorials/ex75.c
Examining data/petsc-3.14.1+dfsg1/src/ksp/ksp/tutorials/ex23.c
Examining data/petsc-3.14.1+dfsg1/src/ksp/ksp/tutorials/ex43-solcx.h
Examining data/petsc-3.14.1+dfsg1/src/ksp/ksp/tutorials/ex45.c
Examining data/petsc-3.14.1+dfsg1/src/ksp/ksp/tutorials/ex34.c
Examining data/petsc-3.14.1+dfsg1/src/ksp/ksp/tutorials/ex15.c
Examining data/petsc-3.14.1+dfsg1/src/ksp/ksp/tutorials/ex18.c
Examining data/petsc-3.14.1+dfsg1/src/ksp/ksp/tutorials/ex12.c
Examining data/petsc-3.14.1+dfsg1/src/ksp/ksp/tutorials/ex2.c
Examining data/petsc-3.14.1+dfsg1/src/ksp/ksp/tutorials/ex51.c
Examining data/petsc-3.14.1+dfsg1/src/ksp/ksp/tutorials/ex79.c
Examining data/petsc-3.14.1+dfsg1/src/ksp/ksp/tutorials/ex100.c
Examining data/petsc-3.14.1+dfsg1/src/ksp/ksp/tutorials/ex32.c
Examining data/petsc-3.14.1+dfsg1/src/ksp/ksp/tutorials/ex76.c
Examining data/petsc-3.14.1+dfsg1/src/ksp/ksp/tutorials/ex65.c
Examining data/petsc-3.14.1+dfsg1/src/ksp/ksp/tutorials/ex16.c
Examining data/petsc-3.14.1+dfsg1/src/ksp/f90-mod/petscpc.h
Examining data/petsc-3.14.1+dfsg1/src/ksp/f90-mod/petscksp.h
Examining data/petsc-3.14.1+dfsg1/src/vec/is/is/utils/ftn-auto/iscoloringf.c
Examining data/petsc-3.14.1+dfsg1/src/vec/is/is/utils/ftn-auto/isblockf.c
Examining data/petsc-3.14.1+dfsg1/src/vec/is/is/utils/ftn-auto/isdifff.c
Examining data/petsc-3.14.1+dfsg1/src/vec/is/is/utils/ftn-auto/iscompf.c
Examining data/petsc-3.14.1+dfsg1/src/vec/is/is/utils/f90-custom/ziscoloringf90.c
Examining data/petsc-3.14.1+dfsg1/src/vec/is/is/utils/iscoloring.c
Examining data/petsc-3.14.1+dfsg1/src/vec/is/is/utils/ftn-custom/ziscoloringf.c
Examining data/petsc-3.14.1+dfsg1/src/vec/is/is/utils/isdiff.c
Examining data/petsc-3.14.1+dfsg1/src/vec/is/is/utils/iscomp.c
Examining data/petsc-3.14.1+dfsg1/src/vec/is/is/utils/isblock.c
Examining data/petsc-3.14.1+dfsg1/src/vec/is/is/interface/ftn-auto/isregf.c
Examining data/petsc-3.14.1+dfsg1/src/vec/is/is/interface/ftn-auto/indexf.c
Examining data/petsc-3.14.1+dfsg1/src/vec/is/is/interface/isregall.c
Examining data/petsc-3.14.1+dfsg1/src/vec/is/is/interface/f90-custom/zindexf90.c
Examining data/petsc-3.14.1+dfsg1/src/vec/is/is/interface/isreg.c
Examining data/petsc-3.14.1+dfsg1/src/vec/is/is/interface/ftn-custom/zindexf.c
Examining data/petsc-3.14.1+dfsg1/src/vec/is/is/interface/index.c
Examining data/petsc-3.14.1+dfsg1/src/vec/is/is/impls/general/ftn-auto/generalf.c
Examining data/petsc-3.14.1+dfsg1/src/vec/is/is/impls/general/general.h
Examining data/petsc-3.14.1+dfsg1/src/vec/is/is/impls/general/general.c
Examining data/petsc-3.14.1+dfsg1/src/vec/is/is/impls/f90-custom/zblockf90.c
Examining data/petsc-3.14.1+dfsg1/src/vec/is/is/impls/block/ftn-auto/blockf.c
Examining data/petsc-3.14.1+dfsg1/src/vec/is/is/impls/block/ftn-custom/zblockf.c
Examining data/petsc-3.14.1+dfsg1/src/vec/is/is/impls/block/block.c
Examining data/petsc-3.14.1+dfsg1/src/vec/is/is/impls/stride/ftn-auto/stridef.c
Examining data/petsc-3.14.1+dfsg1/src/vec/is/is/impls/stride/stride.c
Examining data/petsc-3.14.1+dfsg1/src/vec/is/is/tests/ex11.c
Examining data/petsc-3.14.1+dfsg1/src/vec/is/is/tests/ex7.c
Examining data/petsc-3.14.1+dfsg1/src/vec/is/is/tests/ex3.c
Examining data/petsc-3.14.1+dfsg1/src/vec/is/is/tests/ex4.c
Examining data/petsc-3.14.1+dfsg1/src/vec/is/is/tests/ex5.c
Examining data/petsc-3.14.1+dfsg1/src/vec/is/is/tests/ex10.c
Examining data/petsc-3.14.1+dfsg1/src/vec/is/is/tests/ex1.c
Examining data/petsc-3.14.1+dfsg1/src/vec/is/is/tests/ex6.c
Examining data/petsc-3.14.1+dfsg1/src/vec/is/is/tests/ex8.c
Examining data/petsc-3.14.1+dfsg1/src/vec/is/is/tests/ex2.c
Examining data/petsc-3.14.1+dfsg1/src/vec/is/is/tutorials/ex3.c
Examining data/petsc-3.14.1+dfsg1/src/vec/is/is/tutorials/ex4.c
Examining data/petsc-3.14.1+dfsg1/src/vec/is/is/tutorials/ex5.c
Examining data/petsc-3.14.1+dfsg1/src/vec/is/is/tutorials/ex1.c
Examining data/petsc-3.14.1+dfsg1/src/vec/is/is/tutorials/ex2.c
Examining data/petsc-3.14.1+dfsg1/src/vec/is/utils/ftn-auto/pmapf.c
Examining data/petsc-3.14.1+dfsg1/src/vec/is/utils/ftn-auto/psortf.c
Examining data/petsc-3.14.1+dfsg1/src/vec/is/utils/ftn-auto/isltogf.c
Examining data/petsc-3.14.1+dfsg1/src/vec/is/utils/isltog.c
Examining data/petsc-3.14.1+dfsg1/src/vec/is/utils/f90-custom/zisltogf90.c
Examining data/petsc-3.14.1+dfsg1/src/vec/is/utils/hdf5io.c
Examining data/petsc-3.14.1+dfsg1/src/vec/is/utils/ftn-custom/zvsectionisf.c
Examining data/petsc-3.14.1+dfsg1/src/vec/is/utils/ftn-custom/zhdf5io.c
Examining data/petsc-3.14.1+dfsg1/src/vec/is/utils/ftn-custom/zisltogf.c
Examining data/petsc-3.14.1+dfsg1/src/vec/is/utils/isltog.h
Examining data/petsc-3.14.1+dfsg1/src/vec/is/utils/isio.c
Examining data/petsc-3.14.1+dfsg1/src/vec/is/utils/psort.c
Examining data/petsc-3.14.1+dfsg1/src/vec/is/utils/pmap.c
Examining data/petsc-3.14.1+dfsg1/src/vec/is/ao/interface/ftn-auto/aof.c
Examining data/petsc-3.14.1+dfsg1/src/vec/is/ao/interface/aoregall.c
Examining data/petsc-3.14.1+dfsg1/src/vec/is/ao/interface/dlregisdm.c
Examining data/petsc-3.14.1+dfsg1/src/vec/is/ao/interface/aoreg.c
Examining data/petsc-3.14.1+dfsg1/src/vec/is/ao/interface/ftn-custom/zaof.c
Examining data/petsc-3.14.1+dfsg1/src/vec/is/ao/interface/ao.c
Examining data/petsc-3.14.1+dfsg1/src/vec/is/ao/impls/mapping/ftn-auto/aomappingf.c
Examining data/petsc-3.14.1+dfsg1/src/vec/is/ao/impls/mapping/aomapping.c
Examining data/petsc-3.14.1+dfsg1/src/vec/is/ao/impls/mapping/ftn-custom/zaomappingf.c
Examining data/petsc-3.14.1+dfsg1/src/vec/is/ao/impls/basic/ftn-custom/zaobasicf.c
Examining data/petsc-3.14.1+dfsg1/src/vec/is/ao/impls/basic/aobasic.c
Examining data/petsc-3.14.1+dfsg1/src/vec/is/ao/impls/memscalable/aomemscalable.c
Examining data/petsc-3.14.1+dfsg1/src/vec/is/ao/tests/ex7.c
Examining data/petsc-3.14.1+dfsg1/src/vec/is/ao/tests/ex4.c
Examining data/petsc-3.14.1+dfsg1/src/vec/is/ao/tests/ex5.c
Examining data/petsc-3.14.1+dfsg1/src/vec/is/ao/tests/ex3d/ex3.cxx
Examining data/petsc-3.14.1+dfsg1/src/vec/is/ao/tests/ex1.c
Examining data/petsc-3.14.1+dfsg1/src/vec/is/ao/tests/ex2.c
Examining data/petsc-3.14.1+dfsg1/src/vec/is/ao/aoimpl.h
Examining data/petsc-3.14.1+dfsg1/src/vec/is/tests/ex3.c
Examining data/petsc-3.14.1+dfsg1/src/vec/is/tests/ex1.c
Examining data/petsc-3.14.1+dfsg1/src/vec/is/tests/ex2.c
Examining data/petsc-3.14.1+dfsg1/src/vec/is/section/interface/ftn-auto/sectionf.c
Examining data/petsc-3.14.1+dfsg1/src/vec/is/section/interface/f90-custom/zvsectionisf90.c
Examining data/petsc-3.14.1+dfsg1/src/vec/is/section/interface/ftn-custom/zsectionf.c
Examining data/petsc-3.14.1+dfsg1/src/vec/is/section/interface/section.c
Examining data/petsc-3.14.1+dfsg1/src/vec/is/sf/interface/ftn-auto/sff.c
Examining data/petsc-3.14.1+dfsg1/src/vec/is/sf/interface/sftype.c
Examining data/petsc-3.14.1+dfsg1/src/vec/is/sf/interface/sfregi.c
Examining data/petsc-3.14.1+dfsg1/src/vec/is/sf/interface/sf.c
Examining data/petsc-3.14.1+dfsg1/src/vec/is/sf/interface/ftn-custom/zsf.c
Examining data/petsc-3.14.1+dfsg1/src/vec/is/sf/interface/dlregissf.c
Examining data/petsc-3.14.1+dfsg1/src/vec/is/sf/impls/window/sfwindow.c
Examining data/petsc-3.14.1+dfsg1/src/vec/is/sf/impls/basic/sfbasic.h
Examining data/petsc-3.14.1+dfsg1/src/vec/is/sf/impls/basic/sfbasic.c
Examining data/petsc-3.14.1+dfsg1/src/vec/is/sf/impls/basic/gather/sfgather.c
Examining data/petsc-3.14.1+dfsg1/src/vec/is/sf/impls/basic/gatherv/sfgatherv.h
Examining data/petsc-3.14.1+dfsg1/src/vec/is/sf/impls/basic/gatherv/sfgatherv.c
Examining data/petsc-3.14.1+dfsg1/src/vec/is/sf/impls/basic/sfpack.h
Examining data/petsc-3.14.1+dfsg1/src/vec/is/sf/impls/basic/allgather/sfallgather.h
Examining data/petsc-3.14.1+dfsg1/src/vec/is/sf/impls/basic/allgather/sfallgather.c
Examining data/petsc-3.14.1+dfsg1/src/vec/is/sf/impls/basic/kokkos/sfkok.kokkos.cxx
Examining data/petsc-3.14.1+dfsg1/src/vec/is/sf/impls/basic/sfpack.c
Examining data/petsc-3.14.1+dfsg1/src/vec/is/sf/impls/basic/allgatherv/sfallgatherv.c
Examining data/petsc-3.14.1+dfsg1/src/vec/is/sf/impls/basic/allgatherv/sfallgatherv.h
Examining data/petsc-3.14.1+dfsg1/src/vec/is/sf/impls/basic/neighbor/sfneighbor.c
Examining data/petsc-3.14.1+dfsg1/src/vec/is/sf/impls/basic/alltoall/sfalltoall.c
Examining data/petsc-3.14.1+dfsg1/src/vec/is/sf/tests/ex3.c
Examining data/petsc-3.14.1+dfsg1/src/vec/is/sf/tests/ex4.c
Examining data/petsc-3.14.1+dfsg1/src/vec/is/sf/tests/ex5.c
Examining data/petsc-3.14.1+dfsg1/src/vec/is/sf/tests/ex1.c
Examining data/petsc-3.14.1+dfsg1/src/vec/is/sf/tests/ex2.c
Examining data/petsc-3.14.1+dfsg1/src/vec/is/sf/tutorials/ex3.c
Examining data/petsc-3.14.1+dfsg1/src/vec/is/sf/tutorials/ex1.c
Examining data/petsc-3.14.1+dfsg1/src/vec/is/sf/tutorials/ex2.c
Examining data/petsc-3.14.1+dfsg1/src/vec/vscat/interface/ftn-auto/vscreatef.c
Examining data/petsc-3.14.1+dfsg1/src/vec/vscat/interface/ftn-auto/vscatfcef.c
Examining data/petsc-3.14.1+dfsg1/src/vec/vscat/interface/vscreate.c
Examining data/petsc-3.14.1+dfsg1/src/vec/vscat/interface/ftn-custom/zvscatfcef.c
Examining data/petsc-3.14.1+dfsg1/src/vec/vscat/interface/dlregisvecscat.c
Examining data/petsc-3.14.1+dfsg1/src/vec/vscat/interface/vscatfce.c
Examining data/petsc-3.14.1+dfsg1/src/vec/vscat/impls/mpi3/vpscat.h
Examining data/petsc-3.14.1+dfsg1/src/vec/vscat/impls/mpi3/vpscat.c
Examining data/petsc-3.14.1+dfsg1/src/vec/vscat/impls/vscat.c
Examining data/petsc-3.14.1+dfsg1/src/vec/vscat/impls/mpi1/vpscat_mpi1.h
Examining data/petsc-3.14.1+dfsg1/src/vec/vscat/impls/mpi1/vpscat_mpi1.c
Examining data/petsc-3.14.1+dfsg1/src/vec/vscat/impls/sf/vscatsf.c
Examining data/petsc-3.14.1+dfsg1/src/vec/vscat/impls/seq/seqvscat.c
Examining data/petsc-3.14.1+dfsg1/src/vec/vscat/tests/ex7.c
Examining data/petsc-3.14.1+dfsg1/src/vec/vscat/tests/ex3.c
Examining data/petsc-3.14.1+dfsg1/src/vec/vscat/tests/ex4.c
Examining data/petsc-3.14.1+dfsg1/src/vec/vscat/tests/ex5.c
Examining data/petsc-3.14.1+dfsg1/src/vec/vscat/tests/ex9.c
Examining data/petsc-3.14.1+dfsg1/src/vec/vscat/tests/ex1.c
Examining data/petsc-3.14.1+dfsg1/src/vec/vscat/tests/ex6.c
Examining data/petsc-3.14.1+dfsg1/src/vec/vscat/tests/ex8.c
Examining data/petsc-3.14.1+dfsg1/src/vec/vscat/tests/ex2.c
Examining data/petsc-3.14.1+dfsg1/src/vec/vec/utils/ftn-auto/vsectionf.c
Examining data/petsc-3.14.1+dfsg1/src/vec/vec/utils/ftn-auto/combf.c
Examining data/petsc-3.14.1+dfsg1/src/vec/vec/utils/ftn-auto/projectionf.c
Examining data/petsc-3.14.1+dfsg1/src/vec/vec/utils/ftn-auto/veciof.c
Examining data/petsc-3.14.1+dfsg1/src/vec/vec/utils/ftn-auto/vinvf.c
Examining data/petsc-3.14.1+dfsg1/src/vec/vec/utils/vsection.c
Examining data/petsc-3.14.1+dfsg1/src/vec/vec/utils/vecio.c
Examining data/petsc-3.14.1+dfsg1/src/vec/vec/utils/vinv.c
Examining data/petsc-3.14.1+dfsg1/src/vec/vec/utils/f90-custom/zvsectionf90.c
Examining data/petsc-3.14.1+dfsg1/src/vec/vec/utils/tagger/interface/ftn-auto/taggerf.c
Examining data/petsc-3.14.1+dfsg1/src/vec/vec/utils/tagger/interface/dlregistagger.c
Examining data/petsc-3.14.1+dfsg1/src/vec/vec/utils/tagger/interface/tagger.c
Examining data/petsc-3.14.1+dfsg1/src/vec/vec/utils/tagger/interface/taggerregi.c
Examining data/petsc-3.14.1+dfsg1/src/vec/vec/utils/tagger/impls/absolute.c
Examining data/petsc-3.14.1+dfsg1/src/vec/vec/utils/tagger/impls/simple.h
Examining data/petsc-3.14.1+dfsg1/src/vec/vec/utils/tagger/impls/cdf.c
Examining data/petsc-3.14.1+dfsg1/src/vec/vec/utils/tagger/impls/simple.c
Examining data/petsc-3.14.1+dfsg1/src/vec/vec/utils/tagger/impls/andor.h
Examining data/petsc-3.14.1+dfsg1/src/vec/vec/utils/tagger/impls/or.c
Examining data/petsc-3.14.1+dfsg1/src/vec/vec/utils/tagger/impls/relative.c
Examining data/petsc-3.14.1+dfsg1/src/vec/vec/utils/tagger/impls/andor.c
Examining data/petsc-3.14.1+dfsg1/src/vec/vec/utils/tagger/impls/and.c
Examining data/petsc-3.14.1+dfsg1/src/vec/vec/utils/tagger/tutorials/ex1.c
Examining data/petsc-3.14.1+dfsg1/src/vec/vec/utils/projection.c
Examining data/petsc-3.14.1+dfsg1/src/vec/vec/utils/vecstash.c
Examining data/petsc-3.14.1+dfsg1/src/vec/vec/utils/vecs.c
Examining data/petsc-3.14.1+dfsg1/src/vec/vec/utils/vecglvis.c
Examining data/petsc-3.14.1+dfsg1/src/vec/vec/utils/vecmpitoseq.c
Examining data/petsc-3.14.1+dfsg1/src/vec/vec/utils/comb.c
Examining data/petsc-3.14.1+dfsg1/src/vec/vec/utils/matlab/gcreatev.c
Examining data/petsc-3.14.1+dfsg1/src/vec/vec/interface/ftn-auto/vectorf.c
Examining data/petsc-3.14.1+dfsg1/src/vec/vec/interface/ftn-auto/veccreatef.c
Examining data/petsc-3.14.1+dfsg1/src/vec/vec/interface/ftn-auto/rvectorf.c
Examining data/petsc-3.14.1+dfsg1/src/vec/vec/interface/vector.c
Examining data/petsc-3.14.1+dfsg1/src/vec/vec/interface/f90-custom/zvectorf90.c
Examining data/petsc-3.14.1+dfsg1/src/vec/vec/interface/dlregisvec.c
Examining data/petsc-3.14.1+dfsg1/src/vec/vec/interface/veccreate.c
Examining data/petsc-3.14.1+dfsg1/src/vec/vec/interface/ftn-custom/zvecregf.c
Examining data/petsc-3.14.1+dfsg1/src/vec/vec/interface/ftn-custom/zvectorf.c
Examining data/petsc-3.14.1+dfsg1/src/vec/vec/interface/vecregall.c
Examining data/petsc-3.14.1+dfsg1/src/vec/vec/interface/vecreg.c
Examining data/petsc-3.14.1+dfsg1/src/vec/vec/interface/rvector.c
Examining data/petsc-3.14.1+dfsg1/src/vec/vec/impls/dvecimpl.h
Examining data/petsc-3.14.1+dfsg1/src/vec/vec/impls/mpi/ftn-auto/commonmpvecf.c
Examining data/petsc-3.14.1+dfsg1/src/vec/vec/impls/mpi/ftn-auto/pbvecf.c
Examining data/petsc-3.14.1+dfsg1/src/vec/vec/impls/mpi/ftn-auto/vmpicrf.c
Examining data/petsc-3.14.1+dfsg1/src/vec/vec/impls/mpi/pvecimpl.h
Examining data/petsc-3.14.1+dfsg1/src/vec/vec/impls/mpi/mpiviennacl/mpiviennacl.cxx
Examining data/petsc-3.14.1+dfsg1/src/vec/vec/impls/mpi/pdvec.c
Examining data/petsc-3.14.1+dfsg1/src/vec/vec/impls/mpi/vmpicr.c
Examining data/petsc-3.14.1+dfsg1/src/vec/vec/impls/mpi/kokkos/mpikok.kokkos.cxx
Examining data/petsc-3.14.1+dfsg1/src/vec/vec/impls/mpi/ftn-custom/zpbvecf.c
Examining data/petsc-3.14.1+dfsg1/src/vec/vec/impls/mpi/pbvec.c
Examining data/petsc-3.14.1+dfsg1/src/vec/vec/impls/mpi/commonmpvec.c
Examining data/petsc-3.14.1+dfsg1/src/vec/vec/impls/mpi/pvec2.c
Examining data/petsc-3.14.1+dfsg1/src/vec/vec/impls/nest/ftn-auto/vecnestf.c
Examining data/petsc-3.14.1+dfsg1/src/vec/vec/impls/nest/vecnestimpl.h
Examining data/petsc-3.14.1+dfsg1/src/vec/vec/impls/nest/ftn-custom/zvecnestf.c
Examining data/petsc-3.14.1+dfsg1/src/vec/vec/impls/nest/vecnest.c
Examining data/petsc-3.14.1+dfsg1/src/vec/vec/impls/hypre/vhyp.h
Examining data/petsc-3.14.1+dfsg1/src/vec/vec/impls/hypre/vhyp.c
Examining data/petsc-3.14.1+dfsg1/src/vec/vec/impls/node/vecnodeimpl.h
Examining data/petsc-3.14.1+dfsg1/src/vec/vec/impls/node/vecnode.c
Examining data/petsc-3.14.1+dfsg1/src/vec/vec/impls/shared/ftn-auto/shvecf.c
Examining data/petsc-3.14.1+dfsg1/src/vec/vec/impls/shared/shvec.c
Examining data/petsc-3.14.1+dfsg1/src/vec/vec/impls/seq/ftn-auto/vseqcrf.c
Examining data/petsc-3.14.1+dfsg1/src/vec/vec/impls/seq/bvec2.c
Examining data/petsc-3.14.1+dfsg1/src/vec/vec/impls/seq/seqviennacl/viennaclvecimpl.h
Examining data/petsc-3.14.1+dfsg1/src/vec/vec/impls/seq/seqviennacl/vecviennacl.cxx
Examining data/petsc-3.14.1+dfsg1/src/vec/vec/impls/seq/vseqcr.c
Examining data/petsc-3.14.1+dfsg1/src/vec/vec/impls/seq/kokkos/veckok.kokkos.cxx
Examining data/petsc-3.14.1+dfsg1/src/vec/vec/impls/seq/kokkos/veckokkosimpl.hpp
Examining data/petsc-3.14.1+dfsg1/src/vec/vec/impls/seq/ftn-custom/zbvec2f.c
Examining data/petsc-3.14.1+dfsg1/src/vec/vec/impls/seq/seqcuda/ftn-auto/veccudaf.c
Examining data/petsc-3.14.1+dfsg1/src/vec/vec/impls/seq/seqcuda/veccuda.c
Examining data/petsc-3.14.1+dfsg1/src/vec/vec/impls/seq/ftn-kernels/fwaxpy.h
Examining data/petsc-3.14.1+dfsg1/src/vec/vec/impls/seq/ftn-kernels/fnorm.h
Examining data/petsc-3.14.1+dfsg1/src/vec/vec/impls/seq/ftn-kernels/fmdot.h
Examining data/petsc-3.14.1+dfsg1/src/vec/vec/impls/seq/ftn-kernels/fxtimesy.h
Examining data/petsc-3.14.1+dfsg1/src/vec/vec/impls/seq/ftn-kernels/faypx.h
Examining data/petsc-3.14.1+dfsg1/src/vec/vec/impls/seq/dvec2.c
Examining data/petsc-3.14.1+dfsg1/src/vec/vec/impls/seq/bvec3.c
Examining data/petsc-3.14.1+dfsg1/src/vec/vec/impls/seq/bvec1.c
Examining data/petsc-3.14.1+dfsg1/src/vec/vec/tests/ex58.c
Examining data/petsc-3.14.1+dfsg1/src/vec/vec/tests/ex48.c
Examining data/petsc-3.14.1+dfsg1/src/vec/vec/tests/ex28.c
Examining data/petsc-3.14.1+dfsg1/src/vec/vec/tests/ex22.c
Examining data/petsc-3.14.1+dfsg1/src/vec/vec/tests/ex11.c
Examining data/petsc-3.14.1+dfsg1/src/vec/vec/tests/ex33.c
Examining data/petsc-3.14.1+dfsg1/src/vec/vec/tests/ex56.c
Examining data/petsc-3.14.1+dfsg1/src/vec/vec/tests/ex7.c
Examining data/petsc-3.14.1+dfsg1/src/vec/vec/tests/ex46.c
Examining data/petsc-3.14.1+dfsg1/src/vec/vec/tests/ex43.c
Examining data/petsc-3.14.1+dfsg1/src/vec/vec/tests/ex41.c
Examining data/petsc-3.14.1+dfsg1/src/vec/vec/tests/ex35.c
Examining data/petsc-3.14.1+dfsg1/src/vec/vec/tests/ex3.c
Examining data/petsc-3.14.1+dfsg1/src/vec/vec/tests/ex17.c
Examining data/petsc-3.14.1+dfsg1/src/vec/vec/tests/ex4.c
Examining data/petsc-3.14.1+dfsg1/src/vec/vec/tests/ex5.c
Examining data/petsc-3.14.1+dfsg1/src/vec/vec/tests/ex55.c
Examining data/petsc-3.14.1+dfsg1/src/vec/vec/tests/ex9.c
Examining data/petsc-3.14.1+dfsg1/src/vec/vec/tests/ex44.c
Examining data/petsc-3.14.1+dfsg1/src/vec/vec/tests/ex25.c
Examining data/petsc-3.14.1+dfsg1/src/vec/vec/tests/ex49.c
Examining data/petsc-3.14.1+dfsg1/src/vec/vec/tests/ex10.c
Examining data/petsc-3.14.1+dfsg1/src/vec/vec/tests/ex37.c
Examining data/petsc-3.14.1+dfsg1/src/vec/vec/tests/ex47.c
Examining data/petsc-3.14.1+dfsg1/src/vec/vec/tests/ex13.c
Examining data/petsc-3.14.1+dfsg1/src/vec/vec/tests/ex1.c
Examining data/petsc-3.14.1+dfsg1/src/vec/vec/tests/ex6.c
Examining data/petsc-3.14.1+dfsg1/src/vec/vec/tests/ex60.c
Examining data/petsc-3.14.1+dfsg1/src/vec/vec/tests/ex29.c
Examining data/petsc-3.14.1+dfsg1/src/vec/vec/tests/ex42.c
Examining data/petsc-3.14.1+dfsg1/src/vec/vec/tests/ex50.c
Examining data/petsc-3.14.1+dfsg1/src/vec/vec/tests/ex21.c
Examining data/petsc-3.14.1+dfsg1/src/vec/vec/tests/ex24.c
Examining data/petsc-3.14.1+dfsg1/src/vec/vec/tests/ex8.c
Examining data/petsc-3.14.1+dfsg1/src/vec/vec/tests/ex59.cxx
Examining data/petsc-3.14.1+dfsg1/src/vec/vec/tests/ex40.c
Examining data/petsc-3.14.1+dfsg1/src/vec/vec/tests/ex23.c
Examining data/petsc-3.14.1+dfsg1/src/vec/vec/tests/ex45.c
Examining data/petsc-3.14.1+dfsg1/src/vec/vec/tests/ex36.c
Examining data/petsc-3.14.1+dfsg1/src/vec/vec/tests/ex34.c
Examining data/petsc-3.14.1+dfsg1/src/vec/vec/tests/ex15.c
Examining data/petsc-3.14.1+dfsg1/src/vec/vec/tests/ex18.c
Examining data/petsc-3.14.1+dfsg1/src/vec/vec/tests/ex12.c
Examining data/petsc-3.14.1+dfsg1/src/vec/vec/tests/ex57.cxx
Examining data/petsc-3.14.1+dfsg1/src/vec/vec/tests/ex2.c
Examining data/petsc-3.14.1+dfsg1/src/vec/vec/tests/ex51.c
Examining data/petsc-3.14.1+dfsg1/src/vec/vec/tests/ex38.c
Examining data/petsc-3.14.1+dfsg1/src/vec/vec/tests/ex39.c
Examining data/petsc-3.14.1+dfsg1/src/vec/vec/tests/ex14.c
Examining data/petsc-3.14.1+dfsg1/src/vec/vec/tests/ex16.c
Examining data/petsc-3.14.1+dfsg1/src/vec/vec/tutorials/ex11.c
Examining data/petsc-3.14.1+dfsg1/src/vec/vec/tutorials/ex7.c
Examining data/petsc-3.14.1+dfsg1/src/vec/vec/tutorials/ex43.c
Examining data/petsc-3.14.1+dfsg1/src/vec/vec/tutorials/ex3.c
Examining data/petsc-3.14.1+dfsg1/src/vec/vec/tutorials/ex31.c
Examining data/petsc-3.14.1+dfsg1/src/vec/vec/tutorials/ex5.c
Examining data/petsc-3.14.1+dfsg1/src/vec/vec/tutorials/ex9.c
Examining data/petsc-3.14.1+dfsg1/src/vec/vec/tutorials/ex10.c
Examining data/petsc-3.14.1+dfsg1/src/vec/vec/tutorials/ex19.c
Examining data/petsc-3.14.1+dfsg1/src/vec/vec/tutorials/ex1.c
Examining data/petsc-3.14.1+dfsg1/src/vec/vec/tutorials/ex6.c
Examining data/petsc-3.14.1+dfsg1/src/vec/vec/tutorials/ex42.c
Examining data/petsc-3.14.1+dfsg1/src/vec/vec/tutorials/ex42a.c
Examining data/petsc-3.14.1+dfsg1/src/vec/vec/tutorials/ex21.c
Examining data/petsc-3.14.1+dfsg1/src/vec/vec/tutorials/ex8.c
Examining data/petsc-3.14.1+dfsg1/src/vec/vec/tutorials/performance.c
Examining data/petsc-3.14.1+dfsg1/src/vec/vec/tutorials/ex15.c
Examining data/petsc-3.14.1+dfsg1/src/vec/vec/tutorials/ex18.c
Examining data/petsc-3.14.1+dfsg1/src/vec/vec/tutorials/ex12.c
Examining data/petsc-3.14.1+dfsg1/src/vec/vec/tutorials/ex2.c
Examining data/petsc-3.14.1+dfsg1/src/vec/vec/tutorials/ex16.c
Examining data/petsc-3.14.1+dfsg1/src/vec/pf/interface/ftn-auto/pff.c
Examining data/petsc-3.14.1+dfsg1/src/vec/pf/interface/pfall.c
Examining data/petsc-3.14.1+dfsg1/src/vec/pf/interface/ftn-custom/zpff.c
Examining data/petsc-3.14.1+dfsg1/src/vec/pf/interface/pf.c
Examining data/petsc-3.14.1+dfsg1/src/vec/pf/impls/string/cstring.c
Examining data/petsc-3.14.1+dfsg1/src/vec/pf/impls/constant/const.c
Examining data/petsc-3.14.1+dfsg1/src/vec/pf/impls/matlab/cmatlab.c
Examining data/petsc-3.14.1+dfsg1/src/vec/pf/pfimpl.h
Examining data/petsc-3.14.1+dfsg1/src/vec/f90-mod/petscvec.h
Examining data/petsc-3.14.1+dfsg1/src/vec/f90-mod/petscao.h
Examining data/petsc-3.14.1+dfsg1/src/vec/f90-mod/petscis.h
Examining data/petsc-3.14.1+dfsg1/src/benchmarks/PetscMemcpy.c
Examining data/petsc-3.14.1+dfsg1/src/benchmarks/PetscGetCPUTime.c
Examining data/petsc-3.14.1+dfsg1/src/benchmarks/PetscGetTime.c
Examining data/petsc-3.14.1+dfsg1/src/benchmarks/PetscMemzero.c
Examining data/petsc-3.14.1+dfsg1/src/benchmarks/MPI_Wtime.c
Examining data/petsc-3.14.1+dfsg1/src/benchmarks/Index.c
Examining data/petsc-3.14.1+dfsg1/src/benchmarks/PetscMemcmp.c
Examining data/petsc-3.14.1+dfsg1/src/benchmarks/PLogEvent.c
Examining data/petsc-3.14.1+dfsg1/src/benchmarks/streams/BasicVersion.c
Examining data/petsc-3.14.1+dfsg1/src/benchmarks/streams/OpenMPVersion.c
Examining data/petsc-3.14.1+dfsg1/src/benchmarks/streams/SSEVersion.c
Examining data/petsc-3.14.1+dfsg1/src/benchmarks/streams/MPIVersion.c
Examining data/petsc-3.14.1+dfsg1/src/benchmarks/PetscTime.c
Examining data/petsc-3.14.1+dfsg1/src/benchmarks/PetscVecNorm.c
Examining data/petsc-3.14.1+dfsg1/src/benchmarks/sizeof.c
Examining data/petsc-3.14.1+dfsg1/src/benchmarks/PetscMalloc.c

FINAL RESULTS:

data/petsc-3.14.1+dfsg1/src/sys/fileio/grpath.c:64:15:  [5] (race) readlink:
  This accepts filename arguments; if an attacker can move those files or
  change the link content, a race condition results. Also, it does not
  terminate with ASCII NUL. (CWE-362, CWE-20). Reconsider approach.
    n       = readlink(tmp1,tmp3,PETSC_MAX_PATH_LEN);
data/petsc-3.14.1+dfsg1/src/contrib/fun3d/comp/flow.c:2232:5:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
int system(const char *string);
data/petsc-3.14.1+dfsg1/src/contrib/fun3d/comp/flow.c:2331:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        sprintf(command, "cp mesh.vtk %s", fileName);
data/petsc-3.14.1+dfsg1/src/contrib/fun3d/comp/flow.c:2332:23:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
        if ((status = system(command)) < 0)
data/petsc-3.14.1+dfsg1/src/contrib/fun3d/comp/flow.c:2394:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        sprintf(command,"cat vec.vtk >> %s",fileName);
data/petsc-3.14.1+dfsg1/src/contrib/fun3d/comp/flow.c:2395:23:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
        if ((status = system(command)) < 0) printf("Error in appending the file vec.vtk\n");
data/petsc-3.14.1+dfsg1/src/dm/impls/moab/tests/ex2.cxx:96:18:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
  Mat            system;
data/petsc-3.14.1+dfsg1/src/dm/impls/moab/tests/ex2.cxx:122:34:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
  ierr = DMCreateMatrix(user.dm,&system);CHKERRQ(ierr);
data/petsc-3.14.1+dfsg1/src/dm/impls/moab/tests/ex2.cxx:137:22:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
  ierr = MatDestroy(&system);CHKERRQ(ierr);
data/petsc-3.14.1+dfsg1/src/dm/impls/plex/plexply.c:85:16:  [4] (buffer) sscanf:
  The scanf() family's %s operation, without a limit specification, permits
  buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a
  different input function.
        snum = sscanf(line, "%s %s", ntype, name);
data/petsc-3.14.1+dfsg1/src/dm/impls/plex/plexply.c:120:12:  [4] (buffer) sscanf:
  The scanf() family's %s operation, without a limit specification, permits
  buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a
  different input function.
    snum = sscanf(line, "property list %s %s %s", ntype, itype, name);
data/petsc-3.14.1+dfsg1/src/mat/impls/aij/seq/matlab/aijmatlab.c:146:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf(name,"_%s",_A);
data/petsc-3.14.1+dfsg1/src/mat/impls/aij/seq/matlab/aijmatlab.c:156:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf(name,"_%s",_A);
data/petsc-3.14.1+dfsg1/src/mat/tests/ex72mmio.c:118:9:  [4] (buffer) sscanf:
  The scanf() family's %s operation, without a limit specification, permits
  buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a
  different input function.
    if (sscanf(line, "%s %s %s %s %s", banner, mtx, crd, data_type,
data/petsc-3.14.1+dfsg1/src/mat/tests/ex72mmio.c:499:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf(mm_buffer,"%s %s %s %s", types[0], types[1], types[2], types[3]);
data/petsc-3.14.1+dfsg1/src/snes/tutorials/ex10d/ex10.c:199:9:  [4] (buffer) sscanf:
  The scanf() family's %s operation, without a limit specification, permits
  buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a
  different input function. If the scanf format is influenceable by an
  attacker, it's exploitable.
        sscanf(str,form,&dtmp);
data/petsc-3.14.1+dfsg1/src/snes/tutorials/network/water/waterreaddata.c:266:13:  [4] (buffer) sscanf:
  The scanf() family's %s operation, without a limit specification, permits
  buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a
  different input function.
    ndata = sscanf(line,"%d %d %d %lf %lf %lf %lf %s",&id,&node1,&node2,&v1,&v2,&v3,&v4,pipe->stat);
data/petsc-3.14.1+dfsg1/src/snes/tutorials/network/water/waterreaddata.c:293:13:  [4] (buffer) sscanf:
  The scanf() family's %s operation, without a limit specification, permits
  buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a
  different input function.
    ndata = sscanf(line,"%d %d %d %s %d",&id,&node1,&node2,pump->param,&paramid);if (ndata != 5) SETERRQ(PETSC_COMM_SELF,PETSC_ERR_FILE_READ,"Unable to read pump data");
data/petsc-3.14.1+dfsg1/src/sys/classes/random/tutorials/ex2.c:159:11:  [4] (buffer) fscanf:
  The scanf() family's %s operation, without a limit specification, permits
  buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a
  different input function.
      if (fscanf(fd,"%s%lf%lf",temp,&vv,&tt) != 3) SETERRQ(PETSC_COMM_SELF,PETSC_ERR_FILE_UNEXPECTED,"Badly formatted input file\n");
data/petsc-3.14.1+dfsg1/src/sys/classes/viewer/impls/ascii/filev.c:1056:44:  [4] (buffer) fscanf:
  The scanf() family's %s operation, without a limit specification, permits
  buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a
  different input function.
    else if (dtype == PETSC_STRING)  ret = fscanf(fd, "%s",  &(((char*)data)[i]));
data/petsc-3.14.1+dfsg1/src/sys/classes/viewer/impls/ascii/filev.c:1057:44:  [4] (buffer) fscanf:
  The scanf() family's %s operation, without a limit specification, permits
  buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a
  different input function. If the scanf format is influenceable by an
  attacker, it's exploitable.
    else if (dtype == PETSC_INT)     ret = fscanf(fd, "%" PetscInt_FMT,  &(((PetscInt*)data)[i]));
data/petsc-3.14.1+dfsg1/src/sys/classes/viewer/impls/ascii/filev.c:1059:44:  [4] (buffer) fscanf:
  The scanf() family's %s operation, without a limit specification, permits
  buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a
  different input function. If the scanf format is influenceable by an
  attacker, it's exploitable.
    else if (dtype == PETSC_INT64)   ret = fscanf(fd, "%" PetscInt64_FMT,  &(((PetscInt64*)data)[i]));
data/petsc-3.14.1+dfsg1/src/sys/classes/viewer/impls/mathematica/mathematica.c:8:9:  [4] (format) snprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
#define snprintf _snprintf
data/petsc-3.14.1+dfsg1/src/sys/classes/viewer/impls/mathematica/mathematica.c:8:18:  [4] (format) _snprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
#define snprintf _snprintf
data/petsc-3.14.1+dfsg1/src/sys/error/adebug.c:273:11:  [4] (shell) execvp:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
      if (execvp(args[0],(char**)args)  < 0) {
data/petsc-3.14.1+dfsg1/src/sys/error/adebug.c:281:11:  [4] (shell) execvp:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
      if (execvp(args[0],(char**)args)  < 0) {
data/petsc-3.14.1+dfsg1/src/sys/error/adebug.c:289:11:  [4] (shell) execvp:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
      if (execvp(args[0],(char**)args)  < 0) {
data/petsc-3.14.1+dfsg1/src/sys/error/adebug.c:297:11:  [4] (shell) execvp:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
      if (execvp(args[0],(char**)args)  < 0) {
data/petsc-3.14.1+dfsg1/src/sys/error/adebug.c:371:13:  [4] (shell) execvp:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
        if (execvp(args[0],(char**)args)  < 0) {
data/petsc-3.14.1+dfsg1/src/sys/error/adebug.c:377:13:  [4] (shell) execvp:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
        if (execvp(args[0],(char**)args)  < 0) {
data/petsc-3.14.1+dfsg1/src/sys/error/err.c:102:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
  sprintf(command,"cd %s; emacsclient --no-wait +%d %s\n",pdir,line,file);
data/petsc-3.14.1+dfsg1/src/sys/fileio/ftest.c:35:8:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
  if (!access(fname, m)) {
data/petsc-3.14.1+dfsg1/src/sys/fileio/mpiuopen.c:205:16:  [4] (shell) popen:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
    if (!(fd = popen(commandt,mode))) SETERRQ1(PETSC_COMM_SELF,PETSC_ERR_LIB,"Cannot run command %s",commandt);
data/petsc-3.14.1+dfsg1/src/sys/fileio/mprint.c:178:10:  [4] (format) vsnprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
  flen = vsnprintf(str,len,newformat,Argp);
data/petsc-3.14.1+dfsg1/src/sys/fileio/smatlab.c:52:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf(command,"echo \"delete ${HOMEDIRECTORY}/matlab/startup.m ; path(path,'${WORKINGDIRECTORY}'); %s  \" > ${HOMEDIRECTORY}/matlab/startup.m",script);
data/petsc-3.14.1+dfsg1/src/sys/info/verboseinfo.c:603:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
  sprintf(string, "[%d] %s(): ",urank,func);
data/petsc-3.14.1+dfsg1/src/sys/logging/plog.c:1121:26:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
  if (sname && sname[0]) sprintf(file, "%s.%d", sname, rank);
data/petsc-3.14.1+dfsg1/src/sys/objects/aoptions.c:611:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        sprintf(value,"%s",((char**)PetscOptionsObject->next->data)[0]);
data/petsc-3.14.1+dfsg1/src/sys/objects/aoptions.c:613:11:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
          sprintf(tmp,"%s",((char**)PetscOptionsObject->next->data)[j]);
data/petsc-3.14.1+dfsg1/src/sys/objects/options.c:1210:3:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
  strcpy(options->names[n],name);
data/petsc-3.14.1+dfsg1/src/sys/objects/options.c:1219:5:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
    strcpy(options->values[n],value);
data/petsc-3.14.1+dfsg1/src/sys/objects/pinit.c:1050:13:  [4] (buffer) sscanf:
  The scanf() family's %s operation, without a limit specification, permits
  buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a
  different input function. If the scanf format is influenceable by an
  attacker, it's exploitable.
     (void) sscanf(threads, "%" PetscInt_FMT,&PetscNumOMPThreads);
data/petsc-3.14.1+dfsg1/src/sys/totalview/tv_data_display.c:77:9:  [4] (format) snprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
#define snprintf _snprintf
data/petsc-3.14.1+dfsg1/src/sys/totalview/tv_data_display.c:77:18:  [4] (format) _snprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
#define snprintf _snprintf
data/petsc-3.14.1+dfsg1/src/sys/utils/str.c:354:10:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
  if (t) strcpy(s,t);
data/petsc-3.14.1+dfsg1/src/sys/utils/str.c:424:3:  [4] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused).
  strcat(s,t);
data/petsc-3.14.1+dfsg1/src/sys/webclient/client.c:14:3:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
  strcpy(buf,PASSWORD);
data/petsc-3.14.1+dfsg1/src/vec/pf/impls/string/cstring.c:75:21:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
  if (keeptmpfiles) sprintf(task,"cd %s ; mkdir ${USERNAME} ; cd ${USERNAME} ; \\cp -f ${PETSC_DIR}/src/pf/impls/string/makefile ./makefile ; ke  MIN=%d NOUT=%d petscdlib STRINGFUNCTION=\"%s\" ; sync\n",tmp,(int)pf->dimin,(int)pf->dimout,string);
data/petsc-3.14.1+dfsg1/src/vec/pf/impls/string/cstring.c:76:21:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
  else              sprintf(task,"cd %s ; mkdir ${USERNAME} ; cd ${USERNAME} ; \\cp -f ${PETSC_DIR}/src/pf/impls/string/makefile ./makefile ; make  MIN=%d NOUT=%d -f makefile petscdlib STRINGFUNCTION=\"%s\" ; \\rm -f makefile petscdlib.c libpetscdlib.a ;  sync\n",tmp,(int)pf->dimin,(int)pf->dimout,string);
data/petsc-3.14.1+dfsg1/src/vec/pf/impls/string/cstring.c:89:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
  sprintf(lib,"%s/%s/libpetscdlib",tmp,username);
data/petsc-3.14.1+dfsg1/src/benchmarks/streams/OpenMPVersion.c:121:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  env = getenv("OMP_NUM_THREADS");
data/petsc-3.14.1+dfsg1/src/dm/partitioner/impls/shell/ftn-auto/partshellf.c:47:85:  [3] (random) random:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
PETSC_EXTERN void  petscpartitionershellsetrandom_(PetscPartitioner part,PetscBool *random, int *__ierr)
data/petsc-3.14.1+dfsg1/src/dm/partitioner/impls/shell/ftn-auto/partshellf.c:50:45:  [3] (random) random:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
	(PetscPartitioner)PetscToPointer((part) ),*random);
data/petsc-3.14.1+dfsg1/src/dm/partitioner/impls/shell/ftn-auto/partshellf.c:52:85:  [3] (random) random:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
PETSC_EXTERN void  petscpartitionershellgetrandom_(PetscPartitioner part,PetscBool *random, int *__ierr)
data/petsc-3.14.1+dfsg1/src/dm/partitioner/impls/shell/ftn-auto/partshellf.c:55:44:  [3] (random) random:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
	(PetscPartitioner)PetscToPointer((part) ),random);
data/petsc-3.14.1+dfsg1/src/dm/partitioner/impls/shell/partshell.c:6:16:  [3] (random) random:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
  PetscBool    random;    /* Flag for a random partition */
data/petsc-3.14.1+dfsg1/src/dm/partitioner/impls/shell/partshell.c:36:10:  [3] (random) random:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
  if (p->random) {
data/petsc-3.14.1+dfsg1/src/dm/partitioner/impls/shell/partshell.c:64:48:  [3] (random) random:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
  ierr = PetscPartitionerShellGetRandom(part, &random);CHKERRQ(ierr);
data/petsc-3.14.1+dfsg1/src/dm/partitioner/impls/shell/partshell.c:65:125:  [3] (random) random:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
  ierr = PetscOptionsBool("-petscpartitioner_shell_random", "Use a random partition", "PetscPartitionerView", PETSC_FALSE, &random, &set);CHKERRQ(ierr);
data/petsc-3.14.1+dfsg1/src/dm/partitioner/impls/shell/partshell.c:66:57:  [3] (random) random:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
  if (set) {ierr = PetscPartitionerShellSetRandom(part, random);CHKERRQ(ierr);}
data/petsc-3.14.1+dfsg1/src/dm/partitioner/impls/shell/partshell.c:78:10:  [3] (random) random:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
  if (p->random) {
data/petsc-3.14.1+dfsg1/src/dm/partitioner/impls/shell/partshell.c:210:80:  [3] (random) random:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
PetscErrorCode PetscPartitionerShellSetRandom(PetscPartitioner part, PetscBool random)
data/petsc-3.14.1+dfsg1/src/dm/partitioner/impls/shell/partshell.c:216:15:  [3] (random) random:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
  p->random = random;
data/petsc-3.14.1+dfsg1/src/dm/partitioner/impls/shell/partshell.c:235:81:  [3] (random) random:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
PetscErrorCode PetscPartitionerShellGetRandom(PetscPartitioner part, PetscBool *random)
data/petsc-3.14.1+dfsg1/src/dm/partitioner/impls/shell/partshell.c:241:21:  [3] (random) random:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
  PetscValidPointer(random, 2);
data/petsc-3.14.1+dfsg1/src/dm/partitioner/impls/shell/partshell.c:242:16:  [3] (random) random:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
  *random = p->random;
data/petsc-3.14.1+dfsg1/src/ksp/ksp/tutorials/ex60.c:44:15:  [3] (random) random:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
  PetscRandom random;
data/petsc-3.14.1+dfsg1/src/ksp/ksp/tutorials/ex60.c:58:33:  [3] (random) random:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
  ierr = VecSetRandom(xout,ctx->random);CHKERRQ(ierr);
data/petsc-3.14.1+dfsg1/src/ksp/ksp/tutorials/ex60.c:72:51:  [3] (random) random:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
  ierr = PetscRandomCreate(PETSC_COMM_WORLD,&ctx->random);CHKERRQ(ierr);
data/petsc-3.14.1+dfsg1/src/ksp/ksp/tutorials/ex60.c:73:38:  [3] (random) random:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
  ierr = PetscRandomSetInterval(ctx->random,-1.0,1.0);CHKERRQ(ierr);
data/petsc-3.14.1+dfsg1/src/ksp/ksp/tutorials/ex60.c:84:35:  [3] (random) random:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
  ierr = PetscRandomDestroy(&ctx->random);CHKERRQ(ierr);
data/petsc-3.14.1+dfsg1/src/ksp/pc/impls/gamg/agg.c:857:18:  [3] (random) random:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
  PetscRandom    random;
data/petsc-3.14.1+dfsg1/src/ksp/pc/impls/gamg/agg.c:875:45:  [3] (random) random:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
  ierr = PetscRandomCreate(PETSC_COMM_SELF,&random);CHKERRQ(ierr);
data/petsc-3.14.1+dfsg1/src/ksp/pc/impls/gamg/agg.c:878:36:  [3] (random) random:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
    ierr = PetscRandomGetValueReal(random,&hashfact);CHKERRQ(ierr);
data/petsc-3.14.1+dfsg1/src/ksp/pc/impls/gamg/agg.c:888:30:  [3] (random) random:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
  ierr = PetscRandomDestroy(&random);CHKERRQ(ierr);
data/petsc-3.14.1+dfsg1/src/ksp/pc/impls/gamg/agg.c:1094:18:  [3] (random) random:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
  PetscRandom    random;
data/petsc-3.14.1+dfsg1/src/ksp/pc/impls/gamg/agg.c:1111:49:  [3] (random) random:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
      ierr = PetscRandomCreate(PETSC_COMM_SELF,&random);CHKERRQ(ierr);
data/petsc-3.14.1+dfsg1/src/ksp/pc/impls/gamg/agg.c:1112:30:  [3] (random) random:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
      ierr = VecSetRandom(bb,random);CHKERRQ(ierr);
data/petsc-3.14.1+dfsg1/src/ksp/pc/impls/gamg/agg.c:1113:34:  [3] (random) random:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
      ierr = PetscRandomDestroy(&random);CHKERRQ(ierr);
data/petsc-3.14.1+dfsg1/src/mat/tests/ex97.c:137:51:  [3] (random) random:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
  ierr = PetscOptionsGetBool(NULL,NULL,"-random",&random,NULL);CHKERRQ(ierr);
data/petsc-3.14.1+dfsg1/src/mat/tests/ex97.c:138:7:  [3] (random) random:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
  if (random) {
data/petsc-3.14.1+dfsg1/src/mat/tests/ex99.c:138:51:  [3] (random) random:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
  ierr = PetscOptionsGetBool(NULL,NULL,"-random",&random,NULL);CHKERRQ(ierr);
data/petsc-3.14.1+dfsg1/src/mat/tests/ex99.c:139:7:  [3] (random) random:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
  if (random) {
data/petsc-3.14.1+dfsg1/src/snes/tutorials/ex3k.kokkos.cxx:141:8:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  if (!getenv("KOKKOS_NUM_THREADS")) setenv("KOKKOS_NUM_THREADS","4",1);
data/petsc-3.14.1+dfsg1/src/sys/classes/random/impls/rand/rand.c:7:3:  [3] (random) srand:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
  srand(r->seed);
data/petsc-3.14.1+dfsg1/src/sys/classes/random/impls/rand48/rand48.c:16:47:  [3] (random) drand48:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
    *val = PetscRealPart(r->width)*(PetscReal)drand48() + PetscRealPart(r->low) + (PetscImaginaryPart(r->width)*(PetscReal)drand48() + PetscImaginaryPart(r->low)) * PETSC_i;
data/petsc-3.14.1+dfsg1/src/sys/classes/random/impls/rand48/rand48.c:16:124:  [3] (random) drand48:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
    *val = PetscRealPart(r->width)*(PetscReal)drand48() + PetscRealPart(r->low) + (PetscImaginaryPart(r->width)*(PetscReal)drand48() + PetscImaginaryPart(r->low)) * PETSC_i;
data/petsc-3.14.1+dfsg1/src/sys/classes/random/impls/rand48/rand48.c:18:23:  [3] (random) drand48:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
    *val = (PetscReal)drand48() + (PetscReal)drand48()*PETSC_i;
data/petsc-3.14.1+dfsg1/src/sys/classes/random/impls/rand48/rand48.c:18:46:  [3] (random) drand48:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
    *val = (PetscReal)drand48() + (PetscReal)drand48()*PETSC_i;
data/petsc-3.14.1+dfsg1/src/sys/classes/random/impls/rand48/rand48.c:21:34:  [3] (random) drand48:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
  if (r->iset) *val = r->width * drand48() + r->low;
data/petsc-3.14.1+dfsg1/src/sys/classes/random/impls/rand48/rand48.c:22:23:  [3] (random) drand48:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
  else         *val = drand48();
data/petsc-3.14.1+dfsg1/src/sys/classes/random/impls/rand48/rand48.c:31:47:  [3] (random) drand48:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
  if (r->iset) *val = PetscRealPart(r->width)*drand48() + PetscRealPart(r->low);
data/petsc-3.14.1+dfsg1/src/sys/classes/random/impls/rand48/rand48.c:32:23:  [3] (random) drand48:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
  else         *val = drand48();
data/petsc-3.14.1+dfsg1/src/sys/classes/random/impls/rand48/rand48.c:34:34:  [3] (random) drand48:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
  if (r->iset) *val = r->width * drand48() + r->low;
data/petsc-3.14.1+dfsg1/src/sys/classes/random/impls/rand48/rand48.c:35:23:  [3] (random) drand48:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
  else         *val = drand48();
data/petsc-3.14.1+dfsg1/src/sys/classes/random/tests/ex3.c:48:18:  [3] (random) random:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
  PetscRandom    random;
data/petsc-3.14.1+dfsg1/src/sys/classes/random/tests/ex3.c:73:46:  [3] (random) random:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
  ierr = PetscRandomCreate(PETSC_COMM_WORLD,&random);CHKERRQ(ierr);
data/petsc-3.14.1+dfsg1/src/sys/classes/random/tests/ex3.c:74:36:  [3] (random) random:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
  ierr = PetscRandomSetFromOptions(random);CHKERRQ(ierr);
data/petsc-3.14.1+dfsg1/src/sys/classes/random/tests/ex3.c:75:33:  [3] (random) random:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
  ierr = PetscRandomSetInterval(random,0.0,1.0);CHKERRQ(ierr);
data/petsc-3.14.1+dfsg1/src/sys/classes/random/tests/ex3.c:76:26:  [3] (random) random:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
  ierr = PetscRandomView(random,PETSC_VIEWER_STDOUT_WORLD);CHKERRQ(ierr);
data/petsc-3.14.1+dfsg1/src/sys/classes/random/tests/ex3.c:87:38:  [3] (random) random:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
      ierr = PetscRandomGetValueReal(random,&x);CHKERRQ(ierr);
data/petsc-3.14.1+dfsg1/src/sys/classes/random/tests/ex3.c:110:30:  [3] (random) random:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
  ierr = PetscRandomDestroy(&random);CHKERRQ(ierr);
data/petsc-3.14.1+dfsg1/src/sys/classes/viewer/impls/socket/matlab/sopen.c:166:11:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
    str = getenv("PETSC_VIEWER_SOCKET_PORT");
data/petsc-3.14.1+dfsg1/src/sys/dll/dlimpl.c:65:14:  [3] (misc) LoadLibrary:
  Ensure that the full path to the library is specified, or current directory
  may be used (CWE-829, CWE-20). Use registry entry or GetWindowsDirectory to
  find library path, if you aren't already.
  dlhandle = LoadLibrary(name);
data/petsc-3.14.1+dfsg1/src/sys/fileio/fwd.c:47:3:  [3] (buffer) getwd:
  This does not protect against buffer overflows by itself, so use with
  caution (CWE-120, CWE-20). Use getcwd instead.
  getwd(path);
data/petsc-3.14.1+dfsg1/src/sys/fileio/ghome.c:32:8:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  d1 = getenv("HOME");
data/petsc-3.14.1+dfsg1/src/sys/fileio/grpath.c:56:8:  [3] (buffer) realpath:
  This function does not protect against buffer overflows, and some
  implementations can overflow internally (CWE-120/CWE-785!). Ensure that the
  destination buffer is at least of size MAXPATHLEN, andto protect against
  implementation problems, the input argument should also be checked to
  ensure it is no larger than MAXPATHLEN.
  if (!realpath(path,rpath)) SETERRQ(PETSC_COMM_SELF,PETSC_ERR_LIB,"realpath()");
data/petsc-3.14.1+dfsg1/src/sys/objects/options.c:802:25:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
      eoptions = (char*)getenv("PETSC_OPTIONS");
data/petsc-3.14.1+dfsg1/src/sys/objects/options.c:824:25:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
      eoptions = (char*)getenv("PETSC_OPTIONS_YAML");
data/petsc-3.14.1+dfsg1/src/sys/objects/pinit.c:1046:26:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
    char      *threads = getenv("OMP_NUM_THREADS");
data/petsc-3.14.1+dfsg1/src/sys/utils/fuser.c:40:10:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  user = getenv("USER");
data/petsc-3.14.1+dfsg1/src/sys/utils/pdisplay.c:59:15:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
        str = getenv(name);
data/petsc-3.14.1+dfsg1/src/sys/utils/pdisplay.c:119:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv("DISPLAY");
data/petsc-3.14.1+dfsg1/include/petsc/private/bagimpl.h:12:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char          name[PETSC_BAG_NAME_LENGTH],help[PETSC_BAG_HELP_LENGTH];
data/petsc-3.14.1+dfsg1/include/petsc/private/bagimpl.h:23:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char         bagname[PETSC_BAG_NAME_LENGTH];
data/petsc-3.14.1+dfsg1/include/petsc/private/bagimpl.h:24:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char         baghelp[PETSC_BAG_HELP_LENGTH];
data/petsc-3.14.1+dfsg1/include/petsc/private/dmmbimpl.h:72:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char                    extra_read_options[PETSC_MAX_PATH_LEN];
data/petsc-3.14.1+dfsg1/include/petsc/private/dmmbimpl.h:73:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char                    extra_write_options[PETSC_MAX_PATH_LEN];
data/petsc-3.14.1+dfsg1/include/petsc/private/dmnetworkimpl.h:30:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char     name[32-sizeof(PetscInt)];
data/petsc-3.14.1+dfsg1/include/petsc/private/dmswarmimpl.h:35:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char      vec_field_name[PETSC_MAX_PATH_LEN];
data/petsc-3.14.1+dfsg1/include/petsc/private/linesearchimpl.h:61:24:  [2] (integer) atol:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
  PetscReal            atol;
data/petsc-3.14.1+dfsg1/include/petsc/private/logimpl.h:32:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char           name[64]; /* The object name */
data/petsc-3.14.1+dfsg1/include/petsc/private/logimpl.h:33:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char           info[64]; /* The information string */
data/petsc-3.14.1+dfsg1/include/petsc/private/logimpl.h:50:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
PETSC_EXTERN char           petsc_tracespace[128];
data/petsc-3.14.1+dfsg1/include/petsc/private/pcgamgimpl.h:50:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char       esteig_type[32];
data/petsc-3.14.1+dfsg1/include/petsc/private/petschpddm.h:47:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char                 cntl [5];
data/petsc-3.14.1+dfsg1/include/petsc/private/tsimpl.h:286:13:  [2] (integer) atol:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
  PetscReal atol,rtol;              /* Relative and absolute tolerance for local truncation error */
data/petsc-3.14.1+dfsg1/include/petsc/private/tsimpl.h:321:11:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    const char *name[16];        /* name of the scheme */
data/petsc-3.14.1+dfsg1/include/petscblaslapack.h:39:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char mesg[1024];
data/petsc-3.14.1+dfsg1/include/petscerror.h:682:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  const char      *function[PETSCSTACKSIZE];
data/petsc-3.14.1+dfsg1/include/petscerror.h:683:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  const char      *file[PETSCSTACKSIZE];
data/petsc-3.14.1+dfsg1/include/petscsys.h:1683:21:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    if (a <= b - n) memcpy(a,b,n);
data/petsc-3.14.1+dfsg1/include/petscsys.h:1685:7:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
      memcpy(a,b,(int)(b - a));
data/petsc-3.14.1+dfsg1/include/petscsys.h:1689:21:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    if (b <= a - n) memcpy(a,b,n);
data/petsc-3.14.1+dfsg1/include/petscsys.h:1691:7:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
      memcpy(b + n,b + (n - (int)(a - b)),(int)(a - b));
data/petsc-3.14.1+dfsg1/include/petscsys.h:1768:7:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
      memcpy((char*)(a),(char*)(b),n);
data/petsc-3.14.1+dfsg1/include/petscsys.h:1771:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    memcpy((char*)(a),(char*)(b),n);
data/petsc-3.14.1+dfsg1/src/benchmarks/streams/BasicVersion.c:86:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
static const char *label[4] = {"Copy:      ", "Scale:     ", "Add:       ", "Triad:     "};
data/petsc-3.14.1+dfsg1/src/benchmarks/streams/MPIVersion.c:81:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char           hostname[MPI_MAX_PROCESSOR_NAME];
data/petsc-3.14.1+dfsg1/src/benchmarks/streams/MPIVersion.c:187:12:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
      fd = fopen("flops","w");
data/petsc-3.14.1+dfsg1/src/benchmarks/streams/MPIVersion.c:192:12:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
      fd = fopen("flops","r");
data/petsc-3.14.1+dfsg1/src/benchmarks/streams/OpenMPVersion.c:204:10:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    fd = fopen("flops","w");
data/petsc-3.14.1+dfsg1/src/benchmarks/streams/OpenMPVersion.c:209:10:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    fd = fopen("flops","r");
data/petsc-3.14.1+dfsg1/src/benchmarks/streams/SSEVersion.c:72:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  const char     *label[4] = {"Copy", "Scale","Add", "Triad"};
data/petsc-3.14.1+dfsg1/src/benchmarks/streams/SSEVersion.c:163:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    memcpy(c,a,N*sizeof(double));
data/petsc-3.14.1+dfsg1/src/contrib/fun3d/comp/flow.c:507:12:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    fptr = fopen("history.out", "w");
data/petsc-3.14.1+dfsg1/src/contrib/fun3d/comp/flow.c:632:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char str[256];
data/petsc-3.14.1+dfsg1/src/contrib/fun3d/comp/flow.c:746:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char        mesh_file[PETSC_MAX_PATH_LEN];
data/petsc-3.14.1+dfsg1/src/contrib/fun3d/comp/flow.c:810:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      char      spart_file[PETSC_MAX_PATH_LEN],part_file[PETSC_MAX_PATH_LEN];
data/petsc-3.14.1+dfsg1/src/contrib/fun3d/comp/flow.c:816:9:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
        sprintf(part_file,"part_vec.part.%d",CommSize);
data/petsc-3.14.1+dfsg1/src/contrib/fun3d/comp/flow.c:819:14:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
      fptr = fopen(spart_file,"r");
data/petsc-3.14.1+dfsg1/src/contrib/fun3d/comp/flow.c:1615:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char part_name[PETSC_MAX_PATH_LEN];
data/petsc-3.14.1+dfsg1/src/contrib/fun3d/comp/flow.c:1616:5:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
    sprintf(part_name,"output.%d",rank);
data/petsc-3.14.1+dfsg1/src/contrib/fun3d/comp/flow.c:1617:13:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    fptr1 = fopen(part_name,"w");
data/petsc-3.14.1+dfsg1/src/contrib/fun3d/comp/flow.c:2245:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char        fileName[256],command[256];
data/petsc-3.14.1+dfsg1/src/contrib/fun3d/comp/flow.c:2296:31:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
    if (timeStep < 10)        sprintf(fileName,"flow000%d.bin",timeStep);
data/petsc-3.14.1+dfsg1/src/contrib/fun3d/comp/flow.c:2297:31:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
    else if (timeStep < 100)  sprintf(fileName,"flow00%d.bin",timeStep);
data/petsc-3.14.1+dfsg1/src/contrib/fun3d/comp/flow.c:2298:31:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
    else if (timeStep < 1000) sprintf(fileName,"flow0%d.bin",timeStep);
data/petsc-3.14.1+dfsg1/src/contrib/fun3d/comp/flow.c:2299:31:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
    else                      sprintf(fileName,"flow%d.bin",timeStep);
data/petsc-3.14.1+dfsg1/src/contrib/fun3d/comp/flow.c:2317:33:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
      if (timeStep < 10)        sprintf(fileName,"flow000%d.bin",timeStep);
data/petsc-3.14.1+dfsg1/src/contrib/fun3d/comp/flow.c:2318:33:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
      else if (timeStep < 100)  sprintf(fileName,"flow00%d.bin",timeStep);
data/petsc-3.14.1+dfsg1/src/contrib/fun3d/comp/flow.c:2319:33:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
      else if (timeStep < 1000) sprintf(fileName,"flow0%d.bin",timeStep);
data/petsc-3.14.1+dfsg1/src/contrib/fun3d/comp/flow.c:2320:33:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
      else                      sprintf(fileName,"flow%d.bin",timeStep);
data/petsc-3.14.1+dfsg1/src/contrib/fun3d/comp/flow.c:2327:35:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
        if (timeStep < 10)        sprintf(fileName,"flow000%d.vtk",timeStep);
data/petsc-3.14.1+dfsg1/src/contrib/fun3d/comp/flow.c:2328:35:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
        else if (timeStep < 100)  sprintf(fileName,"flow00%d.vtk",timeStep);
data/petsc-3.14.1+dfsg1/src/contrib/fun3d/comp/flow.c:2329:35:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
        else if (timeStep < 1000) sprintf(fileName,"flow0%d.vtk",timeStep);
data/petsc-3.14.1+dfsg1/src/contrib/fun3d/comp/flow.c:2330:35:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
        else                      sprintf(fileName,"flow%d.vtk",timeStep);
data/petsc-3.14.1+dfsg1/src/contrib/fun3d/comp/flow.c:2334:16:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
        fptr = fopen(fileName,"a");
data/petsc-3.14.1+dfsg1/src/contrib/fun3d/comp/flow.c:2339:17:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
        fptr1 = fopen("vec.vtk","w");
data/petsc-3.14.1+dfsg1/src/contrib/fun3d/comp/flow.c:2704:18:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
  if (!(output = fopen("frame.out","a"))) {
data/petsc-3.14.1+dfsg1/src/contrib/fun3d/incomp/flow.c:88:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char        pvtu_fname[PETSC_MAX_PATH_LEN] = "incomp";
data/petsc-3.14.1+dfsg1/src/contrib/fun3d/incomp/flow.c:471:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char mat_file[PETSC_MAX_PATH_LEN];
data/petsc-3.14.1+dfsg1/src/contrib/fun3d/incomp/flow.c:472:5:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
    sprintf(mat_file,"mat_bin.%d",tsCtx->itstep);
data/petsc-3.14.1+dfsg1/src/contrib/fun3d/incomp/flow.c:585:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char str[256];
data/petsc-3.14.1+dfsg1/src/contrib/fun3d/incomp/flow.c:676:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char        mesh_file[PETSC_MAX_PATH_LEN] = "";
data/petsc-3.14.1+dfsg1/src/contrib/fun3d/incomp/flow.c:740:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      char      spart_file[PETSC_MAX_PATH_LEN],part_file[PETSC_MAX_PATH_LEN];
data/petsc-3.14.1+dfsg1/src/contrib/fun3d/incomp/flow.c:746:9:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
        sprintf(part_file,"part_vec.part.%d",size);
data/petsc-3.14.1+dfsg1/src/contrib/fun3d/incomp/flow.c:749:14:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
      fptr = fopen(spart_file,"r");
data/petsc-3.14.1+dfsg1/src/contrib/fun3d/incomp/flow.c:1077:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      char part_file[PETSC_MAX_PATH_LEN];
data/petsc-3.14.1+dfsg1/src/contrib/fun3d/incomp/flow.c:1095:9:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
        sprintf(part_file,"hyb_part_vec.%d",2*size);
data/petsc-3.14.1+dfsg1/src/contrib/fun3d/incomp/flow.c:1096:14:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
        fp = fopen(part_file,"w");
data/petsc-3.14.1+dfsg1/src/contrib/fun3d/incomp/flow.c:1688:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char part_file[PETSC_MAX_PATH_LEN];
data/petsc-3.14.1+dfsg1/src/contrib/fun3d/incomp/flow.c:1689:5:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
    sprintf(part_file,"output.%d",rank);
data/petsc-3.14.1+dfsg1/src/contrib/fun3d/incomp/flow.c:1690:13:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    fptr1 = fopen(part_file,"w");
data/petsc-3.14.1+dfsg1/src/contrib/fun3d/incomp/flow.c:1817:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  memcpy(in,vin,PetscMin(len,3));
data/petsc-3.14.1+dfsg1/src/contrib/fun3d/incomp/flow.c:2192:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char              pvtu_fname[PETSC_MAX_PATH_LEN],vtu_fname[PETSC_MAX_PATH_LEN];
data/petsc-3.14.1+dfsg1/src/contrib/fun3d/incomp/flow.c:2755:18:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
  if (!(output = fopen("frame.out","a"))) SETERRQ(PETSC_COMM_SELF,1,"can't open frame.out");
data/petsc-3.14.1+dfsg1/src/dm/dt/dualspace/interface/dualspace.c:289:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char                        name[256];
data/petsc-3.14.1+dfsg1/src/dm/dt/fe/impls/opencl/feopencl.c:458:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char            errMsg[8192];
data/petsc-3.14.1+dfsg1/src/dm/dt/fe/interface/fe.c:238:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char           name[256];
data/petsc-3.14.1+dfsg1/src/dm/dt/fe/interface/fe.c:1908:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char            name[64];
data/petsc-3.14.1+dfsg1/src/dm/dt/fe/tests/ex1.c:87:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char           prefix[PETSC_MAX_PATH_LEN];
data/petsc-3.14.1+dfsg1/src/dm/dt/fe/tests/ex1.c:120:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char            composeStr[33] = {0};
data/petsc-3.14.1+dfsg1/src/dm/dt/fv/interface/fv.c:188:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char           name[256];
data/petsc-3.14.1+dfsg1/src/dm/dt/fv/interface/fv.c:1109:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char           name[256];
data/petsc-3.14.1+dfsg1/src/dm/dt/interface/dtds.c:300:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char           name[256];
data/petsc-3.14.1+dfsg1/src/dm/dt/interface/dtds.c:315:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char       optname[1024];
data/petsc-3.14.1+dfsg1/src/dm/dt/space/impls/sum/spacesum.c:257:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      char subspacePrefix[256];
data/petsc-3.14.1+dfsg1/src/dm/dt/space/impls/tensor/spacetensor.c:71:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        char tprefix[128];
data/petsc-3.14.1+dfsg1/src/dm/dt/space/interface/space.c:195:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char           name[256];
data/petsc-3.14.1+dfsg1/src/dm/dt/tests/ex4.c:79:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        char name[256];
data/petsc-3.14.1+dfsg1/src/dm/field/tutorials/ex1.c:230:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char            type[256] = DMPLEX;
data/petsc-3.14.1+dfsg1/src/dm/impls/composite/pack.c:1124:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      char       buf[256];
data/petsc-3.14.1+dfsg1/src/dm/impls/da/da1.c:70:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char      node[10];
data/petsc-3.14.1+dfsg1/src/dm/impls/da/da2.c:68:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char           node[10];
data/petsc-3.14.1+dfsg1/src/dm/impls/da/da3.c:84:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char           node[10];
data/petsc-3.14.1+dfsg1/src/dm/impls/da/da3.c:165:13:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
            sprintf(node,"%d",(int)(idx[base]));
data/petsc-3.14.1+dfsg1/src/dm/impls/da/dainterp.c:26:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char           const *types[3] = {MATAIJ,MATSEQAIJ,MATMPIAIJ};
data/petsc-3.14.1+dfsg1/src/dm/impls/da/gr2.c:99:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      char   value[16]; size_t len; PetscReal w;
data/petsc-3.14.1+dfsg1/src/dm/impls/da/gr2.c:739:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      char        fieldbuf[256];
data/petsc-3.14.1+dfsg1/src/dm/impls/da/grglvis.c:214:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      char       fecmesh[64];
data/petsc-3.14.1+dfsg1/src/dm/impls/da/grglvis.c:261:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char                      fec[64];
data/petsc-3.14.1+dfsg1/src/dm/impls/da/grvtk.c:128:11:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
          char       buf[256];
data/petsc-3.14.1+dfsg1/src/dm/impls/da/grvtk.c:352:11:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
          char       buf[256];
data/petsc-3.14.1+dfsg1/src/dm/impls/forest/forest.c:1451:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char                       stringBuffer[256];
data/petsc-3.14.1+dfsg1/src/dm/impls/forest/p4est/petsc_p4est_package.c:57:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char           logList[256];
data/petsc-3.14.1+dfsg1/src/dm/impls/forest/p4est/pforest.c:39:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
static const char *DMRefinePatternName[PATTERN_COUNT] = {"hash","fractal","corner","center"};
data/petsc-3.14.1+dfsg1/src/dm/impls/forest/p4est/pforest.c:4462:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char              stringBuffer[256];
data/petsc-3.14.1+dfsg1/src/dm/impls/forest/tests/ex2.c:151:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char           filename[PETSC_MAX_PATH_LEN];
data/petsc-3.14.1+dfsg1/src/dm/impls/forest/tutorials/ex1.c:10:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char           typeString[256] = {'\0'};
data/petsc-3.14.1+dfsg1/src/dm/impls/moab/dmmbio.cxx:8:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char           wopts_par[PETSC_MAX_PATH_LEN];
data/petsc-3.14.1+dfsg1/src/dm/impls/moab/dmmbio.cxx:9:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char           wopts_parid[PETSC_MAX_PATH_LEN];
data/petsc-3.14.1+dfsg1/src/dm/impls/moab/dmmbio.cxx:10:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char           wopts_dbg[PETSC_MAX_PATH_LEN];
data/petsc-3.14.1+dfsg1/src/dm/impls/moab/dmmbutil.cxx:768:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char           ropts_par[PETSC_MAX_PATH_LEN], ropts_pargh[PETSC_MAX_PATH_LEN];
data/petsc-3.14.1+dfsg1/src/dm/impls/moab/dmmbutil.cxx:769:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char           ropts_dbg[PETSC_MAX_PATH_LEN];
data/petsc-3.14.1+dfsg1/src/dm/impls/moab/tests/ex1.cxx:11:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char filename[PETSC_MAX_PATH_LEN];
data/petsc-3.14.1+dfsg1/src/dm/impls/moab/tests/ex1.cxx:12:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char tagname[PETSC_MAX_PATH_LEN];
data/petsc-3.14.1+dfsg1/src/dm/impls/moab/tests/ex2.cxx:14:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char          input_file[PETSC_MAX_PATH_LEN];   /* Import mesh from file */
data/petsc-3.14.1+dfsg1/src/dm/impls/moab/tests/ex2.cxx:15:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char          output_file[PETSC_MAX_PATH_LEN];   /* Output mesh file name */
data/petsc-3.14.1+dfsg1/src/dm/impls/moab/tests/ex2.cxx:18:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char          *fieldnames[PETSC_MAX_PATH_LEN]; /* Name of a defined field on the mesh */
data/petsc-3.14.1+dfsg1/src/dm/impls/moab/tests/ex3.cxx:16:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char          input_file[PETSC_MAX_PATH_LEN];   /* Import mesh from file */
data/petsc-3.14.1+dfsg1/src/dm/impls/moab/tests/ex3.cxx:17:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char          output_file[PETSC_MAX_PATH_LEN];   /* Output mesh file name */
data/petsc-3.14.1+dfsg1/src/dm/impls/network/networkmonitor.c:132:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char                 titleBuffer[64];
data/petsc-3.14.1+dfsg1/src/dm/impls/plex/ftn-auto/plexf.c:523:80:  [2] (integer) atol:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
PETSC_EXTERN void  dmplexcomputeorthogonalquality_(DM dm,PetscFV fv,PetscReal *atol,Vec *OrthQual,DMLabel *OrthQualLabel, int *__ierr)
data/petsc-3.14.1+dfsg1/src/dm/impls/plex/ftn-auto/plexf.c:527:34:  [2] (integer) atol:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
	(PetscFV)PetscToPointer((fv) ),*atol,OrthQual,OrthQualLabel);
data/petsc-3.14.1+dfsg1/src/dm/impls/plex/generators/tetgen/tetgenerate.cxx:104:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char args[32];
data/petsc-3.14.1+dfsg1/src/dm/impls/plex/generators/tetgen/tetgenerate.cxx:255:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char args[32];
data/petsc-3.14.1+dfsg1/src/dm/impls/plex/generators/triangle/trigenerate.c:148:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char args[32];
data/petsc-3.14.1+dfsg1/src/dm/impls/plex/generators/triangle/trigenerate.c:332:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char args[32];
data/petsc-3.14.1+dfsg1/src/dm/impls/plex/plex.c:126:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char               title[PETSC_MAX_PATH_LEN];
data/petsc-3.14.1+dfsg1/src/dm/impls/plex/plex.c:163:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char prefix[PETSC_MAX_PATH_LEN];
data/petsc-3.14.1+dfsg1/src/dm/impls/plex/plex.c:539:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  const char        *name[4];
data/petsc-3.14.1+dfsg1/src/dm/impls/plex/plex.c:664:11:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    const char  *defcolors[3]  = {"gray", "orange", "green"};
data/petsc-3.14.1+dfsg1/src/dm/impls/plex/plex.c:665:11:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    const char  *deflcolors[4] = {"blue", "cyan", "red", "magenta"};
data/petsc-3.14.1+dfsg1/src/dm/impls/plex/plex.c:666:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char         lname[PETSC_MAX_PATH_LEN];
data/petsc-3.14.1+dfsg1/src/dm/impls/plex/plex.c:1280:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char           name[PETSC_MAX_PATH_LEN];
data/petsc-3.14.1+dfsg1/src/dm/impls/plex/plex.c:7925:76:  [2] (integer) atol:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
PetscErrorCode DMPlexComputeOrthogonalQuality(DM dm, PetscFV fv, PetscReal atol, Vec *OrthQual, DMLabel *OrthQualLabel)
data/petsc-3.14.1+dfsg1/src/dm/impls/plex/plex.c:8047:17:  [2] (integer) atol:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
      if (OQ <= atol) {
data/petsc-3.14.1+dfsg1/src/dm/impls/plex/plexadapt.c:178:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char              genname[1024], *name = NULL;
data/petsc-3.14.1+dfsg1/src/dm/impls/plex/plexadapt.c:268:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char           bdLabelName[PETSC_MAX_PATH_LEN];
data/petsc-3.14.1+dfsg1/src/dm/impls/plex/plexcgns.c:89:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char basename[CGIO_MAX_NAME_LENGTH+1];
data/petsc-3.14.1+dfsg1/src/dm/impls/plex/plexcgns.c:90:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char buffer[CGIO_MAX_NAME_LENGTH+1];
data/petsc-3.14.1+dfsg1/src/dm/impls/plex/plexcreate.c:3523:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char            line[PETSC_MAX_PATH_LEN];
data/petsc-3.14.1+dfsg1/src/dm/impls/plex/plexexodusii.c:260:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char           ext_name[MAX_STR_LENGTH+1], var_name[MAX_STR_LENGTH+1];
data/petsc-3.14.1+dfsg1/src/dm/impls/plex/plexexodusii.c:262:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char          *suffix[5];
data/petsc-3.14.1+dfsg1/src/dm/impls/plex/plexexodusii.c:572:11:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    const char  *coordNames[3] = {"x", "y", "z"};
data/petsc-3.14.1+dfsg1/src/dm/impls/plex/plexexodusii.c:1197:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char title[PETSC_MAX_PATH_LEN+1];
data/petsc-3.14.1+dfsg1/src/dm/impls/plex/plexexodusii.c:1228:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char buffer[PETSC_MAX_PATH_LEN+1];
data/petsc-3.14.1+dfsg1/src/dm/impls/plex/plexexodusii.c:1241:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      char           elem_type[PETSC_MAX_PATH_LEN];
data/petsc-3.14.1+dfsg1/src/dm/impls/plex/plexexodusii.c:1262:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      char           elem_type[PETSC_MAX_PATH_LEN];
data/petsc-3.14.1+dfsg1/src/dm/impls/plex/plexexodusii.c:1387:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char fs_name[MAX_STR_LENGTH+1];
data/petsc-3.14.1+dfsg1/src/dm/impls/plex/plexfem.c:24:15:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        const char *comps[3] = {"A", "dmAux"};
data/petsc-3.14.1+dfsg1/src/dm/impls/plex/plexfem.c:59:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char            composeStr[33] = {0};
data/petsc-3.14.1+dfsg1/src/dm/impls/plex/plexfem.c:1282:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        char title[1024];
data/petsc-3.14.1+dfsg1/src/dm/impls/plex/plexfem.c:1390:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        char title[1024];
data/petsc-3.14.1+dfsg1/src/dm/impls/plex/plexfem.c:1535:11:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
          char title[1024];
data/petsc-3.14.1+dfsg1/src/dm/impls/plex/plexfem.c:3677:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char            composeStr[33] = {0};
data/petsc-3.14.1+dfsg1/src/dm/impls/plex/plexfluent.c:62:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char         cbuf[256];
data/petsc-3.14.1+dfsg1/src/dm/impls/plex/plexfluent.c:97:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char           buffer[PETSC_MAX_PATH_LEN];
data/petsc-3.14.1+dfsg1/src/dm/impls/plex/plexgenerate.c:162:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char              genname[1024];
data/petsc-3.14.1+dfsg1/src/dm/impls/plex/plexglvis.c:105:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      char        name[256];
data/petsc-3.14.1+dfsg1/src/dm/impls/plex/plexglvis.c:120:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        char         fec[64];
data/petsc-3.14.1+dfsg1/src/dm/impls/plex/plexglvis.c:182:13:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
            char comp[256];
data/petsc-3.14.1+dfsg1/src/dm/impls/plex/plexglvis.c:306:51:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
static PetscErrorCode GLVisCreateFE(PetscFE femIn,char name[32],PetscFE *fem)
data/petsc-3.14.1+dfsg1/src/dm/impls/plex/plexglvis.c:406:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char                 emark[64] = "",bmark[64] = "";
data/petsc-3.14.1+dfsg1/src/dm/impls/plex/plexglvis.c:444:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      char    name[32],fec_type[64];
data/petsc-3.14.1+dfsg1/src/dm/impls/plex/plexglvis.c:569:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      char        fec[64];
data/petsc-3.14.1+dfsg1/src/dm/impls/plex/plexgmsh.c:252:84:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
static PetscErrorCode GmshMatch(PETSC_UNUSED GmshFile *gmsh, const char Section[], char line[PETSC_MAX_PATH_LEN], PetscBool *match)
data/petsc-3.14.1+dfsg1/src/dm/impls/plex/plexgmsh.c:260:72:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
static PetscErrorCode GmshExpect(GmshFile *gmsh, const char Section[], char line[PETSC_MAX_PATH_LEN])
data/petsc-3.14.1+dfsg1/src/dm/impls/plex/plexgmsh.c:271:55:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
static PetscErrorCode GmshReadSection(GmshFile *gmsh, char line[PETSC_MAX_PATH_LEN])
data/petsc-3.14.1+dfsg1/src/dm/impls/plex/plexgmsh.c:290:83:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
static PetscErrorCode GmshReadEndSection(GmshFile *gmsh, const char EndSection[], char line[PETSC_MAX_PATH_LEN])
data/petsc-3.14.1+dfsg1/src/dm/impls/plex/plexgmsh.c:510:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char           line[PETSC_MAX_PATH_LEN];
data/petsc-3.14.1+dfsg1/src/dm/impls/plex/plexgmsh.c:542:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char           line[PETSC_MAX_PATH_LEN];
data/petsc-3.14.1+dfsg1/src/dm/impls/plex/plexgmsh.c:784:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char           line[PETSC_MAX_PATH_LEN];
data/petsc-3.14.1+dfsg1/src/dm/impls/plex/plexgmsh.c:1042:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char           line[PETSC_MAX_PATH_LEN];
data/petsc-3.14.1+dfsg1/src/dm/impls/plex/plexgmsh.c:1082:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char           line[PETSC_MAX_PATH_LEN], name[128+2], *p, *q;
data/petsc-3.14.1+dfsg1/src/dm/impls/plex/plexgmsh.c:1285:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char            name[32];
data/petsc-3.14.1+dfsg1/src/dm/impls/plex/plexgmsh.c:1381:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char        line[PETSC_MAX_PATH_LEN];
data/petsc-3.14.1+dfsg1/src/dm/impls/plex/plexgmsh.c:1481:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char      line[PETSC_MAX_PATH_LEN];
data/petsc-3.14.1+dfsg1/src/dm/impls/plex/plexhdf5.c:157:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      char        subname[PETSC_MAX_PATH_LEN];
data/petsc-3.14.1+dfsg1/src/dm/impls/plex/plexhdf5.c:521:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      char group[PETSC_MAX_PATH_LEN];
data/petsc-3.14.1+dfsg1/src/dm/impls/plex/plexhdf5.c:723:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char            group[PETSC_MAX_PATH_LEN];
data/petsc-3.14.1+dfsg1/src/dm/impls/plex/plexhdf5.c:837:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char            group[PETSC_MAX_PATH_LEN];
data/petsc-3.14.1+dfsg1/src/dm/impls/plex/plexhdf5xdmf.c:66:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char            topo_path[PETSC_MAX_PATH_LEN]="/viz/topology/cells", topo_name[PETSC_MAX_PATH_LEN];
data/petsc-3.14.1+dfsg1/src/dm/impls/plex/plexhdf5xdmf.c:67:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char            geom_path[PETSC_MAX_PATH_LEN]="/geometry/vertices",  geom_name[PETSC_MAX_PATH_LEN];
data/petsc-3.14.1+dfsg1/src/dm/impls/plex/plexmed.c:38:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char           *axisname, *unitname, meshname[MED_NAME_SIZE+1], geotypename[MED_NAME_SIZE+1];
data/petsc-3.14.1+dfsg1/src/dm/impls/plex/plexmed.c:39:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char            meshdescription[MED_COMMENT_SIZE+1], dtunit[MED_SNAME_SIZE+1];
data/petsc-3.14.1+dfsg1/src/dm/impls/plex/plexply.c:26:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char            line[PETSC_MAX_PATH_LEN], ntype[16], itype[16], name[1024], vtype[16];
data/petsc-3.14.1+dfsg1/src/dm/impls/plex/plexply.c:181:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char     ibuf[1];
data/petsc-3.14.1+dfsg1/src/dm/impls/plex/plexsubmesh.c:2113:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char        sname[PETSC_MAX_PATH_LEN];
data/petsc-3.14.1+dfsg1/src/dm/impls/plex/plexvtk.c:331:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char formatString[8];
data/petsc-3.14.1+dfsg1/src/dm/impls/plex/plexvtk.c:514:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      char         namebuf[256];
data/petsc-3.14.1+dfsg1/src/dm/impls/plex/plexvtk.c:603:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      char         namebuf[256];
data/petsc-3.14.1+dfsg1/src/dm/impls/plex/plexvtu.c:267:11:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
          char       buf[256];
data/petsc-3.14.1+dfsg1/src/dm/impls/plex/plexvtu.c:309:15:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
              char finalname[256];
data/petsc-3.14.1+dfsg1/src/dm/impls/plex/plexvtu.c:366:11:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
          char       buf[256];
data/petsc-3.14.1+dfsg1/src/dm/impls/plex/plexvtu.c:389:15:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
              char finalname[256];
data/petsc-3.14.1+dfsg1/src/dm/impls/plex/tests/ex1.c:24:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char          filename[PETSC_MAX_PATH_LEN];    /* Import mesh from file */
data/petsc-3.14.1+dfsg1/src/dm/impls/plex/tests/ex1.c:25:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char          bdfilename[PETSC_MAX_PATH_LEN];  /* Import mesh boundary from file */
data/petsc-3.14.1+dfsg1/src/dm/impls/plex/tests/ex1.c:26:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char          extfilename[PETSC_MAX_PATH_LEN]; /* Import 2D mesh to be extruded from file */
data/petsc-3.14.1+dfsg1/src/dm/impls/plex/tests/ex1.c:40:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  const char       *dShapes[4] = {"box", "cylinder", "sphere", "ball"};
data/petsc-3.14.1+dfsg1/src/dm/impls/plex/tests/ex11.c:190:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char             filename[2048];
data/petsc-3.14.1+dfsg1/src/dm/impls/plex/tests/ex12.c:33:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char      filename[PETSC_MAX_PATH_LEN]; /* Import mesh from file */
data/petsc-3.14.1+dfsg1/src/dm/impls/plex/tests/ex13.c:9:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char      filename[PETSC_MAX_PATH_LEN]; /* Import mesh from file */
data/petsc-3.14.1+dfsg1/src/dm/impls/plex/tests/ex14.c:10:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char      filename[2048]; /* The optional mesh file */
data/petsc-3.14.1+dfsg1/src/dm/impls/plex/tests/ex17.c:10:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char      filename[PETSC_MAX_PATH_LEN]; /* Import mesh from file */
data/petsc-3.14.1+dfsg1/src/dm/impls/plex/tests/ex18.c:210:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char       filename[PETSC_MAX_PATH_LEN]; /* Import mesh from file */
data/petsc-3.14.1+dfsg1/src/dm/impls/plex/tests/ex18.c:247:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  const char    *interpTypes[4]  = {"none", "create", "after_create", "after_distribute"};
data/petsc-3.14.1+dfsg1/src/dm/impls/plex/tests/ex18.c:875:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char           coordstr[128];
data/petsc-3.14.1+dfsg1/src/dm/impls/plex/tests/ex18.c:1120:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char              prefix_opt[512];
data/petsc-3.14.1+dfsg1/src/dm/impls/plex/tests/ex18.c:1389:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      char            coordstr[128];
data/petsc-3.14.1+dfsg1/src/dm/impls/plex/tests/ex18.c:1397:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      char            entityType[16];
data/petsc-3.14.1+dfsg1/src/dm/impls/plex/tests/ex19.c:11:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char      mshNam[PETSC_MAX_PATH_LEN];  /* Name of the mesh filename if any */
data/petsc-3.14.1+dfsg1/src/dm/impls/plex/tests/ex19.c:13:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char      bdLabel[PETSC_MAX_PATH_LEN]; /* Name of the label marking boundary facets */
data/petsc-3.14.1+dfsg1/src/dm/impls/plex/tests/ex22.c:68:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      char   strBuf[BUFSIZ] = {'\0'};
data/petsc-3.14.1+dfsg1/src/dm/impls/plex/tests/ex23.c:210:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char              lname[PETSC_MAX_PATH_LEN];
data/petsc-3.14.1+dfsg1/src/dm/impls/plex/tests/ex23.c:255:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char              lname[PETSC_MAX_PATH_LEN];
data/petsc-3.14.1+dfsg1/src/dm/impls/plex/tests/ex23.c:302:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char              lname[PETSC_MAX_PATH_LEN];
data/petsc-3.14.1+dfsg1/src/dm/impls/plex/tests/ex24.c:21:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char      filename[PETSC_MAX_PATH_LEN]; /* Import mesh from file */
data/petsc-3.14.1+dfsg1/src/dm/impls/plex/tests/ex24.c:22:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char      partitioning[64];
data/petsc-3.14.1+dfsg1/src/dm/impls/plex/tests/ex24.c:23:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char      repartitioning[64];
data/petsc-3.14.1+dfsg1/src/dm/impls/plex/tests/ex25.c:15:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char      filename[PETSC_MAX_PATH_LEN]; /* Import mesh from file */
data/petsc-3.14.1+dfsg1/src/dm/impls/plex/tests/ex26.c:23:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char              ifilename[PETSC_MAX_PATH_LEN], ofilename[PETSC_MAX_PATH_LEN];
data/petsc-3.14.1+dfsg1/src/dm/impls/plex/tests/ex26.c:180:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char    *nodalVarName[4];
data/petsc-3.14.1+dfsg1/src/dm/impls/plex/tests/ex26.c:181:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char    *zonalVarName[6];
data/petsc-3.14.1+dfsg1/src/dm/impls/plex/tests/ex28.c:16:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char            filein[PETSC_MAX_PATH_LEN];
data/petsc-3.14.1+dfsg1/src/dm/impls/plex/tests/ex29.c:14:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char      filename[PETSC_MAX_PATH_LEN];    /* Import mesh from file */
data/petsc-3.14.1+dfsg1/src/dm/impls/plex/tests/ex30.c:11:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char           datafile[PETSC_MAX_PATH_LEN];
data/petsc-3.14.1+dfsg1/src/dm/impls/plex/tests/ex32.c:12:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char      filename[PETSC_MAX_PATH_LEN]; /* Import mesh from file */
data/petsc-3.14.1+dfsg1/src/dm/impls/plex/tests/ex33.c:13:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char        filename[PETSC_MAX_PATH_LEN]; /* Import mesh from file */
data/petsc-3.14.1+dfsg1/src/dm/impls/plex/tests/ex34.c:6:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char      filename[PETSC_MAX_PATH_LEN]; /* Import mesh from file */
data/petsc-3.14.1+dfsg1/src/dm/impls/plex/tests/ex37.c:10:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char filename[PETSC_MAX_PATH_LEN];
data/petsc-3.14.1+dfsg1/src/dm/impls/plex/tests/ex7.c:151:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char      filename[PETSC_MAX_PATH_LEN]; /* Import mesh from file */
data/petsc-3.14.1+dfsg1/src/dm/impls/plex/tests/ex8.c:10:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char      filename[PETSC_MAX_PATH_LEN]; /* Import mesh from file */
data/petsc-3.14.1+dfsg1/src/dm/impls/plex/tests/ex8.c:31:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  const char    *runTypes[3] = {"reference", "file", "display"};
data/petsc-3.14.1+dfsg1/src/dm/impls/plex/tests/ex99.c:94:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char              gmsh[PETSC_MAX_PATH_LEN] = PETSC_GMSH_EXE;
data/petsc-3.14.1+dfsg1/src/dm/impls/plex/tests/ex99.c:95:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char              tag[PETSC_MAX_PATH_LEN], path[PETSC_MAX_PATH_LEN];
data/petsc-3.14.1+dfsg1/src/dm/impls/plex/tests/ex99.c:96:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char              geo[PETSC_MAX_PATH_LEN], geodir[PETSC_MAX_PATH_LEN] = ".";
data/petsc-3.14.1+dfsg1/src/dm/impls/plex/tests/ex99.c:97:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char              out[PETSC_MAX_PATH_LEN], outdir[PETSC_MAX_PATH_LEN] = ".";
data/petsc-3.14.1+dfsg1/src/dm/impls/plex/tests/ex99.c:98:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char              cmd[PETSC_MAX_PATH_LEN*4];
data/petsc-3.14.1+dfsg1/src/dm/impls/plex/tutorials/ex2.c:14:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char      filename[PETSC_MAX_PATH_LEN]; /* Mesh filename */
data/petsc-3.14.1+dfsg1/src/dm/impls/plex/tutorials/ex5.c:11:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char      filename[PETSC_MAX_PATH_LEN]; /* Mesh filename */
data/petsc-3.14.1+dfsg1/src/dm/impls/plex/tutorials/ex9.c:6:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char      filename[PETSC_MAX_PATH_LEN]; /* Import mesh from file */
data/petsc-3.14.1+dfsg1/src/dm/impls/stag/tutorials/ex6.c:783:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      char        filename[PETSC_MAX_PATH_LEN];
data/petsc-3.14.1+dfsg1/src/dm/impls/stag/tutorials/ex6.c:799:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      char        filename[PETSC_MAX_PATH_LEN];
data/petsc-3.14.1+dfsg1/src/dm/impls/stag/tutorials/ex6.c:888:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char        filename[PETSC_MAX_PATH_LEN];
data/petsc-3.14.1+dfsg1/src/dm/impls/swarm/swarm.c:152:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char           name[PETSC_MAX_PATH_LEN];
data/petsc-3.14.1+dfsg1/src/dm/impls/swarm/swarm.c:178:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char name[PETSC_MAX_PATH_LEN];
data/petsc-3.14.1+dfsg1/src/dm/impls/swarm/swarm.c:202:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char           name[PETSC_MAX_PATH_LEN];
data/petsc-3.14.1+dfsg1/src/dm/impls/swarm/swarm.c:225:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char           name[PETSC_MAX_PATH_LEN];
data/petsc-3.14.1+dfsg1/src/dm/impls/swarm/swarmpic_view.c:82:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char    viewername_minus_ext[PETSC_MAX_PATH_LEN];
data/petsc-3.14.1+dfsg1/src/dm/impls/swarm/swarmpic_view.c:96:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char           datafile[PETSC_MAX_PATH_LEN];
data/petsc-3.14.1+dfsg1/src/dm/impls/swarm/swarmpic_view.c:205:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char           datafile[PETSC_MAX_PATH_LEN];
data/petsc-3.14.1+dfsg1/src/dm/impls/swarm/swarmpic_view.c:209:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char           fieldname[PETSC_MAX_PATH_LEN];
data/petsc-3.14.1+dfsg1/src/dm/impls/swarm/swarmpic_view.c:271:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char           datafile[PETSC_MAX_PATH_LEN];
data/petsc-3.14.1+dfsg1/src/dm/impls/swarm/swarmpic_view.c:275:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char           fieldname[PETSC_MAX_PATH_LEN];
data/petsc-3.14.1+dfsg1/src/dm/impls/swarm/tests/ex1.c:13:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char      mshNam[PETSC_MAX_PATH_LEN]; /* Name of the mesh filename if any */
data/petsc-3.14.1+dfsg1/src/dm/impls/swarm/tests/ex2.c:10:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char      meshFilename[PETSC_MAX_PATH_LEN]; /* Name of the mesh filename if any */
data/petsc-3.14.1+dfsg1/src/dm/impls/swarm/tests/ex2.c:53:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char           fstring[PETSC_MAX_PATH_LEN] = "linear";
data/petsc-3.14.1+dfsg1/src/dm/impls/swarm/tests/ex4.c:12:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char      filename[PETSC_MAX_PATH_LEN]; /* Name of the mesh filename if any */
data/petsc-3.14.1+dfsg1/src/dm/impls/swarm/tests/ex5.c:12:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char      filename[PETSC_MAX_PATH_LEN]; /* Name of the mesh filename if any */
data/petsc-3.14.1+dfsg1/src/dm/impls/swarm/tests/ex6.c:12:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char      filename[PETSC_MAX_PATH_LEN]; /* Name of the mesh filename if any */
data/petsc-3.14.1+dfsg1/src/dm/interface/dlregisdmdm.c:47:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char           logList[256];
data/petsc-3.14.1+dfsg1/src/dm/interface/dlregisdmdm.c:183:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char           logList[256];
data/petsc-3.14.1+dfsg1/src/dm/interface/dlregisdmdm.c:258:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char           logList[256];
data/petsc-3.14.1+dfsg1/src/dm/interface/dlregisdmdm.c:326:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char           logList[256];
data/petsc-3.14.1+dfsg1/src/dm/interface/dm.c:824:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char           typeName[256];
data/petsc-3.14.1+dfsg1/src/dm/interface/dm.c:920:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char     type[256];
data/petsc-3.14.1+dfsg1/src/dm/interface/dm.c:3721:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char           convname[256];
data/petsc-3.14.1+dfsg1/src/dm/interface/dm.c:3889:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char     type[256];
data/petsc-3.14.1+dfsg1/src/dm/label/tutorials/ex1.c:44:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char           filename[PETSC_MAX_PATH_LEN]="";
data/petsc-3.14.1+dfsg1/src/dm/partitioner/impls/chaco/partchaco.c:59:68:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
                       float *ewgts, float *x, float *y, float *z, char *outassignname,
data/petsc-3.14.1+dfsg1/src/dm/partitioner/impls/chaco/partchaco.c:60:24:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
                       char *outfilename, short *assignment, int architecture, int ndims_tot,
data/petsc-3.14.1+dfsg1/src/dm/partitioner/impls/chaco/partchaco.c:143:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char msgLog[10000];
data/petsc-3.14.1+dfsg1/src/dm/partitioner/interface/partitioner.c:169:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char           name[256];
data/petsc-3.14.1+dfsg1/src/dm/partitioner/interface/partitionerreg.c:118:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char           logList[256];
data/petsc-3.14.1+dfsg1/src/dm/partitioner/tests/ex33.c:56:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      char      logList[256];
data/petsc-3.14.1+dfsg1/src/dm/tests/ex11.c:16:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char           fname[32];
data/petsc-3.14.1+dfsg1/src/dm/tests/ex11.c:38:5:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
    sprintf(fname,"Field %d",(int)i);
data/petsc-3.14.1+dfsg1/src/dm/tests/ex27.c:16:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  const char     *funcNames[NUM_FUNCS] = {"random", "constant", "tanh"};
data/petsc-3.14.1+dfsg1/src/dm/tests/ex28.c:18:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  const char     *funcNames[NUM_FUNCS] = {"random", "constant", "tanh"};
data/petsc-3.14.1+dfsg1/src/dm/tests/ex30.c:7:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char           mat_type[256] = MATAIJ; /* default matrix type */
data/petsc-3.14.1+dfsg1/src/dm/tests/ex48.c:15:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char fieldname[256];
data/petsc-3.14.1+dfsg1/src/dm/tests/ex50.c:70:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char         name[256];
data/petsc-3.14.1+dfsg1/src/dm/tests/ex7.c:19:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char             filename[64];
data/petsc-3.14.1+dfsg1/src/dm/tests/ex7.c:76:5:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
    sprintf(filename,"local.%d",rank);
data/petsc-3.14.1+dfsg1/src/dm/tutorials/ex21.c:206:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      char fname[PETSC_MAX_PATH_LEN];
data/petsc-3.14.1+dfsg1/src/dm/tutorials/ex7.c:14:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char      filename[PETSC_MAX_PATH_LEN];
data/petsc-3.14.1+dfsg1/src/dm/tutorials/swarm_ex1.c:273:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char      name[PETSC_MAX_PATH_LEN];
data/petsc-3.14.1+dfsg1/src/dm/tutorials/swarm_ex1.c:276:10:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    fp = fopen(name,"w");
data/petsc-3.14.1+dfsg1/src/dm/tutorials/swarm_ex1.c:466:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char      name[PETSC_MAX_PATH_LEN];
data/petsc-3.14.1+dfsg1/src/dm/tutorials/swarm_ex1.c:469:10:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    fp = fopen(name,"w");
data/petsc-3.14.1+dfsg1/src/dm/tutorials/swarm_ex3.c:108:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char           name[PETSC_MAX_PATH_LEN];
data/petsc-3.14.1+dfsg1/src/dm/tutorials/swarm_ex3.c:114:8:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
  fp = fopen(name,"w");
data/petsc-3.14.1+dfsg1/src/dm/tutorials/swarm_ex3.c:221:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char prefix[PETSC_MAX_PATH_LEN];
data/petsc-3.14.1+dfsg1/src/ksp/ksp/impls/cg/gltr/gltr.c:9:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
static const char *DType_Table[64] = {"preconditioned", "unpreconditioned"};
data/petsc-3.14.1+dfsg1/src/ksp/ksp/impls/cg/nash/nash.c:8:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
static const char *DType_Table[64] = {  "preconditioned", "unpreconditioned"};
data/petsc-3.14.1+dfsg1/src/ksp/ksp/impls/cg/stcg/stcg.c:8:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
static const char *DType_Table[64] = {"preconditioned", "unpreconditioned"};
data/petsc-3.14.1+dfsg1/src/ksp/ksp/impls/gmres/agmres/agmres.c:610:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char           ritzvec[25];
data/petsc-3.14.1+dfsg1/src/ksp/ksp/impls/gmres/agmres/agmres.c:635:25:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
      if (agmres->ritz) sprintf(ritzvec, "Ritz vectors");
data/petsc-3.14.1+dfsg1/src/ksp/ksp/impls/gmres/agmres/agmres.c:636:12:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
      else sprintf(ritzvec, "Harmonic Ritz vectors");
data/petsc-3.14.1+dfsg1/src/ksp/ksp/interface/dlregisksp.c:50:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char           logList[256];
data/petsc-3.14.1+dfsg1/src/ksp/ksp/interface/dlregisksp.c:158:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char           logList[256];
data/petsc-3.14.1+dfsg1/src/ksp/ksp/interface/itcl.c:319:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char           type[256],guesstype[256],monfilename[PETSC_MAX_PATH_LEN];
data/petsc-3.14.1+dfsg1/src/ksp/ksp/interface/itcreate.c:49:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char           type[256];
data/petsc-3.14.1+dfsg1/src/ksp/ksp/interface/itcreate.c:156:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char        type[256];
data/petsc-3.14.1+dfsg1/src/ksp/ksp/interface/itcreate.c:175:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char      str[36];
data/petsc-3.14.1+dfsg1/src/ksp/ksp/interface/itcreate.c:199:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      char       dir[1024];
data/petsc-3.14.1+dfsg1/src/ksp/ksp/interface/iterativ.c:236:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char           normtype[256];
data/petsc-3.14.1+dfsg1/src/ksp/ksp/interface/iterativ.c:284:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char           normtype[256];
data/petsc-3.14.1+dfsg1/src/ksp/ksp/tests/benchmarkscatters/ex1.c:12:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char           file[PETSC_MAX_PATH_LEN];
data/petsc-3.14.1+dfsg1/src/ksp/ksp/tests/benchmarkscatters/ex1.c:76:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char               arch[128],hostname[128],username[128],pname[PETSC_MAX_PATH_LEN],date[128],version[256];
data/petsc-3.14.1+dfsg1/src/ksp/ksp/tests/ex1.c:65:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char                  convtestname[16];
data/petsc-3.14.1+dfsg1/src/ksp/ksp/tests/ex11.c:48:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char           filename[PETSC_MAX_PATH_LEN];
data/petsc-3.14.1+dfsg1/src/ksp/ksp/tests/ex18.c:17:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char           file[PETSC_MAX_PATH_LEN];
data/petsc-3.14.1+dfsg1/src/ksp/ksp/tests/ex25.c:17:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char           filein[128];     /* input file name */
data/petsc-3.14.1+dfsg1/src/ksp/ksp/tests/ex27.c:20:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char           file[1][PETSC_MAX_PATH_LEN];     /* input file name */
data/petsc-3.14.1+dfsg1/src/ksp/ksp/tests/ex30.c:36:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char           file[4][PETSC_MAX_PATH_LEN];     /* input file name */
data/petsc-3.14.1+dfsg1/src/ksp/ksp/tests/ex30.c:325:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      char        *matrixname,kspinfo[120];
data/petsc-3.14.1+dfsg1/src/ksp/ksp/tests/ex31.c:21:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char           file[PETSC_MAX_PATH_LEN];     /* input file name */
data/petsc-3.14.1+dfsg1/src/ksp/ksp/tests/ex33.c:20:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char           file[2][PETSC_MAX_PATH_LEN];
data/petsc-3.14.1+dfsg1/src/ksp/ksp/tests/ex34.c:15:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char           mtype[256];
data/petsc-3.14.1+dfsg1/src/ksp/ksp/tests/ex37.c:18:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char           file[PETSC_MAX_PATH_LEN];
data/petsc-3.14.1+dfsg1/src/ksp/ksp/tests/ex43.c:22:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char               file[PETSC_MAX_PATH_LEN];
data/petsc-3.14.1+dfsg1/src/ksp/ksp/tests/ex6.c:36:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char           file[PETSC_MAX_PATH_LEN];
data/petsc-3.14.1+dfsg1/src/ksp/ksp/tests/ex6.c:118:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char        *matrixname,kspinfo[120];
data/petsc-3.14.1+dfsg1/src/ksp/ksp/tutorials/ex10.c:41:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char              file[2][PETSC_MAX_PATH_LEN];
data/petsc-3.14.1+dfsg1/src/ksp/ksp/tutorials/ex18.c:38:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char           ordering[256] = MATORDERINGRCM;
data/petsc-3.14.1+dfsg1/src/ksp/ksp/tutorials/ex27.c:50:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char           file[PETSC_MAX_PATH_LEN]="";     /* input file name */
data/petsc-3.14.1+dfsg1/src/ksp/ksp/tutorials/ex27.c:51:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char           file_x0[PETSC_MAX_PATH_LEN]="";  /* name of input file with initial guess */
data/petsc-3.14.1+dfsg1/src/ksp/ksp/tutorials/ex27.c:52:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char           A_name[128]="A",b_name[128]="b",x0_name[128]="x0";  /* name of the matrix, RHS and initial guess */
data/petsc-3.14.1+dfsg1/src/ksp/ksp/tutorials/ex29.c:49:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  const char     *bcTypes[2] = {"dirichlet","neumann"};
data/petsc-3.14.1+dfsg1/src/ksp/ksp/tutorials/ex32.c:54:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  const char     *bcTypes[2] = {"dirichlet","neumann"};
data/petsc-3.14.1+dfsg1/src/ksp/ksp/tutorials/ex35.cxx:108:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char filename[PETSC_MAX_PATH_LEN];
data/petsc-3.14.1+dfsg1/src/ksp/ksp/tutorials/ex35.cxx:124:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  const char      *fields[1] = {"T-Variable"};
data/petsc-3.14.1+dfsg1/src/ksp/ksp/tutorials/ex35.cxx:590:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  const char     *bcTypes[2] = {"dirichlet", "neumann"};
data/petsc-3.14.1+dfsg1/src/ksp/ksp/tutorials/ex36.cxx:88:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char      filename[PETSC_MAX_PATH_LEN];
data/petsc-3.14.1+dfsg1/src/ksp/ksp/tutorials/ex36.cxx:102:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  const char    *fields[1] = {"T-Variable"};
data/petsc-3.14.1+dfsg1/src/ksp/ksp/tutorials/ex36.cxx:545:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  const char     *bcTypes[2] = {"dirichlet", "neumann"};
data/petsc-3.14.1+dfsg1/src/ksp/ksp/tutorials/ex42.c:1291:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char           vtk_filename[PETSC_MAX_PATH_LEN];
data/petsc-3.14.1+dfsg1/src/ksp/ksp/tutorials/ex42.c:1314:12:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
  vtk_fp = fopen(vtk_filename,"w");
data/petsc-3.14.1+dfsg1/src/ksp/ksp/tutorials/ex42.c:1478:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        char     name[PETSC_MAX_PATH_LEN];
data/petsc-3.14.1+dfsg1/src/ksp/ksp/tutorials/ex42.c:1506:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char           vtk_filename[PETSC_MAX_PATH_LEN];
data/petsc-3.14.1+dfsg1/src/ksp/ksp/tutorials/ex42.c:1523:12:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
  vtk_fp = fopen(vtk_filename,"w");
data/petsc-3.14.1+dfsg1/src/ksp/ksp/tutorials/ex42.c:1568:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char           vts_filename[PETSC_MAX_PATH_LEN];
data/petsc-3.14.1+dfsg1/src/ksp/ksp/tutorials/ex42.c:1569:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char           pvts_filename[PETSC_MAX_PATH_LEN];
data/petsc-3.14.1+dfsg1/src/ksp/ksp/tutorials/ex42.c:1970:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char      filename[PETSC_MAX_PATH_LEN];
data/petsc-3.14.1+dfsg1/src/ksp/ksp/tutorials/ex43.c:295:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char           fname[PETSC_MAX_PATH_LEN];
data/petsc-3.14.1+dfsg1/src/ksp/ksp/tutorials/ex43.c:332:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char           fname[PETSC_MAX_PATH_LEN];
data/petsc-3.14.1+dfsg1/src/ksp/ksp/tutorials/ex43.c:395:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char                   fname[PETSC_MAX_PATH_LEN];
data/petsc-3.14.1+dfsg1/src/ksp/ksp/tutorials/ex43.c:1100:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char                   filename[PETSC_MAX_PATH_LEN];
data/petsc-3.14.1+dfsg1/src/ksp/ksp/tutorials/ex49.c:266:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char           fname[PETSC_MAX_PATH_LEN];
data/petsc-3.14.1+dfsg1/src/ksp/ksp/tutorials/ex49.c:302:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char           fname[PETSC_MAX_PATH_LEN];
data/petsc-3.14.1+dfsg1/src/ksp/ksp/tutorials/ex49.c:366:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char                   fname[PETSC_MAX_PATH_LEN];
data/petsc-3.14.1+dfsg1/src/ksp/ksp/tutorials/ex56.c:37:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char nestring[256];
data/petsc-3.14.1+dfsg1/src/ksp/ksp/tutorials/ex70.c:893:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char                   filename[PETSC_MAX_PATH_LEN];
data/petsc-3.14.1+dfsg1/src/ksp/ksp/tutorials/ex71.c:93:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  const char    *pdeTypes[2] = {"Poisson", "Elasticity"};
data/petsc-3.14.1+dfsg1/src/ksp/ksp/tutorials/ex72.c:49:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char           file[4][PETSC_MAX_PATH_LEN];     /* input file name */
data/petsc-3.14.1+dfsg1/src/ksp/ksp/tutorials/ex72.c:57:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char           initialguessfilename[PETSC_MAX_PATH_LEN];
data/petsc-3.14.1+dfsg1/src/ksp/ksp/tutorials/ex72.c:279:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char      str[32];
data/petsc-3.14.1+dfsg1/src/ksp/ksp/tutorials/ex72.c:376:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      char        *matrixname,kspinfo[120];
data/petsc-3.14.1+dfsg1/src/ksp/ksp/tutorials/ex73.c:52:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  const char     *bcTypes[2] = {"dirichlet","neumann"};
data/petsc-3.14.1+dfsg1/src/ksp/ksp/tutorials/ex73.c:732:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char name[PETSC_MAX_PATH_LEN];
data/petsc-3.14.1+dfsg1/src/ksp/ksp/tutorials/ex73.c:762:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char name[PETSC_MAX_PATH_LEN];
data/petsc-3.14.1+dfsg1/src/ksp/ksp/tutorials/ex74.c:102:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char              irktype[256] = IRKGAUSS;
data/petsc-3.14.1+dfsg1/src/ksp/ksp/tutorials/ex75.c:15:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char           dir[PETSC_MAX_PATH_LEN],name[256];
data/petsc-3.14.1+dfsg1/src/ksp/ksp/tutorials/ex76.c:17:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char           dir[PETSC_MAX_PATH_LEN],name[PETSC_MAX_PATH_LEN],type[256];
data/petsc-3.14.1+dfsg1/src/ksp/ksp/tutorials/ex77.c:19:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char               name[PETSC_MAX_PATH_LEN],type[256];
data/petsc-3.14.1+dfsg1/src/ksp/ksp/utils/dmproject.c:281:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char        name[PETSC_MAX_PATH_LEN];
data/petsc-3.14.1+dfsg1/src/ksp/pc/impls/asm/asm.c:28:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char overlaps[256] = "user-defined overlap",blocks[256] = "total subdomain blocks not yet set";
data/petsc-3.14.1+dfsg1/src/ksp/pc/impls/asm/asm.c:79:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char           fname[PETSC_MAX_PATH_LEN+1];
data/petsc-3.14.1+dfsg1/src/ksp/pc/impls/asm/asm.c:721:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char           sub_mat_type[256];
data/petsc-3.14.1+dfsg1/src/ksp/pc/impls/bddc/bddc.c:2842:13:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
            char prefix[256];
data/petsc-3.14.1+dfsg1/src/ksp/pc/impls/bddc/bddc.c:3112:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char ename[32];
data/petsc-3.14.1+dfsg1/src/ksp/pc/impls/bddc/bddcprivate.c:132:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      char filename[256];
data/petsc-3.14.1+dfsg1/src/ksp/pc/impls/bddc/bddcprivate.c:133:7:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
      sprintf(filename,"Gdet_l%d_r%d_cc%d.m",lev,PetscGlobalRank,inc++);
data/petsc-3.14.1+dfsg1/src/ksp/pc/impls/bddc/bddcprivate.c:4826:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char filename[256];
data/petsc-3.14.1+dfsg1/src/ksp/pc/impls/bddc/bddcprivate.c:4827:5:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
    sprintf(filename,"details_local_coarse_mat%d_level%d.m",PetscGlobalRank,pcbddc->current_level);
data/petsc-3.14.1+dfsg1/src/ksp/pc/impls/bddc/bddcprivate.c:5437:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char           dir_prefix[256],neu_prefix[256],str_level[16];
data/petsc-3.14.1+dfsg1/src/ksp/pc/impls/bddc/bddcprivate.c:8475:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      char   prefix[256],str_level[16];
data/petsc-3.14.1+dfsg1/src/ksp/pc/impls/bddc/bddcprivate.c:8648:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char filename[256];
data/petsc-3.14.1+dfsg1/src/ksp/pc/impls/bddc/bddcprivate.c:8649:5:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
    sprintf(filename,"coarse_mat_level%d.m",pcbddc->current_level);
data/petsc-3.14.1+dfsg1/src/ksp/pc/impls/bddc/bddcschurs.c:462:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      char filename[256];
data/petsc-3.14.1+dfsg1/src/ksp/pc/impls/bddc/bddcschurs.c:1018:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      char      stype[64];
data/petsc-3.14.1+dfsg1/src/ksp/pc/impls/bddc/bddcschurs.c:1143:13:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
            char name[16];
data/petsc-3.14.1+dfsg1/src/ksp/pc/impls/bddc/bddcschurs.c:1850:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      char name[16];
data/petsc-3.14.1+dfsg1/src/ksp/pc/impls/bddc/bddcstructs.h:109:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char      mat_solver_type[64];
data/petsc-3.14.1+dfsg1/src/ksp/pc/impls/bjacobi/bjacobi.c:247:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char      str[25];
data/petsc-3.14.1+dfsg1/src/ksp/pc/impls/composite/composite.c:233:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char             *pcs[8];
data/petsc-3.14.1+dfsg1/src/ksp/pc/impls/composite/composite.c:333:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char             newprefix[20];
data/petsc-3.14.1+dfsg1/src/ksp/pc/impls/composite/composite.c:358:3:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
  sprintf(newprefix,"sub_%d_",(int)cnt);
data/petsc-3.14.1+dfsg1/src/ksp/pc/impls/deflation/deflation.c:507:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char             prefix[128]="";
data/petsc-3.14.1+dfsg1/src/ksp/pc/impls/factor/factimpl.c:229:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char              tname[256], solvertype[64];
data/petsc-3.14.1+dfsg1/src/ksp/pc/impls/fieldsplit/fieldsplit.c:247:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char      str[32];
data/petsc-3.14.1+dfsg1/src/ksp/pc/impls/fieldsplit/fieldsplit.c:362:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char           optionname[128],splitname[8],optionname_col[128];
data/petsc-3.14.1+dfsg1/src/ksp/pc/impls/fieldsplit/fieldsplit.c:424:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        char     optionname[128], splitname[8];
data/petsc-3.14.1+dfsg1/src/ksp/pc/impls/fieldsplit/fieldsplit.c:550:15:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
              char splitname[8];
data/petsc-3.14.1+dfsg1/src/ksp/pc/impls/fieldsplit/fieldsplit.c:821:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char        lscname[256];
data/petsc-3.14.1+dfsg1/src/ksp/pc/impls/fieldsplit/fieldsplit.c:876:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      char         schurprefix[256], schurmatprefix[256];
data/petsc-3.14.1+dfsg1/src/ksp/pc/impls/fieldsplit/fieldsplit.c:877:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      char         schurtestoption[256];
data/petsc-3.14.1+dfsg1/src/ksp/pc/impls/fieldsplit/fieldsplit.c:1664:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char              prefix[128];
data/petsc-3.14.1+dfsg1/src/ksp/pc/impls/fieldsplit/fieldsplit.c:1858:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char              prefix[128];
data/petsc-3.14.1+dfsg1/src/ksp/pc/impls/gamg/classical.c:9:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char      prolongtype[256];
data/petsc-3.14.1+dfsg1/src/ksp/pc/impls/gamg/classical.c:913:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char              tname[256];
data/petsc-3.14.1+dfsg1/src/ksp/pc/impls/gamg/gamg.c:206:31:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
          PetscViewer viewer; char fname[32];
data/petsc-3.14.1+dfsg1/src/ksp/pc/impls/gamg/gamg.c:217:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        char            prefix[256];
data/petsc-3.14.1+dfsg1/src/ksp/pc/impls/gamg/gamg.c:432:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char           addp[32];
data/petsc-3.14.1+dfsg1/src/ksp/pc/impls/gamg/gamg.c:576:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        char       addp[32];
data/petsc-3.14.1+dfsg1/src/ksp/pc/impls/gamg/gamg.c:1596:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char           prefix[256],tname[32];
data/petsc-3.14.1+dfsg1/src/ksp/pc/impls/gamg/gamg.c:1821:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char     str[32];
data/petsc-3.14.1+dfsg1/src/ksp/pc/impls/gamg/gamg.c:1823:5:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
    sprintf(str,"MG Level %d (finest)",0);
data/petsc-3.14.1+dfsg1/src/ksp/pc/impls/gamg/gamg.c:1826:7:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
      sprintf(str,"MG Level %d",lidx);
data/petsc-3.14.1+dfsg1/src/ksp/pc/impls/gamg/geo.c:231:25:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      FILE       *file; char fname[32];
data/petsc-3.14.1+dfsg1/src/ksp/pc/impls/gamg/geo.c:233:7:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
      sprintf(fname,"C%d_%d.poly",level,rank); file = fopen(fname, "w");
data/petsc-3.14.1+dfsg1/src/ksp/pc/impls/gamg/geo.c:233:55:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
      sprintf(fname,"C%d_%d.poly",level,rank); file = fopen(fname, "w");
data/petsc-3.14.1+dfsg1/src/ksp/pc/impls/gamg/geo.c:251:7:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
      sprintf(fname,"C%d_%d.ele",level,rank); file = fopen(fname, "w");
data/petsc-3.14.1+dfsg1/src/ksp/pc/impls/gamg/geo.c:251:54:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
      sprintf(fname,"C%d_%d.ele",level,rank); file = fopen(fname, "w");
data/petsc-3.14.1+dfsg1/src/ksp/pc/impls/gamg/geo.c:260:7:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
      sprintf(fname,"C%d_%d.node",level,rank); file = fopen(fname, "w");
data/petsc-3.14.1+dfsg1/src/ksp/pc/impls/gamg/geo.c:260:55:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
      sprintf(fname,"C%d_%d.node",level,rank); file = fopen(fname, "w");
data/petsc-3.14.1+dfsg1/src/ksp/pc/impls/gasm/gasm.c:126:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char           fname[PETSC_MAX_PATH_LEN+1];
data/petsc-3.14.1+dfsg1/src/ksp/pc/impls/gasm/gasm.c:176:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char           overlap[256]     = "user-defined overlap";
data/petsc-3.14.1+dfsg1/src/ksp/pc/impls/gasm/gasm.c:177:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char           gsubdomains[256] = "unknown total number of subdomains";
data/petsc-3.14.1+dfsg1/src/ksp/pc/impls/gasm/gasm.c:178:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char           msubdomains[256] = "unknown max number of local subdomains";
data/petsc-3.14.1+dfsg1/src/ksp/pc/impls/gasm/gasm.c:538:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      char subprefix[PETSC_MAX_PATH_LEN+1];
data/petsc-3.14.1+dfsg1/src/ksp/pc/impls/hpddm/hpddm.cxx:193:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char           prefix[256];
data/petsc-3.14.1+dfsg1/src/ksp/pc/impls/hpddm/hpddm.cxx:652:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char                     prefix[256];
data/petsc-3.14.1+dfsg1/src/ksp/pc/impls/hpddm/hpddm.cxx:995:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char           lib[PETSC_MAX_PATH_LEN], dlib[PETSC_MAX_PATH_LEN], dir[PETSC_MAX_PATH_LEN];
data/petsc-3.14.1+dfsg1/src/ksp/pc/impls/mg/mg.c:241:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      char tprefix[128];
data/petsc-3.14.1+dfsg1/src/ksp/pc/impls/mg/mg.c:250:7:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
      sprintf(tprefix,"mg_levels_%d_",(int)i);
data/petsc-3.14.1+dfsg1/src/ksp/pc/impls/mg/mg.c:466:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char     eventname[128];
data/petsc-3.14.1+dfsg1/src/ksp/pc/impls/mg/mg.c:470:7:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
      sprintf(eventname,"MGSetup Level %d",(int)i);
data/petsc-3.14.1+dfsg1/src/ksp/pc/impls/mg/mg.c:472:7:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
      sprintf(eventname,"MGSmooth Level %d",(int)i);
data/petsc-3.14.1+dfsg1/src/ksp/pc/impls/mg/mg.c:475:9:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
        sprintf(eventname,"MGResid Level %d",(int)i);
data/petsc-3.14.1+dfsg1/src/ksp/pc/impls/mg/mg.c:477:9:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
        sprintf(eventname,"MGInterp Level %d",(int)i);
data/petsc-3.14.1+dfsg1/src/ksp/pc/impls/patch/pcpatch.c:1258:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char            option[PETSC_MAX_PATH_LEN];
data/petsc-3.14.1+dfsg1/src/ksp/pc/impls/patch/pcpatch.c:2018:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char name[PETSC_MAX_PATH_LEN];
data/petsc-3.14.1+dfsg1/src/ksp/pc/impls/patch/pcpatch.c:2232:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char name[PETSC_MAX_PATH_LEN];
data/petsc-3.14.1+dfsg1/src/ksp/pc/impls/patch/pcpatch.c:3105:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char                 sub_mat_type[PETSC_MAX_PATH_LEN];
data/petsc-3.14.1+dfsg1/src/ksp/pc/impls/patch/pcpatch.c:3106:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char                 option[PETSC_MAX_PATH_LEN];
data/petsc-3.14.1+dfsg1/src/ksp/pc/impls/svd/svd.c:110:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      char     buf[256],*p;
data/petsc-3.14.1+dfsg1/src/ksp/pc/impls/telescope/telescope_coarsedm.c:167:13:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
            char dmcoarse_method[PETSC_MAX_PATH_LEN];
data/petsc-3.14.1+dfsg1/src/ksp/pc/impls/telescope/telescope_coarsedm.c:205:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char dmfine_method[PETSC_MAX_PATH_LEN];
data/petsc-3.14.1+dfsg1/src/ksp/pc/impls/telescope/telescope_coarsedm.c:318:11:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
          char           dmcoarse_method[PETSC_MAX_PATH_LEN];
data/petsc-3.14.1+dfsg1/src/ksp/pc/impls/telescope/telescope_coarsedm.c:347:11:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
          char           dmcoarse_method[PETSC_MAX_PATH_LEN];
data/petsc-3.14.1+dfsg1/src/ksp/pc/interface/pcset.c:137:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char           type[256];
data/petsc-3.14.1+dfsg1/src/ksp/pc/interface/precon.c:1627:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char           type[256];
data/petsc-3.14.1+dfsg1/src/ksp/pc/interface/precon.c:1762:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char        type[256];
data/petsc-3.14.1+dfsg1/src/ksp/pc/interface/precon.c:1776:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char      str[25];
data/petsc-3.14.1+dfsg1/src/mat/coarsen/coarsen.c:405:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char           type[256];
data/petsc-3.14.1+dfsg1/src/mat/color/interface/matcoloring.c:193:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char           type[256];
data/petsc-3.14.1+dfsg1/src/mat/impls/aij/mpi/mpimatmatmult.c:2109:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  const char     *algTypes[4] = {"scalable","nonscalable","seqmpi","hypre"};
data/petsc-3.14.1+dfsg1/src/mat/impls/aij/mpi/mpimatmatmult.c:2112:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  const char     *algTypes[3] = {"scalable","nonscalable","seqmpi"};
data/petsc-3.14.1+dfsg1/src/mat/impls/aij/mpi/mpimatmatmult.c:2174:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  const char     *algTypes[3] = {"scalable","nonscalable","at*b"};
data/petsc-3.14.1+dfsg1/src/mat/impls/aij/mpi/mpimatmatmult.c:2238:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  const char     *algTypes[4] = {"scalable","nonscalable","allatonce","allatonce_merged"};
data/petsc-3.14.1+dfsg1/src/mat/impls/aij/mpi/mpimatmatmult.c:2241:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  const char     *algTypes[5] = {"scalable","nonscalable","allatonce","allatonce_merged","hypre"};
data/petsc-3.14.1+dfsg1/src/mat/impls/aij/mpi/mpimatmatmult.c:2317:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  const char     *algTypes[3] = {"scalable","nonscalable","seqmpi"};
data/petsc-3.14.1+dfsg1/src/mat/impls/aij/mpi/mpiptap.c:1050:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  const char          *algTypes[2] = {"overlapping","merged"};
data/petsc-3.14.1+dfsg1/src/mat/impls/aij/mpi/mpiptap.c:1323:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  const char          *algTypes[2] = {"merged","overlapping"};
data/petsc-3.14.1+dfsg1/src/mat/impls/aij/mpi/strumpack/ftn-auto/strumpackf.c:87:63:  [2] (integer) atol:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
PETSC_EXTERN void  matstrumpacksethssabstol_(Mat F,PetscReal *atol, int *__ierr)
data/petsc-3.14.1+dfsg1/src/mat/impls/aij/mpi/strumpack/ftn-auto/strumpackf.c:90:29:  [2] (integer) atol:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
	(Mat)PetscToPointer((F) ),*atol);
data/petsc-3.14.1+dfsg1/src/mat/impls/aij/mpi/strumpack/strumpack.c:157:74:  [2] (integer) atol:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
static PetscErrorCode MatSTRUMPACKSetHSSAbsTol_STRUMPACK(Mat F,PetscReal atol)
data/petsc-3.14.1+dfsg1/src/mat/impls/aij/mpi/strumpack/strumpack.c:162:76:  [2] (integer) atol:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
  PetscStackCall("STRUMPACK_set_HSS_abs_tol", STRUMPACK_set_HSS_abs_tol(*S,atol));
data/petsc-3.14.1+dfsg1/src/mat/impls/aij/mpi/strumpack/strumpack.c:184:57:  [2] (integer) atol:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
PetscErrorCode MatSTRUMPACKSetHSSAbsTol(Mat F,PetscReal atol)
data/petsc-3.14.1+dfsg1/src/mat/impls/aij/mpi/strumpack/strumpack.c:190:37:  [2] (integer) atol:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
  PetscValidLogicalCollectiveReal(F,atol,2);
data/petsc-3.14.1+dfsg1/src/mat/impls/aij/mpi/strumpack/strumpack.c:191:75:  [2] (integer) atol:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
  ierr = PetscTryMethod(F,"MatSTRUMPACKSetHSSAbsTol_C",(Mat,PetscReal),(F,atol));CHKERRQ(ierr);
data/petsc-3.14.1+dfsg1/src/mat/impls/aij/seq/aij.c:16:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char                 type[256];
data/petsc-3.14.1+dfsg1/src/mat/impls/aij/seq/aijfact.c:441:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char        filename[PETSC_MAX_PATH_LEN];
data/petsc-3.14.1+dfsg1/src/mat/impls/aij/seq/aijmkl/aijmkl.c:392:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char              matdescra[6];
data/petsc-3.14.1+dfsg1/src/mat/impls/aij/seq/aijmkl/aijmkl.c:477:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char              matdescra[6];
data/petsc-3.14.1+dfsg1/src/mat/impls/aij/seq/aijmkl/aijmkl.c:565:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char              matdescra[6];
data/petsc-3.14.1+dfsg1/src/mat/impls/aij/seq/aijmkl/aijmkl.c:678:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char              matdescra[6];
data/petsc-3.14.1+dfsg1/src/mat/impls/aij/seq/matmatmult.c:1963:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  const char     *algTypes[7] = {"sorted","scalable","scalable_fast","heap","btheap","llcondensed","rowmerge"};
data/petsc-3.14.1+dfsg1/src/mat/impls/aij/seq/matmatmult.c:1966:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  const char     *algTypes[8] = {"sorted","scalable","scalable_fast","heap","btheap","llcondensed","rowmerge","hypre"};
data/petsc-3.14.1+dfsg1/src/mat/impls/aij/seq/matmatmult.c:2002:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  const char     *algTypes[3] = {"default","at*b","outerproduct"};
data/petsc-3.14.1+dfsg1/src/mat/impls/aij/seq/matmatmult.c:2030:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  const char     *algTypes[2] = {"default","color"};
data/petsc-3.14.1+dfsg1/src/mat/impls/aij/seq/matmatmult.c:2067:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  const char      *algTypes[2] = {"scalable","rap"};
data/petsc-3.14.1+dfsg1/src/mat/impls/aij/seq/matmatmult.c:2070:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  const char      *algTypes[3] = {"scalable","rap","hypre"};
data/petsc-3.14.1+dfsg1/src/mat/impls/aij/seq/matmatmult.c:2105:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  const char     *algTypes[3] = {"r*a*rt","r*art","coloring_rart"};
data/petsc-3.14.1+dfsg1/src/mat/impls/aij/seq/matmatmult.c:2140:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  const char     *algTypes[7] = {"sorted","scalable","scalable_fast","heap","btheap","llcondensed","rowmerge"};
data/petsc-3.14.1+dfsg1/src/mat/impls/aij/seq/matrart.c:346:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  const char     *algTypes[3] = {"matmatmatmult","matmattransposemult","coloring_rart"};
data/petsc-3.14.1+dfsg1/src/mat/impls/aij/seq/superlu/superlu.c:43:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char              equed[1];
data/petsc-3.14.1+dfsg1/src/mat/impls/dense/mpi/mpidense.c:2967:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  const char     *algTypes[2] = {"allgatherv","cyclic"};
data/petsc-3.14.1+dfsg1/src/mat/impls/hypre/mhypre.c:602:11:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    const char *names[6] = {"_hypre_csr_da",
data/petsc-3.14.1+dfsg1/src/mat/impls/hypre/mhypre.c:1009:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  const char     *outTypes[4] = {"aij","seqaij","mpiaij","hypre"};
data/petsc-3.14.1+dfsg1/src/mat/impls/is/matis.c:628:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  const char             *names[2] = {"_convert_csr_aux","_convert_csr_data"};
data/petsc-3.14.1+dfsg1/src/mat/impls/is/matis.c:3133:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char           type[256];
data/petsc-3.14.1+dfsg1/src/mat/impls/maij/maij.c:2882:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  const char     *algTypes[4] = {"scalable","nonscalable","allatonce","allatonce_merged"};
data/petsc-3.14.1+dfsg1/src/mat/impls/maij/maij.c:2885:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  const char     *algTypes[5] = {"scalable","nonscalable","allatonce","allatonce_merged","hypre"};
data/petsc-3.14.1+dfsg1/src/mat/impls/mffd/mffd.c:41:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char           logList[256];
data/petsc-3.14.1+dfsg1/src/mat/impls/mffd/mffd.c:537:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char           ftype[256];
data/petsc-3.14.1+dfsg1/src/mat/impls/nest/matnest.c:586:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char           keyname[256];
data/petsc-3.14.1+dfsg1/src/mat/impls/nest/matnest.c:923:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        char      name[256] = "",prefix[256] = "";
data/petsc-3.14.1+dfsg1/src/mat/impls/shell/shell.c:740:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char                    composedname[256];
data/petsc-3.14.1+dfsg1/src/mat/impls/shell/shell.c:814:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char                    composedname[256];
data/petsc-3.14.1+dfsg1/src/mat/impls/shell/shell.c:941:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char           composedname[256];
data/petsc-3.14.1+dfsg1/src/mat/interface/dlregismat.c:153:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char           logList[256];
data/petsc-3.14.1+dfsg1/src/mat/interface/matproduct.c:427:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char  mtypes[256];
data/petsc-3.14.1+dfsg1/src/mat/interface/matrix.c:4136:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char           convname[256],mtype[256];
data/petsc-3.14.1+dfsg1/src/mat/interface/matrix.c:4169:11:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    const char     *prefix[3] = {"seq","mpi",""};
data/petsc-3.14.1+dfsg1/src/mat/matfd/fdmatrix.c:347:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char           value[3];
data/petsc-3.14.1+dfsg1/src/mat/partition/impls/chaco/chaco.c:13:66:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
                     float *ewgts, float *x, float *y, float *z, char *outassignname,
data/petsc-3.14.1+dfsg1/src/mat/partition/impls/chaco/chaco.c:14:22:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
                     char *outfilename, short *assignment, int architecture, int ndims_tot,
data/petsc-3.14.1+dfsg1/src/mat/partition/impls/hierarchical/hierarchical.c:446:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char           value[1024];
data/petsc-3.14.1+dfsg1/src/mat/partition/impls/party/party.c:20:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char      global[15];         /* global method */
data/petsc-3.14.1+dfsg1/src/mat/partition/impls/party/party.c:21:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char      local[15];          /* local method */
data/petsc-3.14.1+dfsg1/src/mat/partition/impls/party/party.c:359:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char                  value[256];
data/petsc-3.14.1+dfsg1/src/mat/partition/partition.c:803:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char           type[256];
data/petsc-3.14.1+dfsg1/src/mat/tests/ex1.c:20:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char           solver[64];
data/petsc-3.14.1+dfsg1/src/mat/tests/ex100.c:10:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char           file[PETSC_MAX_PATH_LEN];
data/petsc-3.14.1+dfsg1/src/mat/tests/ex112.c:14:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  const char     *funcNames[NUM_FUNCS] = {"random", "constant", "tanh"};
data/petsc-3.14.1+dfsg1/src/mat/tests/ex113.c:15:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char           file[128];
data/petsc-3.14.1+dfsg1/src/mat/tests/ex115.c:16:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char               file[256];
data/petsc-3.14.1+dfsg1/src/mat/tests/ex116.c:20:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char           file[1][PETSC_MAX_PATH_LEN];     /* input file name */
data/petsc-3.14.1+dfsg1/src/mat/tests/ex119.c:11:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char           inputfile[256],outputfile[256];
data/petsc-3.14.1+dfsg1/src/mat/tests/ex121.c:13:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  const char     *funcNames[NUM_FUNCS] = {"random", "constant", "tanh"};
data/petsc-3.14.1+dfsg1/src/mat/tests/ex124.c:13:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char           file[2][PETSC_MAX_PATH_LEN];
data/petsc-3.14.1+dfsg1/src/mat/tests/ex125.c:23:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char           file[PETSC_MAX_PATH_LEN]; /* input file name */
data/petsc-3.14.1+dfsg1/src/mat/tests/ex130.c:19:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char           file[PETSC_MAX_PATH_LEN]; /* input file name */
data/petsc-3.14.1+dfsg1/src/mat/tests/ex131.c:12:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char           file[PETSC_MAX_PATH_LEN]; /* input file name */
data/petsc-3.14.1+dfsg1/src/mat/tests/ex136.c:10:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char           file[PETSC_MAX_PATH_LEN];
data/petsc-3.14.1+dfsg1/src/mat/tests/ex138.c:11:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char           file[PETSC_MAX_PATH_LEN];
data/petsc-3.14.1+dfsg1/src/mat/tests/ex141.c:13:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char           file[PETSC_MAX_PATH_LEN];
data/petsc-3.14.1+dfsg1/src/mat/tests/ex142.c:14:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  const char      *funcNames[NUM_FUNCS] = {"random", "constant", "tanh"};
data/petsc-3.14.1+dfsg1/src/mat/tests/ex152.c:37:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char           fname[PETSC_MAX_PATH_LEN],prefix[PETSC_MAX_PATH_LEN] = "";
data/petsc-3.14.1+dfsg1/src/mat/tests/ex16.c:38:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char           mattype[256];
data/petsc-3.14.1+dfsg1/src/mat/tests/ex163.c:11:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char           file[PETSC_MAX_PATH_LEN]; /* input file name */
data/petsc-3.14.1+dfsg1/src/mat/tests/ex165.c:15:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char           file[PETSC_MAX_PATH_LEN];
data/petsc-3.14.1+dfsg1/src/mat/tests/ex168.c:19:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char           file[PETSC_MAX_PATH_LEN]; /* input file name */
data/petsc-3.14.1+dfsg1/src/mat/tests/ex169.c:18:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char           file[PETSC_MAX_PATH_LEN];  /* input file name */
data/petsc-3.14.1+dfsg1/src/mat/tests/ex171.c:12:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char           file[PETSC_MAX_PATH_LEN]; /* input file name */
data/petsc-3.14.1+dfsg1/src/mat/tests/ex173.c:17:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char           file[PETSC_MAX_PATH_LEN];  /* input file name */
data/petsc-3.14.1+dfsg1/src/mat/tests/ex174.cxx:16:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char           file[2][PETSC_MAX_PATH_LEN];
data/petsc-3.14.1+dfsg1/src/mat/tests/ex177.c:12:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char           file[PETSC_MAX_PATH_LEN];
data/petsc-3.14.1+dfsg1/src/mat/tests/ex18.c:16:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char           convname[64];
data/petsc-3.14.1+dfsg1/src/mat/tests/ex180.c:9:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char           file[PETSC_MAX_PATH_LEN];
data/petsc-3.14.1+dfsg1/src/mat/tests/ex190.c:9:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char           file[PETSC_MAX_PATH_LEN];
data/petsc-3.14.1+dfsg1/src/mat/tests/ex192.c:21:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char           solver[256];
data/petsc-3.14.1+dfsg1/src/mat/tests/ex192.c:22:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char           file[PETSC_MAX_PATH_LEN]; /* input file name */
data/petsc-3.14.1+dfsg1/src/mat/tests/ex198.c:12:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char           file[3][PETSC_MAX_PATH_LEN];
data/petsc-3.14.1+dfsg1/src/mat/tests/ex199.c:11:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char           file[128];
data/petsc-3.14.1+dfsg1/src/mat/tests/ex20.c:13:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char           mtype[256];
data/petsc-3.14.1+dfsg1/src/mat/tests/ex206.c:8:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char              file[PETSC_MAX_PATH_LEN];  /* input file name */
data/petsc-3.14.1+dfsg1/src/mat/tests/ex209.c:13:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char           file[PETSC_MAX_PATH_LEN];
data/petsc-3.14.1+dfsg1/src/mat/tests/ex214.c:18:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char           solver[256];
data/petsc-3.14.1+dfsg1/src/mat/tests/ex215.c:17:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char           file[PETSC_MAX_PATH_LEN];
data/petsc-3.14.1+dfsg1/src/mat/tests/ex220.c:4:8:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
static char help[PETSC_MAX_PATH_LEN] = "Tests MatLoad() with MatCreateDense() for memory leak ";
data/petsc-3.14.1+dfsg1/src/mat/tests/ex220.c:11:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char                filename[PETSC_MAX_PATH_LEN];
data/petsc-3.14.1+dfsg1/src/mat/tests/ex222.c:8:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char           filename[PETSC_MAX_PATH_LEN];
data/petsc-3.14.1+dfsg1/src/mat/tests/ex222.c:9:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char           expltype[128],*etype = NULL;
data/petsc-3.14.1+dfsg1/src/mat/tests/ex226.c:15:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char           stencil[PETSC_MAX_PATH_LEN];
data/petsc-3.14.1+dfsg1/src/mat/tests/ex23.c:192:13:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
            char testname[256];
data/petsc-3.14.1+dfsg1/src/mat/tests/ex23.c:712:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char                   diagstr[16];
data/petsc-3.14.1+dfsg1/src/mat/tests/ex231.cxx:30:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char           file[2][PETSC_MAX_PATH_LEN];
data/petsc-3.14.1+dfsg1/src/mat/tests/ex231.cxx:71:79:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
        while (std::getline(sstream, token, ' ')) {dof_indices.push_back(std::atoi(token.c_str()));}
data/petsc-3.14.1+dfsg1/src/mat/tests/ex237.c:33:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char           *type[10];
data/petsc-3.14.1+dfsg1/src/mat/tests/ex237.c:36:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char           file[PETSC_MAX_PATH_LEN];
data/petsc-3.14.1+dfsg1/src/mat/tests/ex237.c:136:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        char base[256];
data/petsc-3.14.1+dfsg1/src/mat/tests/ex237.c:204:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        char          stage_s[256];
data/petsc-3.14.1+dfsg1/src/mat/tests/ex244.cxx:15:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char           file[2][PETSC_MAX_PATH_LEN];
data/petsc-3.14.1+dfsg1/src/mat/tests/ex28.c:16:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char           solvertype[64]="petsc";
data/petsc-3.14.1+dfsg1/src/mat/tests/ex40.c:44:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char           file[PETSC_MAX_PATH_LEN];
data/petsc-3.14.1+dfsg1/src/mat/tests/ex41.c:17:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char           file[PETSC_MAX_PATH_LEN];
data/petsc-3.14.1+dfsg1/src/mat/tests/ex42.c:18:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char           file[PETSC_MAX_PATH_LEN];
data/petsc-3.14.1+dfsg1/src/mat/tests/ex47.c:16:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char              file[PETSC_MAX_PATH_LEN];
data/petsc-3.14.1+dfsg1/src/mat/tests/ex53.c:11:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char              file[PETSC_MAX_PATH_LEN];
data/petsc-3.14.1+dfsg1/src/mat/tests/ex55.c:14:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char           file[PETSC_MAX_PATH_LEN];
data/petsc-3.14.1+dfsg1/src/mat/tests/ex57.c:14:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char           fin[PETSC_MAX_PATH_LEN],fout[PETSC_MAX_PATH_LEN] ="default.mat";
data/petsc-3.14.1+dfsg1/src/mat/tests/ex58.c:13:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  const char     *eq[2];
data/petsc-3.14.1+dfsg1/src/mat/tests/ex62.c:35:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char           file[2][128];
data/petsc-3.14.1+dfsg1/src/mat/tests/ex70.c:218:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char           mattype[256];
data/petsc-3.14.1+dfsg1/src/mat/tests/ex72.c:32:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char        filein[PETSC_MAX_PATH_LEN],fileout[PETSC_MAX_PATH_LEN];
data/petsc-3.14.1+dfsg1/src/mat/tests/ex72mmio.c:17:8:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
static char mm_buffer[MM_MAX_LINE_LENGTH];
data/petsc-3.14.1+dfsg1/src/mat/tests/ex72mmio.c:29:14:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    if ((f = fopen(fname, "r")) == NULL)
data/petsc-3.14.1+dfsg1/src/mat/tests/ex72mmio.c:104:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char line[MM_MAX_LINE_LENGTH];
data/petsc-3.14.1+dfsg1/src/mat/tests/ex72mmio.c:105:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char banner[MM_MAX_TOKEN_LENGTH];
data/petsc-3.14.1+dfsg1/src/mat/tests/ex72mmio.c:106:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char mtx[MM_MAX_TOKEN_LENGTH];
data/petsc-3.14.1+dfsg1/src/mat/tests/ex72mmio.c:107:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char crd[MM_MAX_TOKEN_LENGTH];
data/petsc-3.14.1+dfsg1/src/mat/tests/ex72mmio.c:108:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char data_type[MM_MAX_TOKEN_LENGTH];
data/petsc-3.14.1+dfsg1/src/mat/tests/ex72mmio.c:109:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char storage_scheme[MM_MAX_TOKEN_LENGTH];
data/petsc-3.14.1+dfsg1/src/mat/tests/ex72mmio.c:197:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char line[MM_MAX_LINE_LENGTH];
data/petsc-3.14.1+dfsg1/src/mat/tests/ex72mmio.c:228:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char line[MM_MAX_LINE_LENGTH];
data/petsc-3.14.1+dfsg1/src/mat/tests/ex72mmio.c:347:14:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    if ((f = fopen(fname, "r")) == NULL)
data/petsc-3.14.1+dfsg1/src/mat/tests/ex72mmio.c:413:14:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    if ((f = fopen(fname, "w")) == NULL)
data/petsc-3.14.1+dfsg1/src/mat/tests/ex72mmio.c:450:11:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    const char *types[4];
data/petsc-3.14.1+dfsg1/src/mat/tests/ex72mmio.h:18:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
typedef char MM_typecode[4];
data/petsc-3.14.1+dfsg1/src/mat/tests/ex73.c:29:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char            file[PETSC_MAX_PATH_LEN];         /* input file name */
data/petsc-3.14.1+dfsg1/src/mat/tests/ex78.c:43:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char           Ain[PETSC_MAX_PATH_LEN],rhs[PETSC_MAX_PATH_LEN],solu[PETSC_MAX_PATH_LEN];
data/petsc-3.14.1+dfsg1/src/mat/tests/ex87.c:10:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char           file[PETSC_MAX_PATH_LEN];
data/petsc-3.14.1+dfsg1/src/mat/tests/ex94.c:36:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char           file[4][128];
data/petsc-3.14.1+dfsg1/src/mat/tutorials/ex1.c:27:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char            file[PETSC_MAX_PATH_LEN];           /* input file name */
data/petsc-3.14.1+dfsg1/src/mat/tutorials/ex10.c:23:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char           file[PETSC_MAX_PATH_LEN];            /* input file name */
data/petsc-3.14.1+dfsg1/src/mat/tutorials/ex12.c:77:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char           file[PETSC_MAX_PATH_LEN];  /* input file name */
data/petsc-3.14.1+dfsg1/src/mat/tutorials/ex16.c:14:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char              file[PETSC_MAX_PATH_LEN];  /* input file name */
data/petsc-3.14.1+dfsg1/src/mat/utils/gcreate.c:201:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char           type[256];
data/petsc-3.14.1+dfsg1/src/snes/impls/composite/snescomposite.c:435:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char               *sneses[8];
data/petsc-3.14.1+dfsg1/src/snes/impls/composite/snescomposite.c:516:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char               newprefix[20];
data/petsc-3.14.1+dfsg1/src/snes/impls/fas/fasfunc.c:86:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char           tprefix[128];
data/petsc-3.14.1+dfsg1/src/snes/impls/fas/fasfunc.c:293:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char           tprefix[128];
data/petsc-3.14.1+dfsg1/src/snes/impls/fas/fasfunc.c:420:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char           eventname[128];
data/petsc-3.14.1+dfsg1/src/snes/impls/fas/fasfunc.c:461:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char           tprefix[128];
data/petsc-3.14.1+dfsg1/src/snes/impls/gs/ftn-auto/snesgsf.c:62:63:  [2] (integer) atol:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
PETSC_EXTERN void  snesngsgettolerances_(SNES snes,PetscReal *atol,PetscReal *rtol,PetscReal *stol,PetscInt *maxit, int *__ierr)
data/petsc-3.14.1+dfsg1/src/snes/impls/gs/ftn-auto/snesgsf.c:65:32:  [2] (integer) atol:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
	(SNES)PetscToPointer((snes) ),atol,rtol,stol,maxit);
data/petsc-3.14.1+dfsg1/src/snes/impls/gs/gssecant.c:19:21:  [2] (integer) atol:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
  PetscReal         atol,rtol,stol;
data/petsc-3.14.1+dfsg1/src/snes/impls/gs/gssecant.c:35:37:  [2] (integer) atol:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
  ierr = SNESNGSGetTolerances(snes,&atol,&rtol,&stol,&its);CHKERRQ(ierr);
data/petsc-3.14.1+dfsg1/src/snes/impls/gs/gssecant.c:90:35:  [2] (integer) atol:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
        if (PetscAbsScalar(g-f) > atol) {
data/petsc-3.14.1+dfsg1/src/snes/impls/gs/gssecant.c:110:33:  [2] (integer) atol:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
        if (PetscSqrtReal(ft) < atol) isdone = PETSC_TRUE;
data/petsc-3.14.1+dfsg1/src/snes/impls/gs/snesgs.c:72:59:  [2] (integer) atol:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
PetscErrorCode  SNESNGSGetTolerances(SNES snes,PetscReal *atol,PetscReal *rtol,PetscReal *stol,PetscInt *maxit)
data/petsc-3.14.1+dfsg1/src/snes/impls/gs/snesgs.c:78:7:  [2] (integer) atol:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
  if (atol) *atol = gs->abstol;
data/petsc-3.14.1+dfsg1/src/snes/impls/gs/snesgs.c:178:119:  [2] (integer) atol:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
  ierr = PetscOptionsReal("-snes_ngs_atol","Absolute residual tolerance for GS iteration","SNESComputeGS",gs->abstol,&atol,&flg);CHKERRQ(ierr);
data/petsc-3.14.1+dfsg1/src/snes/impls/gs/snesgs.c:183:38:  [2] (integer) atol:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
    ierr = SNESNGSSetTolerances(snes,atol,rtol,stol,max_its);CHKERRQ(ierr);
data/petsc-3.14.1+dfsg1/src/snes/impls/multiblock/multiblock.c:81:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char            optionname[128], name[8];
data/petsc-3.14.1+dfsg1/src/snes/impls/multiblock/multiblock.c:126:11:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
          char name[8];
data/petsc-3.14.1+dfsg1/src/snes/impls/multiblock/multiblock.c:167:13:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
            char name[8];
data/petsc-3.14.1+dfsg1/src/snes/impls/multiblock/multiblock.c:322:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      char schurprefix[256];
data/petsc-3.14.1+dfsg1/src/snes/impls/multiblock/multiblock.c:592:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char            prefix[128];
data/petsc-3.14.1+dfsg1/src/snes/impls/multiblock/multiblock.c:646:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char            prefix[128];
data/petsc-3.14.1+dfsg1/src/snes/interface/dlregissnes.c:39:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char           logList[256];
data/petsc-3.14.1+dfsg1/src/snes/interface/ftn-auto/snesf.c:720:60:  [2] (integer) atol:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
PETSC_EXTERN void  snesgettolerances_(SNES snes,PetscReal *atol,PetscReal *rtol,PetscReal *stol,PetscInt *maxit,PetscInt *maxf, int *__ierr)
data/petsc-3.14.1+dfsg1/src/snes/interface/ftn-auto/snesf.c:723:32:  [2] (integer) atol:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
	(SNES)PetscToPointer((snes) ),atol,rtol,stol,maxit,maxf);
data/petsc-3.14.1+dfsg1/src/snes/interface/noise/snesmfj2.c:214:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char           p[64];
data/petsc-3.14.1+dfsg1/src/snes/interface/noise/snesnoise.c:34:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char           noise_file[PETSC_MAX_PATH_LEN];
data/petsc-3.14.1+dfsg1/src/snes/interface/noise/snesnoise.c:58:22:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
  if (flg) neP->fp = fopen(noise_file,"w");
data/petsc-3.14.1+dfsg1/src/snes/interface/noise/snesnoise.c:59:22:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
  else     neP->fp = fopen("noise.out","w");
data/petsc-3.14.1+dfsg1/src/snes/interface/noise/snesnoise.c:234:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char           filename[32];
data/petsc-3.14.1+dfsg1/src/snes/interface/noise/snesnoise.c:276:7:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
      sprintf(filename,"y2.%d.out",(int)i);
data/petsc-3.14.1+dfsg1/src/snes/interface/snes.c:280:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char           type[256];
data/petsc-3.14.1+dfsg1/src/snes/interface/snes.c:466:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char        type[256];
data/petsc-3.14.1+dfsg1/src/snes/interface/snes.c:480:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char      str[36];
data/petsc-3.14.1+dfsg1/src/snes/interface/snes.c:501:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      char       dir[1024];
data/petsc-3.14.1+dfsg1/src/snes/interface/snes.c:910:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char           type[256], monfilename[PETSC_MAX_PATH_LEN];
data/petsc-3.14.1+dfsg1/src/snes/interface/snes.c:3728:56:  [2] (integer) atol:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
PetscErrorCode  SNESGetTolerances(SNES snes,PetscReal *atol,PetscReal *rtol,PetscReal *stol,PetscInt *maxit,PetscInt *maxf)
data/petsc-3.14.1+dfsg1/src/snes/interface/snes.c:3732:7:  [2] (integer) atol:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
  if (atol)  *atol  = snes->abstol;
data/petsc-3.14.1+dfsg1/src/snes/interface/snesj.c:49:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  const char        *list[2] = {"ds","wp"};
data/petsc-3.14.1+dfsg1/src/snes/linesearch/impls/cp/linesearchcp.c:10:48:  [2] (integer) atol:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
  PetscReal      xnorm, ynorm, gnorm, steptol, atol, rtol, ltol, maxstep;
data/petsc-3.14.1+dfsg1/src/snes/linesearch/impls/cp/linesearchcp.c:21:78:  [2] (integer) atol:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
  ierr = SNESLineSearchGetTolerances(linesearch, &steptol, &maxstep, &rtol, &atol, &ltol, &max_its);CHKERRQ(ierr);
data/petsc-3.14.1+dfsg1/src/snes/linesearch/impls/cp/linesearchcp.c:30:33:  [2] (integer) atol:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
  if (PetscAbsScalar(fty_old) < atol) {
data/petsc-3.14.1+dfsg1/src/snes/linesearch/impls/cp/linesearchcp.c:33:174:  [2] (integer) atol:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
      ierr = PetscViewerASCIIPrintf(monitor,"    Line search terminated ended at initial point because dot(F,Y) = %g < atol = %g\n",(double)PetscAbsScalar(fty_old), (double)atol);CHKERRQ(ierr);
data/petsc-3.14.1+dfsg1/src/snes/linesearch/impls/cp/linesearchcp.c:56:31:  [2] (integer) atol:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
    if (PetscAbsScalar(fty) < atol && i > 0) break;
data/petsc-3.14.1+dfsg1/src/snes/linesearch/impls/l2/linesearchl2.c:16:42:  [2] (integer) atol:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
  PetscReal      steptol, maxstep, rtol, atol, ltol;
data/petsc-3.14.1+dfsg1/src/snes/linesearch/impls/l2/linesearchl2.c:30:78:  [2] (integer) atol:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
  ierr = SNESLineSearchGetTolerances(linesearch, &steptol, &maxstep, &rtol, &atol, &ltol, &max_its);CHKERRQ(ierr);
data/petsc-3.14.1+dfsg1/src/snes/linesearch/interface/ftn-auto/linesearchf.c:290:140:  [2] (integer) atol:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
PETSC_EXTERN void  sneslinesearchgettolerances_(SNESLineSearch linesearch,PetscReal *steptol,PetscReal *maxstep,PetscReal *rtol,PetscReal *atol,PetscReal *ltol,PetscInt *max_its, int *__ierr)
data/petsc-3.14.1+dfsg1/src/snes/linesearch/interface/ftn-auto/linesearchf.c:293:69:  [2] (integer) atol:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
	(SNESLineSearch)PetscToPointer((linesearch) ),steptol,maxstep,rtol,atol,ltol,max_its);
data/petsc-3.14.1+dfsg1/src/snes/linesearch/interface/ftn-auto/linesearchf.c:295:140:  [2] (integer) atol:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
PETSC_EXTERN void  sneslinesearchsettolerances_(SNESLineSearch linesearch,PetscReal *steptol,PetscReal *maxstep,PetscReal *rtol,PetscReal *atol,PetscReal *ltol,PetscInt *max_its, int *__ierr)
data/petsc-3.14.1+dfsg1/src/snes/linesearch/interface/ftn-auto/linesearchf.c:298:73:  [2] (integer) atol:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
	(SNESLineSearch)PetscToPointer((linesearch) ),*steptol,*maxstep,*rtol,*atol,*ltol,*max_its);
data/petsc-3.14.1+dfsg1/src/snes/linesearch/interface/linesearch.c:796:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char              type[256];
data/petsc-3.14.1+dfsg1/src/snes/linesearch/interface/linesearch.c:823:140:  [2] (integer) atol:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
  ierr = PetscOptionsReal("-snes_linesearch_atol","Absolute tolerance for iterative line search","SNESLineSearchSetTolerances",linesearch->atol,&linesearch->atol,NULL);CHKERRQ(ierr);
data/petsc-3.14.1+dfsg1/src/snes/linesearch/interface/linesearch.c:823:158:  [2] (integer) atol:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
  ierr = PetscOptionsReal("-snes_linesearch_atol","Absolute tolerance for iterative line search","SNESLineSearchSetTolerances",linesearch->atol,&linesearch->atol,NULL);CHKERRQ(ierr);
data/petsc-3.14.1+dfsg1/src/snes/linesearch/interface/linesearch.c:891:142:  [2] (integer) atol:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
    ierr = PetscViewerASCIIPrintf(viewer,"  tolerances: relative=%e, absolute=%e, lambda=%e\n", (double)linesearch->rtol,(double)linesearch->atol,(double)linesearch->ltol);CHKERRQ(ierr);
data/petsc-3.14.1+dfsg1/src/snes/linesearch/interface/linesearch.c:1115:138:  [2] (integer) atol:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
PetscErrorCode  SNESLineSearchGetTolerances(SNESLineSearch linesearch,PetscReal *steptol,PetscReal *maxstep, PetscReal *rtol, PetscReal *atol, PetscReal *ltol, PetscInt *max_its)
data/petsc-3.14.1+dfsg1/src/snes/linesearch/interface/linesearch.c:1131:7:  [2] (integer) atol:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
  if (atol) {
data/petsc-3.14.1+dfsg1/src/snes/linesearch/interface/linesearch.c:1132:27:  [2] (integer) atol:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
    PetscValidRealPointer(atol, 5);
data/petsc-3.14.1+dfsg1/src/snes/linesearch/interface/linesearch.c:1133:25:  [2] (integer) atol:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
    *atol = linesearch->atol;
data/petsc-3.14.1+dfsg1/src/snes/linesearch/interface/linesearch.c:1169:134:  [2] (integer) atol:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
PetscErrorCode  SNESLineSearchSetTolerances(SNESLineSearch linesearch,PetscReal steptol,PetscReal maxstep, PetscReal rtol, PetscReal atol, PetscReal ltol, PetscInt max_its)
data/petsc-3.14.1+dfsg1/src/snes/linesearch/interface/linesearch.c:1176:46:  [2] (integer) atol:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
  PetscValidLogicalCollectiveReal(linesearch,atol,5);
data/petsc-3.14.1+dfsg1/src/snes/linesearch/interface/linesearch.c:1195:7:  [2] (integer) atol:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
  if (atol != PETSC_DEFAULT) {
data/petsc-3.14.1+dfsg1/src/snes/linesearch/interface/linesearch.c:1196:9:  [2] (integer) atol:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
    if (atol < 0.0) SETERRQ1(PetscObjectComm((PetscObject)linesearch),PETSC_ERR_ARG_OUTOFRANGE,"Absolute tolerance %14.12e must be non-negative",(double)atol);
data/petsc-3.14.1+dfsg1/src/snes/linesearch/interface/linesearch.c:1196:154:  [2] (integer) atol:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
    if (atol < 0.0) SETERRQ1(PetscObjectComm((PetscObject)linesearch),PETSC_ERR_ARG_OUTOFRANGE,"Absolute tolerance %14.12e must be non-negative",(double)atol);
data/petsc-3.14.1+dfsg1/src/snes/linesearch/interface/linesearch.c:1197:24:  [2] (integer) atol:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
    linesearch->atol = atol;
data/petsc-3.14.1+dfsg1/src/snes/tests/ex2.c:13:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char          filename[PETSC_MAX_PATH_LEN]; /* Import mesh from file */
data/petsc-3.14.1+dfsg1/src/snes/tests/ex2.c:32:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  const char    *pointTypes[3] = {"centroid", "grid", "grid_replicated"};
data/petsc-3.14.1+dfsg1/src/snes/tests/ex4.c:52:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char           type[256];
data/petsc-3.14.1+dfsg1/src/snes/tests/ex8.c:544:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char            checkname[PETSC_MAX_PATH_LEN];
data/petsc-3.14.1+dfsg1/src/snes/tutorials/ex10d/ex10.c:104:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char                   str[256],form[256],part_name[256];
data/petsc-3.14.1+dfsg1/src/snes/tutorials/ex10d/ex10.c:167:10:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
  fptr = fopen("adj.in","r");
data/petsc-3.14.1+dfsg1/src/snes/tutorials/ex10d/ex10.c:174:3:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
  sprintf(part_name,"output.%d",rank);
data/petsc-3.14.1+dfsg1/src/snes/tutorials/ex10d/ex10.c:175:11:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
  fptr1 = fopen(part_name,"w");
data/petsc-3.14.1+dfsg1/src/snes/tutorials/ex12.c:37:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char           filename[2048];    /* The optional mesh file */
data/petsc-3.14.1+dfsg1/src/snes/tutorials/ex12.c:445:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  const char    *bcTypes[3]  = {"neumann", "dirichlet", "none"};
data/petsc-3.14.1+dfsg1/src/snes/tutorials/ex12.c:446:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  const char    *runTypes[4] = {"full", "exact", "test", "perf"};
data/petsc-3.14.1+dfsg1/src/snes/tutorials/ex12.c:447:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  const char    *coeffTypes[8] = {"none", "analytic", "field", "nonlinear", "circle", "cross", "checkerboard_0", "checkerboard_1"};
data/petsc-3.14.1+dfsg1/src/snes/tutorials/ex12.c:629:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char      convType[256];
data/petsc-3.14.1+dfsg1/src/snes/tutorials/ex12.c:651:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char     buf[256];
data/petsc-3.14.1+dfsg1/src/snes/tutorials/ex12.c:916:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char           buf[256];
data/petsc-3.14.1+dfsg1/src/snes/tutorials/ex12.c:996:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char           buf[256];
data/petsc-3.14.1+dfsg1/src/snes/tutorials/ex13.c:118:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char    name[PETSC_MAX_PATH_LEN];
data/petsc-3.14.1+dfsg1/src/snes/tutorials/ex13.c:146:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char      convType[256];
data/petsc-3.14.1+dfsg1/src/snes/tutorials/ex13.c:225:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char           prefix[PETSC_MAX_PATH_LEN];
data/petsc-3.14.1+dfsg1/src/snes/tutorials/ex13.c:276:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char            name[PETSC_MAX_PATH_LEN];
data/petsc-3.14.1+dfsg1/src/snes/tutorials/ex15.c:106:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char                filename[PETSC_MAX_PATH_LEN] = "ex15.vts";
data/petsc-3.14.1+dfsg1/src/snes/tutorials/ex15.c:766:18:  [2] (integer) atol:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
  PetscReal      atol,rtol,stol;
data/petsc-3.14.1+dfsg1/src/snes/tutorials/ex15.c:786:40:  [2] (integer) atol:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
  ierr    = SNESNGSGetTolerances(snes,&atol,&rtol,&stol,&its);CHKERRQ(ierr);
data/petsc-3.14.1+dfsg1/src/snes/tutorials/ex15.c:858:19:  [2] (integer) atol:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
              if (atol > PetscAbsReal(PetscRealPart(F)) ||
data/petsc-3.14.1+dfsg1/src/snes/tutorials/ex16.c:109:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char           filename[PETSC_MAX_PATH_LEN] = "ex16.vts";
data/petsc-3.14.1+dfsg1/src/snes/tutorials/ex16.c:110:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char           filename_def[PETSC_MAX_PATH_LEN] = "ex16_def.vts";
data/petsc-3.14.1+dfsg1/src/snes/tutorials/ex16.c:836:18:  [2] (integer) atol:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
  PetscReal      atol,rtol,stol;
data/petsc-3.14.1+dfsg1/src/snes/tutorials/ex16.c:841:40:  [2] (integer) atol:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
  ierr    = SNESNGSGetTolerances(snes,&atol,&rtol,&stol,&its);CHKERRQ(ierr);
data/petsc-3.14.1+dfsg1/src/snes/tutorials/ex16.c:908:27:  [2] (integer) atol:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
              if (fnorm < atol*atol || fnorm < rtol*rtol*fnorm0 || ynorm < stol*stol*xnorm) break;
data/petsc-3.14.1+dfsg1/src/snes/tutorials/ex16.c:908:32:  [2] (integer) atol:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
              if (fnorm < atol*atol || fnorm < rtol*rtol*fnorm0 || ynorm < stol*stol*xnorm) break;
data/petsc-3.14.1+dfsg1/src/snes/tutorials/ex17.c:17:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
const char *solutionTypes[NUM_SOLUTION_TYPES+1] = {"vlap_quad", "elas_quad", "vlap_trig", "elas_trig", "elas_axial_disp", "elas_uniform_strain", "unknown"};
data/petsc-3.14.1+dfsg1/src/snes/tutorials/ex17.c:21:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char         dmType[256]; /* DM type for the solve */
data/petsc-3.14.1+dfsg1/src/snes/tutorials/ex17.c:477:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char           prefix[PETSC_MAX_PATH_LEN];
data/petsc-3.14.1+dfsg1/src/snes/tutorials/ex19.c:386:23:  [2] (integer) atol:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
  PetscReal      rtol,atol,stol;
data/petsc-3.14.1+dfsg1/src/snes/tutorials/ex19.c:406:46:  [2] (integer) atol:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
  ierr    = SNESNGSGetTolerances(snes,&rtol,&atol,&stol,&max_its);CHKERRQ(ierr);
data/petsc-3.14.1+dfsg1/src/snes/tutorials/ex19.c:632:39:  [2] (integer) atol:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
          if (rtol*pfnorm0 >pfnorm || atol > pfnorm || pxnorm*stol > pynorm) ptconverged = PETSC_TRUE;
data/petsc-3.14.1+dfsg1/src/snes/tutorials/ex23.c:134:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char      convType[256];
data/petsc-3.14.1+dfsg1/src/snes/tutorials/ex23.c:189:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char            prefix[PETSC_MAX_PATH_LEN];
data/petsc-3.14.1+dfsg1/src/snes/tutorials/ex24.c:13:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
const char *SolTypeNames[NUM_SOLTYPE+3] = {"linear", "quadratic", "quartic", "unknown", "SolType", "SOL_", NULL};
data/petsc-3.14.1+dfsg1/src/snes/tutorials/ex24.c:258:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char      convType[256];
data/petsc-3.14.1+dfsg1/src/snes/tutorials/ex30.c:91:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char      filename[PETSC_MAX_PATH_LEN];
data/petsc-3.14.1+dfsg1/src/snes/tutorials/ex30.c:916:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char           date[30];
data/petsc-3.14.1+dfsg1/src/snes/tutorials/ex48.c:458:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char           mtype[256] = MATSBAIJ;
data/petsc-3.14.1+dfsg1/src/snes/tutorials/ex48.c:1540:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char      filename[PETSC_MAX_PATH_LEN] = "";
data/petsc-3.14.1+dfsg1/src/snes/tutorials/ex5.c:669:18:  [2] (integer) atol:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
  PetscReal      atol,rtol,stol;
data/petsc-3.14.1+dfsg1/src/snes/tutorials/ex5.c:677:40:  [2] (integer) atol:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
  ierr    = SNESNGSGetTolerances(snes,&atol,&rtol,&stol,&its);CHKERRQ(ierr);
data/petsc-3.14.1+dfsg1/src/snes/tutorials/ex5.c:745:17:  [2] (integer) atol:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
            if (atol > PetscAbsReal(PetscRealPart(F)) ||
data/petsc-3.14.1+dfsg1/src/snes/tutorials/ex56.c:219:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char               convType[256];
data/petsc-3.14.1+dfsg1/src/snes/tutorials/ex56.c:221:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  const char * const options[10] = {"-ex56_dm_refine 0",
data/petsc-3.14.1+dfsg1/src/snes/tutorials/ex62.c:46:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char     filename[PETSC_MAX_PATH_LEN];
data/petsc-3.14.1+dfsg1/src/snes/tutorials/ex62.c:411:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  const char     *name[2]   = {"velocity", "pressure"};
data/petsc-3.14.1+dfsg1/src/snes/tutorials/ex62.c:412:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  const char     *prefix[2] = {"vel_",     "pres_"};
data/petsc-3.14.1+dfsg1/src/snes/tutorials/ex63.c:207:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  const char    *bcTypes[2]  = {"neumann", "dirichlet"};
data/petsc-3.14.1+dfsg1/src/snes/tutorials/ex63.c:208:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  const char    *runTypes[2] = {"full", "test"};
data/petsc-3.14.1+dfsg1/src/snes/tutorials/ex69.c:33:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
const char *solTypes[NUM_SOL_TYPES+1] = {"solkx", "solcx", "unknown"};
data/petsc-3.14.1+dfsg1/src/snes/tutorials/ex69.c:3113:11:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    const char *names[4] = {"markerBottom", "markerRight", "markerTop", "markerLeft"};
data/petsc-3.14.1+dfsg1/src/snes/tutorials/ex77.c:269:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  const char    *runTypes[2] = {"full", "test"};
data/petsc-3.14.1+dfsg1/src/snes/tutorials/network/ex1.c:325:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char                pfdata_file[PETSC_MAX_PATH_LEN] = "power/case9.m";
data/petsc-3.14.1+dfsg1/src/snes/tutorials/network/ex1.c:334:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char                waterdata_file[PETSC_MAX_PATH_LEN] = "water/sample1.inp";
data/petsc-3.14.1+dfsg1/src/snes/tutorials/network/power/PFReadData.c:18:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char           line[MAXLINE];
data/petsc-3.14.1+dfsg1/src/snes/tutorials/network/power/PFReadData.c:27:8:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
  fp = fopen(filename,"r");
data/petsc-3.14.1+dfsg1/src/snes/tutorials/network/power/PFReadData.c:69:8:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
  fp = fopen(filename,"r");
data/petsc-3.14.1+dfsg1/src/snes/tutorials/network/power/power.c:76:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char             pfdata_file[PETSC_MAX_PATH_LEN]="case9.m";
data/petsc-3.14.1+dfsg1/src/snes/tutorials/network/power/power.h:30:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char          i[20]; /* Bus Number */
data/petsc-3.14.1+dfsg1/src/snes/tutorials/network/power/power.h:31:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char          name[20]; /* Bus Name */
data/petsc-3.14.1+dfsg1/src/snes/tutorials/network/power/power.h:54:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char          i[20]; /* Bus Number or extended bus name*/
data/petsc-3.14.1+dfsg1/src/snes/tutorials/network/power/power.h:55:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char          id[20]; /* Load identifier, in case of multiple loads. 1 by default */
data/petsc-3.14.1+dfsg1/src/snes/tutorials/network/power/power.h:77:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char          i[20]; /* Bus Number or extended bus name*/
data/petsc-3.14.1+dfsg1/src/snes/tutorials/network/power/power.h:78:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char          id[20]; /* Generator identifier, in case of multiple generators at same bus. 1 by default */
data/petsc-3.14.1+dfsg1/src/snes/tutorials/network/power/power.h:107:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char          i[20]; /* Bus Number or extended bus name*/
data/petsc-3.14.1+dfsg1/src/snes/tutorials/network/power/power.h:108:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char          j[20]; /* Bus Number or extended bus name*/
data/petsc-3.14.1+dfsg1/src/snes/tutorials/network/power/power.h:109:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char          ckt[20]; /* Circuit identifier. 1 by default */
data/petsc-3.14.1+dfsg1/src/snes/tutorials/network/power/power2.c:428:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char             pfdata_file[PETSC_MAX_PATH_LEN]="case9.m";
data/petsc-3.14.1+dfsg1/src/snes/tutorials/network/water/water.c:17:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char             waterdata_file[PETSC_MAX_PATH_LEN] = "sample1.inp";
data/petsc-3.14.1+dfsg1/src/snes/tutorials/network/water/water.h:65:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char        stat[16];  /* Status */
data/petsc-3.14.1+dfsg1/src/snes/tutorials/network/water/water.h:75:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char     param[16]; /* curve parameter (HEAD or ENERGY or EFFICIENCY) */
data/petsc-3.14.1+dfsg1/src/snes/tutorials/network/water/waterreaddata.c:143:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char           line[MAXLINE];
data/petsc-3.14.1+dfsg1/src/snes/tutorials/network/water/waterreaddata.c:155:8:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
  fp = fopen(filename,"rb");
data/petsc-3.14.1+dfsg1/src/snes/tutorials/network/water/waterreaddata.c:277:7:  [2] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant string.
      strcpy(pipe->stat,"OPEN"); /* default OPEN */
data/petsc-3.14.1+dfsg1/src/snes/utils/convest.c:307:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char          stageName[PETSC_MAX_PATH_LEN];
data/petsc-3.14.1+dfsg1/src/snes/utils/dmlocalsnes.c:85:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char        name[PETSC_MAX_PATH_LEN];
data/petsc-3.14.1+dfsg1/src/snes/utils/dmlocalsnes.c:86:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char        oldname[PETSC_MAX_PATH_LEN];
data/petsc-3.14.1+dfsg1/src/snes/utils/dmplexsnes.c:28:15:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        const char *comps[3] = {"A","dmAux","dmCh"};
data/petsc-3.14.1+dfsg1/src/sys/ams/pams.c:138:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char           dir[1024];
data/petsc-3.14.1+dfsg1/src/sys/classes/bag/bag.c:50:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char           nname[PETSC_BAG_NAME_LENGTH+1];
data/petsc-3.14.1+dfsg1/src/sys/classes/bag/bag.c:104:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char           nname[PETSC_BAG_NAME_LENGTH+1];
data/petsc-3.14.1+dfsg1/src/sys/classes/bag/bag.c:155:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char           nname[PETSC_BAG_NAME_LENGTH+1];
data/petsc-3.14.1+dfsg1/src/sys/classes/bag/bag.c:206:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char           nname[PETSC_BAG_NAME_LENGTH+1];
data/petsc-3.14.1+dfsg1/src/sys/classes/bag/bag.c:253:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char           nname[PETSC_BAG_NAME_LENGTH+1];
data/petsc-3.14.1+dfsg1/src/sys/classes/bag/bag.c:303:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char           nname[PETSC_BAG_NAME_LENGTH+1];
data/petsc-3.14.1+dfsg1/src/sys/classes/bag/bag.c:357:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char           nname[PETSC_BAG_NAME_LENGTH+1];
data/petsc-3.14.1+dfsg1/src/sys/classes/bag/bag.c:406:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char           nname[PETSC_BAG_NAME_LENGTH+1];
data/petsc-3.14.1+dfsg1/src/sys/classes/bag/bag.c:454:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char           nname[PETSC_BAG_NAME_LENGTH+1];
data/petsc-3.14.1+dfsg1/src/sys/classes/bag/bag.c:502:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char           nname[PETSC_BAG_NAME_LENGTH+1];
data/petsc-3.14.1+dfsg1/src/sys/classes/bag/bag.c:581:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char           name[PETSC_BAG_NAME_LENGTH+1],helpname[PETSC_BAG_NAME_LENGTH+PETSC_BAG_HELP_LENGTH+3];
data/petsc-3.14.1+dfsg1/src/sys/classes/bag/bag.c:787:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char           name[PETSC_BAG_NAME_LENGTH],help[PETSC_BAG_HELP_LENGTH],**list;
data/petsc-3.14.1+dfsg1/src/sys/classes/draw/impls/image/drawimage.c:252:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char chr[2] = {0, 0};
data/petsc-3.14.1+dfsg1/src/sys/classes/draw/impls/image/drawimage.c:439:71:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
static PetscErrorCode PetscDrawGetImage_Image(PetscDraw draw,unsigned char palette[256][3],unsigned int *w,unsigned int *h,unsigned char *pixels[])
data/petsc-3.14.1+dfsg1/src/sys/classes/draw/impls/image/drawimage.c:504:23:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
static const unsigned char BasicColors[PETSC_DRAW_BASIC_COLORS][3] = {
data/petsc-3.14.1+dfsg1/src/sys/classes/draw/impls/image/drawimage.c:586:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char R[256-PETSC_DRAW_BASIC_COLORS];
data/petsc-3.14.1+dfsg1/src/sys/classes/draw/impls/image/drawimage.c:587:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char G[256-PETSC_DRAW_BASIC_COLORS];
data/petsc-3.14.1+dfsg1/src/sys/classes/draw/impls/image/drawimage.c:588:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char B[256-PETSC_DRAW_BASIC_COLORS];
data/petsc-3.14.1+dfsg1/src/sys/classes/draw/impls/image/drawimage.h:11:12:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  unsigned char palette[256][3]; /* colormap       */
data/petsc-3.14.1+dfsg1/src/sys/classes/draw/impls/image/drawimage.h:205:23:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
static const unsigned char PetscImageFontBitmap[128-32][10] = {
data/petsc-3.14.1+dfsg1/src/sys/classes/draw/impls/x/xcolor.c:12:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
static const char *colornames[PETSC_DRAW_BASIC_COLORS] = {
data/petsc-3.14.1+dfsg1/src/sys/classes/draw/impls/x/xcolor.c:68:17:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
static unsigned char     gCpalette[PETSC_DRAW_MAXCOLOR][3];
data/petsc-3.14.1+dfsg1/src/sys/classes/draw/impls/x/xcolor.c:73:12:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  unsigned char  R[PETSC_DRAW_MAXCOLOR-PETSC_DRAW_BASIC_COLORS];
data/petsc-3.14.1+dfsg1/src/sys/classes/draw/impls/x/xcolor.c:74:12:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  unsigned char  G[PETSC_DRAW_MAXCOLOR-PETSC_DRAW_BASIC_COLORS];
data/petsc-3.14.1+dfsg1/src/sys/classes/draw/impls/x/xcolor.c:75:12:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  unsigned char  B[PETSC_DRAW_MAXCOLOR-PETSC_DRAW_BASIC_COLORS];
data/petsc-3.14.1+dfsg1/src/sys/classes/draw/impls/x/xcolor.c:125:12:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  unsigned char  R[PETSC_DRAW_MAXCOLOR-PETSC_DRAW_BASIC_COLORS];
data/petsc-3.14.1+dfsg1/src/sys/classes/draw/impls/x/xcolor.c:126:12:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  unsigned char  G[PETSC_DRAW_MAXCOLOR-PETSC_DRAW_BASIC_COLORS];
data/petsc-3.14.1+dfsg1/src/sys/classes/draw/impls/x/xcolor.c:127:12:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  unsigned char  B[PETSC_DRAW_MAXCOLOR-PETSC_DRAW_BASIC_COLORS];
data/petsc-3.14.1+dfsg1/src/sys/classes/draw/impls/x/xcolor.c:294:66:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
PetscErrorCode PetscDrawXiGetPalette(PetscDraw_X *XiWin,unsigned char palette[PETSC_DRAW_MAXCOLOR][3])
data/petsc-3.14.1+dfsg1/src/sys/classes/draw/impls/x/ximage.c:54:60:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
PetscErrorCode PetscDrawGetImage_X(PetscDraw draw,unsigned char palette[PETSC_DRAW_MAXCOLOR][3],unsigned int *out_w,unsigned int *out_h,unsigned char *out_pixels[])
data/petsc-3.14.1+dfsg1/src/sys/classes/draw/impls/x/ximpl.h:41:12:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  unsigned char     cpalette[PETSC_DRAW_MAXCOLOR][3]; /* Map color -> RGB value*/
data/petsc-3.14.1+dfsg1/src/sys/classes/draw/impls/x/xops.c:240:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char           chr[2] = {0, 0};
data/petsc-3.14.1+dfsg1/src/sys/classes/draw/impls/x/xtext.c:50:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char        font_name[100];
data/petsc-3.14.1+dfsg1/src/sys/classes/draw/impls/x/xtext.c:55:10:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
  (void) sprintf(font_name,"%dx%d",font->font_w,font->font_h);
data/petsc-3.14.1+dfsg1/src/sys/classes/draw/interface/draw.c:41:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char           logList[256];
data/petsc-3.14.1+dfsg1/src/sys/classes/draw/interface/drawreg.c:65:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char      str[36];
data/petsc-3.14.1+dfsg1/src/sys/classes/draw/interface/drawreg.c:393:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char              vtype[256];
data/petsc-3.14.1+dfsg1/src/sys/classes/draw/interface/drawreg.c:426:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char      filename[PETSC_MAX_PATH_LEN];
data/petsc-3.14.1+dfsg1/src/sys/classes/draw/interface/drawreg.c:427:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char      movieext[32];
data/petsc-3.14.1+dfsg1/src/sys/classes/draw/interface/dsave.c:42:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char           buf[PETSC_MAX_PATH_LEN];
data/petsc-3.14.1+dfsg1/src/sys/classes/draw/interface/dsave.c:143:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char           buf[PETSC_MAX_PATH_LEN];
data/petsc-3.14.1+dfsg1/src/sys/classes/draw/interface/dsave.c:180:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char           basename[PETSC_MAX_PATH_LEN];
data/petsc-3.14.1+dfsg1/src/sys/classes/draw/interface/dsave.c:181:12:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  unsigned char  palette[256][3];
data/petsc-3.14.1+dfsg1/src/sys/classes/draw/interface/dsave.c:197:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char path[PETSC_MAX_PATH_LEN];
data/petsc-3.14.1+dfsg1/src/sys/classes/draw/interface/dsave.c:338:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char           body[4096];
data/petsc-3.14.1+dfsg1/src/sys/classes/draw/interface/dtext.c:57:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char           chr[2] = {0, 0};
data/petsc-3.14.1+dfsg1/src/sys/classes/draw/interface/dtri.c:57:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char           string[32];
data/petsc-3.14.1+dfsg1/src/sys/classes/draw/tests/ex6.c:56:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char           title[64],cmap[32] = "";
data/petsc-3.14.1+dfsg1/src/sys/classes/draw/utils/axis.c:11:10:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  static char    buf[40];
data/petsc-3.14.1+dfsg1/src/sys/classes/draw/utils/axis.c:19:5:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
    sprintf(buf,"%0.1e",(double)val);
data/petsc-3.14.1+dfsg1/src/sys/classes/draw/utils/cmap.c:154:18:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  const unsigned char (*data)[3];
data/petsc-3.14.1+dfsg1/src/sys/classes/draw/utils/cmap.c:173:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  const char      *cmap_name_list[sizeof(PetscDrawCmapTable)/sizeof(PetscDrawCmapTable[0])];
data/petsc-3.14.1+dfsg1/src/sys/classes/draw/utils/cmap.c:194:20:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    const unsigned char (*rgb)[3] = PetscDrawCmapTable[id].data;
data/petsc-3.14.1+dfsg1/src/sys/classes/draw/utils/cmap/coolwarm.h:1:23:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
static const unsigned char PetscDrawCmap_coolwarm[256-PETSC_DRAW_BASIC_COLORS][3] = {
data/petsc-3.14.1+dfsg1/src/sys/classes/draw/utils/cmap/inferno.h:1:23:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
static const unsigned char PetscDrawCmap_inferno[256-PETSC_DRAW_BASIC_COLORS][3] = {
data/petsc-3.14.1+dfsg1/src/sys/classes/draw/utils/cmap/magma.h:1:23:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
static const unsigned char PetscDrawCmap_magma[256-PETSC_DRAW_BASIC_COLORS][3] = {
data/petsc-3.14.1+dfsg1/src/sys/classes/draw/utils/cmap/parula.h:1:23:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
static const unsigned char PetscDrawCmap_parula[256-PETSC_DRAW_BASIC_COLORS][3] = {
data/petsc-3.14.1+dfsg1/src/sys/classes/draw/utils/cmap/plasma.h:1:23:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
static const unsigned char PetscDrawCmap_plasma[256-PETSC_DRAW_BASIC_COLORS][3] = {
data/petsc-3.14.1+dfsg1/src/sys/classes/draw/utils/cmap/viridis.h:1:23:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
static const unsigned char PetscDrawCmap_viridis[256-PETSC_DRAW_BASIC_COLORS][3] = {
data/petsc-3.14.1+dfsg1/src/sys/classes/draw/utils/hists.c:267:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char           title[256];
data/petsc-3.14.1+dfsg1/src/sys/classes/draw/utils/hists.c:268:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char           xlabel[256];
data/petsc-3.14.1+dfsg1/src/sys/classes/draw/utils/image.c:14:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char           header[32];
data/petsc-3.14.1+dfsg1/src/sys/classes/draw/utils/image.c:179:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char           image[PETSC_MAX_PATH_LEN];
data/petsc-3.14.1+dfsg1/src/sys/classes/draw/utils/image.c:283:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char message[JMSG_LENGTH_MAX];
data/petsc-3.14.1+dfsg1/src/sys/classes/draw/utils/image.c:358:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char           filename[PETSC_MAX_PATH_LEN];
data/petsc-3.14.1+dfsg1/src/sys/classes/draw/utils/image.c:390:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char           input[PETSC_MAX_PATH_LEN];
data/petsc-3.14.1+dfsg1/src/sys/classes/draw/utils/image.c:391:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char           output[PETSC_MAX_PATH_LEN];
data/petsc-3.14.1+dfsg1/src/sys/classes/draw/utils/image.c:409:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char gifmovie[PETSC_MAX_PATH_LEN];
data/petsc-3.14.1+dfsg1/src/sys/classes/draw/utils/image.c:420:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char options[64] = "-loglevel error -y", extraopts[32] = "", framerate[24] = "";
data/petsc-3.14.1+dfsg1/src/sys/classes/draw/utils/image.c:421:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char command[sizeof(options)+sizeof(extraopts)+sizeof(framerate)+PETSC_MAX_PATH_LEN*2];
data/petsc-3.14.1+dfsg1/src/sys/classes/matlabengine/matlab.c:10:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char   buffer[1024];
data/petsc-3.14.1+dfsg1/src/sys/classes/matlabengine/matlab.c:40:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char              buffer[256];
data/petsc-3.14.1+dfsg1/src/sys/classes/matlabengine/matlab.c:72:3:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
  sprintf(buffer,"MPI_Comm_rank = %d; MPI_Comm_size = %d;\n",rank,size);
data/petsc-3.14.1+dfsg1/src/sys/classes/matlabengine/matlab.c:131:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char           buffer[1024];
data/petsc-3.14.1+dfsg1/src/sys/classes/random/interface/dlregisrand.c:35:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char           logList[256];
data/petsc-3.14.1+dfsg1/src/sys/classes/random/interface/randomc.c:124:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char           typeName[256];
data/petsc-3.14.1+dfsg1/src/sys/classes/random/interface/randomc.c:292:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      char       dir[1024];
data/petsc-3.14.1+dfsg1/src/sys/classes/random/tutorials/ex2.c:147:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char           temp[50];
data/petsc-3.14.1+dfsg1/src/sys/classes/viewer/impls/ams/amsopen.c:74:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char           dir[1024];
data/petsc-3.14.1+dfsg1/src/sys/classes/viewer/impls/ascii/filev.c:22:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      char par[PETSC_MAX_PATH_LEN],buf[PETSC_MAX_PATH_LEN];
data/petsc-3.14.1+dfsg1/src/sys/classes/viewer/impls/ascii/filev.c:654:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char           filename[PETSC_MAX_PATH_LEN];
data/petsc-3.14.1+dfsg1/src/sys/classes/viewer/impls/ascii/filev.c:704:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char              fname[PETSC_MAX_PATH_LEN],*gz;
data/petsc-3.14.1+dfsg1/src/sys/classes/viewer/impls/ascii/filev.c:740:22:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
        vascii->fd = fopen(fname,"r");
data/petsc-3.14.1+dfsg1/src/sys/classes/viewer/impls/ascii/filev.c:743:22:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
        vascii->fd = fopen(fname,"w");
data/petsc-3.14.1+dfsg1/src/sys/classes/viewer/impls/ascii/filev.c:746:22:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
        vascii->fd = fopen(fname,"a");
data/petsc-3.14.1+dfsg1/src/sys/classes/viewer/impls/ascii/filev.c:749:22:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
        vascii->fd = fopen(fname,"r+");
data/petsc-3.14.1+dfsg1/src/sys/classes/viewer/impls/ascii/filev.c:750:39:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
        if (!vascii->fd) vascii->fd = fopen(fname,"w+");
data/petsc-3.14.1+dfsg1/src/sys/classes/viewer/impls/ascii/filev.c:756:22:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
        vascii->fd = fopen(fname,"r+");
data/petsc-3.14.1+dfsg1/src/sys/classes/viewer/impls/ascii/filev.c:757:39:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
        if (!vascii->fd) vascii->fd = fopen(fname,"w+");
data/petsc-3.14.1+dfsg1/src/sys/classes/viewer/impls/binary/binv.c:796:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      char cmd[8+PETSC_MAX_PATH_LEN],out[64+PETSC_MAX_PATH_LEN] = "";
data/petsc-3.14.1+dfsg1/src/sys/classes/viewer/impls/binary/binv.c:1422:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char               bname[PETSC_MAX_PATH_LEN],*gz;
data/petsc-3.14.1+dfsg1/src/sys/classes/viewer/impls/binary/binv.c:1472:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char infoname[PETSC_MAX_PATH_LEN],iname[PETSC_MAX_PATH_LEN],*gz;
data/petsc-3.14.1+dfsg1/src/sys/classes/viewer/impls/binary/binv.c:1486:28:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
      vbinary->fdes_info = fopen(infoname,omode);
data/petsc-3.14.1+dfsg1/src/sys/classes/viewer/impls/binary/binv.c:1537:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char               defaultname[PETSC_MAX_PATH_LEN];
data/petsc-3.14.1+dfsg1/src/sys/classes/viewer/impls/binary/binv.c:1670:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char           fname[PETSC_MAX_PATH_LEN];
data/petsc-3.14.1+dfsg1/src/sys/classes/viewer/impls/glvis/glvis.c:294:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        char        filename[PETSC_MAX_PATH_LEN];
data/petsc-3.14.1+dfsg1/src/sys/classes/viewer/impls/glvis/glvis.c:419:11:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
          char        filename[PETSC_MAX_PATH_LEN];
data/petsc-3.14.1+dfsg1/src/sys/classes/viewer/impls/glvis/glvis.c:529:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char keys[256] = "", cmds[2*PETSC_MAX_PATH_LEN] = "";
data/petsc-3.14.1+dfsg1/src/sys/classes/viewer/impls/glvis/glvis.c:710:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char                 fname[PETSC_MAX_PATH_LEN],sport[16];
data/petsc-3.14.1+dfsg1/src/sys/classes/viewer/impls/glvis/glvis.c:815:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char     err[1024];
data/petsc-3.14.1+dfsg1/src/sys/classes/viewer/impls/glvis/glvis.c:822:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char msg[1024];
data/petsc-3.14.1+dfsg1/src/sys/classes/viewer/impls/glvis/glvis.c:876:25:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    FILE *sock, *null = fopen(PETSC_DEVNULL,"w");
data/petsc-3.14.1+dfsg1/src/sys/classes/viewer/impls/hdf5/hdf5v.c:11:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char buf[PETSC_MAX_PATH_LEN]="";
data/petsc-3.14.1+dfsg1/src/sys/classes/viewer/impls/hdf5/hdf5v.c:1019:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char           buf[PETSC_MAX_PATH_LEN]="";
data/petsc-3.14.1+dfsg1/src/sys/classes/viewer/impls/hdf5/hdf5v.c:1250:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char           fname[PETSC_MAX_PATH_LEN];
data/petsc-3.14.1+dfsg1/src/sys/classes/viewer/impls/mathematica/mathematica.c:93:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char                    *argv[6];
data/petsc-3.14.1+dfsg1/src/sys/classes/viewer/impls/mathematica/mathematica.c:96:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char                    *argv[5];
data/petsc-3.14.1+dfsg1/src/sys/classes/viewer/impls/mathematica/mathematica.c:98:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char                    hostname[256];
data/petsc-3.14.1+dfsg1/src/sys/classes/viewer/impls/mathematica/mathematica.c:192:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char                    linkname[256];
data/petsc-3.14.1+dfsg1/src/sys/classes/viewer/impls/mathematica/mathematica.c:193:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char                    modename[256];
data/petsc-3.14.1+dfsg1/src/sys/classes/viewer/impls/mathematica/mathematica.c:194:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char                    hostname[256];
data/petsc-3.14.1+dfsg1/src/sys/classes/viewer/impls/mathematica/mathematica.c:195:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char                    type[256];
data/petsc-3.14.1+dfsg1/src/sys/classes/viewer/impls/mathematica/mathematica.c:291:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char           name[16];
data/petsc-3.14.1+dfsg1/src/sys/classes/viewer/impls/mathematica/runtime.c:10:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char *argv[5];
data/petsc-3.14.1+dfsg1/src/sys/classes/viewer/impls/mathematica/runtime.c:11:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char hostname[256];
data/petsc-3.14.1+dfsg1/src/sys/classes/viewer/impls/matlab/vmatlab.c:262:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char           fname[PETSC_MAX_PATH_LEN];
data/petsc-3.14.1+dfsg1/src/sys/classes/viewer/impls/socket/matlab/sopen.c:100:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char               myname[MAXHOSTNAME+1];
data/petsc-3.14.1+dfsg1/src/sys/classes/viewer/impls/socket/matlab/sopen.c:167:27:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
    if (str) portnumber = atoi(str);
data/petsc-3.14.1+dfsg1/src/sys/classes/viewer/impls/socket/send.c:180:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char               myname[MAXHOSTNAME+1];
data/petsc-3.14.1+dfsg1/src/sys/classes/viewer/impls/socket/send.c:321:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char           sdef[256];
data/petsc-3.14.1+dfsg1/src/sys/classes/viewer/impls/socket/send.c:424:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char               mach[256];
data/petsc-3.14.1+dfsg1/src/sys/classes/viewer/impls/socket/send.c:431:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char portn[16];
data/petsc-3.14.1+dfsg1/src/sys/classes/viewer/impls/string/stringv.c:47:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char               tmp[4096];
data/petsc-3.14.1+dfsg1/src/sys/classes/viewer/impls/vu/petscvu.c:8:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char        string[QUEUESTRINGSIZE];
data/petsc-3.14.1+dfsg1/src/sys/classes/viewer/impls/vu/petscvu.c:76:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char           fname[PETSC_MAX_PATH_LEN];
data/petsc-3.14.1+dfsg1/src/sys/classes/viewer/impls/vu/petscvu.c:89:14:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    vu->fd = fopen(fname, "r");
data/petsc-3.14.1+dfsg1/src/sys/classes/viewer/impls/vu/petscvu.c:92:14:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    vu->fd = fopen(fname, "w");
data/petsc-3.14.1+dfsg1/src/sys/classes/viewer/impls/vu/petscvu.c:95:14:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    vu->fd = fopen(fname, "a");
data/petsc-3.14.1+dfsg1/src/sys/classes/viewer/impls/vu/petscvu.c:98:14:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    vu->fd = fopen(fname, "r+");
data/petsc-3.14.1+dfsg1/src/sys/classes/viewer/impls/vu/petscvu.c:99:27:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    if (!vu->fd) vu->fd = fopen(fname, "w+");
data/petsc-3.14.1+dfsg1/src/sys/classes/viewer/impls/vu/petscvu.c:105:14:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    vu->fd = fopen(fname, "r+");
data/petsc-3.14.1+dfsg1/src/sys/classes/viewer/impls/vu/petscvu.c:106:27:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    if (!vu->fd) vu->fd = fopen(fname, "w+");
data/petsc-3.14.1+dfsg1/src/sys/classes/viewer/interface/dlregispetsc.c:39:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char           logList[256];
data/petsc-3.14.1+dfsg1/src/sys/classes/viewer/interface/view.c:60:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char           logList[256];
data/petsc-3.14.1+dfsg1/src/sys/classes/viewer/interface/viewreg.c:505:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char              vtype[256];
data/petsc-3.14.1+dfsg1/src/sys/dll/dl.c:15:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char           libname[PETSC_MAX_PATH_LEN];
data/petsc-3.14.1+dfsg1/src/sys/dll/dl.c:53:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char           *buf,*par2,suffix[16],*gz,*so;
data/petsc-3.14.1+dfsg1/src/sys/dll/dl.c:135:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char           libname[PETSC_MAX_PATH_LEN],par2[PETSC_MAX_PATH_LEN],suffix[16],*s;
data/petsc-3.14.1+dfsg1/src/sys/dll/dl.c:136:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char           *basename,registername[128];
data/petsc-3.14.1+dfsg1/src/sys/dll/dl.c:232:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char           libname[PETSC_MAX_PATH_LEN],suffix[16],*symbol,*s;
data/petsc-3.14.1+dfsg1/src/sys/dll/dl.c:344:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char           program[PETSC_MAX_PATH_LEN],found[8*PETSC_MAX_PATH_LEN];
data/petsc-3.14.1+dfsg1/src/sys/dll/dl.c:345:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char           *libname,suffix[16],*s;
data/petsc-3.14.1+dfsg1/src/sys/dll/dl.c:427:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char           program[PETSC_MAX_PATH_LEN],found[8*PETSC_MAX_PATH_LEN];
data/petsc-3.14.1+dfsg1/src/sys/dll/dl.c:428:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char           *libname,suffix[16],*s;
data/petsc-3.14.1+dfsg1/src/sys/dll/reg.c:18:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char           libs[PETSC_MAX_PATH_LEN],dlib[PETSC_MAX_PATH_LEN];
data/petsc-3.14.1+dfsg1/src/sys/dll/reg.c:62:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char           *libname[32];
data/petsc-3.14.1+dfsg1/src/sys/dll/reg.c:477:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char           p[64];
data/petsc-3.14.1+dfsg1/src/sys/error/adebug.c:14:8:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
static char      PetscDebugger[PETSC_MAX_PATH_LEN];
data/petsc-3.14.1+dfsg1/src/sys/error/adebug.c:15:8:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
static char      DebugTerminal[PETSC_MAX_PATH_LEN];
data/petsc-3.14.1+dfsg1/src/sys/error/adebug.c:206:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char           program[PETSC_MAX_PATH_LEN],display[256],hostname[64];
data/petsc-3.14.1+dfsg1/src/sys/error/adebug.c:243:11:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    const char *args[10];
data/petsc-3.14.1+dfsg1/src/sys/error/adebug.c:244:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char       pid[10];
data/petsc-3.14.1+dfsg1/src/sys/error/adebug.c:256:5:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
    sprintf(pid,"%d",child);
data/petsc-3.14.1+dfsg1/src/sys/error/adebug.c:494:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char           program[PETSC_MAX_PATH_LEN],hostname[256];
data/petsc-3.14.1+dfsg1/src/sys/error/err.c:33:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char            subpath[256];
data/petsc-3.14.1+dfsg1/src/sys/error/err.c:96:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char           command[PETSC_MAX_PATH_LEN];
data/petsc-3.14.1+dfsg1/src/sys/error/err.c:228:8:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
static char PetscErrorBaseMessage[1024];
data/petsc-3.14.1+dfsg1/src/sys/error/err.c:383:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char           buf[2048],*lbuf = NULL;
data/petsc-3.14.1+dfsg1/src/sys/error/errtrace.c:42:8:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
static char      arch[128],hostname[128],username[128],pname[PETSC_MAX_PATH_LEN],date[128];
data/petsc-3.14.1+dfsg1/src/sys/error/errtrace.c:44:8:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
static char      version[256];
data/petsc-3.14.1+dfsg1/src/sys/error/signal.c:72:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  const char     *SIGNAME[64];
data/petsc-3.14.1+dfsg1/src/sys/fileio/fdir.c:67:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char           name[PETSC_MAX_PATH_LEN];
data/petsc-3.14.1+dfsg1/src/sys/fileio/fdir.c:95:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char loc[PETSC_MAX_PATH_LEN];
data/petsc-3.14.1+dfsg1/src/sys/fileio/fdir.c:136:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char loc[PETSC_MAX_PATH_LEN];
data/petsc-3.14.1+dfsg1/src/sys/fileio/fpath.c:41:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char tmppath[PETSC_MAX_PATH_LEN],*rest;
data/petsc-3.14.1+dfsg1/src/sys/fileio/fpath.c:86:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char tmppath[PETSC_MAX_PATH_LEN];
data/petsc-3.14.1+dfsg1/src/sys/fileio/fretrieve.c:158:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char filename[PETSC_MAX_PATH_LEN],tmpname[PETSC_MAX_PATH_LEN];
data/petsc-3.14.1+dfsg1/src/sys/fileio/fretrieve.c:179:14:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
        fd = fopen(filename,"w");
data/petsc-3.14.1+dfsg1/src/sys/fileio/fretrieve.c:186:14:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
        fd = fopen(filename,"r");
data/petsc-3.14.1+dfsg1/src/sys/fileio/fretrieve.c:279:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char filename[PETSC_MAX_PATH_LEN];
data/petsc-3.14.1+dfsg1/src/sys/fileio/fretrieve.c:294:14:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
        fd = fopen(filename,"w");
data/petsc-3.14.1+dfsg1/src/sys/fileio/fretrieve.c:301:14:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
        fd = fopen(filename,"r");
data/petsc-3.14.1+dfsg1/src/sys/fileio/fretrieve.c:347:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char           buffer[PETSC_MAX_PATH_LEN],*par,*tlocalname,name[PETSC_MAX_PATH_LEN];
data/petsc-3.14.1+dfsg1/src/sys/fileio/fretrieve.c:417:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        char      buf[1024],*str,*substring;
data/petsc-3.14.1+dfsg1/src/sys/fileio/fretrieve.c:420:14:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
        fd = fopen(localname,"r");
data/petsc-3.14.1+dfsg1/src/sys/fileio/ftest.c:242:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char           *f,program[PETSC_MAX_PATH_LEN];
data/petsc-3.14.1+dfsg1/src/sys/fileio/grpath.c:46:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char           tmp3[PETSC_MAX_PATH_LEN];
data/petsc-3.14.1+dfsg1/src/sys/fileio/grpath.c:49:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char           tmp1[PETSC_MAX_PATH_LEN],tmp4[PETSC_MAX_PATH_LEN],*tmp2;
data/petsc-3.14.1+dfsg1/src/sys/fileio/mpiuopen.c:40:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char           fname[PETSC_MAX_PATH_LEN],tname[PETSC_MAX_PATH_LEN];
data/petsc-3.14.1+dfsg1/src/sys/fileio/mpiuopen.c:59:14:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
      fd   = fopen(fname,mode);
data/petsc-3.14.1+dfsg1/src/sys/fileio/mpiuopen.c:101:8:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
static char PetscPOpenMachine[128] = "";
data/petsc-3.14.1+dfsg1/src/sys/fileio/mpiuopen.c:128:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char buf[1024];
data/petsc-3.14.1+dfsg1/src/sys/fileio/mpiuopen.c:171:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char           commandt[PETSC_MAX_PATH_LEN],command[PETSC_MAX_PATH_LEN];
data/petsc-3.14.1+dfsg1/src/sys/fileio/mprint.c:163:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char           formatbuf[PETSCDEFAULTBUFFERSIZE];
data/petsc-3.14.1+dfsg1/src/sys/fileio/mprint.c:282:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char           str[PETSCDEFAULTBUFFERSIZE];
data/petsc-3.14.1+dfsg1/src/sys/fileio/mprint.c:762:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char   buff[PETSCDEFAULTBUFFERSIZE];
data/petsc-3.14.1+dfsg1/src/sys/fileio/smatlab.c:32:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char           command[512];
data/petsc-3.14.1+dfsg1/src/sys/fileio/smatlab.c:34:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char           buf[1024],*found;
data/petsc-3.14.1+dfsg1/src/sys/fileio/sysio.c:500:32:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
  case FILE_MODE_READ:   *fd = open(name,O_BINARY|O_RDONLY,0); break;
data/petsc-3.14.1+dfsg1/src/sys/fileio/sysio.c:501:32:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
  case FILE_MODE_WRITE:  *fd = open(name,O_BINARY|O_WRONLY|O_CREAT|O_TRUNC,0666); break;
data/petsc-3.14.1+dfsg1/src/sys/fileio/sysio.c:502:32:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
  case FILE_MODE_APPEND: *fd = open(name,O_BINARY|O_WRONLY|O_APPEND,0); break;
data/petsc-3.14.1+dfsg1/src/sys/ftn-custom/zsys.c:37:8:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
static char FIXCHARSTRING[1024];
data/petsc-3.14.1+dfsg1/src/sys/info/verboseinfo.c:102:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char            fname[PETSC_MAX_PATH_LEN], tname[11];
data/petsc-3.14.1+dfsg1/src/sys/info/verboseinfo.c:115:5:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
    sprintf(tname, ".%d", rank);
data/petsc-3.14.1+dfsg1/src/sys/info/verboseinfo.c:284:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char            logList[256];
data/petsc-3.14.1+dfsg1/src/sys/info/verboseinfo.c:355:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char               optstring[PETSC_MAX_PATH_LEN], *loc0_ = NULL, *loc1_ = NULL, *loc2_ = NULL;
data/petsc-3.14.1+dfsg1/src/sys/info/verboseinfo.c:575:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char           string[8*1024];
data/petsc-3.14.1+dfsg1/src/sys/logging/plog.c:105:1:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
char             petsc_tracespace[128]       = " ";
data/petsc-3.14.1+dfsg1/src/sys/logging/plog.c:1108:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char               file[PETSC_MAX_PATH_LEN], fname[PETSC_MAX_PATH_LEN];
data/petsc-3.14.1+dfsg1/src/sys/logging/plog.c:1122:8:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
  else sprintf(file, "Log.%d", rank);
data/petsc-3.14.1+dfsg1/src/sys/logging/plog.c:1386:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char               arch[128],hostname[128],username[128],pname[PETSC_MAX_PATH_LEN],date[128];
data/petsc-3.14.1+dfsg1/src/sys/logging/plog.c:1406:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char               version[256];
data/petsc-3.14.1+dfsg1/src/sys/logging/plog.c:2274:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char           name[PETSC_MAX_PATH_LEN];
data/petsc-3.14.1+dfsg1/src/sys/logging/plog.c:2293:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
static const char *PetscLogMPERGBColors[PETSC_RGB_COLORS_MAX] = {
data/petsc-3.14.1+dfsg1/src/sys/logging/xmllogevent.c:330:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      char          name[100];
data/petsc-3.14.1+dfsg1/src/sys/logging/xmllogevent.c:333:7:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
      sprintf(name, "%d -> %d", (int) dftParentActive, (int) nstEvent);
data/petsc-3.14.1+dfsg1/src/sys/logging/xmllogevent.c:454:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char               arch[128],hostname[128],username[128],pname[PETSC_MAX_PATH_LEN],date[128];
data/petsc-3.14.1+dfsg1/src/sys/logging/xmllogevent.c:455:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char               version[256], buildoptions[128] = "";
data/petsc-3.14.1+dfsg1/src/sys/logging/xmlviewer.c:36:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char           PerfScript[PETSC_MAX_PATH_LEN+40];
data/petsc-3.14.1+dfsg1/src/sys/logging/xmlviewer.c:98:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char           buffer[1024];
data/petsc-3.14.1+dfsg1/src/sys/memory/mem.c:65:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char       proc[PETSC_MAX_PATH_LEN];
data/petsc-3.14.1+dfsg1/src/sys/memory/mem.c:72:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char       proc[PETSC_MAX_PATH_LEN];
data/petsc-3.14.1+dfsg1/src/sys/memory/mem.c:81:3:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
  sprintf(proc,"/proc/%d",(int)getpid());
data/petsc-3.14.1+dfsg1/src/sys/memory/mem.c:82:13:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
  if ((fd = open(proc,O_RDONLY)) == -1) SETERRQ1(PETSC_COMM_SELF,PETSC_ERR_FILE_OPEN,"Unable to access system file %s to get memory usage data",file);
data/petsc-3.14.1+dfsg1/src/sys/memory/mem.c:92:3:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
  sprintf(proc,"/proc/%d/statm",(int)getpid());
data/petsc-3.14.1+dfsg1/src/sys/memory/mem.c:93:16:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
  if (!(file = fopen(proc,"r"))) SETERRQ1(PETSC_COMM_SELF,PETSC_ERR_FILE_OPEN,"Unable to access system file %s to get memory usage data",proc);
data/petsc-3.14.1+dfsg1/src/sys/memory/mtr.c:45:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char    v[HEADER_BYTES];
data/petsc-3.14.1+dfsg1/src/sys/memory/mtr.c:230:7:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
      memcpy(s+i,&nas,sizeof(PetscReal));
data/petsc-3.14.1+dfsg1/src/sys/mpiuni/mpi.c:76:4:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  {memcpy(dst,src,n);}
data/petsc-3.14.1+dfsg1/src/sys/objects/aoptions.c:61:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char           title[256];
data/petsc-3.14.1+dfsg1/src/sys/objects/aoptions.c:192:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char            str[512];
data/petsc-3.14.1+dfsg1/src/sys/objects/aoptions.c:405:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char            options[16];
data/petsc-3.14.1+dfsg1/src/sys/objects/aoptions.c:408:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char            manname[16],textname[16];
data/petsc-3.14.1+dfsg1/src/sys/objects/aoptions.c:409:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char            dir[1024];
data/petsc-3.14.1+dfsg1/src/sys/objects/aoptions.c:413:3:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
  sprintf(options,"Options_%d",count++);
data/petsc-3.14.1+dfsg1/src/sys/objects/aoptions.c:425:5:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
    sprintf(manname,"_man_%d",mancount);
data/petsc-3.14.1+dfsg1/src/sys/objects/aoptions.c:428:5:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
    sprintf(textname,"_text_%d",mancount++);
data/petsc-3.14.1+dfsg1/src/sys/objects/aoptions.c:524:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char            option[256],value[1024],tmp[32];
data/petsc-3.14.1+dfsg1/src/sys/objects/aoptions.c:561:9:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
        sprintf(value,"%d",(int)((PetscInt*)PetscOptionsObject->next->data)[0]);
data/petsc-3.14.1+dfsg1/src/sys/objects/aoptions.c:563:11:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
          sprintf(tmp,"%d",(int)((PetscInt*)PetscOptionsObject->next->data)[j]);
data/petsc-3.14.1+dfsg1/src/sys/objects/aoptions.c:569:9:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
        sprintf(value,"%d",(int) *(PetscInt*)PetscOptionsObject->next->data);
data/petsc-3.14.1+dfsg1/src/sys/objects/aoptions.c:572:9:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
        sprintf(value,"%g",(double) *(PetscReal*)PetscOptionsObject->next->data);
data/petsc-3.14.1+dfsg1/src/sys/objects/aoptions.c:575:9:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
        sprintf(value,"%g",(double)((PetscReal*)PetscOptionsObject->next->data)[0]);
data/petsc-3.14.1+dfsg1/src/sys/objects/aoptions.c:577:11:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
          sprintf(tmp,"%g",(double)((PetscReal*)PetscOptionsObject->next->data)[j]);
data/petsc-3.14.1+dfsg1/src/sys/objects/aoptions.c:583:9:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
        sprintf(value,"%g+%gi",(double)PetscRealPart(((PetscScalar*)PetscOptionsObject->next->data)[0]),(double)PetscImaginaryPart(((PetscScalar*)PetscOptionsObject->next->data)[0]));
data/petsc-3.14.1+dfsg1/src/sys/objects/aoptions.c:585:11:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
          sprintf(tmp,"%g+%gi",(double)PetscRealPart(((PetscScalar*)PetscOptionsObject->next->data)[j]),(double)PetscImaginaryPart(((PetscScalar*)PetscOptionsObject->next->data)[j]));
data/petsc-3.14.1+dfsg1/src/sys/objects/aoptions.c:591:9:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
        sprintf(value,"%d",*(int*)PetscOptionsObject->next->data);
data/petsc-3.14.1+dfsg1/src/sys/objects/aoptions.c:594:9:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
        sprintf(value,"%d",(int)((PetscBool*)PetscOptionsObject->next->data)[0]);
data/petsc-3.14.1+dfsg1/src/sys/objects/aoptions.c:596:11:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
          sprintf(tmp,"%d",(int)((PetscBool*)PetscOptionsObject->next->data)[j]);
data/petsc-3.14.1+dfsg1/src/sys/objects/ftn-custom/zstart.c:264:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char           *t1,name[256],hostname[64];
data/petsc-3.14.1+dfsg1/src/sys/objects/init.c:128:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char           pfile[PETSC_MAX_PATH_LEN],pname[PETSC_MAX_PATH_LEN],fname[PETSC_MAX_PATH_LEN],date[64];
data/petsc-3.14.1+dfsg1/src/sys/objects/init.c:129:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char           version[256];
data/petsc-3.14.1+dfsg1/src/sys/objects/init.c:134:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char        arch[10];
data/petsc-3.14.1+dfsg1/src/sys/objects/init.c:149:11:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    *fd = fopen(fname,"a");
data/petsc-3.14.1+dfsg1/src/sys/objects/init.c:168:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char           date[64];
data/petsc-3.14.1+dfsg1/src/sys/objects/init.c:240:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
static       char           emacsmachinename[256];
data/petsc-3.14.1+dfsg1/src/sys/objects/init.c:273:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char        errstring[MPI_MAX_ERROR_STRING];
data/petsc-3.14.1+dfsg1/src/sys/objects/init.c:352:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char              string[64];
data/petsc-3.14.1+dfsg1/src/sys/objects/init.c:360:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char              version[256];
data/petsc-3.14.1+dfsg1/src/sys/objects/init.c:362:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char              mname[PETSC_MAX_PATH_LEN];
data/petsc-3.14.1+dfsg1/src/sys/objects/init.c:577:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      char               msg[4096];
data/petsc-3.14.1+dfsg1/src/sys/objects/init.c:664:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char name[PETSC_MAX_PATH_LEN],fname[PETSC_MAX_PATH_LEN];
data/petsc-3.14.1+dfsg1/src/sys/objects/init.c:669:14:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
      file = fopen(fname,"w");
data/petsc-3.14.1+dfsg1/src/sys/objects/init.c:766:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char machine[128];
data/petsc-3.14.1+dfsg1/src/sys/objects/olist.c:9:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char            name[256];
data/petsc-3.14.1+dfsg1/src/sys/objects/options.c:76:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char           *names[MAXOPTIONS];   /* option names */
data/petsc-3.14.1+dfsg1/src/sys/objects/options.c:77:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char           *values[MAXOPTIONS];  /* option values */
data/petsc-3.14.1+dfsg1/src/sys/objects/options.c:87:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char           prefix[MAXOPTNAME];
data/petsc-3.14.1+dfsg1/src/sys/objects/options.c:91:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char           *aliases1[MAXALIASES];      /* aliased */
data/petsc-3.14.1+dfsg1/src/sys/objects/options.c:92:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char           *aliases2[MAXALIASES];      /* aliasee */
data/petsc-3.14.1+dfsg1/src/sys/objects/options.c:430:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char           *string,fname[PETSC_MAX_PATH_LEN],*vstring = NULL,*astring = NULL,*packed = NULL;
data/petsc-3.14.1+dfsg1/src/sys/objects/options.c:431:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char           *tokens[4];
data/petsc-3.14.1+dfsg1/src/sys/objects/options.c:451:12:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    fd   = fopen(fname,"r");
data/petsc-3.14.1+dfsg1/src/sys/objects/options.c:765:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char           filename[PETSC_MAX_PATH_LEN];
data/petsc-3.14.1+dfsg1/src/sys/objects/options.c:841:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char      yaml_file[PETSC_MAX_PATH_LEN];
data/petsc-3.14.1+dfsg1/src/sys/objects/options.c:842:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char      yaml_string[BUFSIZ];
data/petsc-3.14.1+dfsg1/src/sys/objects/options.c:969:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char           key[MAXOPTNAME+1];
data/petsc-3.14.1+dfsg1/src/sys/objects/options.c:1148:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char           fullname[MAXOPTNAME] = "";
data/petsc-3.14.1+dfsg1/src/sys/objects/options.c:1319:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char           buf[MAXOPTNAME];
data/petsc-3.14.1+dfsg1/src/sys/objects/options.c:1342:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char      key[MAXOPTNAME+1] = "-";
data/petsc-3.14.1+dfsg1/src/sys/objects/options.c:1414:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      char      opt[MAXOPTNAME+1] = "-", tmp[MAXOPTNAME];
data/petsc-3.14.1+dfsg1/src/sys/objects/options.c:1430:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char           buf[MAXOPTNAME];
data/petsc-3.14.1+dfsg1/src/sys/objects/options.c:1452:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char      key[MAXOPTNAME+1] = "-";
data/petsc-3.14.1+dfsg1/src/sys/objects/options.c:1482:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      char opt[MAXOPTNAME+1] = "", tmp[MAXOPTNAME];
data/petsc-3.14.1+dfsg1/src/sys/objects/options.c:3020:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char               msg[4096];
data/petsc-3.14.1+dfsg1/src/sys/objects/pinit.c:388:8:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
static char programname[PETSC_MAX_PATH_LEN] = ""; /* HP includes entire path in name */
data/petsc-3.14.1+dfsg1/src/sys/objects/pinit.c:523:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char           cert[PETSC_MAX_PATH_LEN],root[PETSC_MAX_PATH_LEN],*intro,programname[64],*appline,*options,version[64];
data/petsc-3.14.1+dfsg1/src/sys/objects/pinit.c:528:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char           sawsurl[256];
data/petsc-3.14.1+dfsg1/src/sys/objects/pinit.c:532:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      char  sawslog[PETSC_MAX_PATH_LEN];
data/petsc-3.14.1+dfsg1/src/sys/objects/pinit.c:568:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      char jsdir[PETSC_MAX_PATH_LEN];
data/petsc-3.14.1+dfsg1/src/sys/objects/pinit.c:791:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char           hostname[256];
data/petsc-3.14.1+dfsg1/src/sys/objects/pinit.c:820:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char        mpilibraryversion[MPI_MAX_LIBRARY_VERSION_STRING];
data/petsc-3.14.1+dfsg1/src/sys/objects/pinit.c:846:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      char *ver,bs[32],*bsf;
data/petsc-3.14.1+dfsg1/src/sys/objects/pinit.c:1212:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char           mname[PETSC_MAX_PATH_LEN];
data/petsc-3.14.1+dfsg1/src/sys/objects/pinit.c:1231:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char  *cits, filename[PETSC_MAX_PATH_LEN];
data/petsc-3.14.1+dfsg1/src/sys/objects/pinit.c:1452:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      char     string[64];
data/petsc-3.14.1+dfsg1/src/sys/objects/pinit.c:1494:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char fname[PETSC_MAX_PATH_LEN];
data/petsc-3.14.1+dfsg1/src/sys/objects/pinit.c:1495:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char sname[PETSC_MAX_PATH_LEN];
data/petsc-3.14.1+dfsg1/src/sys/objects/pinit.c:1508:14:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
      fd   = fopen(sname,"w"); if (!fd) SETERRQ1(PETSC_COMM_SELF,PETSC_ERR_FILE_OPEN,"Cannot open log file: %s",sname);
data/petsc-3.14.1+dfsg1/src/sys/objects/pinit.c:1526:14:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
      fd   = fopen(sname,"w"); if (!fd) SETERRQ1(PETSC_COMM_SELF,PETSC_ERR_FILE_OPEN,"Cannot open log file: %s",sname);
data/petsc-3.14.1+dfsg1/src/sys/objects/pname.c:122:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char             name[64];
data/petsc-3.14.1+dfsg1/src/sys/objects/pname.c:127:38:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    union {MPI_Comm comm; void *ptr; char raw[sizeof(MPI_Comm)]; } ucomm;
data/petsc-3.14.1+dfsg1/src/sys/objects/ptype.c:190:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char formatted[16];
data/petsc-3.14.1+dfsg1/src/sys/python/pythonsys.c:29:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char           command[2*PETSC_MAX_PATH_LEN];
data/petsc-3.14.1+dfsg1/src/sys/python/pythonsys.c:157:8:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
static char      PetscPythonExe[PETSC_MAX_PATH_LEN] = { 0 };
data/petsc-3.14.1+dfsg1/src/sys/python/pythonsys.c:158:8:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
static char      PetscPythonLib[PETSC_MAX_PATH_LEN] = { 0 };
data/petsc-3.14.1+dfsg1/src/sys/python/pythonsys.c:212:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char             path[PETSC_MAX_PATH_LEN] = { 0 };
data/petsc-3.14.1+dfsg1/src/sys/python/pythonsys.c:219:21:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      int argc = 0; char *argv[1] = {NULL};
data/petsc-3.14.1+dfsg1/src/sys/python/pythonsys.c:223:21:  [2] (buffer) wchar_t:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      int argc = 0; wchar_t *argv[1] = {NULL};
data/petsc-3.14.1+dfsg1/src/sys/tests/ex16.c:11:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char           buffer[256],*output,user[256];
data/petsc-3.14.1+dfsg1/src/sys/tests/ex19.c:9:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char           option2[20],option3[30];
data/petsc-3.14.1+dfsg1/src/sys/tests/ex31.c:23:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char           fpath[PETSC_MAX_PATH_LEN];
data/petsc-3.14.1+dfsg1/src/sys/tests/ex37.c:13:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char           *newformatstr,buffer[128],longstr[256],superlongstr[10000];
data/petsc-3.14.1+dfsg1/src/sys/tests/ex47.c:10:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char            filename[PETSC_MAX_PATH_LEN];
data/petsc-3.14.1+dfsg1/src/sys/tests/ex51.c:17:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char           localname[PETSC_MAX_PATH_LEN];
data/petsc-3.14.1+dfsg1/src/sys/tests/ex8.c:8:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char        ok[3];
data/petsc-3.14.1+dfsg1/src/sys/totalview/tv_data_display.c:50:1:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
char        TV_data_format_buffer[DATA_FORMAT_BUFFER_SIZE];
data/petsc-3.14.1+dfsg1/src/sys/tutorials/ex17.c:13:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char           version[128];
data/petsc-3.14.1+dfsg1/src/sys/tutorials/ex20.c:12:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char           str[16];
data/petsc-3.14.1+dfsg1/src/sys/tutorials/ex5.c:48:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char          filename[PETSC_MAX_PATH_LEN];
data/petsc-3.14.1+dfsg1/src/sys/tutorials/ex5.c:60:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char           filename[PETSC_MAX_PATH_LEN] = "binaryoutput";
data/petsc-3.14.1+dfsg1/src/sys/utils/mathclose.c:17:78:  [2] (integer) atol:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
PetscBool PetscIsCloseAtTol(PetscReal a,PetscReal b,PetscReal rtol,PetscReal atol)
data/petsc-3.14.1+dfsg1/src/sys/utils/mathclose.c:27:50:  [2] (integer) atol:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
  rtol = PetscAbsReal(rtol); atol = PetscAbsReal(atol);
data/petsc-3.14.1+dfsg1/src/sys/utils/mathclose.c:30:92:  [2] (integer) atol:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
  return ((diff <= PetscAbsReal(rtol * b)) || (diff <= PetscAbsReal(rtol * a)) || (diff <= atol)) ? PETSC_TRUE : PETSC_FALSE;
data/petsc-3.14.1+dfsg1/src/sys/utils/mpishm.c:239:15:  [2] (tmpfile) mkstemp:
  Potential for temporary file vulnerability in some circumstances. Some
  older Unix-like systems create temp files with permission to write by all
  by default, so be sure to set the umask to override this. Also, some older
  Unix systems might fail to use O_EXCL when opening the file, so make sure
  that O_EXCL is used by the library (CWE-377).
    fd      = mkstemp(pathname); if (fd == -1) SETERRQ1(PETSC_COMM_SELF,PETSC_ERR_LIB,"Could not create tmp file %s with mkstemp\n", pathname);
data/petsc-3.14.1+dfsg1/src/sys/utils/mpishm.c:249:15:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    fd      = open(pathname,O_RDWR); if (fd == -1) SETERRQ1(PETSC_COMM_SELF,PETSC_ERR_LIB,"Could not open tmp file %s\n", pathname);
data/petsc-3.14.1+dfsg1/src/sys/utils/pdisplay.c:36:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char           *str,work[256];
data/petsc-3.14.1+dfsg1/src/sys/utils/pdisplay.c:78:8:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
static char PetscDisplay[256];
data/petsc-3.14.1+dfsg1/src/sys/utils/pdisplay.c:83:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char           hostname[256],roothostname[256];
data/petsc-3.14.1+dfsg1/src/sys/utils/pdisplay.c:107:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char           display[sizeof(PetscDisplay)];
data/petsc-3.14.1+dfsg1/src/sys/utils/segbuffer.c:11:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char      array[1];         /* This array is over-allocated for the size of the link */
data/petsc-3.14.1+dfsg1/src/sys/utils/sseenabled.c:12:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char           vendor[13];
data/petsc-3.14.1+dfsg1/src/sys/utils/sseenabled.c:13:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char           Intel[13]="GenuineIntel";
data/petsc-3.14.1+dfsg1/src/sys/utils/sseenabled.c:14:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char           AMD[13]  ="AuthenticAMD";
data/petsc-3.14.1+dfsg1/src/sys/utils/sseenabled.c:15:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char           Hygon[13]="HygonGenuine";
data/petsc-3.14.1+dfsg1/src/sys/utils/str.c:1106:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char           *work,*par,*epar,env[1024],*tfree,*a = (char*)aa;
data/petsc-3.14.1+dfsg1/src/sys/webclient/box.c:36:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  const char          *options[optionsLen];
data/petsc-3.14.1+dfsg1/src/sys/webclient/box.c:39:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char                keyfile[PETSC_MAX_PATH_LEN];
data/petsc-3.14.1+dfsg1/src/sys/webclient/box.c:114:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char           buff[8*1024],body[1024];
data/petsc-3.14.1+dfsg1/src/sys/webclient/box.c:187:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char           buff[8*1024],body[1024];
data/petsc-3.14.1+dfsg1/src/sys/webclient/box.c:282:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char           head[1024],buff[8*1024],*body,*title;
data/petsc-3.14.1+dfsg1/src/sys/webclient/box.c:313:10:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    fd = fopen (filename, "r");
data/petsc-3.14.1+dfsg1/src/sys/webclient/client.c:45:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char           keyfile[PETSC_MAX_PATH_LEN];
data/petsc-3.14.1+dfsg1/src/sys/webclient/client.c:111:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char           contentlength[40],contenttype[80],*path,*host;
data/petsc-3.14.1+dfsg1/src/sys/webclient/client.c:344:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char           work[256];
data/petsc-3.14.1+dfsg1/src/sys/webclient/globus.c:47:10:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  static char    decoding_table[257];
data/petsc-3.14.1+dfsg1/src/sys/webclient/globus.c:114:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char           buff[8*1024],*ptr,head[1024];
data/petsc-3.14.1+dfsg1/src/sys/webclient/globus.c:180:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char           head[4096];
data/petsc-3.14.1+dfsg1/src/sys/webclient/globus.c:191:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      char      accesstoken[4096];
data/petsc-3.14.1+dfsg1/src/sys/webclient/globus.c:231:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char           head[4096],buff[8*1024],body[4096],submission_id[4096];
data/petsc-3.14.1+dfsg1/src/sys/webclient/globus.c:246:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      char      accesstoken[4096];
data/petsc-3.14.1+dfsg1/src/sys/webclient/google.c:46:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char           buff[8*1024],body[1024];
data/petsc-3.14.1+dfsg1/src/sys/webclient/google.c:129:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char           head[1024],buff[8*1024],*body,*title;
data/petsc-3.14.1+dfsg1/src/sys/webclient/google.c:160:10:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    fd = fopen (filename, "r");
data/petsc-3.14.1+dfsg1/src/sys/webclient/google.c:215:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char           buff[8*1024],*ptr,body[1024];
data/petsc-3.14.1+dfsg1/src/sys/webclient/google.c:286:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char           buff[1024],body[512],post[1024];
data/petsc-3.14.1+dfsg1/src/sys/webclient/tellmycell.c:41:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char           Username[64],Password[64];
data/petsc-3.14.1+dfsg1/src/sys/webclient/tellmycell.c:51:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char      buff[1000],*body;
data/petsc-3.14.1+dfsg1/src/sys/webclient/textbelt.c:49:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char      buff[474],*body;
data/petsc-3.14.1+dfsg1/src/sys/webclient/tutorials/boxobtainrefreshtoken.c:14:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char           access_token[512],refresh_token[512];
data/petsc-3.14.1+dfsg1/src/sys/webclient/tutorials/boxupload.c:14:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char           access_token[512],new_refresh_token[512];
data/petsc-3.14.1+dfsg1/src/sys/webclient/tutorials/globusobtaintransfers.c:14:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char           buff[4096];
data/petsc-3.14.1+dfsg1/src/sys/webclient/tutorials/googledriveupload.c:11:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char           access_token[512];
data/petsc-3.14.1+dfsg1/src/sys/webclient/tutorials/googleobtainrefreshtoken.c:16:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char           access_token[512],refresh_token[512];
data/petsc-3.14.1+dfsg1/src/sys/webclient/tutorials/urlshorten.c:8:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char           shorturl[64];
data/petsc-3.14.1+dfsg1/src/sys/yaml/yamlimpls.c:8:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char            option[PETSC_MAX_PATH_LEN],prefix[PETSC_MAX_PATH_LEN];
data/petsc-3.14.1+dfsg1/src/sys/yaml/yamlimpls.c:128:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char           fname[PETSC_MAX_PATH_LEN];
data/petsc-3.14.1+dfsg1/src/sys/yaml/yamlimpls.c:139:14:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    source = fopen(fname,"r");
data/petsc-3.14.1+dfsg1/src/tao/bound/impls/bncg/bncg.c:20:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
static const char *CG_Table[64] = {"gd", "hs", "fr", "pr", "prp", "dy", "hz", "dk", "kd", "ssml_bfgs", "ssml_dfp", "ssml_brdn", "pcgd"};
data/petsc-3.14.1+dfsg1/src/tao/bound/impls/bncg/bncg.c:26:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
static const char *CG_AS_TYPE[64] = {"none", "bertsekas"};
data/petsc-3.14.1+dfsg1/src/tao/bound/impls/bnk/bnk.c:5:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
static const char *BNK_INIT[64] = {"constant", "direction", "interpolation"};
data/petsc-3.14.1+dfsg1/src/tao/bound/impls/bnk/bnk.c:6:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
static const char *BNK_UPDATE[64] = {"step", "reduction", "interpolation"};
data/petsc-3.14.1+dfsg1/src/tao/bound/impls/bnk/bnk.c:7:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
static const char *BNK_AS[64] = {"none", "bertsekas"};
data/petsc-3.14.1+dfsg1/src/tao/bound/impls/bqnk/bqnk.c:4:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
static const char *BQNK_INIT[64] = {"constant", "direction"};
data/petsc-3.14.1+dfsg1/src/tao/bound/impls/bqnk/bqnk.c:5:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
static const char *BNK_UPDATE[64] = {"step", "reduction", "interpolation"};
data/petsc-3.14.1+dfsg1/src/tao/bound/impls/bqnk/bqnk.c:6:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
static const char *BNK_AS[64] = {"none", "bertsekas"};
data/petsc-3.14.1+dfsg1/src/tao/bound/impls/bqnls/bqnls.c:3:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
static const char *BNK_AS[64] = {"none", "bertsekas"};
data/petsc-3.14.1+dfsg1/src/tao/complementarity/impls/ssls/ssls.h:77:13:  [2] (integer) atol:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
  PetscReal atol;
data/petsc-3.14.1+dfsg1/src/tao/constrained/tutorials/maros.c:45:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char     name[32];
data/petsc-3.14.1+dfsg1/src/tao/constrained/tutorials/maros.c:139:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char           filebase[128];
data/petsc-3.14.1+dfsg1/src/tao/constrained/tutorials/maros.c:140:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char           filename[128];
data/petsc-3.14.1+dfsg1/src/tao/interface/dlregistao.c:37:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char           logList[256];
data/petsc-3.14.1+dfsg1/src/tao/interface/taosolver.c:403:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char           type[256], monfilename[PETSC_MAX_PATH_LEN];
data/petsc-3.14.1+dfsg1/src/tao/leastsquares/impls/brgn/brgn.c:10:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
static const char *BRGN_REGULARIZATION_TABLE[64] = {"user","l2prox","l2pure","l1dict","lm"};
data/petsc-3.14.1+dfsg1/src/tao/leastsquares/impls/pounders/gqt.c:219:63:  [2] (integer) atol:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
                   PetscReal delta, PetscReal rtol, PetscReal atol,
data/petsc-3.14.1+dfsg1/src/tao/leastsquares/impls/pounders/gqt.c:360:69:  [2] (integer) atol:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
        } else if (info == 0 && (p5*(par + rxnorm*rxnorm/delta2) <= atol/delta2)) {
data/petsc-3.14.1+dfsg1/src/tao/leastsquares/impls/pounders/pounders.c:146:66:  [2] (integer) atol:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
    gqt(mfqP->n,mfqP->Hres,mfqP->n,mfqP->Gres,1.0,mfqP->gqt_rtol,atol,mfqP->gqt_maxits,gnorm,qmin,mfqP->Xsubproblem,&info,&its,mfqP->work,mfqP->work2, mfqP->work3);
data/petsc-3.14.1+dfsg1/src/tao/leastsquares/tutorials/matlab/matlab_ls_test.c:59:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char           buf[1024];
data/petsc-3.14.1+dfsg1/src/tao/leastsquares/tutorials/matlab/matlab_ls_test.c:64:3:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
  sprintf(buf,"%d",user->npmax);
data/petsc-3.14.1+dfsg1/src/tao/leastsquares/tutorials/matlab/matlab_ls_test.c:66:3:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
  sprintf(buf,"%5.4e",user->delta);
data/petsc-3.14.1+dfsg1/src/tao/linesearch/interface/taolinesearch.c:548:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char           type[256],monfilename[PETSC_MAX_PATH_LEN];
data/petsc-3.14.1+dfsg1/src/tao/tutorials/ex1.c:33:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  const char    *runTypes[2] = {"full", "test"};
data/petsc-3.14.1+dfsg1/src/tao/tutorials/ex2.c:34:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  const char    *runTypes[2] = {"full", "test"};
data/petsc-3.14.1+dfsg1/src/tao/tutorials/ex3.c:62:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char filename[2048];
data/petsc-3.14.1+dfsg1/src/tao/unconstrained/impls/cg/taocg.c:11:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
static const char *CG_Table[64] = {"fr", "pr", "prp", "hs", "dy"};
data/petsc-3.14.1+dfsg1/src/tao/unconstrained/impls/nls/nls.c:16:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
static const char *NLS_INIT[64] = {"constant", "direction", "interpolation"};
data/petsc-3.14.1+dfsg1/src/tao/unconstrained/impls/nls/nls.c:18:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
static const char *NLS_UPDATE[64] = {"step", "reduction", "interpolation"};
data/petsc-3.14.1+dfsg1/src/tao/unconstrained/impls/ntl/ntl.c:14:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
static const char *NTL_INIT[64] = {"constant","direction","interpolation"};
data/petsc-3.14.1+dfsg1/src/tao/unconstrained/impls/ntl/ntl.c:16:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
static const char *NTL_UPDATE[64] = {"reduction","interpolation"};
data/petsc-3.14.1+dfsg1/src/tao/unconstrained/impls/ntr/ntr.c:14:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
static const char *NTR_INIT[64] = {"constant","direction","interpolation"};
data/petsc-3.14.1+dfsg1/src/tao/unconstrained/impls/ntr/ntr.c:16:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
static const char *NTR_UPDATE[64] = {"reduction","interpolation"};
data/petsc-3.14.1+dfsg1/src/ts/adapt/impls/dsp/adaptdsp.c:272:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  const char     *names[sizeof(filterlist)/sizeof(filterlist[0])];
data/petsc-3.14.1+dfsg1/src/ts/adapt/interface/tsadapt.c:218:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char           type[256];
data/petsc-3.14.1+dfsg1/src/ts/adapt/interface/tsadapt.c:273:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char type[256];
data/petsc-3.14.1+dfsg1/src/ts/adapt/interface/tsadapt.c:722:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char           type[256] = TSADAPTBASIC;
data/petsc-3.14.1+dfsg1/src/ts/characteristic/interface/slregis.c:34:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char           logList[256];
data/petsc-3.14.1+dfsg1/src/ts/impls/arkimex/arkimex.c:1188:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char          buf[512];
data/petsc-3.14.1+dfsg1/src/ts/impls/explicit/rk/rk.c:1232:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char            buf[512];
data/petsc-3.14.1+dfsg1/src/ts/impls/explicit/ssp/ssp.c:397:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char           tname[256] = TSSSPRKS2;
data/petsc-3.14.1+dfsg1/src/ts/impls/glee/glee.c:890:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char           gleetype[256];
data/petsc-3.14.1+dfsg1/src/ts/impls/glee/glee.c:923:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char       buf[512];
data/petsc-3.14.1+dfsg1/src/ts/impls/implicit/glle/glle.c:1129:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char           tname[256] = TSGLLE_IRKS,completef[256] = "rescale-and-modify";
data/petsc-3.14.1+dfsg1/src/ts/impls/implicit/glle/glle.c:1158:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      char type[256] = TSGLLEACCEPT_ALWAYS;
data/petsc-3.14.1+dfsg1/src/ts/impls/implicit/glle/glle.h:41:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char accept_name[256];
data/petsc-3.14.1+dfsg1/src/ts/impls/implicit/glle/glle.h:48:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char       type_name[256];
data/petsc-3.14.1+dfsg1/src/ts/impls/implicit/glle/glleadapt.c:179:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char           type[256] = TSGLLEADAPT_BOTH;
data/petsc-3.14.1+dfsg1/src/ts/impls/implicit/radau5/radau5.c:114:14:  [2] (integer) atol:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
  ATOL = ts->atol;
data/petsc-3.14.1+dfsg1/src/ts/impls/multirate/mprk.c:1159:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char        fbuf[512];
data/petsc-3.14.1+dfsg1/src/ts/impls/multirate/mprk.c:1160:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char        sbuf[512];
data/petsc-3.14.1+dfsg1/src/ts/impls/multirate/mprk.c:1187:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      char mbuf[512];
data/petsc-3.14.1+dfsg1/src/ts/impls/rosw/rosw.c:1427:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char        buf[512];
data/petsc-3.14.1+dfsg1/src/ts/interface/dlregists.c:35:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char           logList[256];
data/petsc-3.14.1+dfsg1/src/ts/interface/ftn-auto/tsf.c:970:54:  [2] (integer) atol:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
PETSC_EXTERN void  tssettolerances_(TS ts,PetscReal *atol,Vec vatol,PetscReal *rtol,Vec vrtol, int *__ierr)
data/petsc-3.14.1+dfsg1/src/ts/interface/ftn-auto/tsf.c:973:29:  [2] (integer) atol:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
	(TS)PetscToPointer((ts) ),*atol,
data/petsc-3.14.1+dfsg1/src/ts/interface/ftn-auto/tsf.c:977:54:  [2] (integer) atol:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
PETSC_EXTERN void  tsgettolerances_(TS ts,PetscReal *atol,Vec *vatol,PetscReal *rtol,Vec *vrtol, int *__ierr)
data/petsc-3.14.1+dfsg1/src/ts/interface/ftn-auto/tsf.c:980:28:  [2] (integer) atol:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
	(TS)PetscToPointer((ts) ),atol,vatol,rtol,vrtol);
data/petsc-3.14.1+dfsg1/src/ts/interface/sensitivity/tssen.c:1416:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char             time[32];
data/petsc-3.14.1+dfsg1/src/ts/interface/sensitivity/tssen.c:1944:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char prefix[128];
data/petsc-3.14.1+dfsg1/src/ts/interface/ts.c:134:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char                   monfilename[PETSC_MAX_PATH_LEN];
data/petsc-3.14.1+dfsg1/src/ts/interface/ts.c:137:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char                   dir[16];
data/petsc-3.14.1+dfsg1/src/ts/interface/ts.c:140:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char                   typeName[256];
data/petsc-3.14.1+dfsg1/src/ts/interface/ts.c:171:108:  [2] (integer) atol:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
  ierr = PetscOptionsReal("-ts_atol","Absolute tolerance for local truncation error","TSSetTolerances",ts->atol,&ts->atol,NULL);CHKERRQ(ierr);
data/petsc-3.14.1+dfsg1/src/ts/interface/ts.c:171:118:  [2] (integer) atol:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
  ierr = PetscOptionsReal("-ts_atol","Absolute tolerance for local truncation error","TSSetTolerances",ts->atol,&ts->atol,NULL);CHKERRQ(ierr);
data/petsc-3.14.1+dfsg1/src/ts/interface/ts.c:1981:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char           type[256];
data/petsc-3.14.1+dfsg1/src/ts/interface/ts.c:2119:99:  [2] (integer) atol:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
      ierr = PetscViewerASCIIPrintf(viewer,"  using absolute error tolerance of %g\n",(double)ts->atol);CHKERRQ(ierr);
data/petsc-3.14.1+dfsg1/src/ts/interface/ts.c:2132:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char        type[256];
data/petsc-3.14.1+dfsg1/src/ts/interface/ts.c:2151:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char      str[36];
data/petsc-3.14.1+dfsg1/src/ts/interface/ts.c:2175:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      char       dir[1024];
data/petsc-3.14.1+dfsg1/src/ts/interface/ts.c:4700:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char      time[32];
data/petsc-3.14.1+dfsg1/src/ts/interface/ts.c:4740:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char              time[32];
data/petsc-3.14.1+dfsg1/src/ts/interface/ts.c:5574:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char           filename[PETSC_MAX_PATH_LEN];
data/petsc-3.14.1+dfsg1/src/ts/interface/ts.c:5669:48:  [2] (integer) atol:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
PetscErrorCode TSSetTolerances(TS ts,PetscReal atol,Vec vatol,PetscReal rtol,Vec vrtol)
data/petsc-3.14.1+dfsg1/src/ts/interface/ts.c:5674:7:  [2] (integer) atol:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
  if (atol != PETSC_DECIDE && atol != PETSC_DEFAULT) ts->atol = atol;
data/petsc-3.14.1+dfsg1/src/ts/interface/ts.c:5674:31:  [2] (integer) atol:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
  if (atol != PETSC_DECIDE && atol != PETSC_DEFAULT) ts->atol = atol;
data/petsc-3.14.1+dfsg1/src/ts/interface/ts.c:5674:65:  [2] (integer) atol:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
  if (atol != PETSC_DECIDE && atol != PETSC_DEFAULT) ts->atol = atol;
data/petsc-3.14.1+dfsg1/src/ts/interface/ts.c:5707:49:  [2] (integer) atol:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
PetscErrorCode TSGetTolerances(TS ts,PetscReal *atol,Vec *vatol,PetscReal *rtol,Vec *vrtol)
data/petsc-3.14.1+dfsg1/src/ts/interface/ts.c:5710:7:  [2] (integer) atol:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
  if (atol)  *atol  = ts->atol;
data/petsc-3.14.1+dfsg1/src/ts/interface/ts.c:5710:27:  [2] (integer) atol:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
  if (atol)  *atol  = ts->atol;
data/petsc-3.14.1+dfsg1/src/ts/interface/ts.c:5768:24:  [2] (integer) atol:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
    const PetscScalar *atol,*rtol;
data/petsc-3.14.1+dfsg1/src/ts/interface/ts.c:5769:39:  [2] (integer) atol:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
    ierr = VecGetArrayRead(ts->vatol,&atol);CHKERRQ(ierr);
data/petsc-3.14.1+dfsg1/src/ts/interface/ts.c:5774:28:  [2] (integer) atol:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
      tola = PetscRealPart(atol[i]);
data/petsc-3.14.1+dfsg1/src/ts/interface/ts.c:5790:43:  [2] (integer) atol:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
    ierr = VecRestoreArrayRead(ts->vatol,&atol);CHKERRQ(ierr);
data/petsc-3.14.1+dfsg1/src/ts/interface/ts.c:5793:24:  [2] (integer) atol:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
    const PetscScalar *atol;
data/petsc-3.14.1+dfsg1/src/ts/interface/ts.c:5794:39:  [2] (integer) atol:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
    ierr = VecGetArrayRead(ts->vatol,&atol);CHKERRQ(ierr);
data/petsc-3.14.1+dfsg1/src/ts/interface/ts.c:5798:28:  [2] (integer) atol:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
      tola = PetscRealPart(atol[i]);
data/petsc-3.14.1+dfsg1/src/ts/interface/ts.c:5814:43:  [2] (integer) atol:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
    ierr = VecRestoreArrayRead(ts->vatol,&atol);CHKERRQ(ierr);
data/petsc-3.14.1+dfsg1/src/ts/interface/ts.c:5821:18:  [2] (integer) atol:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
      tola = ts->atol;
data/petsc-3.14.1+dfsg1/src/ts/interface/ts.c:5842:18:  [2] (integer) atol:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
      tola = ts->atol;
data/petsc-3.14.1+dfsg1/src/ts/interface/ts.c:5942:24:  [2] (integer) atol:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
    const PetscScalar *atol,*rtol;
data/petsc-3.14.1+dfsg1/src/ts/interface/ts.c:5943:39:  [2] (integer) atol:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
    ierr = VecGetArrayRead(ts->vatol,&atol);CHKERRQ(ierr);
data/petsc-3.14.1+dfsg1/src/ts/interface/ts.c:5949:28:  [2] (integer) atol:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
      tola = PetscRealPart(atol[i]);
data/petsc-3.14.1+dfsg1/src/ts/interface/ts.c:5962:43:  [2] (integer) atol:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
    ierr = VecRestoreArrayRead(ts->vatol,&atol);CHKERRQ(ierr);
data/petsc-3.14.1+dfsg1/src/ts/interface/ts.c:5965:24:  [2] (integer) atol:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
    const PetscScalar *atol;
data/petsc-3.14.1+dfsg1/src/ts/interface/ts.c:5966:39:  [2] (integer) atol:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
    ierr = VecGetArrayRead(ts->vatol,&atol);CHKERRQ(ierr);
data/petsc-3.14.1+dfsg1/src/ts/interface/ts.c:5970:28:  [2] (integer) atol:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
      tola = PetscRealPart(atol[i]);
data/petsc-3.14.1+dfsg1/src/ts/interface/ts.c:5983:43:  [2] (integer) atol:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
    ierr = VecRestoreArrayRead(ts->vatol,&atol);CHKERRQ(ierr);
data/petsc-3.14.1+dfsg1/src/ts/interface/ts.c:5991:18:  [2] (integer) atol:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
      tola = ts->atol;
data/petsc-3.14.1+dfsg1/src/ts/interface/ts.c:6010:18:  [2] (integer) atol:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
      tola = ts->atol;
data/petsc-3.14.1+dfsg1/src/ts/interface/ts.c:6135:24:  [2] (integer) atol:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
    const PetscScalar *atol,*rtol;
data/petsc-3.14.1+dfsg1/src/ts/interface/ts.c:6136:39:  [2] (integer) atol:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
    ierr = VecGetArrayRead(ts->vatol,&atol);CHKERRQ(ierr);
data/petsc-3.14.1+dfsg1/src/ts/interface/ts.c:6141:28:  [2] (integer) atol:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
      tola = PetscRealPart(atol[i]);
data/petsc-3.14.1+dfsg1/src/ts/interface/ts.c:6157:43:  [2] (integer) atol:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
    ierr = VecRestoreArrayRead(ts->vatol,&atol);CHKERRQ(ierr);
data/petsc-3.14.1+dfsg1/src/ts/interface/ts.c:6160:24:  [2] (integer) atol:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
    const PetscScalar *atol;
data/petsc-3.14.1+dfsg1/src/ts/interface/ts.c:6161:39:  [2] (integer) atol:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
    ierr = VecGetArrayRead(ts->vatol,&atol);CHKERRQ(ierr);
data/petsc-3.14.1+dfsg1/src/ts/interface/ts.c:6165:28:  [2] (integer) atol:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
      tola = PetscRealPart(atol[i]);
data/petsc-3.14.1+dfsg1/src/ts/interface/ts.c:6181:43:  [2] (integer) atol:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
    ierr = VecRestoreArrayRead(ts->vatol,&atol);CHKERRQ(ierr);
data/petsc-3.14.1+dfsg1/src/ts/interface/ts.c:6188:18:  [2] (integer) atol:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
      tola = ts->atol;
data/petsc-3.14.1+dfsg1/src/ts/interface/ts.c:6209:18:  [2] (integer) atol:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
      tola = ts->atol;
data/petsc-3.14.1+dfsg1/src/ts/interface/ts.c:6313:24:  [2] (integer) atol:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
    const PetscScalar *atol,*rtol;
data/petsc-3.14.1+dfsg1/src/ts/interface/ts.c:6314:39:  [2] (integer) atol:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
    ierr = VecGetArrayRead(ts->vatol,&atol);CHKERRQ(ierr);
data/petsc-3.14.1+dfsg1/src/ts/interface/ts.c:6320:28:  [2] (integer) atol:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
      tola = PetscRealPart(atol[i]);
data/petsc-3.14.1+dfsg1/src/ts/interface/ts.c:6333:43:  [2] (integer) atol:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
    ierr = VecRestoreArrayRead(ts->vatol,&atol);CHKERRQ(ierr);
data/petsc-3.14.1+dfsg1/src/ts/interface/ts.c:6336:24:  [2] (integer) atol:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
    const PetscScalar *atol;
data/petsc-3.14.1+dfsg1/src/ts/interface/ts.c:6337:39:  [2] (integer) atol:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
    ierr = VecGetArrayRead(ts->vatol,&atol);CHKERRQ(ierr);
data/petsc-3.14.1+dfsg1/src/ts/interface/ts.c:6341:28:  [2] (integer) atol:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
      tola = PetscRealPart(atol[i]);
data/petsc-3.14.1+dfsg1/src/ts/interface/ts.c:6354:43:  [2] (integer) atol:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
    ierr = VecRestoreArrayRead(ts->vatol,&atol);CHKERRQ(ierr);
data/petsc-3.14.1+dfsg1/src/ts/interface/ts.c:6362:18:  [2] (integer) atol:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
      tola = ts->atol;
data/petsc-3.14.1+dfsg1/src/ts/interface/ts.c:6381:18:  [2] (integer) atol:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
      tola = ts->atol;
data/petsc-3.14.1+dfsg1/src/ts/interface/ts.c:7557:32:  [2] (integer) atol:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
  t->atol              = tsin->atol;
data/petsc-3.14.1+dfsg1/src/ts/interface/tsrhssplit.c:37:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char            prefix[128];
data/petsc-3.14.1+dfsg1/src/ts/tests/ex14.c:113:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char           savetype[32];
data/petsc-3.14.1+dfsg1/src/ts/tests/ex5.c:487:9:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
  ifp = fopen("ex5_control.txt", "r");
data/petsc-3.14.1+dfsg1/src/ts/trajectory/impls/basic/trajbasic.c:11:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char               filename[PETSC_MAX_PATH_LEN];
data/petsc-3.14.1+dfsg1/src/ts/trajectory/impls/basic/trajbasic.c:61:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char           filename[PETSC_MAX_PATH_LEN];
data/petsc-3.14.1+dfsg1/src/ts/trajectory/impls/basic/trajbasic.c:117:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      char dtempname[16] = "TS-data-XXXXXX";
data/petsc-3.14.1+dfsg1/src/ts/trajectory/impls/memory/trajmemory.c:297:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char           filename[PETSC_MAX_PATH_LEN];
data/petsc-3.14.1+dfsg1/src/ts/trajectory/impls/memory/trajmemory.c:336:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char           filename[PETSC_MAX_PATH_LEN];
data/petsc-3.14.1+dfsg1/src/ts/trajectory/impls/memory/trajmemory.c:372:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char           filename[PETSC_MAX_PATH_LEN];
data/petsc-3.14.1+dfsg1/src/ts/trajectory/impls/memory/trajmemory.c:421:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char           filename[PETSC_MAX_PATH_LEN];
data/petsc-3.14.1+dfsg1/src/ts/trajectory/impls/memory/trajmemory.c:449:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char           filename[PETSC_MAX_PATH_LEN];
data/petsc-3.14.1+dfsg1/src/ts/trajectory/impls/visualization/trajvisualization.c:19:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char           filename[PETSC_MAX_PATH_LEN];
data/petsc-3.14.1+dfsg1/src/ts/trajectory/interface/traj.c:652:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char           typeName[256];
data/petsc-3.14.1+dfsg1/src/ts/trajectory/interface/traj.c:852:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char           dirname[PETSC_MAX_PATH_LEN],filetemplate[PETSC_MAX_PATH_LEN];
data/petsc-3.14.1+dfsg1/src/ts/tutorials/advection-diffusion-reaction/ex5opt_ic.c:46:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char           filename[PETSC_MAX_PATH_LEN]="";
data/petsc-3.14.1+dfsg1/src/ts/tutorials/advection-diffusion-reaction/ex5opt_ic.c:82:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char           filename[PETSC_MAX_PATH_LEN] = "";
data/petsc-3.14.1+dfsg1/src/ts/tutorials/advection-diffusion-reaction/ex5opt_ic.c:675:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char           filename[PETSC_MAX_PATH_LEN]="";
data/petsc-3.14.1+dfsg1/src/ts/tutorials/ex10.c:49:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char               view_binary[PETSC_MAX_PATH_LEN];
data/petsc-3.14.1+dfsg1/src/ts/tutorials/ex11.c:110:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char outputBasename[PETSC_MAX_PATH_LEN]; /* Basename for output files */
data/petsc-3.14.1+dfsg1/src/ts/tutorials/ex11.c:531:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char           sw_riemann[64] = "rusanov";
data/petsc-3.14.1+dfsg1/src/ts/tutorials/ex11.c:819:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char type[64] = "linear_wave";
data/petsc-3.14.1+dfsg1/src/ts/tutorials/ex11.c:1320:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char           *names[256];
data/petsc-3.14.1+dfsg1/src/ts/tutorials/ex11.c:1417:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char           filename[PETSC_MAX_PATH_LEN],*ftable = NULL;
data/petsc-3.14.1+dfsg1/src/ts/tutorials/ex11.c:1486:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      char           buffer[256],*p;
data/petsc-3.14.1+dfsg1/src/ts/tutorials/ex11.c:1672:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char              filename[PETSC_MAX_PATH_LEN] = "";
data/petsc-3.14.1+dfsg1/src/ts/tutorials/ex11.c:1673:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char              physname[256]  = "advect";
data/petsc-3.14.1+dfsg1/src/ts/tutorials/ex11.c:1861:11:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
          char     compName[256]  = "Unknown";
data/petsc-3.14.1+dfsg1/src/ts/tutorials/ex11.c:1879:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char      convType[256];
data/petsc-3.14.1+dfsg1/src/ts/tutorials/ex11.c:1924:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        char        buf[256];
data/petsc-3.14.1+dfsg1/src/ts/tutorials/ex11_sa.c:1080:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char      optname[512];
data/petsc-3.14.1+dfsg1/src/ts/tutorials/ex11_sa.c:1132:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char           *names[256];
data/petsc-3.14.1+dfsg1/src/ts/tutorials/ex11_sa.c:1235:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char           filename[PETSC_MAX_PATH_LEN],*ftable = NULL;
data/petsc-3.14.1+dfsg1/src/ts/tutorials/ex11_sa.c:1293:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      char           buffer[256],*p;
data/petsc-3.14.1+dfsg1/src/ts/tutorials/ex11_sa.c:1387:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char           filename[PETSC_MAX_PATH_LEN];
data/petsc-3.14.1+dfsg1/src/ts/tutorials/ex11_sa.c:1420:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char              filename[PETSC_MAX_PATH_LEN] = "sevenside.exo";
data/petsc-3.14.1+dfsg1/src/ts/tutorials/ex11_sa.c:1463:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char             physname[256]  = "advect";
data/petsc-3.14.1+dfsg1/src/ts/tutorials/ex14.c:488:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char             monitor_basename[PETSC_MAX_PATH_LEN] = "thi-";
data/petsc-3.14.1+dfsg1/src/ts/tutorials/ex14.c:532:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char           mtype[256] = MATSBAIJ;
data/petsc-3.14.1+dfsg1/src/ts/tutorials/ex14.c:1531:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char           filename3[PETSC_MAX_PATH_LEN],filename2[PETSC_MAX_PATH_LEN];
data/petsc-3.14.1+dfsg1/src/ts/tutorials/ex14.c:1648:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char      filename[PETSC_MAX_PATH_LEN] = "";
data/petsc-3.14.1+dfsg1/src/ts/tutorials/ex18.c:55:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char           filename[2048];    /* The optional ExodusII file */
data/petsc-3.14.1+dfsg1/src/ts/tutorials/ex18.c:74:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  const char    *velocityDist[4]  = {"zero", "constant", "harmonic", "shear"};
data/petsc-3.14.1+dfsg1/src/ts/tutorials/ex18.c:75:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  const char    *porosityDist[5]  = {"zero", "constant", "gaussian", "tilted", "delta"};
data/petsc-3.14.1+dfsg1/src/ts/tutorials/ex18.c:122:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char          *names[256];
data/petsc-3.14.1+dfsg1/src/ts/tutorials/ex18.c:1018:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      char       buffer[256], *p, *prefix;
data/petsc-3.14.1+dfsg1/src/ts/tutorials/ex3.c:252:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char        string[512];
data/petsc-3.14.1+dfsg1/src/ts/tutorials/ex31.c:1273:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char            ptype[256] = "hull1972a1";  /* Problem specification                                */
data/petsc-3.14.1+dfsg1/src/ts/tutorials/ex35.cxx:107:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  const char        *fields[2] = {"U","V"};
data/petsc-3.14.1+dfsg1/src/ts/tutorials/ex47.c:138:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  const char    *formTypes[2] = {"primitive", "int_by_parts"};
data/petsc-3.14.1+dfsg1/src/ts/tutorials/ex48.c:27:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char           filename[2048];    /* The optional ExodusII file */
data/petsc-3.14.1+dfsg1/src/ts/tutorials/ex48.c:378:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char      convType[256];
data/petsc-3.14.1+dfsg1/src/ts/tutorials/ex48.c:502:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char              buf[256];
data/petsc-3.14.1+dfsg1/src/ts/tutorials/ex52.c:37:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char        filename[PETSC_MAX_PATH_LEN]; /* Mesh filename */
data/petsc-3.14.1+dfsg1/src/ts/tutorials/ex53.c:36:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
const char *solutionTypes[NUM_SOLUTION_TYPES+1] = {"quadratic_linear", "quadratic_trig", "trig_linear", "terzaghi", "mandel", "cryer", "unknown"};
data/petsc-3.14.1+dfsg1/src/ts/tutorials/ex53.c:56:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char         dmType[256]; /* DM type for the solve */
data/petsc-3.14.1+dfsg1/src/ts/tutorials/ex53.c:2186:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char            prefix[PETSC_MAX_PATH_LEN];
data/petsc-3.14.1+dfsg1/src/ts/tutorials/ex53.c:2380:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  const char    *name[3] = {"displacement", "tracestrain", "pressure"};
data/petsc-3.14.1+dfsg1/src/ts/tutorials/ex8.c:323:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char              pname[256];
data/petsc-3.14.1+dfsg1/src/ts/tutorials/ex9.c:173:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char                *fieldname[16];
data/petsc-3.14.1+dfsg1/src/ts/tutorials/ex9.c:180:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char        prefix[256];
data/petsc-3.14.1+dfsg1/src/ts/tutorials/ex9.c:445:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char              rname[256] = "exact";
data/petsc-3.14.1+dfsg1/src/ts/tutorials/ex9.c:567:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char              rname[256] = "exact";
data/petsc-3.14.1+dfsg1/src/ts/tutorials/ex9.c:713:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char              rname[256] = "exact",rcname[256] = "characteristic";
data/petsc-3.14.1+dfsg1/src/ts/tutorials/ex9.c:923:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char              rname[256] = "exact",rcname[256] = "characteristic";
data/petsc-3.14.1+dfsg1/src/ts/tutorials/ex9.c:1080:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char              rname[256] = "exact",rcname[256] = "characteristic";
data/petsc-3.14.1+dfsg1/src/ts/tutorials/ex9.c:1353:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char              lname[256] = "mc",physname[256] = "advect",final_fname[256] = "solution.m";
data/petsc-3.14.1+dfsg1/src/ts/tutorials/extchem.c:76:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char              chemfile[PETSC_MAX_PATH_LEN],thermofile[PETSC_MAX_PATH_LEN],lchemfile[PETSC_MAX_PATH_LEN],lthermofile[PETSC_MAX_PATH_LEN],lperiodic[PETSC_MAX_PATH_LEN];
data/petsc-3.14.1+dfsg1/src/ts/tutorials/extchem.c:292:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char           *names[maxspecies];
data/petsc-3.14.1+dfsg1/src/ts/tutorials/extchemfield.c:95:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char              chemfile[PETSC_MAX_PATH_LEN] = "chem.inp",thermofile[PETSC_MAX_PATH_LEN] = "therm.dat";
data/petsc-3.14.1+dfsg1/src/ts/tutorials/extchemfield.c:475:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char           label[128];
data/petsc-3.14.1+dfsg1/src/ts/tutorials/hybrid/ex1adj.c:320:7:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
  f = fopen("adj_mu.out", "a");
data/petsc-3.14.1+dfsg1/src/ts/tutorials/hybrid/ex1fwd.c:42:9:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    f = fopen("fwd_sp.out", "a");
data/petsc-3.14.1+dfsg1/src/ts/tutorials/multirate/ex5.c:569:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char              lname[256] = "mc",physname[256] = "advect",final_fname[256] = "solution.m";
data/petsc-3.14.1+dfsg1/src/ts/tutorials/multirate/ex5.c:734:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      char         filename[PETSC_MAX_PATH_LEN] = "binaryoutput";
data/petsc-3.14.1+dfsg1/src/ts/tutorials/multirate/ex6.c:723:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char              lname[256] = "mc",physname[256] = "advect",final_fname[256] = "solution.m";
data/petsc-3.14.1+dfsg1/src/ts/tutorials/multirate/ex6.c:903:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      char         filename[PETSC_MAX_PATH_LEN] = "binaryoutput";
data/petsc-3.14.1+dfsg1/src/ts/tutorials/multirate/ex7.c:42:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char           *fieldname[16];
data/petsc-3.14.1+dfsg1/src/ts/tutorials/multirate/ex7.c:48:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char        prefix[256];
data/petsc-3.14.1+dfsg1/src/ts/tutorials/multirate/ex7.c:645:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char              physname[256] = "advect",final_fname[256] = "solution.m";
data/petsc-3.14.1+dfsg1/src/ts/tutorials/multirate/ex7.c:792:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      char              filename[PETSC_MAX_PATH_LEN] = "binaryoutput";
data/petsc-3.14.1+dfsg1/src/ts/tutorials/multirate/ex8.c:1070:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char              lname[256] = "mc",physname[256] = "advect",final_fname[256] = "solution.m";
data/petsc-3.14.1+dfsg1/src/ts/tutorials/multirate/ex8.c:1276:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      char         filename[PETSC_MAX_PATH_LEN] = "binaryoutput";
data/petsc-3.14.1+dfsg1/src/ts/tutorials/multirate/finitevolume1d.h:52:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char                *fieldname[16];
data/petsc-3.14.1+dfsg1/src/ts/tutorials/multirate/finitevolume1d.h:88:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char                          *fieldname[16];
data/petsc-3.14.1+dfsg1/src/ts/tutorials/multirate/finitevolume1d.h:95:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char        prefix[256];
data/petsc-3.14.1+dfsg1/src/ts/tutorials/power_grid/ex3opt.c:36:8:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
  fp = fopen("ex3opt_conv.out","a");
data/petsc-3.14.1+dfsg1/src/ts/tutorials/power_grid/ex3opt_fd.c:39:8:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
  fp = fopen("ex3opt_fd_conv.out","a");
data/petsc-3.14.1+dfsg1/src/ts/utils/dmplexlandau/kokkos/landau.kokkos.cxx:115:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char string[1][32], *argv[1] = {string[0]};
data/petsc-3.14.1+dfsg1/src/ts/utils/dmplexlandau/plexland.c:339:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char           fname[128] = ""; /* we can add a file if we want */
data/petsc-3.14.1+dfsg1/src/ts/utils/dmplexlandau/plexland.c:480:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char      convType[256];
data/petsc-3.14.1+dfsg1/src/ts/utils/dmplexlandau/plexland.c:513:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char     buf[256];
data/petsc-3.14.1+dfsg1/src/ts/utils/dmplexlandau/plexland.c:527:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      char buf[256];
data/petsc-3.14.1+dfsg1/src/ts/utils/dmplexlandau/plexland.c:860:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char opstring[256];
data/petsc-3.14.1+dfsg1/src/ts/utils/dmplexlandau/tutorials/ex2.c:595:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char              pname[256],testname[256],ename[256];
data/petsc-3.14.1+dfsg1/src/ts/utils/dmplexts.c:25:15:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        const char *comps[3] = {"A","dmAux","dmCh"};
data/petsc-3.14.1+dfsg1/src/ts/utils/tsconvest.c:140:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char          stageName[PETSC_MAX_PATH_LEN];
data/petsc-3.14.1+dfsg1/src/vec/is/ao/interface/ao.c:438:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char           type[256];
data/petsc-3.14.1+dfsg1/src/vec/is/ao/interface/dlregisdm.c:36:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char           logList[256];
data/petsc-3.14.1+dfsg1/src/vec/is/ao/tests/ex3d/ex3.cxx:24:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char           infile[PETSC_MAX_PATH_LEN],datafiles[PETSC_MAX_PATH_LEN];
data/petsc-3.14.1+dfsg1/src/vec/is/is/utils/isdiff.c:411:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char           composeStr[33] = {0};
data/petsc-3.14.1+dfsg1/src/vec/is/section/interface/section.c:374:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char name[64];
data/petsc-3.14.1+dfsg1/src/vec/is/section/interface/section.c:540:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char name[64];
data/petsc-3.14.1+dfsg1/src/vec/is/sf/impls/basic/sfpack.h:173:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char         *rootbuf[2][2];               /* Buffers for packed roots, in layout of [PETSCSF_LOCAL/REMOTE][PETSC_MEMTYPE] */
data/petsc-3.14.1+dfsg1/src/vec/is/sf/impls/basic/sfpack.h:174:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char         *rootbuf_alloc[2][2];         /* Log memory allocated by petsc. We need it since rootbuf[][] may point to rootdata given by user */
data/petsc-3.14.1+dfsg1/src/vec/is/sf/impls/basic/sfpack.h:175:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char         *leafbuf[2][2];               /* Buffers for packed leaves, in layout of [PETSCSF_LOCAL/REMOTE][PETSC_MEMTYPE] */
data/petsc-3.14.1+dfsg1/src/vec/is/sf/impls/basic/sfpack.h:176:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char         *leafbuf_alloc[2][2];
data/petsc-3.14.1+dfsg1/src/vec/is/sf/impls/window/sfwindow.c:794:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        char        key[MPI_MAX_INFO_KEY], value[MPI_MAX_INFO_VAL];
data/petsc-3.14.1+dfsg1/src/vec/is/sf/impls/window/sfwindow.c:908:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      char        errstring[MPI_MAX_ERROR_STRING];
data/petsc-3.14.1+dfsg1/src/vec/is/sf/impls/window/sfwindow.c:967:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      char        errstring[MPI_MAX_ERROR_STRING];
data/petsc-3.14.1+dfsg1/src/vec/is/sf/impls/window/sfwindow.c:978:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      char        errstring[MPI_MAX_ERROR_STRING];
data/petsc-3.14.1+dfsg1/src/vec/is/sf/interface/dlregissf.c:35:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char           logList[256];
data/petsc-3.14.1+dfsg1/src/vec/is/sf/interface/sf.c:349:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char           type[256];
data/petsc-3.14.1+dfsg1/src/vec/is/sf/interface/sf.c:362:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char        backendstr[32] = {0};
data/petsc-3.14.1+dfsg1/src/vec/is/sf/tests/ex1.c:69:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char           sftype[64] = PETSCSFBASIC;
data/petsc-3.14.1+dfsg1/src/vec/is/sf/tests/ex3.c:17:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char           opname[64];
data/petsc-3.14.1+dfsg1/src/vec/is/sf/tutorials/ex1.c:50:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char           opstring[256];
data/petsc-3.14.1+dfsg1/src/vec/is/sf/tutorials/ex1.c:201:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char buf[256];
data/petsc-3.14.1+dfsg1/src/vec/is/sf/tutorials/ex1.c:274:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char buf[256];
data/petsc-3.14.1+dfsg1/src/vec/is/sf/tutorials/ex1.c:313:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char buf[256];
data/petsc-3.14.1+dfsg1/src/vec/is/utils/isltog.c:587:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char                       type[256];
data/petsc-3.14.1+dfsg1/src/vec/pf/impls/matlab/cmatlab.c:57:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char           value[256];
data/petsc-3.14.1+dfsg1/src/vec/pf/impls/string/cstring.c:50:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char           task[1024],tmp[256],lib[PETSC_MAX_PATH_LEN],username[64];
data/petsc-3.14.1+dfsg1/src/vec/pf/impls/string/cstring.c:100:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char           value[PETSC_MAX_PATH_LEN];
data/petsc-3.14.1+dfsg1/src/vec/pf/interface/pf.c:428:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char           type[256];
data/petsc-3.14.1+dfsg1/src/vec/pf/interface/pf.c:480:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char           logList[256];
data/petsc-3.14.1+dfsg1/src/vec/vec/impls/mpi/pdvec.c:551:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char              nglobalname[16],nlocalname[16],coffset[16];
data/petsc-3.14.1+dfsg1/src/vec/vec/impls/mpi/pdvec.c:560:3:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
  sprintf(nlocalname,"%d",(int)n);
data/petsc-3.14.1+dfsg1/src/vec/vec/impls/mpi/pdvec.c:561:3:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
  sprintf(nglobalname,"%d",(int)N);
data/petsc-3.14.1+dfsg1/src/vec/vec/impls/mpi/pdvec.c:562:3:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
  sprintf(coffset,"%d",(int)rstart);
data/petsc-3.14.1+dfsg1/src/vec/vec/impls/nest/vecnest.c:525:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      char     name[256] = "",prefix[256] = "";
data/petsc-3.14.1+dfsg1/src/vec/vec/impls/seq/seqviennacl/vecviennacl.cxx:97:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char                 string[20];
data/petsc-3.14.1+dfsg1/src/vec/vec/interface/dlregisvec.c:46:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char           logList[256];
data/petsc-3.14.1+dfsg1/src/vec/vec/interface/dlregisvec.c:154:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char           logList[256];
data/petsc-3.14.1+dfsg1/src/vec/vec/interface/vector.c:620:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char              type[32];
data/petsc-3.14.1+dfsg1/src/vec/vec/interface/vector.c:1233:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char           typeName[256];
data/petsc-3.14.1+dfsg1/src/vec/vec/tests/ex48.c:15:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  const char     path[np][128]  = {"/", "/group1", "/group1/group2", "/group1/nonExistingPath"};
data/petsc-3.14.1+dfsg1/src/vec/vec/tests/ex48.c:17:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  const char     attr[na][128]  = {"integer", "real",     "boolean0", "boolean1", "string",     "nonExistingAttribute"};
data/petsc-3.14.1+dfsg1/src/vec/vec/tests/ex48.c:20:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  const char     names[ns][128] = {"", "x", "nonExistingVec"}; /* test group and dataset (vector) attributes */
data/petsc-3.14.1+dfsg1/src/vec/vec/tests/ex48.c:23:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char           buf[PETSC_MAX_PATH_LEN];
data/petsc-3.14.1+dfsg1/src/vec/vec/tests/ex55.c:11:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char             *attrReadVal, attrWriteVal[20]={"Hello World!!"};
data/petsc-3.14.1+dfsg1/src/vec/vec/utils/tagger/impls/andor.c:78:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char       tprefix[128];
data/petsc-3.14.1+dfsg1/src/vec/vec/utils/tagger/impls/andor.c:102:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char           headstring[BUFSIZ];
data/petsc-3.14.1+dfsg1/src/vec/vec/utils/tagger/impls/andor.c:103:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char           funcstring[BUFSIZ];
data/petsc-3.14.1+dfsg1/src/vec/vec/utils/tagger/impls/andor.c:104:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char           descstring[BUFSIZ];
data/petsc-3.14.1+dfsg1/src/vec/vec/utils/tagger/impls/cdf.c:5:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
const char *const VecTaggerCDFMethods[VECTAGGER_CDF_NUM_METHODS] = {"gather","iterative"};
data/petsc-3.14.1+dfsg1/src/vec/vec/utils/tagger/impls/cdf.c:18:22:  [2] (integer) atol:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
  PetscReal          atol;
data/petsc-3.14.1+dfsg1/src/vec/vec/utils/tagger/impls/cdf.c:168:24:  [2] (integer) atol:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
  PetscReal      rtol, atol;
data/petsc-3.14.1+dfsg1/src/vec/vec/utils/tagger/impls/cdf.c:176:16:  [2] (integer) atol:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
  atol  = cdf->atol;
data/petsc-3.14.1+dfsg1/src/vec/vec/utils/tagger/impls/cdf.c:279:10:  [2] (integer) atol:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
    if ((atol || rtol) && ((!atol) || (maxDiff <= atol)) && ((!rtol) || (maxDiff <= rtol * intervalLen))) {
data/petsc-3.14.1+dfsg1/src/vec/vec/utils/tagger/impls/cdf.c:279:30:  [2] (integer) atol:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
    if ((atol || rtol) && ((!atol) || (maxDiff <= atol)) && ((!rtol) || (maxDiff <= rtol * intervalLen))) {
data/petsc-3.14.1+dfsg1/src/vec/vec/utils/tagger/impls/cdf.c:279:51:  [2] (integer) atol:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
    if ((atol || rtol) && ((!atol) || (maxDiff <= atol)) && ((!rtol) || (maxDiff <= rtol * intervalLen))) {
data/petsc-3.14.1+dfsg1/src/vec/vec/utils/tagger/impls/cdf.c:412:112:  [2] (integer) atol:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
      ierr = PetscViewerASCIIPrintf(viewer,"max its: %D, abs tol: %g, rel tol %g\n",cuml->maxit,(double) cuml->atol,(double) cuml->rtol);CHKERRQ(ierr);
data/petsc-3.14.1+dfsg1/src/vec/vec/utils/tagger/impls/cdf.c:433:183:  [2] (integer) atol:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
  ierr = PetscOptionsReal("-vec_tagger_cdf_atol","Maximum absolute tolerance for iterative computation of absolute boxes from CDF boxes","VecTaggerCDFIterativeSetTolerances()",cuml->atol,&cuml->atol,NULL);CHKERRQ(ierr);
data/petsc-3.14.1+dfsg1/src/vec/vec/utils/tagger/impls/cdf.c:433:195:  [2] (integer) atol:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
  ierr = PetscOptionsReal("-vec_tagger_cdf_atol","Maximum absolute tolerance for iterative computation of absolute boxes from CDF boxes","VecTaggerCDFIterativeSetTolerances()",cuml->atol,&cuml->atol,NULL);CHKERRQ(ierr);
data/petsc-3.14.1+dfsg1/src/vec/vec/utils/tagger/impls/cdf.c:503:111:  [2] (integer) atol:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
PetscErrorCode VecTaggerCDFIterativeSetTolerances(VecTagger tagger, PetscInt maxit, PetscReal rtol, PetscReal atol)
data/petsc-3.14.1+dfsg1/src/vec/vec/utils/tagger/impls/cdf.c:511:42:  [2] (integer) atol:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
  PetscValidLogicalCollectiveReal(tagger,atol,4);
data/petsc-3.14.1+dfsg1/src/vec/vec/utils/tagger/impls/cdf.c:514:17:  [2] (integer) atol:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
  cuml->atol  = atol;
data/petsc-3.14.1+dfsg1/src/vec/vec/utils/tagger/impls/cdf.c:535:114:  [2] (integer) atol:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
PetscErrorCode VecTaggerCDFIterativeGetTolerances(VecTagger tagger, PetscInt *maxit, PetscReal *rtol, PetscReal *atol)
data/petsc-3.14.1+dfsg1/src/vec/vec/utils/tagger/impls/cdf.c:543:7:  [2] (integer) atol:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
  if (atol)  *atol  = cuml->atol;
data/petsc-3.14.1+dfsg1/src/vec/vec/utils/tagger/impls/cdf.c:543:29:  [2] (integer) atol:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
  if (atol)  *atol  = cuml->atol;
data/petsc-3.14.1+dfsg1/src/vec/vec/utils/tagger/impls/simple.c:19:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char           headstring[BUFSIZ];
data/petsc-3.14.1+dfsg1/src/vec/vec/utils/tagger/impls/simple.c:20:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char           funcstring[BUFSIZ];
data/petsc-3.14.1+dfsg1/src/vec/vec/utils/tagger/interface/tagger.c:196:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char           type[256];
data/petsc-3.14.1+dfsg1/src/vec/vscat/interface/dlregisvecscat.c:38:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char           logList[256];
data/petsc-3.14.1+dfsg1/src/vec/vscat/interface/vscreate.c:107:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char           typeName[256];
data/petsc-3.14.1+dfsg1/include/petsc/private/matimpl.h:53:20:  [1] (buffer) equal:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
  PetscErrorCode (*equal)(Mat,Mat,PetscBool*);
data/petsc-3.14.1+dfsg1/include/petsc/private/viewerimpl.h:17:21:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
   PetscErrorCode (*read)(PetscViewer,void*,PetscInt,PetscInt*,PetscDataType);
data/petsc-3.14.1+dfsg1/src/dm/impls/forest/p4est/pforest.c:2299:26:  [1] (buffer) equal:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
        int              equal;
data/petsc-3.14.1+dfsg1/src/dm/impls/forest/p4est/pforest.c:2302:35:  [1] (buffer) equal:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
        PetscStackCallP4estReturn(equal,p4est_quadrant_is_equal,(myFineEnd,&first_desc));
data/petsc-3.14.1+dfsg1/src/dm/impls/forest/p4est/pforest.c:2303:13:  [1] (buffer) equal:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
        if (equal) {
data/petsc-3.14.1+dfsg1/src/dm/impls/forest/p4est/pforest.c:2505:11:  [1] (buffer) equal:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
      int equal;
data/petsc-3.14.1+dfsg1/src/dm/impls/forest/p4est/pforest.c:2507:33:  [1] (buffer) equal:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
      PetscStackCallP4estReturn(equal,p4est_quadrant_is_equal_piggy,(&p4estC->global_first_position[p],&p4estF->global_first_position[p]));
data/petsc-3.14.1+dfsg1/src/dm/impls/forest/p4est/pforest.c:2508:12:  [1] (buffer) equal:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
      if (!equal) break;
data/petsc-3.14.1+dfsg1/src/dm/impls/forest/p4est/pforest.c:2644:34:  [1] (buffer) equal:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
                int              equal;
data/petsc-3.14.1+dfsg1/src/dm/impls/forest/p4est/pforest.c:2647:43:  [1] (buffer) equal:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
                PetscStackCallP4estReturn(equal,p4est_quadrant_is_equal,(&cornerQuad,quadCoarse));
data/petsc-3.14.1+dfsg1/src/dm/impls/forest/p4est/pforest.c:2648:21:  [1] (buffer) equal:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
                if (equal) {
data/petsc-3.14.1+dfsg1/src/dm/impls/moab/tests/ex1.cxx:52:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen(user->filename) > 0) {
data/petsc-3.14.1+dfsg1/src/dm/impls/plex/plex.c:3538:55:  [1] (buffer) equal:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
PetscErrorCode DMPlexEqual(DM dmA, DM dmB, PetscBool *equal)
data/petsc-3.14.1+dfsg1/src/dm/impls/plex/plex.c:3546:21:  [1] (buffer) equal:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
  PetscValidPointer(equal, 3);
data/petsc-3.14.1+dfsg1/src/dm/impls/plex/plexorient.c:224:64:  [1] (buffer) mismatch:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
  PetscInt        face, dim, seenA, flippedA, seenB, flippedB, mismatch, c;
data/petsc-3.14.1+dfsg1/src/dm/impls/plex/plexorient.c:270:7:  [1] (buffer) mismatch:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
  if (mismatch ^ (flippedA ^ flippedB)) {
data/petsc-3.14.1+dfsg1/src/dm/impls/plex/plexorient.c:277:14:  [1] (buffer) mismatch:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
  } else if (mismatch && flippedA && flippedB) SETERRQ(PETSC_COMM_SELF, PETSC_ERR_ARG_WRONG, "Attempt to flip already flipped cell: Fault mesh is non-orientable");
data/petsc-3.14.1+dfsg1/src/dm/impls/plex/plexorient.c:568:69:  [1] (buffer) mismatch:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
          PetscInt           proc, nproc, seen, flippedA, flippedB, mismatch, numNeighbors, n;
data/petsc-3.14.1+dfsg1/src/dm/impls/plex/plexorient.c:580:17:  [1] (buffer) mismatch:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
            if (mismatch ^ (flippedA ^ flippedB)) {
data/petsc-3.14.1+dfsg1/src/dm/impls/plex/plexorient.c:585:24:  [1] (buffer) mismatch:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
            } else if (mismatch && flippedA && flippedB) SETERRQ(PETSC_COMM_SELF, PETSC_ERR_ARG_WRONG, "Attempt to flip already flipped cell: Fault mesh is non-orientable");
data/petsc-3.14.1+dfsg1/src/dm/impls/stag/stagutils.c:34:113:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
static PetscErrorCode DMStagGetProductCoordinateArrays_Private(DM dm,void* arrX,void* arrY,void* arrZ,PetscBool read)
data/petsc-3.14.1+dfsg1/src/dm/impls/stag/stagutils.c:85:9:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    if (read) {
data/petsc-3.14.1+dfsg1/src/dm/impls/stag/stagutils.c:873:117:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
static PetscErrorCode DMStagRestoreProductCoordinateArrays_Private(DM dm,void *arrX,void *arrY,void *arrZ,PetscBool read)
data/petsc-3.14.1+dfsg1/src/dm/impls/stag/stagutils.c:895:9:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    if (read) {
data/petsc-3.14.1+dfsg1/src/dm/impls/stag/tests/ex13.c:100:18:  [1] (buffer) equal:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
  PetscBool      equal;
data/petsc-3.14.1+dfsg1/src/dm/impls/stag/tests/ex13.c:112:45:  [1] (buffer) equal:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
  ierr = VecEqual(vecGlobal,vecGlobalCheck,&equal);CHKERRQ(ierr);
data/petsc-3.14.1+dfsg1/src/dm/impls/stag/tests/ex13.c:113:8:  [1] (buffer) equal:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
  if (!equal) SETERRQ(PetscObjectComm((PetscObject)dm),PETSC_ERR_PLIB,"Check failed - vectors should be bitwise identical");
data/petsc-3.14.1+dfsg1/src/dm/partitioner/impls/chaco/partchaco.c:147:13:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    count = read(fd_pipe[0], msgLog, (10000-1)*sizeof(char));
data/petsc-3.14.1+dfsg1/src/ksp/pc/impls/hpddm/hpddm.cxx:802:21:  [1] (buffer) equal:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
          PetscBool equal;
data/petsc-3.14.1+dfsg1/src/ksp/pc/impls/hpddm/hpddm.cxx:806:51:  [1] (buffer) equal:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
          ierr = ISEqualUnsorted(loc, intersect, &equal);CHKERRQ(ierr);
data/petsc-3.14.1+dfsg1/src/ksp/pc/impls/hpddm/hpddm.cxx:808:16:  [1] (buffer) equal:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
          if (!equal) SETERRQ(PETSC_COMM_SELF, PETSC_ERR_ARG_WRONG, "IS of the auxiliary Mat does not include all local rows of A");
data/petsc-3.14.1+dfsg1/src/mat/f90-mod/petscmatfactorinfosize.h:2:35:  [1] (buffer) equal:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
!  Note: MAT_FACTORINFO_SIZE must equal # elements in MatFactorInfo structure
data/petsc-3.14.1+dfsg1/src/mat/f90-mod/petscmatinfosize.h:2:29:  [1] (buffer) equal:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
!  Note: MAT_INFO_SIZE must equal # elements in MatInfo structure
data/petsc-3.14.1+dfsg1/src/mat/impls/aij/seq/aij.c:2648:17:  [1] (buffer) equal:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
      PetscBool equal;
data/petsc-3.14.1+dfsg1/src/mat/impls/aij/seq/aij.c:2652:56:  [1] (buffer) equal:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
      ierr = PetscArraycmp(c->ilen,lens,(*B)->rmap->n,&equal);CHKERRQ(ierr);
data/petsc-3.14.1+dfsg1/src/mat/impls/aij/seq/aij.c:2653:12:  [1] (buffer) equal:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
      if (!equal) SETERRQ(PETSC_COMM_SELF,PETSC_ERR_ARG_SIZ,"Cannot reuse matrix. wrong no of nonzeros");
data/petsc-3.14.1+dfsg1/src/mat/impls/blockmat/seq/blockmat.c:592:25:  [1] (buffer) equal:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
  PetscBool      stride,equal;
data/petsc-3.14.1+dfsg1/src/mat/impls/blockmat/seq/blockmat.c:595:31:  [1] (buffer) equal:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
  ierr = ISEqual(isrow,iscol,&equal);CHKERRQ(ierr);
data/petsc-3.14.1+dfsg1/src/mat/impls/blockmat/seq/blockmat.c:596:8:  [1] (buffer) equal:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
  if (!equal) SETERRQ(PETSC_COMM_SELF,PETSC_ERR_SUP,"Only for identical column and row indices");
data/petsc-3.14.1+dfsg1/src/mat/interface/matrix.c:5180:16:  [1] (buffer) equal:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
  if (!A->ops->equal) SETERRQ1(PetscObjectComm((PetscObject)A),PETSC_ERR_SUP,"Mat type %s",((PetscObject)A)->type_name);
data/petsc-3.14.1+dfsg1/src/mat/interface/matrix.c:5181:16:  [1] (buffer) equal:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
  if (!B->ops->equal) SETERRQ1(PetscObjectComm((PetscObject)A),PETSC_ERR_SUP,"Mat type %s",((PetscObject)B)->type_name);
data/petsc-3.14.1+dfsg1/src/mat/interface/matrix.c:5182:15:  [1] (buffer) equal:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
  if (A->ops->equal != B->ops->equal) SETERRQ2(PetscObjectComm((PetscObject)A),PETSC_ERR_ARG_INCOMP,"A is type: %s\nB is type: %s",((PetscObject)A)->type_name,((PetscObject)B)->type_name);
data/petsc-3.14.1+dfsg1/src/mat/interface/matrix.c:5182:32:  [1] (buffer) equal:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
  if (A->ops->equal != B->ops->equal) SETERRQ2(PetscObjectComm((PetscObject)A),PETSC_ERR_ARG_INCOMP,"A is type: %s\nB is type: %s",((PetscObject)A)->type_name,((PetscObject)B)->type_name);
data/petsc-3.14.1+dfsg1/src/mat/interface/matrix.c:5185:20:  [1] (buffer) equal:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
  ierr = (*A->ops->equal)(A,B,flg);CHKERRQ(ierr);
data/petsc-3.14.1+dfsg1/src/mat/partition/impls/chaco/chaco.c:150:11:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  count = read(fd_pipe[0],mesg_log,(SIZE_LOG-1)*sizeof(char));
data/petsc-3.14.1+dfsg1/src/mat/partition/impls/party/party.c:109:11:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  count = read(fd_pipe[0],mesg_log,(SIZE_LOG-1)*sizeof(char));
data/petsc-3.14.1+dfsg1/src/mat/tests/ex104.c:15:18:  [1] (buffer) equal:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
  PetscBool      equal,Aiselemental;
data/petsc-3.14.1+dfsg1/src/mat/tests/ex104.c:67:31:  [1] (buffer) equal:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
  ierr = MatMultEqual(C,B,10,&equal);CHKERRQ(ierr);
data/petsc-3.14.1+dfsg1/src/mat/tests/ex104.c:68:8:  [1] (buffer) equal:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
  if (!equal) SETERRQ(PETSC_COMM_SELF,PETSC_ERR_PLIB,"A^T*x != (x^T*A)^T");
data/petsc-3.14.1+dfsg1/src/mat/tests/ex104.c:74:33:  [1] (buffer) equal:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
    ierr = MatMultEqual(C,B,10,&equal);CHKERRQ(ierr);
data/petsc-3.14.1+dfsg1/src/mat/tests/ex104.c:75:10:  [1] (buffer) equal:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
    if (!equal) SETERRQ(PETSC_COMM_SELF,PETSC_ERR_PLIB,"C*x != B*x");
data/petsc-3.14.1+dfsg1/src/mat/tests/ex104.c:82:38:  [1] (buffer) equal:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
    ierr = MatMatMultEqual(C,A,B,10,&equal);CHKERRQ(ierr);
data/petsc-3.14.1+dfsg1/src/mat/tests/ex104.c:83:10:  [1] (buffer) equal:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
    if (!equal) SETERRQ(PETSC_COMM_SELF,PETSC_ERR_PLIB,"B != C*A for matrix type transpose and seqdense");
data/petsc-3.14.1+dfsg1/src/mat/tests/ex104.c:96:38:  [1] (buffer) equal:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
    ierr = MatMatMultEqual(B,A,C,10,&equal);CHKERRQ(ierr);
data/petsc-3.14.1+dfsg1/src/mat/tests/ex104.c:97:10:  [1] (buffer) equal:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
    if (!equal) SETERRQ(PETSC_COMM_SELF,PETSC_ERR_PLIB,"B*A*x != C*x");
data/petsc-3.14.1+dfsg1/src/mat/tests/ex104.c:111:47:  [1] (buffer) equal:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
    ierr = MatTransposeMatMultEqual(A,A,D,10,&equal);CHKERRQ(ierr);
data/petsc-3.14.1+dfsg1/src/mat/tests/ex104.c:112:10:  [1] (buffer) equal:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
    if (!equal) SETERRQ(PETSC_COMM_SELF,PETSC_ERR_PLIB,"D*x != A^T*A*x");
data/petsc-3.14.1+dfsg1/src/mat/tests/ex104.c:140:47:  [1] (buffer) equal:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
    ierr = MatTransposeMatMultEqual(A,B,D,10,&equal);CHKERRQ(ierr);
data/petsc-3.14.1+dfsg1/src/mat/tests/ex104.c:141:10:  [1] (buffer) equal:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
    if (!equal) SETERRQ(PETSC_COMM_SELF,PETSC_ERR_PLIB,"D*x != A^T*B*x");
data/petsc-3.14.1+dfsg1/src/mat/tests/ex104.c:172:47:  [1] (buffer) equal:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
    ierr = MatMatTransposeMultEqual(A,B,D,10,&equal);CHKERRQ(ierr);
data/petsc-3.14.1+dfsg1/src/mat/tests/ex104.c:173:10:  [1] (buffer) equal:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
    if (!equal) SETERRQ(PETSC_COMM_SELF,PETSC_ERR_PLIB,"D*x != A^T*A*x");
data/petsc-3.14.1+dfsg1/src/mat/tests/ex109.c:84:24:  [1] (buffer) equal:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
  ierr = MatEqual(C,D,&equal);CHKERRQ(ierr);
data/petsc-3.14.1+dfsg1/src/mat/tests/ex109.c:85:8:  [1] (buffer) equal:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
  if (!equal) SETERRQ(PETSC_COMM_SELF,PETSC_ERR_ARG_WRONGSTATE,"C != D");
data/petsc-3.14.1+dfsg1/src/mat/tests/ex109.c:91:37:  [1] (buffer) equal:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
  ierr = MatMatMultEqual(AT,B,D,10,&equal);CHKERRQ(ierr);
data/petsc-3.14.1+dfsg1/src/mat/tests/ex109.c:92:8:  [1] (buffer) equal:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
  if (!equal) SETERRQ(PETSC_COMM_SELF,PETSC_ERR_ARG_WRONGSTATE,"D != AT*B (transpose(aij)*dense)");
data/petsc-3.14.1+dfsg1/src/mat/tests/ex109.c:99:36:  [1] (buffer) equal:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
  ierr = MatMatMultEqual(C,A,D,10,&equal);CHKERRQ(ierr);
data/petsc-3.14.1+dfsg1/src/mat/tests/ex109.c:100:8:  [1] (buffer) equal:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
  if (!equal) SETERRQ(PETSC_COMM_SELF,PETSC_ERR_ARG_WRONGSTATE,"D != C*A (dense*aij)");
data/petsc-3.14.1+dfsg1/src/mat/tests/ex109.c:106:36:  [1] (buffer) equal:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
  ierr = MatMatMultEqual(A,C,D,10,&equal);CHKERRQ(ierr);
data/petsc-3.14.1+dfsg1/src/mat/tests/ex109.c:107:8:  [1] (buffer) equal:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
  if (!equal) SETERRQ(PETSC_COMM_SELF,PETSC_ERR_ARG_WRONGSTATE,"D != A*C (aij*dense)");
data/petsc-3.14.1+dfsg1/src/mat/tests/ex109.c:115:38:  [1] (buffer) equal:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
    ierr = MatMatMultEqual(B,C,D,10,&equal);CHKERRQ(ierr);
data/petsc-3.14.1+dfsg1/src/mat/tests/ex109.c:116:10:  [1] (buffer) equal:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
    if (!equal) SETERRQ(PETSC_COMM_SELF,PETSC_ERR_ARG_WRONGSTATE,"D != B*C (dense*dense)");
data/petsc-3.14.1+dfsg1/src/mat/tests/ex109.c:123:45:  [1] (buffer) equal:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
  ierr = MatMatTransposeMultEqual(B,C,D,10,&equal);CHKERRQ(ierr);
data/petsc-3.14.1+dfsg1/src/mat/tests/ex109.c:124:8:  [1] (buffer) equal:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
  if (!equal) SETERRQ(PETSC_COMM_SELF,PETSC_ERR_ARG_WRONGSTATE,"D != B*C^T (dense*dense)");
data/petsc-3.14.1+dfsg1/src/mat/tests/ex110.c:15:21:  [1] (buffer) equal:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
  PetscBool         equal,done;
data/petsc-3.14.1+dfsg1/src/mat/tests/ex110.c:57:24:  [1] (buffer) equal:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
  ierr = MatEqual(A,B,&equal);CHKERRQ(ierr);
data/petsc-3.14.1+dfsg1/src/mat/tests/ex110.c:64:8:  [1] (buffer) equal:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
  if (!equal) SETERRQ(PETSC_COMM_SELF,PETSC_ERR_PLIB,"Likely a bug in MatCreateMPIAIJWithSplitArrays()");
data/petsc-3.14.1+dfsg1/src/mat/tests/ex122.c:48:36:  [1] (buffer) equal:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
  ierr = MatMatMultEqual(B,A,C,10,&equal);CHKERRQ(ierr);
data/petsc-3.14.1+dfsg1/src/mat/tests/ex122.c:49:8:  [1] (buffer) equal:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
  if (!equal) SETERRQ(PETSC_COMM_SELF,PETSC_ERR_ARG_WRONGSTATE,"C != B*A");
data/petsc-3.14.1+dfsg1/src/mat/tests/ex141.c:15:18:  [1] (buffer) equal:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
  PetscBool      equal,loadmat;
data/petsc-3.14.1+dfsg1/src/mat/tests/ex141.c:75:31:  [1] (buffer) equal:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
  ierr = MatMultEqual(B,C,10,&equal);CHKERRQ(ierr);
data/petsc-3.14.1+dfsg1/src/mat/tests/ex141.c:76:8:  [1] (buffer) equal:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
  if (!equal) SETERRQ(PETSC_COMM_SELF,PETSC_ERR_PLIB,"MatConvert fails!");
data/petsc-3.14.1+dfsg1/src/mat/tests/ex161.c:15:24:  [1] (buffer) equal:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
  PetscBool            equal;
data/petsc-3.14.1+dfsg1/src/mat/tests/ex161.c:114:27:  [1] (buffer) equal:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
  ierr = MatEqual(C,PtAP,&equal);CHKERRQ(ierr);
data/petsc-3.14.1+dfsg1/src/mat/tests/ex161.c:115:8:  [1] (buffer) equal:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
  if (!equal) SETERRQ(PETSC_COMM_SELF,PETSC_ERR_PLIB,"Error: PtAP != RARt");
data/petsc-3.14.1+dfsg1/src/mat/tests/ex195.c:23:23:  [1] (buffer) equal:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
  PetscBool           equal;
data/petsc-3.14.1+dfsg1/src/mat/tests/ex195.c:74:39:  [1] (buffer) equal:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
  ierr = MatMatMultEqual(nest,B,C,10,&equal);CHKERRQ(ierr);
data/petsc-3.14.1+dfsg1/src/mat/tests/ex195.c:75:8:  [1] (buffer) equal:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
  if (!equal) SETERRQ(PETSC_COMM_WORLD,PETSC_ERR_PLIB,"Error in C != nest*B_dense");
data/petsc-3.14.1+dfsg1/src/mat/tests/ex195.c:85:39:  [1] (buffer) equal:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
  ierr = MatMatMultEqual(nest,C,B,10,&equal);CHKERRQ(ierr);
data/petsc-3.14.1+dfsg1/src/mat/tests/ex195.c:86:8:  [1] (buffer) equal:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
  if (!equal) SETERRQ(PETSC_COMM_WORLD,PETSC_ERR_PLIB,"Error in B != nest*C_dense");
data/petsc-3.14.1+dfsg1/src/mat/tests/ex195.c:99:42:  [1] (buffer) equal:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
    ierr = MatMatMultEqual(nest,B,C1,10,&equal);CHKERRQ(ierr);
data/petsc-3.14.1+dfsg1/src/mat/tests/ex195.c:100:10:  [1] (buffer) equal:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
    if (!equal) SETERRQ(PETSC_COMM_WORLD,PETSC_ERR_PLIB,"Error in C1 != C");
data/petsc-3.14.1+dfsg1/src/mat/tests/ex202.c:19:19:  [1] (buffer) equal:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
  PetscBool       equal;
data/petsc-3.14.1+dfsg1/src/mat/tests/ex202.c:74:36:  [1] (buffer) equal:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
  ierr = MatMatMultEqual(A,B,C,10,&equal);CHKERRQ(ierr);
data/petsc-3.14.1+dfsg1/src/mat/tests/ex202.c:75:8:  [1] (buffer) equal:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
  if (!equal) SETERRQ(PETSC_COMM_WORLD,PETSC_ERR_PLIB,"Error in C != A*B");
data/petsc-3.14.1+dfsg1/src/mat/tests/ex209.c:17:18:  [1] (buffer) equal:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
  PetscBool      equal;
data/petsc-3.14.1+dfsg1/src/mat/tests/ex209.c:61:33:  [1] (buffer) equal:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
  ierr = MatMultEqual(C,AtA,20,&equal);CHKERRQ(ierr);
data/petsc-3.14.1+dfsg1/src/mat/tests/ex209.c:62:8:  [1] (buffer) equal:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
  if (!equal) SETERRQ(PETSC_COMM_SELF,PETSC_ERR_ARG_WRONGSTATE,"A^T*A != At*A");
data/petsc-3.14.1+dfsg1/src/mat/tests/ex226.c:38:44:  [1] (buffer) equal:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
  ierr = PetscStrcmp(stencil, "2d5point", &equal);CHKERRQ(ierr);
data/petsc-3.14.1+dfsg1/src/mat/tests/ex226.c:39:7:  [1] (buffer) equal:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
  if (equal) {   /* 5-point stencil, 2D */
data/petsc-3.14.1+dfsg1/src/mat/tests/ex226.c:52:44:  [1] (buffer) equal:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
  ierr = PetscStrcmp(stencil, "2d9point", &equal);CHKERRQ(ierr);
data/petsc-3.14.1+dfsg1/src/mat/tests/ex226.c:53:7:  [1] (buffer) equal:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
  if (equal) {      /* 9-point stencil, 2D */
data/petsc-3.14.1+dfsg1/src/mat/tests/ex226.c:70:45:  [1] (buffer) equal:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
  ierr = PetscStrcmp(stencil, "2d9point2", &equal);CHKERRQ(ierr);
data/petsc-3.14.1+dfsg1/src/mat/tests/ex226.c:71:7:  [1] (buffer) equal:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
  if (equal) {      /* 9-point Cartesian stencil (width 2 per coordinate), 2D */
data/petsc-3.14.1+dfsg1/src/mat/tests/ex226.c:88:45:  [1] (buffer) equal:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
  ierr = PetscStrcmp(stencil, "2d13point", &equal);CHKERRQ(ierr);
data/petsc-3.14.1+dfsg1/src/mat/tests/ex226.c:89:7:  [1] (buffer) equal:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
  if (equal) {      /* 13-point Cartesian stencil (width 3 per coordinate), 2D */
data/petsc-3.14.1+dfsg1/src/mat/tests/ex226.c:111:44:  [1] (buffer) equal:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
  ierr = PetscStrcmp(stencil, "3d7point", &equal);CHKERRQ(ierr);
data/petsc-3.14.1+dfsg1/src/mat/tests/ex226.c:112:7:  [1] (buffer) equal:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
  if (equal) {      /* 7-point stencil, 3D */
data/petsc-3.14.1+dfsg1/src/mat/tests/ex226.c:127:45:  [1] (buffer) equal:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
  ierr = PetscStrcmp(stencil, "3d13point", &equal);CHKERRQ(ierr);
data/petsc-3.14.1+dfsg1/src/mat/tests/ex226.c:128:7:  [1] (buffer) equal:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
  if (equal) {      /* 13-point stencil, 3D */
data/petsc-3.14.1+dfsg1/src/mat/tests/ex226.c:149:45:  [1] (buffer) equal:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
  ierr = PetscStrcmp(stencil, "3d19point", &equal);CHKERRQ(ierr);
data/petsc-3.14.1+dfsg1/src/mat/tests/ex226.c:150:7:  [1] (buffer) equal:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
  if (equal) {      /* 19-point stencil, 3D */
data/petsc-3.14.1+dfsg1/src/mat/tests/ex226.c:179:45:  [1] (buffer) equal:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
  ierr = PetscStrcmp(stencil, "3d27point", &equal);CHKERRQ(ierr);
data/petsc-3.14.1+dfsg1/src/mat/tests/ex226.c:180:7:  [1] (buffer) equal:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
  if (equal) {      /* 27-point stencil, 3D */
data/petsc-3.14.1+dfsg1/src/mat/tests/ex25.c:39:24:  [1] (buffer) equal:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
  ierr = MatEqual(C,A,&equal);CHKERRQ(ierr);
data/petsc-3.14.1+dfsg1/src/mat/tests/ex25.c:40:8:  [1] (buffer) equal:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
  if (!equal) SETERRQ(PETSC_COMM_SELF,PETSC_ERR_SUP,"C != C^T");
data/petsc-3.14.1+dfsg1/src/mat/tests/ex55.c:16:18:  [1] (buffer) equal:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
  PetscBool      equal,flg_loadmat,flg,issymmetric;
data/petsc-3.14.1+dfsg1/src/mat/tests/ex55.c:118:33:  [1] (buffer) equal:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
    ierr = MatMultEqual(A,C,10,&equal);CHKERRQ(ierr);
data/petsc-3.14.1+dfsg1/src/mat/tests/ex55.c:119:10:  [1] (buffer) equal:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
    if (!equal) SETERRQ1(PETSC_COMM_SELF,PETSC_ERR_ARG_NOTSAMETYPE,"Error in conversion from BAIJ to %s",type[i]);
data/petsc-3.14.1+dfsg1/src/mat/tests/ex55.c:138:35:  [1] (buffer) equal:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
      ierr = MatMultEqual(A,B,10,&equal);CHKERRQ(ierr);
data/petsc-3.14.1+dfsg1/src/mat/tests/ex55.c:139:12:  [1] (buffer) equal:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
      if (!equal) SETERRQ2(PETSC_COMM_SELF,PETSC_ERR_ARG_NOTSAMETYPE,"Error in conversion from %s to %s",type[i],type[j]);
data/petsc-3.14.1+dfsg1/src/mat/tests/ex55.c:144:37:  [1] (buffer) equal:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
        ierr = MatMultEqual(B,D,10,&equal);CHKERRQ(ierr);
data/petsc-3.14.1+dfsg1/src/mat/tests/ex55.c:145:14:  [1] (buffer) equal:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
        if (!equal) SETERRQ2(PETSC_COMM_SELF,PETSC_ERR_ARG_NOTSAMETYPE,"Error in conversion from %s to %s",type[j],type[i]);
data/petsc-3.14.1+dfsg1/src/mat/tests/ex55.c:172:33:  [1] (buffer) equal:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
    ierr = MatMultEqual(A,C,10,&equal);CHKERRQ(ierr);
data/petsc-3.14.1+dfsg1/src/mat/tests/ex55.c:174:10:  [1] (buffer) equal:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
    if (!equal) {
data/petsc-3.14.1+dfsg1/src/mat/tests/ex55.c:186:33:  [1] (buffer) equal:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
    ierr = MatMultEqual(A,C,10,&equal);CHKERRQ(ierr);
data/petsc-3.14.1+dfsg1/src/mat/tests/ex55.c:188:10:  [1] (buffer) equal:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
    if (!equal) {
data/petsc-3.14.1+dfsg1/src/mat/tests/ex55.c:203:33:  [1] (buffer) equal:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
    ierr = MatMultEqual(A,C,10,&equal);CHKERRQ(ierr);
data/petsc-3.14.1+dfsg1/src/mat/tests/ex55.c:204:10:  [1] (buffer) equal:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
    if (!equal) {
data/petsc-3.14.1+dfsg1/src/mat/tests/ex58.c:12:18:  [1] (buffer) equal:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
  PetscBool      equal;
data/petsc-3.14.1+dfsg1/src/mat/tests/ex58.c:50:24:  [1] (buffer) equal:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
  ierr = MatEqual(A,B,&equal);CHKERRQ(ierr);
data/petsc-3.14.1+dfsg1/src/mat/tests/ex58.c:54:63:  [1] (buffer) equal:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
  ierr  = PetscPrintf(PETSC_COMM_WORLD,"Matrices are %s\n",eq[equal]);CHKERRQ(ierr);
data/petsc-3.14.1+dfsg1/src/mat/tests/ex58.c:57:24:  [1] (buffer) equal:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
  ierr = MatEqual(A,B,&equal);CHKERRQ(ierr);
data/petsc-3.14.1+dfsg1/src/mat/tests/ex58.c:58:8:  [1] (buffer) equal:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
  if (!equal) { ierr = PetscPrintf(PETSC_COMM_WORLD,"MatTranspose with MAT_REUSE_MATRIX failed");CHKERRQ(ierr); }
data/petsc-3.14.1+dfsg1/src/mat/tests/ex72mmio.c:128:45:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    if (strncmp(banner, MatrixMarketBanner, strlen(MatrixMarketBanner)) != 0)
data/petsc-3.14.1+dfsg1/src/mat/tests/ex74.c:18:35:  [1] (buffer) equal:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
  PetscBool      doIcc=PETSC_TRUE,equal;
data/petsc-3.14.1+dfsg1/src/mat/tests/ex74.c:165:26:  [1] (buffer) equal:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
  ierr = MatEqual(sA,sB,&equal);CHKERRQ(ierr);
data/petsc-3.14.1+dfsg1/src/mat/tests/ex74.c:166:8:  [1] (buffer) equal:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
  if (!equal) SETERRQ(PETSC_COMM_SELF,PETSC_ERR_ARG_NOTSAMETYPE,"Error in MatDuplicate()");
data/petsc-3.14.1+dfsg1/src/mat/tests/ex74.c:226:32:  [1] (buffer) equal:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
  ierr = MatMultEqual(A,sB,10,&equal);CHKERRQ(ierr);
data/petsc-3.14.1+dfsg1/src/mat/tests/ex74.c:227:8:  [1] (buffer) equal:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
  if (!equal) SETERRQ(PETSC_COMM_SELF,PETSC_ERR_ARG_NOTSAMETYPE,"Error in MatDiagonalScale");
data/petsc-3.14.1+dfsg1/src/mat/tests/ex74.c:285:38:  [1] (buffer) equal:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
  ierr = MatMatMultEqual(sA,B,C,5*n,&equal);CHKERRQ(ierr);
data/petsc-3.14.1+dfsg1/src/mat/tests/ex74.c:286:8:  [1] (buffer) equal:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
  if (!equal) SETERRQ(PETSC_COMM_SELF,PETSC_ERR_PLIB,"Error: MatMatMult()");
data/petsc-3.14.1+dfsg1/src/mat/tests/ex76.c:20:18:  [1] (buffer) equal:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
  PetscBool      equal;
data/petsc-3.14.1+dfsg1/src/mat/tests/ex76.c:129:32:  [1] (buffer) equal:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
  ierr = MatMultEqual(A,sA,20,&equal);CHKERRQ(ierr);
data/petsc-3.14.1+dfsg1/src/mat/tests/ex76.c:130:8:  [1] (buffer) equal:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
  if (!equal) SETERRQ(PETSC_COMM_SELF,PETSC_ERR_USER,"A != sA");
data/petsc-3.14.1+dfsg1/src/snes/impls/gs/gssecant.c:23:42:  [1] (buffer) equal:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
  PetscBool         mat = gs->secant_mat,equal,isdone,alldone;
data/petsc-3.14.1+dfsg1/src/snes/impls/gs/gssecant.c:54:36:  [1] (buffer) equal:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
  ierr = VecEqual(X,snes->vec_sol,&equal);CHKERRQ(ierr);
data/petsc-3.14.1+dfsg1/src/snes/impls/gs/gssecant.c:55:7:  [1] (buffer) equal:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
  if (equal && snes->normschedule == SNES_NORM_ALWAYS) {
data/petsc-3.14.1+dfsg1/src/snes/tutorials/network/water/waterreaddata.c:87:21:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strncmp(a, b, strlen(b)) == 0) return 1;
data/petsc-3.14.1+dfsg1/src/sys/classes/viewer/impls/socket/matlab/bread.c:95:13:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    err   = read(fd,pp,wsize);
data/petsc-3.14.1+dfsg1/src/sys/classes/viewer/impls/socket/matlab/sopen.c:115:3:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
  strncpy(myname,utname.nodename,MAXHOSTNAME);
data/petsc-3.14.1+dfsg1/src/sys/classes/viewer/interface/view.c:464:35:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
        do {ierr = (*viewer->ops->read)(viewer, &(s[i]), 1, &cnt, PETSC_CHAR);CHKERRQ(ierr); if (!cnt) break;}
data/petsc-3.14.1+dfsg1/src/sys/classes/viewer/interface/view.c:468:35:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
        do {ierr = (*viewer->ops->read)(viewer, &(s[i++]), 1, &cnt, PETSC_CHAR);CHKERRQ(ierr); if (!cnt) break;}
data/petsc-3.14.1+dfsg1/src/sys/classes/viewer/interface/view.c:475:33:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      do {ierr = (*viewer->ops->read)(viewer, &(s[i++]), 1, &cnt, PETSC_CHAR);CHKERRQ(ierr); if (i == -num || !cnt) break;}
data/petsc-3.14.1+dfsg1/src/sys/classes/viewer/interface/view.c:484:27:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    ierr = (*viewer->ops->read)(viewer, data, num, count, dtype);CHKERRQ(ierr);
data/petsc-3.14.1+dfsg1/src/sys/fileio/sysio.c:303:23:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    int    ret = (int)read(fd,p,len);
data/petsc-3.14.1+dfsg1/src/sys/memory/mal.c:52:13:  [1] (free) memalign:
  On some systems (though not Linux-based systems) an attempt to free()
  results from memalign() may fail. This may, on a few systems, be
  exploitable. Also note that memalign() may not check that the boundary
  parameter is correct (CWE-676). Use posix_memalign instead (defined in
  POSIX's 1003.1d). Don't switch to valloc(); it is marked as obsolete in BSD
  4.3, as legacy in SUSv2, and is no longer defined in SUSv3. In some cases,
  malloc()'s alignment may be sufficient.
  *result = memalign(PETSC_MEMALIGN,mem);
data/petsc-3.14.1+dfsg1/src/sys/memory/mal.c:176:17:  [1] (free) memalign:
  On some systems (though not Linux-based systems) an attempt to free()
  results from memalign() may fail. This may, on a few systems, be
  exploitable. Also note that memalign() may not check that the boundary
  parameter is correct (CWE-676). Use posix_memalign instead (defined in
  POSIX's 1003.1d). Don't switch to valloc(); it is marked as obsolete in BSD
  4.3, as legacy in SUSv2, and is no longer defined in SUSv3. In some cases,
  malloc()'s alignment may be sufficient.
    newResult = memalign(PETSC_MEMALIGN,mem);
data/petsc-3.14.1+dfsg1/src/sys/objects/aoptions.c:135:16:  [1] (buffer) getchar:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    c = (char) getchar();
data/petsc-3.14.1+dfsg1/src/sys/objects/aoptions.c:139:17:  [1] (buffer) getchar:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      c = (char)getchar();
data/petsc-3.14.1+dfsg1/src/sys/objects/options.c:1165:5:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
    strncpy(fullname,options->prefix,sizeof(fullname));
data/petsc-3.14.1+dfsg1/src/sys/objects/options.c:1167:5:  [1] (buffer) strncat:
  Easily used incorrectly (e.g., incorrectly computing the correct maximum
  size to add) [MS-banned] (CWE-120). Consider strcat_s, strlcat, snprintf,
  or automatically resizing strings.
    strncat(fullname,name,sizeof(fullname)-strlen(fullname)-1);
data/petsc-3.14.1+dfsg1/src/sys/objects/options.c:1167:44:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    strncat(fullname,name,sizeof(fullname)-strlen(fullname)-1);
data/petsc-3.14.1+dfsg1/src/sys/objects/options.c:1207:9:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  len = strlen(name);
data/petsc-3.14.1+dfsg1/src/sys/objects/options.c:1215:17:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  len = value ? strlen(value) : 0;
data/petsc-3.14.1+dfsg1/src/sys/utils/psleep.c:30:14:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  if (s < 0) getc(stdin);
data/petsc-3.14.1+dfsg1/src/sys/utils/psleep.c:42:19:  [1] (obsolete) usleep:
  This C routine is considered obsolete (as opposed to the shell command by
  the same name). The interaction of this function with SIGALRM and other
  timer functions such as sleep(), alarm(), setitimer(), and nanosleep() is
  unspecified (CWE-676). Use nanosleep(2) or setitimer(2) instead.
  else if (s < 1) usleep((unsigned int)(s*1e6));
data/petsc-3.14.1+dfsg1/src/sys/utils/str.c:45:15:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  else    n = strlen(s);
data/petsc-3.14.1+dfsg1/src/sys/utils/str.c:150:18:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  else    *len = strlen(s);
data/petsc-3.14.1+dfsg1/src/sys/utils/str.c:392:7:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
      strncpy(s,t,n-1);
data/petsc-3.14.1+dfsg1/src/sys/utils/str.c:459:3:  [1] (buffer) strncat:
  Easily used incorrectly (e.g., incorrectly computing the correct maximum
  size to add) [MS-banned] (CWE-120). Consider strcat_s, strlcat, snprintf,
  or automatically resizing strings.
  strncat(s,t,n - len);
data/petsc-3.14.1+dfsg1/src/sys/webclient/client.c:13:13:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (num < strlen(PASSWORD)+1) return(0);
data/petsc-3.14.1+dfsg1/src/sys/webclient/client.c:15:10:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  return(strlen(PASSWORD));
data/petsc-3.14.1+dfsg1/src/ts/tutorials/ex11_sa.c:1354:18:  [1] (buffer) equal:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
  PetscBool      equal;
data/petsc-3.14.1+dfsg1/src/ts/tutorials/ex11_sa.c:1363:27:  [1] (buffer) equal:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
  VecEqual(X,odesolution,&equal);
data/petsc-3.14.1+dfsg1/src/ts/tutorials/ex11_sa.c:1364:8:  [1] (buffer) equal:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
  if (!equal) SETERRQ(PETSC_COMM_WORLD,PETSC_ERR_FILE_UNEXPECTED,"Error in reading the vec data from file");
data/petsc-3.14.1+dfsg1/src/ts/tutorials/extchem.c:309:38:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    int ispec = TC_getSpos(names[i], strlen(names[i]));
data/petsc-3.14.1+dfsg1/src/ts/tutorials/extchemfield.c:412:47:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      int ispec = TC_getSpos(initial[j].name, strlen(initial[j].name));
data/petsc-3.14.1+dfsg1/src/vec/is/tests/ex2.c:16:26:  [1] (buffer) equal:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
  PetscBool              equal;
data/petsc-3.14.1+dfsg1/src/vec/is/tests/ex2.c:35:31:  [1] (buffer) equal:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
    ierr = ISEqual(il,isx[0],&equal);CHKERRQ(ierr);
data/petsc-3.14.1+dfsg1/src/vec/is/tests/ex2.c:36:10:  [1] (buffer) equal:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
    if (!equal) SETERRQ1(PETSC_COMM_WORLD,PETSC_ERR_PLIB,"Iteration %D - Index set loaded from file does not match",j);
data/petsc-3.14.1+dfsg1/src/vec/is/tests/ex2.c:49:33:  [1] (buffer) equal:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
      ierr = ISEqual(il,isx[i],&equal);CHKERRQ(ierr);
data/petsc-3.14.1+dfsg1/src/vec/is/tests/ex2.c:50:12:  [1] (buffer) equal:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
      if (!equal) SETERRQ2(PETSC_COMM_WORLD,PETSC_ERR_PLIB,"Iteration %D - Index set %D loaded from file does not match",j,i);
data/petsc-3.14.1+dfsg1/src/vec/is/tests/ex2.c:59:33:  [1] (buffer) equal:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
      ierr = ISEqual(il,isx[i],&equal);CHKERRQ(ierr);
data/petsc-3.14.1+dfsg1/src/vec/is/tests/ex2.c:60:12:  [1] (buffer) equal:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
      if (!equal) SETERRQ2(PETSC_COMM_WORLD,PETSC_ERR_PLIB,"Iteration %D - Index set %D loaded from file does not match",j,i);
data/petsc-3.14.1+dfsg1/src/vec/is/tests/ex2.c:79:33:  [1] (buffer) equal:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
      ierr = ISEqual(il,isx[i],&equal);CHKERRQ(ierr);
data/petsc-3.14.1+dfsg1/src/vec/is/tests/ex2.c:80:12:  [1] (buffer) equal:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
      if (!equal) SETERRQ2(PETSC_COMM_WORLD,PETSC_ERR_PLIB,"Iteration %D - Index set %D loaded from file does not match",j,i);
data/petsc-3.14.1+dfsg1/src/vec/is/tests/ex2.c:109:33:  [1] (buffer) equal:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
      ierr = ISEqual(il,isx[i],&equal);CHKERRQ(ierr);
data/petsc-3.14.1+dfsg1/src/vec/is/tests/ex2.c:110:12:  [1] (buffer) equal:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
      if (!equal) SETERRQ2(PETSC_COMM_WORLD,PETSC_ERR_PLIB,"Iteration %D - Index set %D loaded from file does not match",j,i);
data/petsc-3.14.1+dfsg1/src/vec/vec/tutorials/ex19.c:19:18:  [1] (buffer) equal:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
  PetscBool      equal;
data/petsc-3.14.1+dfsg1/src/vec/vec/tutorials/ex19.c:94:28:  [1] (buffer) equal:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
  ierr = VecEqual(x1, y1, &equal);CHKERRQ(ierr);
data/petsc-3.14.1+dfsg1/src/vec/vec/tutorials/ex19.c:95:8:  [1] (buffer) equal:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
  if (!equal) {
data/petsc-3.14.1+dfsg1/src/vec/vec/tutorials/ex19.c:100:28:  [1] (buffer) equal:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
  ierr = VecEqual(x2, y2, &equal);CHKERRQ(ierr);
data/petsc-3.14.1+dfsg1/src/vec/vec/tutorials/ex19.c:101:8:  [1] (buffer) equal:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
  if (!equal) {

ANALYSIS SUMMARY:

Hits = 1689
Lines analyzed = 1007899 in approximately 33.27 seconds (30296 lines/second)
Physical Source Lines of Code (SLOC) = 696616
Hits@level = [0] 628 [1] 193 [2] 1383 [3]  63 [4]  49 [5]   1
Hits@level+ = [0+] 2317 [1+] 1689 [2+] 1496 [3+] 113 [4+]  50 [5+]   1
Hits/KSLOC@level+ = [0+] 3.32608 [1+] 2.42458 [2+] 2.14752 [3+] 0.162213 [4+] 0.0717756 [5+] 0.00143551
Dot directories skipped = 1 (--followdotdir overrides)
Minimum risk level = 1
Not every hit is necessarily a security vulnerability.
There may be other security vulnerabilities; review your code!
See 'Secure Programming HOWTO'
(https://dwheeler.com/secure-programs) for more information.