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/yodl-4.02.02/args/argsoptarg.c Examining data/yodl-4.02.02/args/argsoptint.c Examining data/yodl-4.02.02/args/argsmultiarg.c Examining data/yodl-4.02.02/args/argsarg.c Examining data/yodl-4.02.02/args/args.h Examining data/yodl-4.02.02/args/argsconstruct.c Examining data/yodl-4.02.02/args/adata.c Examining data/yodl-4.02.02/builtin/builtinsetaction.c Examining data/yodl-4.02.02/builtin/builtincopy.c Examining data/yodl-4.02.02/builtin/builtininsert.c Examining data/yodl-4.02.02/builtin/builtin.h Examining data/yodl-4.02.02/chartab/chartabapply.c Examining data/yodl-4.02.02/chartab/cdata.c Examining data/yodl-4.02.02/chartab/ctconstruct.c Examining data/yodl-4.02.02/chartab/chartabuse.c Examining data/yodl-4.02.02/chartab/chartabinsert.c Examining data/yodl-4.02.02/chartab/ctdestroy.c Examining data/yodl-4.02.02/chartab/chartabfind.c Examining data/yodl-4.02.02/chartab/ctstring.c Examining data/yodl-4.02.02/chartab/chartabpop.c Examining data/yodl-4.02.02/chartab/ctparsetable.c Examining data/yodl-4.02.02/chartab/chartabconstruct.c Examining data/yodl-4.02.02/chartab/chartab.h Examining data/yodl-4.02.02/chartab/ctascii.c Examining data/yodl-4.02.02/config.h Examining data/yodl-4.02.02/counter/counterhasvalue.c Examining data/yodl-4.02.02/counter/coconstruct.c Examining data/yodl-4.02.02/counter/counteradd.c Examining data/yodl-4.02.02/counter/counterinsert.c Examining data/yodl-4.02.02/counter/cosp.c Examining data/yodl-4.02.02/counter/countertext.c Examining data/yodl-4.02.02/counter/counterset.c Examining data/yodl-4.02.02/counter/counter.h Examining data/yodl-4.02.02/counter/countervalue.c Examining data/yodl-4.02.02/file/filermextension.c Examining data/yodl-4.02.02/file/ffullname.c Examining data/yodl-4.02.02/file/file.h Examining data/yodl-4.02.02/file/filecopy2offset.c Examining data/yodl-4.02.02/file/fsearchpath.c Examining data/yodl-4.02.02/file/fileappend.c Examining data/yodl-4.02.02/file/fileopen.c Examining data/yodl-4.02.02/file/filedirname.c Examining data/yodl-4.02.02/file/fisreadable.c Examining data/yodl-4.02.02/file/fileextension.c Examining data/yodl-4.02.02/file/filefullpath.c Examining data/yodl-4.02.02/file/filebasename.c Examining data/yodl-4.02.02/file/fdotextension.c Examining data/yodl-4.02.02/file/fasis.c Examining data/yodl-4.02.02/file/foptextension.c Examining data/yodl-4.02.02/hashitem/hashitemchangekey.c Examining data/yodl-4.02.02/hashitem/hashitem.h Examining data/yodl-4.02.02/hashitem/hashitemset.c Examining data/yodl-4.02.02/hashitem/hashitemerase.c Examining data/yodl-4.02.02/hashitem/hashitempop.c Examining data/yodl-4.02.02/hashitem/hashitemconstruct.c Examining data/yodl-4.02.02/hashitem/hashitemnew.c Examining data/yodl-4.02.02/hashmap/hashmapfind.c Examining data/yodl-4.02.02/hashmap/hmpjw.c Examining data/yodl-4.02.02/hashmap/hashmapdestroy.c Examining data/yodl-4.02.02/hashmap/hashmaptextof.c Examining data/yodl-4.02.02/hashmap/hashmapconstructtext.c Examining data/yodl-4.02.02/hashmap/hmreshuffle.c Examining data/yodl-4.02.02/hashmap/hashmaprename.c Examining data/yodl-4.02.02/hashmap/hmfindidx.c Examining data/yodl-4.02.02/hashmap/hashmapconstruct.c Examining data/yodl-4.02.02/hashmap/hmfind.c Examining data/yodl-4.02.02/hashmap/hmexpand.c Examining data/yodl-4.02.02/hashmap/hashmaperase.c Examining data/yodl-4.02.02/hashmap/hashmap.h Examining data/yodl-4.02.02/hashmap/hashmapinsert.c Examining data/yodl-4.02.02/hashmap/hashmapkeys.c Examining data/yodl-4.02.02/lexer/lnextchar.c Examining data/yodl-4.02.02/lexer/lpushlevel.c Examining data/yodl-4.02.02/lexer/lpush.c Examining data/yodl-4.02.02/lexer/llex.c Examining data/yodl-4.02.02/lexer/lsubstget.c Examining data/yodl-4.02.02/lexer/lexerconstruct.c Examining data/yodl-4.02.02/lexer/lexer.h Examining data/yodl-4.02.02/lexer/lexerpushstr.c Examining data/yodl-4.02.02/lexer/lmediaconstructmemory.c Examining data/yodl-4.02.02/lexer/ldata.c Examining data/yodl-4.02.02/lexer/lexerfilename.c Examining data/yodl-4.02.02/lexer/lmediaconstructfile.c Examining data/yodl-4.02.02/lexer/lexerlineno.c Examining data/yodl-4.02.02/lexer/lhandleident.c Examining data/yodl-4.02.02/lexer/lappend.c Examining data/yodl-4.02.02/lexer/lunget.c Examining data/yodl-4.02.02/lexer/lpop.c Examining data/yodl-4.02.02/lexer/lexerbeginnested.c Examining data/yodl-4.02.02/lexer/lget.c Examining data/yodl-4.02.02/lexer/lexerungetmatched.c Examining data/yodl-4.02.02/lexer/lcompound.c Examining data/yodl-4.02.02/lexer/lchdir.c Examining data/yodl-4.02.02/lexer/lexerlex.c Examining data/yodl-4.02.02/lexer/lmaxreplacementsexceeded.c Examining data/yodl-4.02.02/lexer/lgetcharmessage.c Examining data/yodl-4.02.02/lexer/lexerpushfile.c Examining data/yodl-4.02.02/lexer/lhandlenumber.c Examining data/yodl-4.02.02/lexer/lexerendnested.c Examining data/yodl-4.02.02/lines/lines.h Examining data/yodl-4.02.02/lines/linesfind.c Examining data/yodl-4.02.02/lines/linesgrab.c Examining data/yodl-4.02.02/lines/linesdestroy.c Examining data/yodl-4.02.02/lines/linesformat.c Examining data/yodl-4.02.02/macro/mcconstruct.c Examining data/yodl-4.02.02/macro/macropop.c Examining data/yodl-4.02.02/macro/macropush.c Examining data/yodl-4.02.02/macro/mcdestroy.c Examining data/yodl-4.02.02/macro/macroinsert.c Examining data/yodl-4.02.02/macro/macro.h Examining data/yodl-4.02.02/media/mediasavestate.c Examining data/yodl-4.02.02/media/mediaget.c Examining data/yodl-4.02.02/media/mediapushfront.c Examining data/yodl-4.02.02/media/media.h Examining data/yodl-4.02.02/media/mediarestorestate.c Examining data/yodl-4.02.02/media/mediadestructor.c Examining data/yodl-4.02.02/message/messageshow.c Examining data/yodl-4.02.02/message/message.c Examining data/yodl-4.02.02/message/messageverbosity.c Examining data/yodl-4.02.02/message/messageoptarg.c Examining data/yodl-4.02.02/message/messageerror.c Examining data/yodl-4.02.02/message/mdata.c Examining data/yodl-4.02.02/message/messagesetverbosity.c Examining data/yodl-4.02.02/message/warning.c Examining data/yodl-4.02.02/message/messageconstruct.c Examining data/yodl-4.02.02/message/messageincseverity.c Examining data/yodl-4.02.02/message/mvmessage.c Examining data/yodl-4.02.02/message/messageversion.c Examining data/yodl-4.02.02/message/checkmaxerrors.c Examining data/yodl-4.02.02/message/messagesetfilename.c Examining data/yodl-4.02.02/message/message.h Examining data/yodl-4.02.02/message/errorsetprogname.c Examining data/yodl-4.02.02/new/newint.c Examining data/yodl-4.02.02/new/new.h Examining data/yodl-4.02.02/new/newgetcwd.c Examining data/yodl-4.02.02/new/newvoidp.c Examining data/yodl-4.02.02/new/newcalloc.c Examining data/yodl-4.02.02/new/newlong.c Examining data/yodl-4.02.02/new/newsize.c Examining data/yodl-4.02.02/new/nmalloc.c Examining data/yodl-4.02.02/ostream/ostreaminsert.c Examining data/yodl-4.02.02/ostream/ooutput.c Examining data/yodl-4.02.02/ostream/ostreamdestroy.c Examining data/yodl-4.02.02/ostream/ostreamconstruct.c Examining data/yodl-4.02.02/ostream/owritefailure.c Examining data/yodl-4.02.02/ostream/ostream.h Examining data/yodl-4.02.02/parser/parservalue.c Examining data/yodl-4.02.02/parser/parseratexit.c Examining data/yodl-4.02.02/parser/parserifcond.c Examining data/yodl-4.02.02/parser/parser.h Examining data/yodl-4.02.02/parser/parserdestruct.c Examining data/yodl-4.02.02/parser/parserinsertsubst.c Examining data/yodl-4.02.02/parser/parserifzero.c Examining data/yodl-4.02.02/parser/pdefaultesymbol.c Examining data/yodl-4.02.02/parser/phandlenoexpandplus.c Examining data/yodl-4.02.02/parser/pparse.c Examining data/yodl-4.02.02/parser/parserpop.c Examining data/yodl-4.02.02/parser/parserpopwslevel.c Examining data/yodl-4.02.02/parser/phandleparlistclosepar.c Examining data/yodl-4.02.02/parser/phandleskipwsunget.c Examining data/yodl-4.02.02/parser/pmacroargs.c Examining data/yodl-4.02.02/parser/parserpushfun.c Examining data/yodl-4.02.02/parser/phandleignoreclosepar.c Examining data/yodl-4.02.02/parser/parserifsmaller.c Examining data/yodl-4.02.02/parser/pdata.c Examining data/yodl-4.02.02/parser/phandleinsert.c Examining data/yodl-4.02.02/parser/parserif.c Examining data/yodl-4.02.02/parser/phandledefaulteof.c Examining data/yodl-4.02.02/parser/parsersuppresschartab.c Examining data/yodl-4.02.02/parser/phandleparlistopenpar.c Examining data/yodl-4.02.02/parser/parserparlist.c Examining data/yodl-4.02.02/parser/parserdiscard.c Examining data/yodl-4.02.02/parser/parserifstrsub.c Examining data/yodl-4.02.02/parser/phandleignore.c Examining data/yodl-4.02.02/parser/parserifempty.c Examining data/yodl-4.02.02/parser/pvalueof.c Examining data/yodl-4.02.02/parser/phandledefaultplus.c Examining data/yodl-4.02.02/parser/pexpandmacro.c Examining data/yodl-4.02.02/parser/phandledefaultnewline.c Examining data/yodl-4.02.02/parser/parserprocess.c Examining data/yodl-4.02.02/parser/pinsertchartabostream.c Examining data/yodl-4.02.02/parser/parserapplychartab.c Examining data/yodl-4.02.02/parser/parsernochartabeval.c Examining data/yodl-4.02.02/parser/parsernumberparlist.c Examining data/yodl-4.02.02/parser/pcompute.c Examining data/yodl-4.02.02/parser/phandleignoreopenpar.c Examining data/yodl-4.02.02/parser/parserpushsubst.c Examining data/yodl-4.02.02/parser/pendnested.c Examining data/yodl-4.02.02/parser/parserifgreater.c Examining data/yodl-4.02.02/parser/parserallowsubst.c Examining data/yodl-4.02.02/parser/phandleunexpectedeof.c Examining data/yodl-4.02.02/parser/psetuphandlerset.c Examining data/yodl-4.02.02/parser/parsereval.c Examining data/yodl-4.02.02/parser/pinsertnochartabstring.c Examining data/yodl-4.02.02/parser/phandlenoexpandsymbol.c Examining data/yodl-4.02.02/parser/pinsertchartabstring.c Examining data/yodl-4.02.02/parser/pparlistsymbol.c Examining data/yodl-4.02.02/parser/parserskipws.c Examining data/yodl-4.02.02/parser/pparagraph.c Examining data/yodl-4.02.02/parser/parserpushwslevel.c Examining data/yodl-4.02.02/parser/parserincludefile.c Examining data/yodl-4.02.02/parser/parserifequal.c Examining data/yodl-4.02.02/parser/pplusseries.c Examining data/yodl-4.02.02/parser/parserpopsubst.c Examining data/yodl-4.02.02/parser/psetwslevel.c Examining data/yodl-4.02.02/parser/parserstrvalue.c Examining data/yodl-4.02.02/parser/pnousermacro.c Examining data/yodl-4.02.02/parser/parserconstruct.c Examining data/yodl-4.02.02/parser/pvalue.c Examining data/yodl-4.02.02/parser/patexit.c Examining data/yodl-4.02.02/parser/phandleunknown.c Examining data/yodl-4.02.02/parser/parsernoexpandinclude.c Examining data/yodl-4.02.02/parser/pinsertnochartabostream.c Examining data/yodl-4.02.02/parser/pinsertnothing.c Examining data/yodl-4.02.02/parser/parseremptyparlist.c Examining data/yodl-4.02.02/parser/parsernameparlist.c Examining data/yodl-4.02.02/parser/phandledefaultsymbol.c Examining data/yodl-4.02.02/parser/phandler.c Examining data/yodl-4.02.02/parser/pbeginnested.c Examining data/yodl-4.02.02/postqueue/pqdata.c Examining data/yodl-4.02.02/postqueue/pqappend.c Examining data/yodl-4.02.02/postqueue/postqueueconstruct.c Examining data/yodl-4.02.02/postqueue/postqueueprocess.c Examining data/yodl-4.02.02/postqueue/postqueue.h Examining data/yodl-4.02.02/process/processsystem.c Examining data/yodl-4.02.02/process/processdestruct.c Examining data/yodl-4.02.02/process/pfilloutput.c Examining data/yodl-4.02.02/process/processfork.c Examining data/yodl-4.02.02/process/processconstruct.c Examining data/yodl-4.02.02/process/demo/demo.c Examining data/yodl-4.02.02/process/process.h Examining data/yodl-4.02.02/process/pchild.c Examining data/yodl-4.02.02/process/pcheckstatus.c Examining data/yodl-4.02.02/process/pparent.c Examining data/yodl-4.02.02/process/psplit.c Examining data/yodl-4.02.02/queue/queuepush.c Examining data/yodl-4.02.02/queue/queue.h Examining data/yodl-4.02.02/queue/qinfo.c Examining data/yodl-4.02.02/queue/queueget.c Examining data/yodl-4.02.02/queue/queueconstruct.c Examining data/yodl-4.02.02/queue/queueunget.c Examining data/yodl-4.02.02/root/outofmemory.c Examining data/yodl-4.02.02/root/newstr.c Examining data/yodl-4.02.02/root/root.h Examining data/yodl-4.02.02/root/rootnop.c Examining data/yodl-4.02.02/stack/stack.h Examining data/yodl-4.02.02/stack/stackassign.c Examining data/yodl-4.02.02/stack/stackcontains.c Examining data/yodl-4.02.02/stack/stackpop.c Examining data/yodl-4.02.02/stack/stackpush.c Examining data/yodl-4.02.02/stack/demo/demo.c Examining data/yodl-4.02.02/stack/stackconstruct.c Examining data/yodl-4.02.02/stack/stnop.c Examining data/yodl-4.02.02/stack/data.c Examining data/yodl-4.02.02/stack/stackdestruct.c Examining data/yodl-4.02.02/string/stringcount.c Examining data/yodl-4.02.02/string/stringpopfront.c Examining data/yodl-4.02.02/string/stringstrip.c Examining data/yodl-4.02.02/string/stringshort.c Examining data/yodl-4.02.02/string/stringcopy.c Examining data/yodl-4.02.02/string/stringswallow.c Examining data/yodl-4.02.02/string/stringfindfirstof.c Examining data/yodl-4.02.02/string/stringfirstword.c Examining data/yodl-4.02.02/string/stringgrab.c Examining data/yodl-4.02.02/string/stringassign.c Examining data/yodl-4.02.02/string/stringvformat.c Examining data/yodl-4.02.02/string/stringdelete.c Examining data/yodl-4.02.02/string/stringrelease.c Examining data/yodl-4.02.02/string/stringstrreplace.c Examining data/yodl-4.02.02/string/stringreplace.c Examining data/yodl-4.02.02/string/stringadd.c Examining data/yodl-4.02.02/string/stringaddcharonce.c Examining data/yodl-4.02.02/string/stringsubstr.c Examining data/yodl-4.02.02/string/sinit.c Examining data/yodl-4.02.02/string/data.c Examining data/yodl-4.02.02/string/stringaddstr.c Examining data/yodl-4.02.02/string/stringadditerators.c Examining data/yodl-4.02.02/string/stringformat.c Examining data/yodl-4.02.02/string/stringfill.c Examining data/yodl-4.02.02/string/stringnew.c Examining data/yodl-4.02.02/string/stringfindfirstnotof.c Examining data/yodl-4.02.02/string/stringmove.c Examining data/yodl-4.02.02/string/string.h Examining data/yodl-4.02.02/string/ssize.c Examining data/yodl-4.02.02/string/stringaddchar.c Examining data/yodl-4.02.02/strvector/strvectordestruct.c Examining data/yodl-4.02.02/strvector/strvector.h Examining data/yodl-4.02.02/strvector/strvectorconstruct.c Examining data/yodl-4.02.02/strvector/strvectorpairnew.c Examining data/yodl-4.02.02/strvector/strvectorfind.c Examining data/yodl-4.02.02/strvector/strvectoradd.c Examining data/yodl-4.02.02/subst/substaction.c Examining data/yodl-4.02.02/subst/sstatetransition.c Examining data/yodl-4.02.02/subst/sstatereplacement.c Examining data/yodl-4.02.02/subst/sunsubstvalue.c Examining data/yodl-4.02.02/subst/sstatenew.c Examining data/yodl-4.02.02/subst/substget.c Examining data/yodl-4.02.02/subst/demo/demo.c Examining data/yodl-4.02.02/subst/subst.h Examining data/yodl-4.02.02/subst/substallow.c Examining data/yodl-4.02.02/subst/sstateinsert.c Examining data/yodl-4.02.02/subst/substconstruct.c Examining data/yodl-4.02.02/subst/substinsert.c Examining data/yodl-4.02.02/subst/substdestruct.c Examining data/yodl-4.02.02/symbol/symbolvalue.c Examining data/yodl-4.02.02/symbol/symbolinsert.c Examining data/yodl-4.02.02/symbol/sysp.c Examining data/yodl-4.02.02/symbol/syconstruct.c Examining data/yodl-4.02.02/symbol/symbol.h Examining data/yodl-4.02.02/symbol/symbolset.c Examining data/yodl-4.02.02/symbol/symboladd.c Examining data/yodl-4.02.02/symbol/symbolvalueof.c Examining data/yodl-4.02.02/verbinsert/options.cc Examining data/yodl-4.02.02/verbinsert/out/nl.cc Examining data/yodl-4.02.02/verbinsert/out/insert.cc Examining data/yodl-4.02.02/verbinsert/out/numberedline.cc Examining data/yodl-4.02.02/verbinsert/out/out1.cc Examining data/yodl-4.02.02/verbinsert/out/indent.cc Examining data/yodl-4.02.02/verbinsert/out/firstinsert.cc Examining data/yodl-4.02.02/verbinsert/out/out.h Examining data/yodl-4.02.02/verbinsert/out/plainline.cc Examining data/yodl-4.02.02/verbinsert/out/destructor.cc Examining data/yodl-4.02.02/verbinsert/out/emptylines.cc Examining data/yodl-4.02.02/verbinsert/usage.cc Examining data/yodl-4.02.02/verbinsert/line/line2.cc Examining data/yodl-4.02.02/verbinsert/line/line.h Examining data/yodl-4.02.02/verbinsert/line/data.cc Examining data/yodl-4.02.02/verbinsert/line/line1.cc Examining data/yodl-4.02.02/verbinsert/line/next.cc Examining data/yodl-4.02.02/verbinsert/line/isempty.cc Examining data/yodl-4.02.02/verbinsert/line/destructor.cc Examining data/yodl-4.02.02/verbinsert/line/markerpattern.cc Examining data/yodl-4.02.02/verbinsert/line/driver/main.cc Examining data/yodl-4.02.02/verbinsert/line/nomarker.cc Examining data/yodl-4.02.02/verbinsert/linetype/linetype.h Examining data/yodl-4.02.02/verbinsert/main.cc Examining data/yodl-4.02.02/verbinsert/version.cc Examining data/yodl-4.02.02/verbinsert/process/process1.cc Examining data/yodl-4.02.02/verbinsert/process/run.cc Examining data/yodl-4.02.02/verbinsert/process/processtarget.cc Examining data/yodl-4.02.02/verbinsert/process/settarget.cc Examining data/yodl-4.02.02/verbinsert/process/process.h Examining data/yodl-4.02.02/verbinsert/process/processall.cc Examining data/yodl-4.02.02/yodl/gramusechartable.c Examining data/yodl-4.02.02/yodl/gramifstrequal.c Examining data/yodl-4.02.02/yodl/gramdecwslevel.c Examining data/yodl-4.02.02/yodl/gramdefinecounter.c Examining data/yodl-4.02.02/yodl/grampopcounter.c Examining data/yodl-4.02.02/yodl/gramnoexpandinclude.c Examining data/yodl-4.02.02/yodl/gramchdir.c Examining data/yodl-4.02.02/yodl/gramifstrsub.c Examining data/yodl-4.02.02/yodl/insertxxincludepath.c Examining data/yodl-4.02.02/yodl/gramsetsymbol.c Examining data/yodl-4.02.02/yodl/main.c Examining data/yodl-4.02.02/yodl/grampopsymbol.c Examining data/yodl-4.02.02/yodl/warranty.c Examining data/yodl-4.02.02/yodl/grampushsymbol.c Examining data/yodl-4.02.02/yodl/gramerror.c Examining data/yodl-4.02.02/yodl/gramdefinesymbol.c Examining data/yodl-4.02.02/yodl/gramifempty.c Examining data/yodl-4.02.02/yodl/grampopsubst.c Examining data/yodl-4.02.02/yodl/gramifsymbol.c Examining data/yodl-4.02.02/yodl/grampushcounter.c Examining data/yodl-4.02.02/yodl/gramverbosity.c Examining data/yodl-4.02.02/yodl/gramcomment.c Examining data/yodl-4.02.02/yodl/gramsystem.c Examining data/yodl-4.02.02/yodl/gramaddtocounter.c Examining data/yodl-4.02.02/yodl/gramnoexpandpathinclude.c Examining data/yodl-4.02.02/yodl/grampushsubst.c Examining data/yodl-4.02.02/yodl/gramoutfilename.c Examining data/yodl-4.02.02/yodl/gramnotrans.c Examining data/yodl-4.02.02/yodl/gramwarning.c Examining data/yodl-4.02.02/yodl/gramdeletecounter.c Examining data/yodl-4.02.02/yodl/gramatexit.c Examining data/yodl-4.02.02/yodl/graminternalindex.c Examining data/yodl-4.02.02/yodl/grameval.c Examining data/yodl-4.02.02/yodl/addusermacros.c Examining data/yodl-4.02.02/yodl/grampopwslevel.c Examining data/yodl-4.02.02/yodl/gramxxsubst.c Examining data/yodl-4.02.02/yodl/gramincwslevel.c Examining data/yodl-4.02.02/yodl/setmessagelevel.c Examining data/yodl-4.02.02/yodl/grampushchartable.c Examining data/yodl-4.02.02/yodl/gramdeletechartable.c Examining data/yodl-4.02.02/yodl/gramifgreater.c Examining data/yodl-4.02.02/yodl/global.c Examining data/yodl-4.02.02/yodl/gramuppercase.c Examining data/yodl-4.02.02/yodl/userconfirm.c Examining data/yodl-4.02.02/yodl/grampopmacro.c Examining data/yodl-4.02.02/yodl/gramsubstr.c Examining data/yodl-4.02.02/yodl/grampushmacro.c Examining data/yodl-4.02.02/yodl/grampopchartable.c Examining data/yodl-4.02.02/yodl/gramdeletesymbol.c Examining data/yodl-4.02.02/yodl/gramrenamemacro.c Examining data/yodl-4.02.02/yodl/gramifbuiltin.c Examining data/yodl-4.02.02/yodl/gramifcounter.c Examining data/yodl-4.02.02/yodl/gramdefinemacro.c Examining data/yodl-4.02.02/yodl/gramdeletenousermacro.c Examining data/yodl-4.02.02/yodl/gramstrlen.c Examining data/yodl-4.02.02/yodl/gramoutdir.c Examining data/yodl-4.02.02/yodl/gramifzero.c Examining data/yodl-4.02.02/yodl/gramifequal.c Examining data/yodl-4.02.02/yodl/yodl.h Examining data/yodl-4.02.02/yodl/gramifchartable.c Examining data/yodl-4.02.02/yodl/gramifmacro.c Examining data/yodl-4.02.02/yodl/gramaddtosymbol.c Examining data/yodl-4.02.02/yodl/global.h Examining data/yodl-4.02.02/yodl/gramsubst.c Examining data/yodl-4.02.02/yodl/gramnousermacro.c Examining data/yodl-4.02.02/yodl/gramifdef.c Examining data/yodl-4.02.02/yodl/gramfilename.c Examining data/yodl-4.02.02/yodl/grampipethrough.c Examining data/yodl-4.02.02/yodl/gramfputs.c Examining data/yodl-4.02.02/yodl/refinexxincludepath.c Examining data/yodl-4.02.02/yodl/gramsetcounter.c Examining data/yodl-4.02.02/yodl/gramtypeout.c Examining data/yodl-4.02.02/yodl/gramdefinechartable.c Examining data/yodl-4.02.02/yodl/gramnoexpand.c Examining data/yodl-4.02.02/yodl/gramdeletemacro.c Examining data/yodl-4.02.02/yodl/gramsymbolvalue.c Examining data/yodl-4.02.02/yodl/gramoutbase.c Examining data/yodl-4.02.02/yodl/usage.c Examining data/yodl-4.02.02/yodl/gramifsmaller.c Examining data/yodl-4.02.02/yodl/grampushwslevel.c Examining data/yodl-4.02.02/yodl/addusersymbols.c Examining data/yodl-4.02.02/yodl/gramincludefile.c Examining data/yodl-4.02.02/yodl/gramcountervalue.c Examining data/yodl-4.02.02/yodl/gramusecounter.c Examining data/yodl-4.02.02/yodl/gramchar.c Examining data/yodl-4.02.02/yodl/preamble.c Examining data/yodl-4.02.02/yodlpost/constructref.c Examining data/yodl-4.02.02/yodlpost/handleset.c Examining data/yodl-4.02.02/yodlpost/handleverb.c Examining data/yodl-4.02.02/yodlpost/constructnop.c Examining data/yodl-4.02.02/yodlpost/constructxmldone.c Examining data/yodl-4.02.02/yodlpost/yodlpost.h Examining data/yodl-4.02.02/yodlpost/handletxttoc.c Examining data/yodl-4.02.02/yodlpost/handlesolvelink.c Examining data/yodl-4.02.02/yodlpost/main.c Examining data/yodl-4.02.02/yodlpost/handlexmlsolvelink.c Examining data/yodl-4.02.02/yodlpost/constructtoc.c Examining data/yodl-4.02.02/yodlpost/handlelabvalue.c Examining data/yodl-4.02.02/yodlpost/constructlastnumber.c Examining data/yodl-4.02.02/yodlpost/xmllabelname.c Examining data/yodl-4.02.02/yodlpost/xmlchapterlinks.c Examining data/yodl-4.02.02/yodlpost/constructdeprecated.c Examining data/yodl-4.02.02/yodlpost/handleref.c Examining data/yodl-4.02.02/yodlpost/handlexmllabel.c Examining data/yodl-4.02.02/yodlpost/handlexmltoc.c Examining data/yodl-4.02.02/yodlpost/handlecopy.c Examining data/yodl-4.02.02/yodlpost/handlexmlnewfile.c Examining data/yodl-4.02.02/yodlpost/constructtxttocentry.c Examining data/yodl-4.02.02/yodlpost/handlenop.c Examining data/yodl-4.02.02/yodlpost/constructtocentry.c Examining data/yodl-4.02.02/yodlpost/htmlchapterlinks.c Examining data/yodl-4.02.02/yodlpost/handlexmlref.c Examining data/yodl-4.02.02/yodlpost/constructnewfile.c Examining data/yodl-4.02.02/yodlpost/handletxtref.c Examining data/yodl-4.02.02/yodlpost/handletxttocentry.c Examining data/yodl-4.02.02/yodlpost/constructxmltocentry.c Examining data/yodl-4.02.02/yodlpost/data.c Examining data/yodl-4.02.02/yodlpost/handlehtmllabel.c Examining data/yodl-4.02.02/yodlpost/handlehtmldone.c Examining data/yodl-4.02.02/yodlpost/constructpreset.c Examining data/yodl-4.02.02/yodlpost/handlehtmltocentry.c Examining data/yodl-4.02.02/yodlpost/handlexmltocentry.c Examining data/yodl-4.02.02/yodlpost/handlehtmlnewfile.c Examining data/yodl-4.02.02/yodlpost/handlexmldone.c Examining data/yodl-4.02.02/yodlpost/constructset.c Examining data/yodl-4.02.02/yodlpost/handledrainws.c Examining data/yodl-4.02.02/yodlpost/constructlabvalue.c Examining data/yodl-4.02.02/yodlpost/usage.c Examining data/yodl-4.02.02/yodlpost/constructverb.c Examining data/yodl-4.02.02/yodlpost/handleignorews.c Examining data/yodl-4.02.02/yodlpost/handletoc.c Examining data/yodl-4.02.02/yodlpost/constructlabel.c FINAL RESULTS: data/yodl-4.02.02/file/fisreadable.c:13:9: [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. access(nm, R_OK) == 0; /* and is readable by the Yodl process */ data/yodl-4.02.02/message/mvmessage.c:14:5: [4] (format) vfprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. vfprintf(stderr, format, args); data/yodl-4.02.02/parser/parsernoexpandinclude.c:14:9: [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(pathname, R_OK) != 0) data/yodl-4.02.02/postqueue/postqueueconstruct.c:63: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 (sscanf(line, "%ld %s%n", &offset, key, &nread) != 2) data/yodl-4.02.02/process/pchild.c:30:12: [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. return execvp(*argv, argv); /* exec the program */ data/yodl-4.02.02/process/processsystem.c:6: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. int status = system(pp->d_cmd); data/yodl-4.02.02/string/sinit.c:11: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(str->d_str, txt); data/yodl-4.02.02/string/stringadd.c:9: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 data/yodl-4.02.02/string/stringaddstr.c:14: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(str->d_str + str->d_length, add); data/yodl-4.02.02/string/stringvformat.c:14:13: [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. n = 1 + vsnprintf(0, 0, fmt, list); data/yodl-4.02.02/string/stringvformat.c:15:5: [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. vsnprintf(cp = new_memory(n, sizeof(char)), n, fmt, copy); data/yodl-4.02.02/args/argsconstruct.c:36: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. if ((cp = getenv("home")) || (cp = getenv("HOME"))) /* set home */ data/yodl-4.02.02/args/argsconstruct.c:36:40: [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 ((cp = getenv("home")) || (cp = getenv("HOME"))) /* set home */ data/yodl-4.02.02/args/argsconstruct.c:47:23: [3] (buffer) getopt_long: Some older implementations do not protect against internal buffer overflows (CWE-120, CWE-20). Check implementation on installation, or limit the size of all string inputs. int optchar = getopt_long(args.d_argc, args.d_argv, data/yodl-4.02.02/lexer/lchdir.c:10:22: [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. char *resolved = realpath(media_filename(lp->d_media_ptr), NULL); data/yodl-4.02.02/verbinsert/options.cc:12:29: [3] (buffer) getopt: Some older implementations do not protect against internal buffer overflows (CWE-120, CWE-20). Check implementation on installation, or limit the size of all string inputs. switch(int c = getopt(argc, argv, "aAnNs:S:T:t:v:V:")) data/yodl-4.02.02/yodl/insertxxincludepath.c:25: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. arg = getenv("YODL_INCLUDE_PATH"); data/yodl-4.02.02/chartab/ctconstruct.c:3: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 std_char[2]; /* initially: 1 to 1 mapping of chars */ data/yodl-4.02.02/counter/countertext.c:3: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 valueText[40]; data/yodl-4.02.02/file/fileopen.c:10: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 (!(file = fopen(name, mode))) data/yodl-4.02.02/hashmap/hashmap.h:27:49: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. void hashmap_constructText(HashMap *map, char const *(*ptr)[2]); data/yodl-4.02.02/hashmap/hashmapconstructtext.c:3:42: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. void hashmap_constructText(HashMap *map, char const *(*ptr)[2]) data/yodl-4.02.02/message/mdata.c:7: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 m_version[SIZEOF_VERSION]; data/yodl-4.02.02/message/messageverbosity.c:3: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 s_buffer[10]; data/yodl-4.02.02/new/newsize.c:11:9: [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 data/yodl-4.02.02/process/demo/demo.c:46: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 buffer[100]; data/yodl-4.02.02/queue/queueconstruct.c:8: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 data/yodl-4.02.02/queue/queuepush.c:45:13: [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(cp, qp->d_read, tail_len); /* first part -> begin */ data/yodl-4.02.02/queue/queuepush.c:47:13: [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(cp + tail_len, qp->d_memory, data/yodl-4.02.02/queue/queuepush.c:54:13: [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(cp, qp->d_memory, original_length);/* cp existing buffer */ data/yodl-4.02.02/queue/queuepush.c:83: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 /* write trailing part of */ data/yodl-4.02.02/queue/queuepush.c:98:9: [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 /* d_read wraps to the end */ data/yodl-4.02.02/string/stringaddchar.c:3: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 s_buf[2]; data/yodl-4.02.02/string/stringadditerators.c:18: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(string->d_str + oldLength, begin, (size_t)addLength); data/yodl-4.02.02/string/stringshort.c:3: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 s_buf[30]; data/yodl-4.02.02/string/stringshort.c:16:9: [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(s_buf + 25, "..."); data/yodl-4.02.02/subst/demo/demo.c:19: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 buffer[80]; data/yodl-4.02.02/verbinsert/line/line.h:31:14: [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). void open(std::string const &name); data/yodl-4.02.02/verbinsert/line/line2.cc:3:12: [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). void Line::open(string const &name) data/yodl-4.02.02/verbinsert/options.cc:67:10: [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). line.open(argv[argc - 1]); data/yodl-4.02.02/yodl/gramchar.c:8: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 s_buf[2]; data/yodl-4.02.02/yodl/gramstrlen.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. char length[50] = "0"; data/yodl-4.02.02/yodl/gramstrlen.c:22: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(length, "%lu", strlen(txt)); data/yodl-4.02.02/yodlpost/data.c:102: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 const *s_empty[2] = {"", ""}; data/yodl-4.02.02/file/fileextension.c:8:19: [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). !ext++ || strlen(ext) == 0 ? /* none found: return 0 */ data/yodl-4.02.02/lexer/lexerpushstr.c:17:29: [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). size_t length = strlen(str); data/yodl-4.02.02/media/mediaget.c:21:14: [1] (buffer) fgetc: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). ch = fgetc(mp->d_file); data/yodl-4.02.02/media/mediapushfront.c:6:34: [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). queue_push(&mp->d_queue, strlen(txt), txt); data/yodl-4.02.02/new/newgetcwd.c:15:30: [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). register size_t length = strlen(cwd); /* e.g. "x" -> 1 */ data/yodl-4.02.02/postqueue/postqueue.h:11:39: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). Each element of the index file is read, and its keyword (the word data/yodl-4.02.02/postqueue/postqueueconstruct.c:83:17: [1] (buffer) fgetc: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). fgetc(findex) != '\n' && !feof(findex) data/yodl-4.02.02/process/pfilloutput.c:8:20: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). while ((size = read(fd, buffer, MAX_LINE_LENGTH)) != 0) data/yodl-4.02.02/process/pparent.c:11:25: [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 ((input_length = strlen(pp->d_input))) data/yodl-4.02.02/queue/queueconstruct.c:5:25: [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). size_t used = strlen(str); data/yodl-4.02.02/string/sinit.c:5:24: [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). size_t newlength = strlen(txt); data/yodl-4.02.02/string/stringaddstr.c:10:33: [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). newlength = str->d_length + strlen(add); data/yodl-4.02.02/string/stringmove.c:7:20: [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). sp->d_length = strlen(str); data/yodl-4.02.02/string/stringreplace.c:6:33: [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). size_t searchlen = search ? strlen(search) : 0; data/yodl-4.02.02/string/stringshort.c:12:5: [1] (buffer) strncpy: Easily used incorrectly; doesn't always \0-terminate or check for invalid pointers [MS-banned] (CWE-120). strncpy(s_buf, s, 28); data/yodl-4.02.02/string/stringshort.c:15: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). if (strlen(s_buf) > 25) data/yodl-4.02.02/string/stringstrreplace.c:6:33: [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). size_t searchlen = search ? strlen(search) : 0; data/yodl-4.02.02/string/stringsubstr.c:9: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). if (strlen(cp) > length) data/yodl-4.02.02/subst/sunsubstvalue.c:21: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). begin += strlen("+XXSUBST("); /* ) */ data/yodl-4.02.02/yodl/gramchar.c:26:14: [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 if (strlen(arg) == 1) data/yodl-4.02.02/yodl/gramstrlen.c:22:32: [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). sprintf(length, "%lu", strlen(txt)); data/yodl-4.02.02/yodl/gramuppercase.c:17:33: [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 (!maxlen || maxlen > strlen(text)) data/yodl-4.02.02/yodl/gramuppercase.c:18:22: [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). maxlen = strlen(text); data/yodl-4.02.02/yodl/userconfirm.c:13:19: [1] (buffer) getchar: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). if ((ch = getchar ()) == 'y') data/yodl-4.02.02/yodlpost/handledrainws.c:12:22: [1] (buffer) fgetc: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). switch (ch = fgetc(src)) data/yodl-4.02.02/yodlpost/handlehtmlnewfile.c:32: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). if (strlen(cp) != 0) data/yodl-4.02.02/yodlpost/handlehtmlnewfile.c:56: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). if (strlen(cp) != 0) data/yodl-4.02.02/yodlpost/handleignorews.c:18:26: [1] (buffer) fgetc: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). switch (ch = fgetc(src)) data/yodl-4.02.02/yodlpost/handlexmltoc.c:22:9: [1] (buffer) sscanf: It's unclear if the %s limit in the format string is small enough (CWE-120). Check that the limit is sufficiently small, or use a different input function. sscanf(line, "%d %100s %u %n", &level, filename, &labelnr, &nread); ANALYSIS SUMMARY: Hits = 73 Lines analyzed = 12456 in approximately 0.41 seconds (30414 lines/second) Physical Source Lines of Code (SLOC) = 8344 Hits@level = [0] 77 [1] 29 [2] 27 [3] 6 [4] 11 [5] 0 Hits@level+ = [0+] 150 [1+] 73 [2+] 44 [3+] 17 [4+] 11 [5+] 0 Hits/KSLOC@level+ = [0+] 17.977 [1+] 8.7488 [2+] 5.27325 [3+] 2.03739 [4+] 1.31831 [5+] 0 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.