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/texinfo-6.7.0.dfsg.2/install-info/install-info.c Examining data/texinfo-6.7.0.dfsg.2/contrib/deref.c Examining data/texinfo-6.7.0.dfsg.2/info/display.h Examining data/texinfo-6.7.0.dfsg.2/info/session.c Examining data/texinfo-6.7.0.dfsg.2/info/session.h Examining data/texinfo-6.7.0.dfsg.2/info/terminal.h Examining data/texinfo-6.7.0.dfsg.2/info/man.c Examining data/texinfo-6.7.0.dfsg.2/info/dir.c Examining data/texinfo-6.7.0.dfsg.2/info/termdep.h Examining data/texinfo-6.7.0.dfsg.2/info/info-utils.c Examining data/texinfo-6.7.0.dfsg.2/info/makedoc.c Examining data/texinfo-6.7.0.dfsg.2/info/signals.h Examining data/texinfo-6.7.0.dfsg.2/info/man.h Examining data/texinfo-6.7.0.dfsg.2/info/tag.c Examining data/texinfo-6.7.0.dfsg.2/info/dribble.c Examining data/texinfo-6.7.0.dfsg.2/info/terminal.c Examining data/texinfo-6.7.0.dfsg.2/info/infokey.c Examining data/texinfo-6.7.0.dfsg.2/info/infopath.c Examining data/texinfo-6.7.0.dfsg.2/info/indices.c Examining data/texinfo-6.7.0.dfsg.2/info/window.h Examining data/texinfo-6.7.0.dfsg.2/info/variables.h Examining data/texinfo-6.7.0.dfsg.2/info/info-utils.h Examining data/texinfo-6.7.0.dfsg.2/info/infomap.h Examining data/texinfo-6.7.0.dfsg.2/info/echo-area.c Examining data/texinfo-6.7.0.dfsg.2/info/tilde.c Examining data/texinfo-6.7.0.dfsg.2/info/filesys.c Examining data/texinfo-6.7.0.dfsg.2/info/dribble.h Examining data/texinfo-6.7.0.dfsg.2/info/indices.h Examining data/texinfo-6.7.0.dfsg.2/info/echo-area.h Examining data/texinfo-6.7.0.dfsg.2/info/m-x.c Examining data/texinfo-6.7.0.dfsg.2/info/signals.c Examining data/texinfo-6.7.0.dfsg.2/info/info.c Examining data/texinfo-6.7.0.dfsg.2/info/nodemenu.c Examining data/texinfo-6.7.0.dfsg.2/info/search.c Examining data/texinfo-6.7.0.dfsg.2/info/tilde.h Examining data/texinfo-6.7.0.dfsg.2/info/nodes.h Examining data/texinfo-6.7.0.dfsg.2/info/footnotes.c Examining data/texinfo-6.7.0.dfsg.2/info/footnotes.h Examining data/texinfo-6.7.0.dfsg.2/info/filesys.h Examining data/texinfo-6.7.0.dfsg.2/info/tag.h Examining data/texinfo-6.7.0.dfsg.2/info/display.c Examining data/texinfo-6.7.0.dfsg.2/info/search.h Examining data/texinfo-6.7.0.dfsg.2/info/doc.h Examining data/texinfo-6.7.0.dfsg.2/info/pcterm.c Examining data/texinfo-6.7.0.dfsg.2/info/window.c Examining data/texinfo-6.7.0.dfsg.2/info/pseudotty.c Examining data/texinfo-6.7.0.dfsg.2/info/info.h Examining data/texinfo-6.7.0.dfsg.2/info/variables.c Examining data/texinfo-6.7.0.dfsg.2/info/infodoc.c Examining data/texinfo-6.7.0.dfsg.2/info/infomap.c Examining data/texinfo-6.7.0.dfsg.2/info/nodes.c Examining data/texinfo-6.7.0.dfsg.2/system.h Examining data/texinfo-6.7.0.dfsg.2/tp/Texinfo/XS/ppport.h Examining data/texinfo-6.7.0.dfsg.2/tp/Texinfo/XS/parsetexi/labels.h Examining data/texinfo-6.7.0.dfsg.2/tp/Texinfo/XS/parsetexi/commands.h Examining data/texinfo-6.7.0.dfsg.2/tp/Texinfo/XS/parsetexi/parser.h Examining data/texinfo-6.7.0.dfsg.2/tp/Texinfo/XS/parsetexi/convert.c Examining data/texinfo-6.7.0.dfsg.2/tp/Texinfo/XS/parsetexi/input.c Examining data/texinfo-6.7.0.dfsg.2/tp/Texinfo/XS/parsetexi/menus.c Examining data/texinfo-6.7.0.dfsg.2/tp/Texinfo/XS/parsetexi/api.h Examining data/texinfo-6.7.0.dfsg.2/tp/Texinfo/XS/parsetexi/api.c Examining data/texinfo-6.7.0.dfsg.2/tp/Texinfo/XS/parsetexi/def.h Examining data/texinfo-6.7.0.dfsg.2/tp/Texinfo/XS/parsetexi/parser.c Examining data/texinfo-6.7.0.dfsg.2/tp/Texinfo/XS/parsetexi/context_stack.h Examining data/texinfo-6.7.0.dfsg.2/tp/Texinfo/XS/parsetexi/labels.c Examining data/texinfo-6.7.0.dfsg.2/tp/Texinfo/XS/parsetexi/errors.c Examining data/texinfo-6.7.0.dfsg.2/tp/Texinfo/XS/parsetexi/indices.c Examining data/texinfo-6.7.0.dfsg.2/tp/Texinfo/XS/parsetexi/conf.c Examining data/texinfo-6.7.0.dfsg.2/tp/Texinfo/XS/parsetexi/multitable.c Examining data/texinfo-6.7.0.dfsg.2/tp/Texinfo/XS/parsetexi/macro.c Examining data/texinfo-6.7.0.dfsg.2/tp/Texinfo/XS/parsetexi/conf.h Examining data/texinfo-6.7.0.dfsg.2/tp/Texinfo/XS/parsetexi/separator.c Examining data/texinfo-6.7.0.dfsg.2/tp/Texinfo/XS/parsetexi/tree_types.h Examining data/texinfo-6.7.0.dfsg.2/tp/Texinfo/XS/parsetexi/end_line.c Examining data/texinfo-6.7.0.dfsg.2/tp/Texinfo/XS/parsetexi/tree.h Examining data/texinfo-6.7.0.dfsg.2/tp/Texinfo/XS/parsetexi/debug.c Examining data/texinfo-6.7.0.dfsg.2/tp/Texinfo/XS/parsetexi/counter.c Examining data/texinfo-6.7.0.dfsg.2/tp/Texinfo/XS/parsetexi/element_types.c Examining data/texinfo-6.7.0.dfsg.2/tp/Texinfo/XS/parsetexi/indices.h Examining data/texinfo-6.7.0.dfsg.2/tp/Texinfo/XS/parsetexi/handle_commands.h Examining data/texinfo-6.7.0.dfsg.2/tp/Texinfo/XS/parsetexi/text.h Examining data/texinfo-6.7.0.dfsg.2/tp/Texinfo/XS/parsetexi/convert.h Examining data/texinfo-6.7.0.dfsg.2/tp/Texinfo/XS/parsetexi/counter.h Examining data/texinfo-6.7.0.dfsg.2/tp/Texinfo/XS/parsetexi/extra.c Examining data/texinfo-6.7.0.dfsg.2/tp/Texinfo/XS/parsetexi/macro.h Examining data/texinfo-6.7.0.dfsg.2/tp/Texinfo/XS/parsetexi/close.c Examining data/texinfo-6.7.0.dfsg.2/tp/Texinfo/XS/parsetexi/commands.c Examining data/texinfo-6.7.0.dfsg.2/tp/Texinfo/XS/parsetexi/command_ids.h Examining data/texinfo-6.7.0.dfsg.2/tp/Texinfo/XS/parsetexi/input.h Examining data/texinfo-6.7.0.dfsg.2/tp/Texinfo/XS/parsetexi/errors.h Examining data/texinfo-6.7.0.dfsg.2/tp/Texinfo/XS/parsetexi/def.c Examining data/texinfo-6.7.0.dfsg.2/tp/Texinfo/XS/parsetexi/element_types.h Examining data/texinfo-6.7.0.dfsg.2/tp/Texinfo/XS/parsetexi/context_stack.c Examining data/texinfo-6.7.0.dfsg.2/tp/Texinfo/XS/parsetexi/tree.c Examining data/texinfo-6.7.0.dfsg.2/tp/Texinfo/XS/parsetexi/text.c Examining data/texinfo-6.7.0.dfsg.2/tp/Texinfo/XS/parsetexi/Parsetexi.c Examining data/texinfo-6.7.0.dfsg.2/tp/Texinfo/XS/parsetexi/handle_commands.c Examining data/texinfo-6.7.0.dfsg.2/tp/Texinfo/XS/parsetexi/command_data.c Examining data/texinfo-6.7.0.dfsg.2/tp/Texinfo/XS/MiscXS.c Examining data/texinfo-6.7.0.dfsg.2/tp/Texinfo/XS/xspara.h Examining data/texinfo-6.7.0.dfsg.2/tp/Texinfo/XS/text.h Examining data/texinfo-6.7.0.dfsg.2/tp/Texinfo/XS/XSParagraph.c Examining data/texinfo-6.7.0.dfsg.2/tp/Texinfo/XS/TestXS.c Examining data/texinfo-6.7.0.dfsg.2/tp/Texinfo/XS/miscxs.h Examining data/texinfo-6.7.0.dfsg.2/tp/Texinfo/XS/misc.c Examining data/texinfo-6.7.0.dfsg.2/tp/Texinfo/XS/text.c Examining data/texinfo-6.7.0.dfsg.2/tp/Texinfo/XS/gnulib/lib/getdelim.c Examining data/texinfo-6.7.0.dfsg.2/tp/Texinfo/XS/gnulib/lib/asnprintf.c Examining data/texinfo-6.7.0.dfsg.2/tp/Texinfo/XS/gnulib/lib/vasprintf.c Examining data/texinfo-6.7.0.dfsg.2/tp/Texinfo/XS/gnulib/lib/printf-parse.c Examining data/texinfo-6.7.0.dfsg.2/tp/Texinfo/XS/gnulib/lib/stdint.in.h Examining data/texinfo-6.7.0.dfsg.2/tp/Texinfo/XS/gnulib/lib/sys_types.in.h Examining data/texinfo-6.7.0.dfsg.2/tp/Texinfo/XS/gnulib/lib/string.in.h Examining data/texinfo-6.7.0.dfsg.2/tp/Texinfo/XS/gnulib/lib/stddef.in.h Examining data/texinfo-6.7.0.dfsg.2/tp/Texinfo/XS/gnulib/lib/xsize.c Examining data/texinfo-6.7.0.dfsg.2/tp/Texinfo/XS/gnulib/lib/strndup.c Examining data/texinfo-6.7.0.dfsg.2/tp/Texinfo/XS/gnulib/lib/strnlen.c Examining data/texinfo-6.7.0.dfsg.2/tp/Texinfo/XS/gnulib/lib/float.in.h Examining data/texinfo-6.7.0.dfsg.2/tp/Texinfo/XS/gnulib/lib/float.c Examining data/texinfo-6.7.0.dfsg.2/tp/Texinfo/XS/gnulib/lib/printf-parse.h Examining data/texinfo-6.7.0.dfsg.2/tp/Texinfo/XS/gnulib/lib/printf-args.h Examining data/texinfo-6.7.0.dfsg.2/tp/Texinfo/XS/gnulib/lib/wchar.in.h Examining data/texinfo-6.7.0.dfsg.2/tp/Texinfo/XS/gnulib/lib/itold.c Examining data/texinfo-6.7.0.dfsg.2/tp/Texinfo/XS/gnulib/lib/float+.h Examining data/texinfo-6.7.0.dfsg.2/tp/Texinfo/XS/gnulib/lib/errno.in.h Examining data/texinfo-6.7.0.dfsg.2/tp/Texinfo/XS/gnulib/lib/asprintf.c Examining data/texinfo-6.7.0.dfsg.2/tp/Texinfo/XS/gnulib/lib/size_max.h Examining data/texinfo-6.7.0.dfsg.2/tp/Texinfo/XS/gnulib/lib/strchrnul.c Examining data/texinfo-6.7.0.dfsg.2/tp/Texinfo/XS/gnulib/lib/stdio.in.h Examining data/texinfo-6.7.0.dfsg.2/tp/Texinfo/XS/gnulib/lib/getline.c Examining data/texinfo-6.7.0.dfsg.2/tp/Texinfo/XS/gnulib/lib/vasnprintf.c Examining data/texinfo-6.7.0.dfsg.2/tp/Texinfo/XS/gnulib/lib/verify.h Examining data/texinfo-6.7.0.dfsg.2/tp/Texinfo/XS/gnulib/lib/alloca.in.h Examining data/texinfo-6.7.0.dfsg.2/tp/Texinfo/XS/gnulib/lib/memchr.c Examining data/texinfo-6.7.0.dfsg.2/tp/Texinfo/XS/gnulib/lib/warn-on-use.h Examining data/texinfo-6.7.0.dfsg.2/tp/Texinfo/XS/gnulib/lib/limits.in.h Examining data/texinfo-6.7.0.dfsg.2/tp/Texinfo/XS/gnulib/lib/arg-nonnull.h Examining data/texinfo-6.7.0.dfsg.2/tp/Texinfo/XS/gnulib/lib/xsize.h Examining data/texinfo-6.7.0.dfsg.2/tp/Texinfo/XS/gnulib/lib/c++defs.h Examining data/texinfo-6.7.0.dfsg.2/tp/Texinfo/XS/gnulib/lib/vasnprintf.h Examining data/texinfo-6.7.0.dfsg.2/tp/Texinfo/XS/gnulib/lib/rawmemchr.c Examining data/texinfo-6.7.0.dfsg.2/tp/Texinfo/XS/gnulib/lib/printf-args.c Examining data/texinfo-6.7.0.dfsg.2/tp/Texinfo/XS/xspara.c Examining data/texinfo-6.7.0.dfsg.2/gnulib/lib/streq.h Examining data/texinfo-6.7.0.dfsg.2/gnulib/lib/asnprintf.c Examining data/texinfo-6.7.0.dfsg.2/gnulib/lib/wctype.in.h Examining data/texinfo-6.7.0.dfsg.2/gnulib/lib/hard-locale.c Examining data/texinfo-6.7.0.dfsg.2/gnulib/lib/mbschr.c Examining data/texinfo-6.7.0.dfsg.2/gnulib/lib/exitfail.h Examining data/texinfo-6.7.0.dfsg.2/gnulib/lib/windows-recmutex.c Examining data/texinfo-6.7.0.dfsg.2/gnulib/lib/getopt1.c Examining data/texinfo-6.7.0.dfsg.2/gnulib/lib/windows-once.h Examining data/texinfo-6.7.0.dfsg.2/gnulib/lib/mbiter.c Examining data/texinfo-6.7.0.dfsg.2/gnulib/lib/localcharset.h Examining data/texinfo-6.7.0.dfsg.2/gnulib/lib/vasprintf.c Examining data/texinfo-6.7.0.dfsg.2/gnulib/lib/mbtowc-impl.h Examining data/texinfo-6.7.0.dfsg.2/gnulib/lib/printf-parse.c Examining data/texinfo-6.7.0.dfsg.2/gnulib/lib/argz.in.h Examining data/texinfo-6.7.0.dfsg.2/gnulib/lib/stdint.in.h Examining data/texinfo-6.7.0.dfsg.2/gnulib/lib/getopt.in.h Examining data/texinfo-6.7.0.dfsg.2/gnulib/lib/uniwidth/cjk.h Examining data/texinfo-6.7.0.dfsg.2/gnulib/lib/uniwidth/width.c Examining data/texinfo-6.7.0.dfsg.2/gnulib/lib/sys_types.in.h Examining data/texinfo-6.7.0.dfsg.2/gnulib/lib/libc-config.h Examining data/texinfo-6.7.0.dfsg.2/gnulib/lib/wcrtomb.c Examining data/texinfo-6.7.0.dfsg.2/gnulib/lib/localeconv.c Examining data/texinfo-6.7.0.dfsg.2/gnulib/lib/strstr.c Examining data/texinfo-6.7.0.dfsg.2/gnulib/lib/nl_langinfo.c Examining data/texinfo-6.7.0.dfsg.2/gnulib/lib/stdbool.in.h Examining data/texinfo-6.7.0.dfsg.2/gnulib/lib/string.in.h Examining data/texinfo-6.7.0.dfsg.2/gnulib/lib/windows-mutex.c Examining data/texinfo-6.7.0.dfsg.2/gnulib/lib/stddef.in.h Examining data/texinfo-6.7.0.dfsg.2/gnulib/lib/iswblank.c Examining data/texinfo-6.7.0.dfsg.2/gnulib/lib/regexec.c Examining data/texinfo-6.7.0.dfsg.2/gnulib/lib/getopt-pfx-core.h Examining data/texinfo-6.7.0.dfsg.2/gnulib/lib/regex_internal.c Examining data/texinfo-6.7.0.dfsg.2/gnulib/lib/glthread/lock.h Examining data/texinfo-6.7.0.dfsg.2/gnulib/lib/glthread/threadlib.c Examining data/texinfo-6.7.0.dfsg.2/gnulib/lib/glthread/lock.c Examining data/texinfo-6.7.0.dfsg.2/gnulib/lib/unitypes.in.h Examining data/texinfo-6.7.0.dfsg.2/gnulib/lib/xsize.c Examining data/texinfo-6.7.0.dfsg.2/gnulib/lib/unistd.in.h Examining data/texinfo-6.7.0.dfsg.2/gnulib/lib/malloc.c Examining data/texinfo-6.7.0.dfsg.2/gnulib/lib/malloca.c Examining data/texinfo-6.7.0.dfsg.2/gnulib/lib/exitfail.c Examining data/texinfo-6.7.0.dfsg.2/gnulib/lib/strndup.c Examining data/texinfo-6.7.0.dfsg.2/gnulib/lib/windows-rwlock.c Examining data/texinfo-6.7.0.dfsg.2/gnulib/lib/mbslen.c Examining data/texinfo-6.7.0.dfsg.2/gnulib/lib/strnlen.c Examining data/texinfo-6.7.0.dfsg.2/gnulib/lib/malloca.h Examining data/texinfo-6.7.0.dfsg.2/gnulib/lib/mbtowc.c Examining data/texinfo-6.7.0.dfsg.2/gnulib/lib/mbswidth.c Examining data/texinfo-6.7.0.dfsg.2/gnulib/lib/dirname.h Examining data/texinfo-6.7.0.dfsg.2/gnulib/lib/float.in.h Examining data/texinfo-6.7.0.dfsg.2/gnulib/lib/float.c Examining data/texinfo-6.7.0.dfsg.2/gnulib/lib/gettext.h Examining data/texinfo-6.7.0.dfsg.2/gnulib/lib/xalloc-oversized.h Examining data/texinfo-6.7.0.dfsg.2/gnulib/lib/getprogname.h Examining data/texinfo-6.7.0.dfsg.2/gnulib/lib/strerror-override.h Examining data/texinfo-6.7.0.dfsg.2/gnulib/lib/strings.in.h Examining data/texinfo-6.7.0.dfsg.2/gnulib/lib/mbrtowc.c Examining data/texinfo-6.7.0.dfsg.2/gnulib/lib/mbsncasecmp.c Examining data/texinfo-6.7.0.dfsg.2/gnulib/lib/getopt-core.h Examining data/texinfo-6.7.0.dfsg.2/gnulib/lib/getopt-pfx-ext.h Examining data/texinfo-6.7.0.dfsg.2/gnulib/lib/printf-parse.h Examining data/texinfo-6.7.0.dfsg.2/gnulib/lib/printf-args.h Examining data/texinfo-6.7.0.dfsg.2/gnulib/lib/argz.c Examining data/texinfo-6.7.0.dfsg.2/gnulib/lib/mbuiter.c Examining data/texinfo-6.7.0.dfsg.2/gnulib/lib/msvc-inval.c Examining data/texinfo-6.7.0.dfsg.2/gnulib/lib/windows-initguard.h Examining data/texinfo-6.7.0.dfsg.2/gnulib/lib/wchar.in.h Examining data/texinfo-6.7.0.dfsg.2/gnulib/lib/itold.c Examining data/texinfo-6.7.0.dfsg.2/gnulib/lib/float+.h Examining data/texinfo-6.7.0.dfsg.2/gnulib/lib/regex_internal.h Examining data/texinfo-6.7.0.dfsg.2/gnulib/lib/msvc-inval.h Examining data/texinfo-6.7.0.dfsg.2/gnulib/lib/strcasecmp.c Examining data/texinfo-6.7.0.dfsg.2/gnulib/lib/strdup.c Examining data/texinfo-6.7.0.dfsg.2/gnulib/lib/getopt-ext.h Examining data/texinfo-6.7.0.dfsg.2/gnulib/lib/xmalloc.c Examining data/texinfo-6.7.0.dfsg.2/gnulib/lib/windows-recmutex.h Examining data/texinfo-6.7.0.dfsg.2/gnulib/lib/memrchr.c Examining data/texinfo-6.7.0.dfsg.2/gnulib/lib/mbuiter.h Examining data/texinfo-6.7.0.dfsg.2/gnulib/lib/error.h Examining data/texinfo-6.7.0.dfsg.2/gnulib/lib/errno.in.h Examining data/texinfo-6.7.0.dfsg.2/gnulib/lib/basename-lgpl.c Examining data/texinfo-6.7.0.dfsg.2/gnulib/lib/cdefs.h Examining data/texinfo-6.7.0.dfsg.2/gnulib/lib/asprintf.c Examining data/texinfo-6.7.0.dfsg.2/gnulib/lib/langinfo.in.h Examining data/texinfo-6.7.0.dfsg.2/gnulib/lib/error.c Examining data/texinfo-6.7.0.dfsg.2/gnulib/lib/str-two-way.h Examining data/texinfo-6.7.0.dfsg.2/gnulib/lib/size_max.h Examining data/texinfo-6.7.0.dfsg.2/gnulib/lib/msvc-nothrow.c Examining data/texinfo-6.7.0.dfsg.2/gnulib/lib/getopt.c Examining data/texinfo-6.7.0.dfsg.2/gnulib/lib/strnlen1.h Examining data/texinfo-6.7.0.dfsg.2/gnulib/lib/getopt-cdefs.in.h Examining data/texinfo-6.7.0.dfsg.2/gnulib/lib/mempcpy.c Examining data/texinfo-6.7.0.dfsg.2/gnulib/lib/stdio.in.h Examining data/texinfo-6.7.0.dfsg.2/gnulib/lib/dirname-lgpl.c Examining data/texinfo-6.7.0.dfsg.2/gnulib/lib/hard-locale.h Examining data/texinfo-6.7.0.dfsg.2/gnulib/lib/_Noreturn.h Examining data/texinfo-6.7.0.dfsg.2/gnulib/lib/msvc-nothrow.h Examining data/texinfo-6.7.0.dfsg.2/gnulib/lib/strncasecmp.c Examining data/texinfo-6.7.0.dfsg.2/gnulib/lib/vasnprintf.c Examining data/texinfo-6.7.0.dfsg.2/gnulib/lib/verify.h Examining data/texinfo-6.7.0.dfsg.2/gnulib/lib/alloca.in.h Examining data/texinfo-6.7.0.dfsg.2/gnulib/lib/getprogname.c Examining data/texinfo-6.7.0.dfsg.2/gnulib/lib/mbsstr.c Examining data/texinfo-6.7.0.dfsg.2/gnulib/lib/regcomp.c Examining data/texinfo-6.7.0.dfsg.2/gnulib/lib/mbchar.c Examining data/texinfo-6.7.0.dfsg.2/gnulib/lib/strerror.c Examining data/texinfo-6.7.0.dfsg.2/gnulib/lib/memchr.c Examining data/texinfo-6.7.0.dfsg.2/gnulib/lib/mbchar.h Examining data/texinfo-6.7.0.dfsg.2/gnulib/lib/locale.in.h Examining data/texinfo-6.7.0.dfsg.2/gnulib/lib/strcasestr.c Examining data/texinfo-6.7.0.dfsg.2/gnulib/lib/windows-once.c Examining data/texinfo-6.7.0.dfsg.2/gnulib/lib/mbiter.h Examining data/texinfo-6.7.0.dfsg.2/gnulib/lib/btowc.c Examining data/texinfo-6.7.0.dfsg.2/gnulib/lib/warn-on-use.h Examining data/texinfo-6.7.0.dfsg.2/gnulib/lib/stpcpy.c Examining data/texinfo-6.7.0.dfsg.2/gnulib/lib/stdarg.in.h Examining data/texinfo-6.7.0.dfsg.2/gnulib/lib/unistd.c Examining data/texinfo-6.7.0.dfsg.2/gnulib/lib/localcharset.c Examining data/texinfo-6.7.0.dfsg.2/gnulib/lib/str-kmp.h Examining data/texinfo-6.7.0.dfsg.2/gnulib/lib/strnlen1.c Examining data/texinfo-6.7.0.dfsg.2/gnulib/lib/regex.h Examining data/texinfo-6.7.0.dfsg.2/gnulib/lib/stdlib.in.h Examining data/texinfo-6.7.0.dfsg.2/gnulib/lib/dosname.h Examining data/texinfo-6.7.0.dfsg.2/gnulib/lib/regex.c Examining data/texinfo-6.7.0.dfsg.2/gnulib/lib/intprops.h Examining data/texinfo-6.7.0.dfsg.2/gnulib/lib/mbswidth.h Examining data/texinfo-6.7.0.dfsg.2/gnulib/lib/limits.in.h Examining data/texinfo-6.7.0.dfsg.2/gnulib/lib/uniwidth.in.h Examining data/texinfo-6.7.0.dfsg.2/gnulib/lib/stripslash.c Examining data/texinfo-6.7.0.dfsg.2/gnulib/lib/xalloc.h Examining data/texinfo-6.7.0.dfsg.2/gnulib/lib/mbscasecmp.c Examining data/texinfo-6.7.0.dfsg.2/gnulib/lib/arg-nonnull.h Examining data/texinfo-6.7.0.dfsg.2/gnulib/lib/xalloc-die.c Examining data/texinfo-6.7.0.dfsg.2/gnulib/lib/xsize.h Examining data/texinfo-6.7.0.dfsg.2/gnulib/lib/c++defs.h Examining data/texinfo-6.7.0.dfsg.2/gnulib/lib/vasnprintf.h Examining data/texinfo-6.7.0.dfsg.2/gnulib/lib/windows-mutex.h Examining data/texinfo-6.7.0.dfsg.2/gnulib/lib/strerror-override.c Examining data/texinfo-6.7.0.dfsg.2/gnulib/lib/mbsinit.c Examining data/texinfo-6.7.0.dfsg.2/gnulib/lib/printf-args.c Examining data/texinfo-6.7.0.dfsg.2/gnulib/lib/wctype-h.c Examining data/texinfo-6.7.0.dfsg.2/gnulib/lib/wcwidth.c Examining data/texinfo-6.7.0.dfsg.2/gnulib/lib/windows-rwlock.h Examining data/texinfo-6.7.0.dfsg.2/gnulib/lib/getopt_int.h FINAL RESULTS: data/texinfo-6.7.0.dfsg.2/gnulib/lib/stdio.in.h:752:8: [5] (buffer) gets: Does not check for buffer overflows (CWE-120, CWE-20). Use fgets() instead. #undef gets data/texinfo-6.7.0.dfsg.2/gnulib/lib/stdio.in.h:754:18: [5] (buffer) gets: Does not check for buffer overflows (CWE-120, CWE-20). Use fgets() instead. _GL_WARN_ON_USE (gets, "gets is a security hole - use fgets instead"); data/texinfo-6.7.0.dfsg.2/gnulib/lib/unistd.in.h:269:18: [5] (race) chown: This accepts filename arguments; if an attacker can move those files, a race condition results. (CWE-362). Use fchown( ) instead. _GL_WARN_ON_USE (chown, "chdir is not always in <unistd.h> - " data/texinfo-6.7.0.dfsg.2/gnulib/lib/unistd.in.h:283:11: [5] (race) chown: This accepts filename arguments; if an attacker can move those files, a race condition results. (CWE-362). Use fchown( ) instead. # undef chown data/texinfo-6.7.0.dfsg.2/gnulib/lib/unistd.in.h:284:12: [5] (race) chown: This accepts filename arguments; if an attacker can move those files, a race condition results. (CWE-362). Use fchown( ) instead. # define chown rpl_chown data/texinfo-6.7.0.dfsg.2/gnulib/lib/unistd.in.h:286:19: [5] (race) chown: This accepts filename arguments; if an attacker can move those files, a race condition results. (CWE-362). Use fchown( ) instead. _GL_FUNCDECL_RPL (chown, int, (const char *file, uid_t uid, gid_t gid) data/texinfo-6.7.0.dfsg.2/gnulib/lib/unistd.in.h:288:19: [5] (race) chown: This accepts filename arguments; if an attacker can move those files, a race condition results. (CWE-362). Use fchown( ) instead. _GL_CXXALIAS_RPL (chown, int, (const char *file, uid_t uid, gid_t gid)); data/texinfo-6.7.0.dfsg.2/gnulib/lib/unistd.in.h:291:19: [5] (race) chown: This accepts filename arguments; if an attacker can move those files, a race condition results. (CWE-362). Use fchown( ) instead. _GL_FUNCDECL_SYS (chown, int, (const char *file, uid_t uid, gid_t gid) data/texinfo-6.7.0.dfsg.2/gnulib/lib/unistd.in.h:294:19: [5] (race) chown: This accepts filename arguments; if an attacker can move those files, a race condition results. (CWE-362). Use fchown( ) instead. _GL_CXXALIAS_SYS (chown, int, (const char *file, uid_t uid, gid_t gid)); data/texinfo-6.7.0.dfsg.2/gnulib/lib/unistd.in.h:296:19: [5] (race) chown: This accepts filename arguments; if an attacker can move those files, a race condition results. (CWE-362). Use fchown( ) instead. _GL_CXXALIASWARN (chown); data/texinfo-6.7.0.dfsg.2/gnulib/lib/unistd.in.h:298:9: [5] (race) chown: This accepts filename arguments; if an attacker can move those files, a race condition results. (CWE-362). Use fchown( ) instead. # undef chown data/texinfo-6.7.0.dfsg.2/gnulib/lib/unistd.in.h:300:18: [5] (race) chown: This accepts filename arguments; if an attacker can move those files, a race condition results. (CWE-362). Use fchown( ) instead. _GL_WARN_ON_USE (chown, "chown fails to follow symlinks on some systems and " data/texinfo-6.7.0.dfsg.2/gnulib/lib/unistd.in.h:1345:12: [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. # define readlink rpl_readlink data/texinfo-6.7.0.dfsg.2/gnulib/lib/unistd.in.h:1347:19: [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. _GL_FUNCDECL_RPL (readlink, ssize_t, data/texinfo-6.7.0.dfsg.2/gnulib/lib/unistd.in.h:1350:19: [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. _GL_CXXALIAS_RPL (readlink, ssize_t, data/texinfo-6.7.0.dfsg.2/gnulib/lib/unistd.in.h:1354:19: [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. _GL_FUNCDECL_SYS (readlink, ssize_t, data/texinfo-6.7.0.dfsg.2/gnulib/lib/unistd.in.h:1358:19: [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. _GL_CXXALIAS_SYS (readlink, ssize_t, data/texinfo-6.7.0.dfsg.2/gnulib/lib/unistd.in.h:1361:19: [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. _GL_CXXALIASWARN (readlink); data/texinfo-6.7.0.dfsg.2/gnulib/lib/unistd.in.h:1363:9: [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. # undef readlink data/texinfo-6.7.0.dfsg.2/gnulib/lib/unistd.in.h:1365:18: [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. _GL_WARN_ON_USE (readlink, "readlink is unportable - " data/texinfo-6.7.0.dfsg.2/tp/Texinfo/XS/gnulib/lib/stdio.in.h:752:8: [5] (buffer) gets: Does not check for buffer overflows (CWE-120, CWE-20). Use fgets() instead. #undef gets data/texinfo-6.7.0.dfsg.2/tp/Texinfo/XS/gnulib/lib/stdio.in.h:754:18: [5] (buffer) gets: Does not check for buffer overflows (CWE-120, CWE-20). Use fgets() instead. _GL_WARN_ON_USE (gets, "gets is a security hole - use fgets instead"); data/texinfo-6.7.0.dfsg.2/contrib/deref.c:39:12: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. extern int fprintf(FILE *fp, const char *str, ...); data/texinfo-6.7.0.dfsg.2/gnulib/lib/error.c:274: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, message, args); data/texinfo-6.7.0.dfsg.2/gnulib/lib/error.c:389:3: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf (stderr, file_name != NULL ? "%s:%u: " : " ", data/texinfo-6.7.0.dfsg.2/gnulib/lib/getopt.c:40:10: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. # define fprintf __fxprintf_nocancel data/texinfo-6.7.0.dfsg.2/gnulib/lib/localcharset.c:917:5: [4] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. sprintf (buf, "CP%s", pdot + 1); data/texinfo-6.7.0.dfsg.2/gnulib/lib/stdio.in.h:311:12: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. # define fprintf rpl_fprintf data/texinfo-6.7.0.dfsg.2/gnulib/lib/stdio.in.h:315:19: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. _GL_FUNCDECL_RPL (fprintf, int, (FILE *fp, const char *format, ...) data/texinfo-6.7.0.dfsg.2/gnulib/lib/stdio.in.h:319:19: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. _GL_FUNCDECL_RPL (fprintf, int, (FILE *fp, const char *format, ...) data/texinfo-6.7.0.dfsg.2/gnulib/lib/stdio.in.h:323:19: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. _GL_CXXALIAS_RPL (fprintf, int, (FILE *fp, const char *format, ...)); data/texinfo-6.7.0.dfsg.2/gnulib/lib/stdio.in.h:325:19: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. _GL_CXXALIAS_SYS (fprintf, int, (FILE *fp, const char *format, ...)); data/texinfo-6.7.0.dfsg.2/gnulib/lib/stdio.in.h:327:19: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. _GL_CXXALIASWARN (fprintf); data/texinfo-6.7.0.dfsg.2/gnulib/lib/stdio.in.h:331:10: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. # undef fprintf data/texinfo-6.7.0.dfsg.2/gnulib/lib/stdio.in.h:334:18: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. _GL_WARN_ON_USE (fprintf, "fprintf is not always POSIX compliant - " data/texinfo-6.7.0.dfsg.2/gnulib/lib/stdio.in.h:438: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. # undef fscanf data/texinfo-6.7.0.dfsg.2/gnulib/lib/stdio.in.h:439:12: [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. # define fscanf rpl_fscanf data/texinfo-6.7.0.dfsg.2/gnulib/lib/stdio.in.h:441:19: [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. _GL_FUNCDECL_RPL (fscanf, int, (FILE *stream, const char *format, ...) data/texinfo-6.7.0.dfsg.2/gnulib/lib/stdio.in.h:444:19: [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. _GL_CXXALIAS_RPL (fscanf, int, (FILE *stream, const char *format, ...)); data/texinfo-6.7.0.dfsg.2/gnulib/lib/stdio.in.h:446:19: [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. _GL_CXXALIAS_SYS (fscanf, int, (FILE *stream, const char *format, ...)); data/texinfo-6.7.0.dfsg.2/gnulib/lib/stdio.in.h:448:19: [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. _GL_CXXALIASWARN (fscanf); data/texinfo-6.7.0.dfsg.2/gnulib/lib/stdio.in.h:846:11: [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. # undef popen data/texinfo-6.7.0.dfsg.2/gnulib/lib/stdio.in.h:847:12: [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. # define popen rpl_popen data/texinfo-6.7.0.dfsg.2/gnulib/lib/stdio.in.h:849:19: [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. _GL_FUNCDECL_RPL (popen, FILE *, (const char *cmd, const char *mode) data/texinfo-6.7.0.dfsg.2/gnulib/lib/stdio.in.h:851:19: [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. _GL_CXXALIAS_RPL (popen, FILE *, (const char *cmd, const char *mode)); data/texinfo-6.7.0.dfsg.2/gnulib/lib/stdio.in.h:854:19: [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. _GL_FUNCDECL_SYS (popen, FILE *, (const char *cmd, const char *mode) data/texinfo-6.7.0.dfsg.2/gnulib/lib/stdio.in.h:857:19: [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. _GL_CXXALIAS_SYS (popen, FILE *, (const char *cmd, const char *mode)); data/texinfo-6.7.0.dfsg.2/gnulib/lib/stdio.in.h:859:19: [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. _GL_CXXALIASWARN (popen); data/texinfo-6.7.0.dfsg.2/gnulib/lib/stdio.in.h:861:9: [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. # undef popen data/texinfo-6.7.0.dfsg.2/gnulib/lib/stdio.in.h:863:18: [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. _GL_WARN_ON_USE (popen, "popen is buggy on some platforms - " data/texinfo-6.7.0.dfsg.2/gnulib/lib/stdio.in.h:874:13: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. # define printf __printf__ data/texinfo-6.7.0.dfsg.2/gnulib/lib/stdio.in.h:891:21: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. _GL_CXXALIAS_RPL_1 (printf, __printf__, int, (const char *format, ...)); data/texinfo-6.7.0.dfsg.2/gnulib/lib/stdio.in.h:894:13: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. # define printf rpl_printf data/texinfo-6.7.0.dfsg.2/gnulib/lib/stdio.in.h:896:19: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. _GL_FUNCDECL_RPL (printf, int, data/texinfo-6.7.0.dfsg.2/gnulib/lib/stdio.in.h:900:19: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. _GL_CXXALIAS_RPL (printf, int, (const char *format, ...)); data/texinfo-6.7.0.dfsg.2/gnulib/lib/stdio.in.h:904:19: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. _GL_CXXALIAS_SYS (printf, int, (const char *format, ...)); data/texinfo-6.7.0.dfsg.2/gnulib/lib/stdio.in.h:906:19: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. _GL_CXXALIASWARN (printf); data/texinfo-6.7.0.dfsg.2/gnulib/lib/stdio.in.h:910:10: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. # undef printf data/texinfo-6.7.0.dfsg.2/gnulib/lib/stdio.in.h:913:18: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. _GL_WARN_ON_USE (printf, "printf is not always POSIX compliant - " data/texinfo-6.7.0.dfsg.2/gnulib/lib/stdio.in.h:1035:12: [4] (buffer) scanf: 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. # undef scanf data/texinfo-6.7.0.dfsg.2/gnulib/lib/stdio.in.h:1037:13: [4] (buffer) scanf: 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. # define scanf __scanf__ data/texinfo-6.7.0.dfsg.2/gnulib/lib/stdio.in.h:1045:21: [4] (buffer) scanf: 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. _GL_CXXALIAS_RPL_1 (scanf, __scanf__, int, (const char *format, ...)); data/texinfo-6.7.0.dfsg.2/gnulib/lib/stdio.in.h:1048:12: [4] (buffer) scanf: 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. # undef scanf data/texinfo-6.7.0.dfsg.2/gnulib/lib/stdio.in.h:1049:13: [4] (buffer) scanf: 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. # define scanf rpl_scanf data/texinfo-6.7.0.dfsg.2/gnulib/lib/stdio.in.h:1051:19: [4] (buffer) scanf: 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. _GL_FUNCDECL_RPL (scanf, int, (const char *format, ...) data/texinfo-6.7.0.dfsg.2/gnulib/lib/stdio.in.h:1054:19: [4] (buffer) scanf: 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. _GL_CXXALIAS_RPL (scanf, int, (const char *format, ...)); data/texinfo-6.7.0.dfsg.2/gnulib/lib/stdio.in.h:1057:19: [4] (buffer) scanf: 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. _GL_CXXALIAS_SYS (scanf, int, (const char *format, ...)); data/texinfo-6.7.0.dfsg.2/gnulib/lib/stdio.in.h:1059:19: [4] (buffer) scanf: 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. _GL_CXXALIASWARN (scanf); data/texinfo-6.7.0.dfsg.2/gnulib/lib/stdio.in.h:1065:12: [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 rpl_snprintf data/texinfo-6.7.0.dfsg.2/gnulib/lib/stdio.in.h:1067:19: [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. _GL_FUNCDECL_RPL (snprintf, int, data/texinfo-6.7.0.dfsg.2/gnulib/lib/stdio.in.h:1071:19: [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. _GL_CXXALIAS_RPL (snprintf, int, data/texinfo-6.7.0.dfsg.2/gnulib/lib/stdio.in.h:1075:19: [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. _GL_FUNCDECL_SYS (snprintf, int, data/texinfo-6.7.0.dfsg.2/gnulib/lib/stdio.in.h:1080:19: [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. _GL_CXXALIAS_SYS (snprintf, int, data/texinfo-6.7.0.dfsg.2/gnulib/lib/stdio.in.h:1083:19: [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. _GL_CXXALIASWARN (snprintf); data/texinfo-6.7.0.dfsg.2/gnulib/lib/stdio.in.h:1085: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. # undef snprintf data/texinfo-6.7.0.dfsg.2/gnulib/lib/stdio.in.h:1087: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. _GL_WARN_ON_USE (snprintf, "snprintf is unportable - " data/texinfo-6.7.0.dfsg.2/gnulib/lib/stdio.in.h:1104:12: [4] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. # define sprintf rpl_sprintf data/texinfo-6.7.0.dfsg.2/gnulib/lib/stdio.in.h:1106:19: [4] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. _GL_FUNCDECL_RPL (sprintf, int, (char *str, const char *format, ...) data/texinfo-6.7.0.dfsg.2/gnulib/lib/stdio.in.h:1109:19: [4] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. _GL_CXXALIAS_RPL (sprintf, int, (char *str, const char *format, ...)); data/texinfo-6.7.0.dfsg.2/gnulib/lib/stdio.in.h:1111:19: [4] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. _GL_CXXALIAS_SYS (sprintf, int, (char *str, const char *format, ...)); data/texinfo-6.7.0.dfsg.2/gnulib/lib/stdio.in.h:1113:19: [4] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. _GL_CXXALIASWARN (sprintf); data/texinfo-6.7.0.dfsg.2/gnulib/lib/stdio.in.h:1115:9: [4] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. # undef sprintf data/texinfo-6.7.0.dfsg.2/gnulib/lib/stdio.in.h:1117:18: [4] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. _GL_WARN_ON_USE (sprintf, "sprintf is not always POSIX compliant - " data/texinfo-6.7.0.dfsg.2/gnulib/lib/stdio.in.h:1223:12: [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. # define vfprintf rpl_vfprintf data/texinfo-6.7.0.dfsg.2/gnulib/lib/stdio.in.h:1227:19: [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. _GL_FUNCDECL_RPL (vfprintf, int, (FILE *fp, const char *format, va_list args) data/texinfo-6.7.0.dfsg.2/gnulib/lib/stdio.in.h:1231:19: [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. _GL_FUNCDECL_RPL (vfprintf, int, (FILE *fp, const char *format, va_list args) data/texinfo-6.7.0.dfsg.2/gnulib/lib/stdio.in.h:1235:19: [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. _GL_CXXALIAS_RPL (vfprintf, int, (FILE *fp, const char *format, va_list args)); data/texinfo-6.7.0.dfsg.2/gnulib/lib/stdio.in.h:1240:24: [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. _GL_CXXALIAS_SYS_CAST (vfprintf, int, data/texinfo-6.7.0.dfsg.2/gnulib/lib/stdio.in.h:1243:19: [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. _GL_CXXALIASWARN (vfprintf); data/texinfo-6.7.0.dfsg.2/gnulib/lib/stdio.in.h:1247:10: [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. # undef vfprintf data/texinfo-6.7.0.dfsg.2/gnulib/lib/stdio.in.h:1250:18: [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. _GL_WARN_ON_USE (vfprintf, "vfprintf is not always POSIX compliant - " data/texinfo-6.7.0.dfsg.2/gnulib/lib/stdio.in.h:1258:11: [4] (buffer) vfscanf: 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. # undef vfscanf data/texinfo-6.7.0.dfsg.2/gnulib/lib/stdio.in.h:1259:12: [4] (buffer) vfscanf: 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. # define vfscanf rpl_vfscanf data/texinfo-6.7.0.dfsg.2/gnulib/lib/stdio.in.h:1261:19: [4] (buffer) vfscanf: 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. _GL_FUNCDECL_RPL (vfscanf, int, data/texinfo-6.7.0.dfsg.2/gnulib/lib/stdio.in.h:1265:19: [4] (buffer) vfscanf: 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. _GL_CXXALIAS_RPL (vfscanf, int, data/texinfo-6.7.0.dfsg.2/gnulib/lib/stdio.in.h:1268:19: [4] (buffer) vfscanf: 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. _GL_CXXALIAS_SYS (vfscanf, int, data/texinfo-6.7.0.dfsg.2/gnulib/lib/stdio.in.h:1271:19: [4] (buffer) vfscanf: 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. _GL_CXXALIASWARN (vfscanf); data/texinfo-6.7.0.dfsg.2/gnulib/lib/stdio.in.h:1278:12: [4] (format) vprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. # define vprintf rpl_vprintf data/texinfo-6.7.0.dfsg.2/gnulib/lib/stdio.in.h:1282:19: [4] (format) vprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. _GL_FUNCDECL_RPL (vprintf, int, (const char *format, va_list args) data/texinfo-6.7.0.dfsg.2/gnulib/lib/stdio.in.h:1286:19: [4] (format) vprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. _GL_FUNCDECL_RPL (vprintf, int, (const char *format, va_list args) data/texinfo-6.7.0.dfsg.2/gnulib/lib/stdio.in.h:1290:19: [4] (format) vprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. _GL_CXXALIAS_RPL (vprintf, int, (const char *format, va_list args)); data/texinfo-6.7.0.dfsg.2/gnulib/lib/stdio.in.h:1295:24: [4] (format) vprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. _GL_CXXALIAS_SYS_CAST (vprintf, int, (const char *format, va_list args)); data/texinfo-6.7.0.dfsg.2/gnulib/lib/stdio.in.h:1297:19: [4] (format) vprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. _GL_CXXALIASWARN (vprintf); data/texinfo-6.7.0.dfsg.2/gnulib/lib/stdio.in.h:1301:10: [4] (format) vprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. # undef vprintf data/texinfo-6.7.0.dfsg.2/gnulib/lib/stdio.in.h:1304:18: [4] (format) vprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. _GL_WARN_ON_USE (vprintf, "vprintf is not always POSIX compliant - " data/texinfo-6.7.0.dfsg.2/gnulib/lib/stdio.in.h:1312:11: [4] (buffer) vscanf: 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. # undef vscanf data/texinfo-6.7.0.dfsg.2/gnulib/lib/stdio.in.h:1313:12: [4] (buffer) vscanf: 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. # define vscanf rpl_vscanf data/texinfo-6.7.0.dfsg.2/gnulib/lib/stdio.in.h:1315:19: [4] (buffer) vscanf: 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. _GL_FUNCDECL_RPL (vscanf, int, (const char *format, va_list args) data/texinfo-6.7.0.dfsg.2/gnulib/lib/stdio.in.h:1318:19: [4] (buffer) vscanf: 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. _GL_CXXALIAS_RPL (vscanf, int, (const char *format, va_list args)); data/texinfo-6.7.0.dfsg.2/gnulib/lib/stdio.in.h:1320:19: [4] (buffer) vscanf: 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. _GL_CXXALIAS_SYS (vscanf, int, (const char *format, va_list args)); data/texinfo-6.7.0.dfsg.2/gnulib/lib/stdio.in.h:1322:19: [4] (buffer) vscanf: 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. _GL_CXXALIASWARN (vscanf); data/texinfo-6.7.0.dfsg.2/gnulib/lib/stdio.in.h:1328:12: [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. # define vsnprintf rpl_vsnprintf data/texinfo-6.7.0.dfsg.2/gnulib/lib/stdio.in.h:1330:19: [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. _GL_FUNCDECL_RPL (vsnprintf, int, data/texinfo-6.7.0.dfsg.2/gnulib/lib/stdio.in.h:1334:19: [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. _GL_CXXALIAS_RPL (vsnprintf, int, data/texinfo-6.7.0.dfsg.2/gnulib/lib/stdio.in.h:1338:19: [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. _GL_FUNCDECL_SYS (vsnprintf, int, data/texinfo-6.7.0.dfsg.2/gnulib/lib/stdio.in.h:1343:19: [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. _GL_CXXALIAS_SYS (vsnprintf, int, data/texinfo-6.7.0.dfsg.2/gnulib/lib/stdio.in.h:1346:19: [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. _GL_CXXALIASWARN (vsnprintf); data/texinfo-6.7.0.dfsg.2/gnulib/lib/stdio.in.h:1348:9: [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. # undef vsnprintf data/texinfo-6.7.0.dfsg.2/gnulib/lib/stdio.in.h:1350:18: [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. _GL_WARN_ON_USE (vsnprintf, "vsnprintf is unportable - " data/texinfo-6.7.0.dfsg.2/gnulib/lib/stdio.in.h:1358:12: [4] (buffer) vsprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. # define vsprintf rpl_vsprintf data/texinfo-6.7.0.dfsg.2/gnulib/lib/stdio.in.h:1360:19: [4] (buffer) vsprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. _GL_FUNCDECL_RPL (vsprintf, int, data/texinfo-6.7.0.dfsg.2/gnulib/lib/stdio.in.h:1364:19: [4] (buffer) vsprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. _GL_CXXALIAS_RPL (vsprintf, int, data/texinfo-6.7.0.dfsg.2/gnulib/lib/stdio.in.h:1370:24: [4] (buffer) vsprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. _GL_CXXALIAS_SYS_CAST (vsprintf, int, data/texinfo-6.7.0.dfsg.2/gnulib/lib/stdio.in.h:1373:19: [4] (buffer) vsprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. _GL_CXXALIASWARN (vsprintf); data/texinfo-6.7.0.dfsg.2/gnulib/lib/stdio.in.h:1375:9: [4] (buffer) vsprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. # undef vsprintf data/texinfo-6.7.0.dfsg.2/gnulib/lib/stdio.in.h:1377:18: [4] (buffer) vsprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. _GL_WARN_ON_USE (vsprintf, "vsprintf is not always POSIX compliant - " data/texinfo-6.7.0.dfsg.2/gnulib/lib/strerror.c:33:8: [4] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. #undef sprintf data/texinfo-6.7.0.dfsg.2/gnulib/lib/strerror.c:59:7: [4] (format) sprintf: Potential format string problem (CWE-134). Make format string constant. sprintf (buf, fmt, n); data/texinfo-6.7.0.dfsg.2/gnulib/lib/unistd.in.h:258:18: [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. _GL_WARN_ON_USE (access, "the access function is a security risk - " data/texinfo-6.7.0.dfsg.2/gnulib/lib/unistd.in.h:826:19: [4] (misc) getlogin: It's often easy to fool getlogin. Sometimes it does not work at all, because some program messed up the utmp file. Often, it gives only the first 8 characters of the login name. The user currently logged in on the controlling tty of our program need not be the user who started it. Avoid getlogin() for security-related purposes (CWE-807). Use getpwuid(geteuid()) and extract the desired information instead. _GL_FUNCDECL_SYS (getlogin, char *, (void)); data/texinfo-6.7.0.dfsg.2/gnulib/lib/unistd.in.h:828:19: [4] (misc) getlogin: It's often easy to fool getlogin. Sometimes it does not work at all, because some program messed up the utmp file. Often, it gives only the first 8 characters of the login name. The user currently logged in on the controlling tty of our program need not be the user who started it. Avoid getlogin() for security-related purposes (CWE-807). Use getpwuid(geteuid()) and extract the desired information instead. _GL_CXXALIAS_SYS (getlogin, char *, (void)); data/texinfo-6.7.0.dfsg.2/gnulib/lib/unistd.in.h:829:19: [4] (misc) getlogin: It's often easy to fool getlogin. Sometimes it does not work at all, because some program messed up the utmp file. Often, it gives only the first 8 characters of the login name. The user currently logged in on the controlling tty of our program need not be the user who started it. Avoid getlogin() for security-related purposes (CWE-807). Use getpwuid(geteuid()) and extract the desired information instead. _GL_CXXALIASWARN (getlogin); data/texinfo-6.7.0.dfsg.2/gnulib/lib/unistd.in.h:831:9: [4] (misc) getlogin: It's often easy to fool getlogin. Sometimes it does not work at all, because some program messed up the utmp file. Often, it gives only the first 8 characters of the login name. The user currently logged in on the controlling tty of our program need not be the user who started it. Avoid getlogin() for security-related purposes (CWE-807). Use getpwuid(geteuid()) and extract the desired information instead. # undef getlogin data/texinfo-6.7.0.dfsg.2/gnulib/lib/unistd.in.h:833:18: [4] (misc) getlogin: It's often easy to fool getlogin. Sometimes it does not work at all, because some program messed up the utmp file. Often, it gives only the first 8 characters of the login name. The user currently logged in on the controlling tty of our program need not be the user who started it. Avoid getlogin() for security-related purposes (CWE-807). Use getpwuid(geteuid()) and extract the desired information instead. _GL_WARN_ON_USE (getlogin, "getlogin is unportable - " data/texinfo-6.7.0.dfsg.2/gnulib/lib/unistd.in.h:969:11: [4] (misc) getpass: This function is obsolete and not portable. It was in SUSv2 but removed by POSIX.2. What it does exactly varies considerably between systems, particularly in where its prompt is displayed and where it gets its data (e.g., /dev/tty, stdin, stderr, etc.). In addition, some implementations overflow buffers. (CWE-676, CWE-120, CWE-20). Make the specific calls to do exactly what you want. If you continue to use it, or write your own, be sure to zero the password as soon as possible to avoid leaving the cleartext password visible in the process' address space. # undef getpass data/texinfo-6.7.0.dfsg.2/gnulib/lib/unistd.in.h:970:12: [4] (misc) getpass: This function is obsolete and not portable. It was in SUSv2 but removed by POSIX.2. What it does exactly varies considerably between systems, particularly in where its prompt is displayed and where it gets its data (e.g., /dev/tty, stdin, stderr, etc.). In addition, some implementations overflow buffers. (CWE-676, CWE-120, CWE-20). Make the specific calls to do exactly what you want. If you continue to use it, or write your own, be sure to zero the password as soon as possible to avoid leaving the cleartext password visible in the process' address space. # define getpass rpl_getpass data/texinfo-6.7.0.dfsg.2/gnulib/lib/unistd.in.h:972:19: [4] (misc) getpass: This function is obsolete and not portable. It was in SUSv2 but removed by POSIX.2. What it does exactly varies considerably between systems, particularly in where its prompt is displayed and where it gets its data (e.g., /dev/tty, stdin, stderr, etc.). In addition, some implementations overflow buffers. (CWE-676, CWE-120, CWE-20). Make the specific calls to do exactly what you want. If you continue to use it, or write your own, be sure to zero the password as soon as possible to avoid leaving the cleartext password visible in the process' address space. _GL_FUNCDECL_RPL (getpass, char *, (const char *prompt) data/texinfo-6.7.0.dfsg.2/gnulib/lib/unistd.in.h:974:19: [4] (misc) getpass: This function is obsolete and not portable. It was in SUSv2 but removed by POSIX.2. What it does exactly varies considerably between systems, particularly in where its prompt is displayed and where it gets its data (e.g., /dev/tty, stdin, stderr, etc.). In addition, some implementations overflow buffers. (CWE-676, CWE-120, CWE-20). Make the specific calls to do exactly what you want. If you continue to use it, or write your own, be sure to zero the password as soon as possible to avoid leaving the cleartext password visible in the process' address space. _GL_CXXALIAS_RPL (getpass, char *, (const char *prompt)); data/texinfo-6.7.0.dfsg.2/gnulib/lib/unistd.in.h:977:19: [4] (misc) getpass: This function is obsolete and not portable. It was in SUSv2 but removed by POSIX.2. What it does exactly varies considerably between systems, particularly in where its prompt is displayed and where it gets its data (e.g., /dev/tty, stdin, stderr, etc.). In addition, some implementations overflow buffers. (CWE-676, CWE-120, CWE-20). Make the specific calls to do exactly what you want. If you continue to use it, or write your own, be sure to zero the password as soon as possible to avoid leaving the cleartext password visible in the process' address space. _GL_FUNCDECL_SYS (getpass, char *, (const char *prompt) data/texinfo-6.7.0.dfsg.2/gnulib/lib/unistd.in.h:980:19: [4] (misc) getpass: This function is obsolete and not portable. It was in SUSv2 but removed by POSIX.2. What it does exactly varies considerably between systems, particularly in where its prompt is displayed and where it gets its data (e.g., /dev/tty, stdin, stderr, etc.). In addition, some implementations overflow buffers. (CWE-676, CWE-120, CWE-20). Make the specific calls to do exactly what you want. If you continue to use it, or write your own, be sure to zero the password as soon as possible to avoid leaving the cleartext password visible in the process' address space. _GL_CXXALIAS_SYS (getpass, char *, (const char *prompt)); data/texinfo-6.7.0.dfsg.2/gnulib/lib/unistd.in.h:982:19: [4] (misc) getpass: This function is obsolete and not portable. It was in SUSv2 but removed by POSIX.2. What it does exactly varies considerably between systems, particularly in where its prompt is displayed and where it gets its data (e.g., /dev/tty, stdin, stderr, etc.). In addition, some implementations overflow buffers. (CWE-676, CWE-120, CWE-20). Make the specific calls to do exactly what you want. If you continue to use it, or write your own, be sure to zero the password as soon as possible to avoid leaving the cleartext password visible in the process' address space. _GL_CXXALIASWARN (getpass); data/texinfo-6.7.0.dfsg.2/gnulib/lib/unistd.in.h:984:9: [4] (misc) getpass: This function is obsolete and not portable. It was in SUSv2 but removed by POSIX.2. What it does exactly varies considerably between systems, particularly in where its prompt is displayed and where it gets its data (e.g., /dev/tty, stdin, stderr, etc.). In addition, some implementations overflow buffers. (CWE-676, CWE-120, CWE-20). Make the specific calls to do exactly what you want. If you continue to use it, or write your own, be sure to zero the password as soon as possible to avoid leaving the cleartext password visible in the process' address space. # undef getpass data/texinfo-6.7.0.dfsg.2/gnulib/lib/unistd.in.h:986:18: [4] (misc) getpass: This function is obsolete and not portable. It was in SUSv2 but removed by POSIX.2. What it does exactly varies considerably between systems, particularly in where its prompt is displayed and where it gets its data (e.g., /dev/tty, stdin, stderr, etc.). In addition, some implementations overflow buffers. (CWE-676, CWE-120, CWE-20). Make the specific calls to do exactly what you want. If you continue to use it, or write your own, be sure to zero the password as soon as possible to avoid leaving the cleartext password visible in the process' address space. _GL_WARN_ON_USE (getpass, "getpass is unportable - " data/texinfo-6.7.0.dfsg.2/gnulib/lib/vasnprintf.c:171:20: [4] (buffer) swprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. # define SNPRINTF swprintf data/texinfo-6.7.0.dfsg.2/gnulib/lib/vasnprintf.c:189:21: [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/texinfo-6.7.0.dfsg.2/gnulib/lib/vasnprintf.c:191:11: [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. # undef snprintf data/texinfo-6.7.0.dfsg.2/gnulib/lib/vasnprintf.c:194:21: [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/texinfo-6.7.0.dfsg.2/gnulib/lib/vasnprintf.c:199:20: [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/texinfo-6.7.0.dfsg.2/gnulib/lib/vasnprintf.c:201:10: [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. # undef snprintf data/texinfo-6.7.0.dfsg.2/gnulib/lib/vasnprintf.c:205:8: [4] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. #undef sprintf data/texinfo-6.7.0.dfsg.2/gnulib/lib/vasnprintf.c:4269:39: [4] (format) sprintf: Potential format string problem (CWE-134). Make format string constant. sprintf ((char *) p, decimal_format, exponent); data/texinfo-6.7.0.dfsg.2/gnulib/lib/vasnprintf.c:4277:39: [4] (format) sprintf: Potential format string problem (CWE-134). Make format string constant. sprintf (expbuf, decimal_format, exponent); data/texinfo-6.7.0.dfsg.2/gnulib/lib/vasnprintf.c:4462:47: [4] (format) sprintf: Potential format string problem (CWE-134). Make format string constant. sprintf ((char *) p, decimal_format, exponent); data/texinfo-6.7.0.dfsg.2/gnulib/lib/vasnprintf.c:4470:47: [4] (format) sprintf: Potential format string problem (CWE-134). Make format string constant. sprintf (expbuf, decimal_format, exponent); data/texinfo-6.7.0.dfsg.2/gnulib/lib/vasnprintf.c:5001:33: [4] (format) sprintf: Potential format string problem (CWE-134). Make format string constant. count = sprintf (tmp, buf, arg); \ data/texinfo-6.7.0.dfsg.2/gnulib/lib/vasnprintf.c:5004:33: [4] (format) sprintf: Potential format string problem (CWE-134). Make format string constant. count = sprintf (tmp, buf, prefixes[0], arg); \ data/texinfo-6.7.0.dfsg.2/gnulib/lib/vasnprintf.c:5007:33: [4] (format) sprintf: Potential format string problem (CWE-134). Make format string constant. count = sprintf (tmp, buf, prefixes[0], prefixes[1],\ data/texinfo-6.7.0.dfsg.2/gnulib/lib/wchar.in.h:607:19: [4] (buffer) wcscpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using a function version that stops copying at the end of the buffer. _GL_FUNCDECL_SYS (wcscpy, wchar_t *, (wchar_t *dest, const wchar_t *src)); data/texinfo-6.7.0.dfsg.2/gnulib/lib/wchar.in.h:609:19: [4] (buffer) wcscpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using a function version that stops copying at the end of the buffer. _GL_CXXALIAS_SYS (wcscpy, wchar_t *, (wchar_t *dest, const wchar_t *src)); data/texinfo-6.7.0.dfsg.2/gnulib/lib/wchar.in.h:610:19: [4] (buffer) wcscpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using a function version that stops copying at the end of the buffer. _GL_CXXALIASWARN (wcscpy); data/texinfo-6.7.0.dfsg.2/gnulib/lib/wchar.in.h:612:9: [4] (buffer) wcscpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using a function version that stops copying at the end of the buffer. # undef wcscpy data/texinfo-6.7.0.dfsg.2/gnulib/lib/wchar.in.h:614:18: [4] (buffer) wcscpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using a function version that stops copying at the end of the buffer. _GL_WARN_ON_USE (wcscpy, "wcscpy is unportable - " data/texinfo-6.7.0.dfsg.2/gnulib/lib/wchar.in.h:676:19: [4] (buffer) wcscat: Does not check for buffer overflows when concatenating to destination [MS-banned] (CWE-120). _GL_FUNCDECL_SYS (wcscat, wchar_t *, (wchar_t *dest, const wchar_t *src)); data/texinfo-6.7.0.dfsg.2/gnulib/lib/wchar.in.h:678:19: [4] (buffer) wcscat: Does not check for buffer overflows when concatenating to destination [MS-banned] (CWE-120). _GL_CXXALIAS_SYS (wcscat, wchar_t *, (wchar_t *dest, const wchar_t *src)); data/texinfo-6.7.0.dfsg.2/gnulib/lib/wchar.in.h:679:19: [4] (buffer) wcscat: Does not check for buffer overflows when concatenating to destination [MS-banned] (CWE-120). _GL_CXXALIASWARN (wcscat); data/texinfo-6.7.0.dfsg.2/gnulib/lib/wchar.in.h:681:9: [4] (buffer) wcscat: Does not check for buffer overflows when concatenating to destination [MS-banned] (CWE-120). # undef wcscat data/texinfo-6.7.0.dfsg.2/gnulib/lib/wchar.in.h:683:18: [4] (buffer) wcscat: Does not check for buffer overflows when concatenating to destination [MS-banned] (CWE-120). _GL_WARN_ON_USE (wcscat, "wcscat is unportable - " data/texinfo-6.7.0.dfsg.2/info/dir.c:117:11: [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 (fullpath, this_dir); data/texinfo-6.7.0.dfsg.2/info/dir.c:120:11: [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 (fullpath, from_file); data/texinfo-6.7.0.dfsg.2/info/display.c:205:4: [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 (entry->text + off, printed_line + off); data/texinfo-6.7.0.dfsg.2/info/display.c:569:15: [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 (entry->text, tb_printed_line.base); data/texinfo-6.7.0.dfsg.2/info/display.c:691:11: [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 (display[line_index]->text, win->modeline); data/texinfo-6.7.0.dfsg.2/info/echo-area.c:125: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 (input_line, prompt); data/texinfo-6.7.0.dfsg.2/info/echo-area.c:819:11: [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 (new, killed_text); data/texinfo-6.7.0.dfsg.2/info/echo-area.c:820:11: [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 (new, old); data/texinfo-6.7.0.dfsg.2/info/echo-area.c:825:11: [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 (new, old); data/texinfo-6.7.0.dfsg.2/info/echo-area.c:826:11: [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 (new, killed_text); data/texinfo-6.7.0.dfsg.2/info/echo-area.c:1470: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 (input_line, popped->line); data/texinfo-6.7.0.dfsg.2/info/echo-area.c:1534:3: [4] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. sprintf (&input_line[input_line_end], "%s[%s]\n", data/texinfo-6.7.0.dfsg.2/info/filesys.c:213:7: [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 (try_filename, dirname); data/texinfo-6.7.0.dfsg.2/info/filesys.c:221: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 (try_filename, filename); data/texinfo-6.7.0.dfsg.2/info/filesys.c:227:7: [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 (try_filename + pre_suffix_length, info_suffixes[i]); data/texinfo-6.7.0.dfsg.2/info/filesys.c:265:15: [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 (try_filename + pre_compress_suffix_length, data/texinfo-6.7.0.dfsg.2/info/filesys.c:410:3: [4] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. sprintf (command, "%s%s < %s", data/texinfo-6.7.0.dfsg.2/info/filesys.c:418:7: [4] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. sprintf (temp, "%s...", command); data/texinfo-6.7.0.dfsg.2/info/filesys.c:423:12: [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. stream = popen (command, FOPEN_RBIN); data/texinfo-6.7.0.dfsg.2/info/filesys.c:553:3: [4] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. sprintf (errmsg_buf, "%s: %s", filename, result); data/texinfo-6.7.0.dfsg.2/info/filesys.c:571:7: [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 (trydir, info_suffixes[i]); data/texinfo-6.7.0.dfsg.2/info/filesys.c:579:11: [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 (dir_compressed, trydir); data/texinfo-6.7.0.dfsg.2/info/filesys.c:580:11: [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 (dir_compressed, compress_suffixes[c].suffix); data/texinfo-6.7.0.dfsg.2/info/footnotes.c:84:11: [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 (refname, node->nodename); data/texinfo-6.7.0.dfsg.2/info/footnotes.c:136:5: [4] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. sprintf (result->contents, "%s", header); data/texinfo-6.7.0.dfsg.2/info/info-utils.c:424: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 (string, temp); data/texinfo-6.7.0.dfsg.2/info/info-utils.c:1811:7: [4] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. sprintf (rep, "(%s)%s", filename, node->nodename); data/texinfo-6.7.0.dfsg.2/info/info-utils.c:1900:11: [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 = vsnprintf (buf->base + buf->off, buf->size - buf->off, data/texinfo-6.7.0.dfsg.2/info/info-utils.c:2047: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 (p->name, name); data/texinfo-6.7.0.dfsg.2/info/infodoc.c:522:11: [4] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. sprintf (message, "%s (%s): %s.", keyname, funname, fundoc); data/texinfo-6.7.0.dfsg.2/info/infodoc.c:544:7: [4] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. sprintf (temp, "M-%s", rep); data/texinfo-6.7.0.dfsg.2/info/infodoc.c:545:7: [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 (rep_buffer, temp); data/texinfo-6.7.0.dfsg.2/info/infodoc.c:773:7: [4] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. sprintf (where_is_rep, "%s %s", rep, name); data/texinfo-6.7.0.dfsg.2/info/infokey.c:615:3: [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, fmt, ap); data/texinfo-6.7.0.dfsg.2/info/infomap.c:571:7: [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 (filename, homedir); data/texinfo-6.7.0.dfsg.2/info/infomap.c:573:7: [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 (filename, INFOKEY_FILE); data/texinfo-6.7.0.dfsg.2/info/makedoc.c:134:7: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf (doc_stream, doc_header[i], argv[0], argv[0]); data/texinfo-6.7.0.dfsg.2/info/makedoc.c:381:13: [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 (temp_func_name, func_name + 3); data/texinfo-6.7.0.dfsg.2/info/man.c:142:7: [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 (temp, temp_dirname); data/texinfo-6.7.0.dfsg.2/info/man.c:145:7: [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 (temp, filename); data/texinfo-6.7.0.dfsg.2/info/man.c:155:6: [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 (temp_end, exec_extensions[i]); data/texinfo-6.7.0.dfsg.2/info/man.c:160: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 (temp, X_OK) == 0)) data/texinfo-6.7.0.dfsg.2/info/man.c:256: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 (manpage, newpage); data/texinfo-6.7.0.dfsg.2/info/man.c:332:7: [4] (shell) execv: 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. execv (formatter_args[0], formatter_args); data/texinfo-6.7.0.dfsg.2/info/man.c:358:5: [4] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. sprintf (cmdline, "\"%s\" %s %s", data/texinfo-6.7.0.dfsg.2/info/man.c:360:13: [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. fpipe = popen (cmdline, "r"); data/texinfo-6.7.0.dfsg.2/info/nodes.c:448:13: [4] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. sprintf (fullpath, "%s/%s", data/texinfo-6.7.0.dfsg.2/info/pcterm.c:1546:8: [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 (buffered, key_sequence); data/texinfo-6.7.0.dfsg.2/info/pcterm.c:1663:4: [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. system (""); data/texinfo-6.7.0.dfsg.2/info/session.c:789:3: [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, ap); data/texinfo-6.7.0.dfsg.2/info/session.c:815:7: [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, ap); data/texinfo-6.7.0.dfsg.2/info/session.c:2333:15: [4] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. sprintf (prompt, _("Menu item (%s): "), defentry->label); data/texinfo-6.7.0.dfsg.2/info/session.c:2344:15: [4] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. sprintf (prompt, _("Follow xref (%s): "), defentry->label); data/texinfo-6.7.0.dfsg.2/info/session.c:3325:9: [4] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. sprintf (entry->label, "(%s)*", fb->filename); data/texinfo-6.7.0.dfsg.2/info/session.c:3342:21: [4] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. sprintf (entry->label, "(%s)%s", data/texinfo-6.7.0.dfsg.2/info/session.c:3473:11: [4] (format) sprintf: Potential format string problem (CWE-134). Make format string constant. sprintf (nodename, *try_node, program); data/texinfo-6.7.0.dfsg.2/info/session.c:3549:3: [4] (format) sprintf: Potential format string problem (CWE-134). Make format string constant. sprintf (prompt, invocation_prompt, default_program_name); data/texinfo-6.7.0.dfsg.2/info/session.c:3853:22: [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. printer_pipe = popen (print_command, "w"); data/texinfo-6.7.0.dfsg.2/info/session.c:4916:7: [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 (p_rep + p_rep_index, rep); data/texinfo-6.7.0.dfsg.2/info/session.c:4924:3: [4] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. sprintf (prompt, "%s%s%s", data/texinfo-6.7.0.dfsg.2/info/session.c:5131:23: [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 (isearch_string, last_isearch_accepted); data/texinfo-6.7.0.dfsg.2/info/session.c:5377:7: [4] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. sprintf (temp, _("'%s' is invalid"), rep); data/texinfo-6.7.0.dfsg.2/info/tilde.c:56:13: [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 (temp_name, temp_home); data/texinfo-6.7.0.dfsg.2/info/tilde.c:59:11: [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 (temp_name, &dirname[1]); data/texinfo-6.7.0.dfsg.2/info/tilde.c:87:15: [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 (temp_name, user_entry->pw_dir); data/texinfo-6.7.0.dfsg.2/info/tilde.c:88:15: [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 (temp_name, &dirname[i]); data/texinfo-6.7.0.dfsg.2/info/variables.c:184:5: [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 (string, rendition->value & BLINK_MASK ? "blink" : "noblink"); data/texinfo-6.7.0.dfsg.2/info/variables.c:189:7: [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 (string, rendition->value & BOLD_MASK ? "bold" : "nobold"); data/texinfo-6.7.0.dfsg.2/info/variables.c:195:7: [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 (string, rendition->value & STANDOUT_MASK ? "standout" : "nostandout"); data/texinfo-6.7.0.dfsg.2/info/variables.c:201:7: [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 (string, rendition->value & UNDERLINE_MASK ? "underline" : "nounderline"); data/texinfo-6.7.0.dfsg.2/info/variables.c:208:7: [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 (string, style >= 8 ? fg[style - 8] : "nocolour"); data/texinfo-6.7.0.dfsg.2/info/variables.c:215:7: [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 (string, style >= 8 ? bg[style - 8] : "nobgcolour"); data/texinfo-6.7.0.dfsg.2/info/variables.c:270:7: [4] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. sprintf (prompt, _("Set %s to value (%d): "), data/texinfo-6.7.0.dfsg.2/info/variables.c:304:7: [4] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. sprintf (prompt, _("Set %s to value (%s): "), data/texinfo-6.7.0.dfsg.2/info/window.c:928:5: [4] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. sprintf (modeline + strlen (modeline), data/texinfo-6.7.0.dfsg.2/info/window.c:943: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 (window->modeline, modeline); data/texinfo-6.7.0.dfsg.2/install-info/install-info.c:213:3: [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, fmt, ap); data/texinfo-6.7.0.dfsg.2/install-info/install-info.c:259: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 (result, s1); data/texinfo-6.7.0.dfsg.2/install-info/install-info.c:260: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 (result + len1, s2); data/texinfo-6.7.0.dfsg.2/install-info/install-info.c:261: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 (result + len1 + len2, s3); data/texinfo-6.7.0.dfsg.2/install-info/install-info.c:869:11: [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. f = popen (command, "r"); data/texinfo-6.7.0.dfsg.2/install-info/install-info.c:962: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. output = popen (command, "w"); data/texinfo-6.7.0.dfsg.2/install-info/install-info.c:1861:15: [4] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. if (sprintf (opt, "--regex=%s", regex) == -1) data/texinfo-6.7.0.dfsg.2/install-info/install-info.c:1868:15: [4] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. if (sprintf (opt, "--section=%s", title) == -1) data/texinfo-6.7.0.dfsg.2/tp/Texinfo/XS/gnulib/lib/stdio.in.h:311:12: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. # define fprintf rpl_fprintf data/texinfo-6.7.0.dfsg.2/tp/Texinfo/XS/gnulib/lib/stdio.in.h:315:19: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. _GL_FUNCDECL_RPL (fprintf, int, (FILE *fp, const char *format, ...) data/texinfo-6.7.0.dfsg.2/tp/Texinfo/XS/gnulib/lib/stdio.in.h:319:19: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. _GL_FUNCDECL_RPL (fprintf, int, (FILE *fp, const char *format, ...) data/texinfo-6.7.0.dfsg.2/tp/Texinfo/XS/gnulib/lib/stdio.in.h:323:19: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. _GL_CXXALIAS_RPL (fprintf, int, (FILE *fp, const char *format, ...)); data/texinfo-6.7.0.dfsg.2/tp/Texinfo/XS/gnulib/lib/stdio.in.h:325:19: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. _GL_CXXALIAS_SYS (fprintf, int, (FILE *fp, const char *format, ...)); data/texinfo-6.7.0.dfsg.2/tp/Texinfo/XS/gnulib/lib/stdio.in.h:327:19: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. _GL_CXXALIASWARN (fprintf); data/texinfo-6.7.0.dfsg.2/tp/Texinfo/XS/gnulib/lib/stdio.in.h:331:10: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. # undef fprintf data/texinfo-6.7.0.dfsg.2/tp/Texinfo/XS/gnulib/lib/stdio.in.h:334:18: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. _GL_WARN_ON_USE (fprintf, "fprintf is not always POSIX compliant - " data/texinfo-6.7.0.dfsg.2/tp/Texinfo/XS/gnulib/lib/stdio.in.h:438: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. # undef fscanf data/texinfo-6.7.0.dfsg.2/tp/Texinfo/XS/gnulib/lib/stdio.in.h:439:12: [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. # define fscanf rpl_fscanf data/texinfo-6.7.0.dfsg.2/tp/Texinfo/XS/gnulib/lib/stdio.in.h:441:19: [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. _GL_FUNCDECL_RPL (fscanf, int, (FILE *stream, const char *format, ...) data/texinfo-6.7.0.dfsg.2/tp/Texinfo/XS/gnulib/lib/stdio.in.h:444:19: [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. _GL_CXXALIAS_RPL (fscanf, int, (FILE *stream, const char *format, ...)); data/texinfo-6.7.0.dfsg.2/tp/Texinfo/XS/gnulib/lib/stdio.in.h:446:19: [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. _GL_CXXALIAS_SYS (fscanf, int, (FILE *stream, const char *format, ...)); data/texinfo-6.7.0.dfsg.2/tp/Texinfo/XS/gnulib/lib/stdio.in.h:448:19: [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. _GL_CXXALIASWARN (fscanf); data/texinfo-6.7.0.dfsg.2/tp/Texinfo/XS/gnulib/lib/stdio.in.h:846:11: [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. # undef popen data/texinfo-6.7.0.dfsg.2/tp/Texinfo/XS/gnulib/lib/stdio.in.h:847:12: [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. # define popen rpl_popen data/texinfo-6.7.0.dfsg.2/tp/Texinfo/XS/gnulib/lib/stdio.in.h:849:19: [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. _GL_FUNCDECL_RPL (popen, FILE *, (const char *cmd, const char *mode) data/texinfo-6.7.0.dfsg.2/tp/Texinfo/XS/gnulib/lib/stdio.in.h:851:19: [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. _GL_CXXALIAS_RPL (popen, FILE *, (const char *cmd, const char *mode)); data/texinfo-6.7.0.dfsg.2/tp/Texinfo/XS/gnulib/lib/stdio.in.h:854:19: [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. _GL_FUNCDECL_SYS (popen, FILE *, (const char *cmd, const char *mode) data/texinfo-6.7.0.dfsg.2/tp/Texinfo/XS/gnulib/lib/stdio.in.h:857:19: [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. _GL_CXXALIAS_SYS (popen, FILE *, (const char *cmd, const char *mode)); data/texinfo-6.7.0.dfsg.2/tp/Texinfo/XS/gnulib/lib/stdio.in.h:859:19: [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. _GL_CXXALIASWARN (popen); data/texinfo-6.7.0.dfsg.2/tp/Texinfo/XS/gnulib/lib/stdio.in.h:861:9: [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. # undef popen data/texinfo-6.7.0.dfsg.2/tp/Texinfo/XS/gnulib/lib/stdio.in.h:863:18: [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. _GL_WARN_ON_USE (popen, "popen is buggy on some platforms - " data/texinfo-6.7.0.dfsg.2/tp/Texinfo/XS/gnulib/lib/stdio.in.h:874:13: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. # define printf __printf__ data/texinfo-6.7.0.dfsg.2/tp/Texinfo/XS/gnulib/lib/stdio.in.h:891:21: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. _GL_CXXALIAS_RPL_1 (printf, __printf__, int, (const char *format, ...)); data/texinfo-6.7.0.dfsg.2/tp/Texinfo/XS/gnulib/lib/stdio.in.h:894:13: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. # define printf rpl_printf data/texinfo-6.7.0.dfsg.2/tp/Texinfo/XS/gnulib/lib/stdio.in.h:896:19: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. _GL_FUNCDECL_RPL (printf, int, data/texinfo-6.7.0.dfsg.2/tp/Texinfo/XS/gnulib/lib/stdio.in.h:900:19: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. _GL_CXXALIAS_RPL (printf, int, (const char *format, ...)); data/texinfo-6.7.0.dfsg.2/tp/Texinfo/XS/gnulib/lib/stdio.in.h:904:19: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. _GL_CXXALIAS_SYS (printf, int, (const char *format, ...)); data/texinfo-6.7.0.dfsg.2/tp/Texinfo/XS/gnulib/lib/stdio.in.h:906:19: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. _GL_CXXALIASWARN (printf); data/texinfo-6.7.0.dfsg.2/tp/Texinfo/XS/gnulib/lib/stdio.in.h:910:10: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. # undef printf data/texinfo-6.7.0.dfsg.2/tp/Texinfo/XS/gnulib/lib/stdio.in.h:913:18: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. _GL_WARN_ON_USE (printf, "printf is not always POSIX compliant - " data/texinfo-6.7.0.dfsg.2/tp/Texinfo/XS/gnulib/lib/stdio.in.h:1035:12: [4] (buffer) scanf: 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. # undef scanf data/texinfo-6.7.0.dfsg.2/tp/Texinfo/XS/gnulib/lib/stdio.in.h:1037:13: [4] (buffer) scanf: 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. # define scanf __scanf__ data/texinfo-6.7.0.dfsg.2/tp/Texinfo/XS/gnulib/lib/stdio.in.h:1045:21: [4] (buffer) scanf: 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. _GL_CXXALIAS_RPL_1 (scanf, __scanf__, int, (const char *format, ...)); data/texinfo-6.7.0.dfsg.2/tp/Texinfo/XS/gnulib/lib/stdio.in.h:1048:12: [4] (buffer) scanf: 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. # undef scanf data/texinfo-6.7.0.dfsg.2/tp/Texinfo/XS/gnulib/lib/stdio.in.h:1049:13: [4] (buffer) scanf: 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. # define scanf rpl_scanf data/texinfo-6.7.0.dfsg.2/tp/Texinfo/XS/gnulib/lib/stdio.in.h:1051:19: [4] (buffer) scanf: 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. _GL_FUNCDECL_RPL (scanf, int, (const char *format, ...) data/texinfo-6.7.0.dfsg.2/tp/Texinfo/XS/gnulib/lib/stdio.in.h:1054:19: [4] (buffer) scanf: 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. _GL_CXXALIAS_RPL (scanf, int, (const char *format, ...)); data/texinfo-6.7.0.dfsg.2/tp/Texinfo/XS/gnulib/lib/stdio.in.h:1057:19: [4] (buffer) scanf: 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. _GL_CXXALIAS_SYS (scanf, int, (const char *format, ...)); data/texinfo-6.7.0.dfsg.2/tp/Texinfo/XS/gnulib/lib/stdio.in.h:1059:19: [4] (buffer) scanf: 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. _GL_CXXALIASWARN (scanf); data/texinfo-6.7.0.dfsg.2/tp/Texinfo/XS/gnulib/lib/stdio.in.h:1065:12: [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 rpl_snprintf data/texinfo-6.7.0.dfsg.2/tp/Texinfo/XS/gnulib/lib/stdio.in.h:1067:19: [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. _GL_FUNCDECL_RPL (snprintf, int, data/texinfo-6.7.0.dfsg.2/tp/Texinfo/XS/gnulib/lib/stdio.in.h:1071:19: [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. _GL_CXXALIAS_RPL (snprintf, int, data/texinfo-6.7.0.dfsg.2/tp/Texinfo/XS/gnulib/lib/stdio.in.h:1075:19: [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. _GL_FUNCDECL_SYS (snprintf, int, data/texinfo-6.7.0.dfsg.2/tp/Texinfo/XS/gnulib/lib/stdio.in.h:1080:19: [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. _GL_CXXALIAS_SYS (snprintf, int, data/texinfo-6.7.0.dfsg.2/tp/Texinfo/XS/gnulib/lib/stdio.in.h:1083:19: [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. _GL_CXXALIASWARN (snprintf); data/texinfo-6.7.0.dfsg.2/tp/Texinfo/XS/gnulib/lib/stdio.in.h:1085: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. # undef snprintf data/texinfo-6.7.0.dfsg.2/tp/Texinfo/XS/gnulib/lib/stdio.in.h:1087: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. _GL_WARN_ON_USE (snprintf, "snprintf is unportable - " data/texinfo-6.7.0.dfsg.2/tp/Texinfo/XS/gnulib/lib/stdio.in.h:1104:12: [4] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. # define sprintf rpl_sprintf data/texinfo-6.7.0.dfsg.2/tp/Texinfo/XS/gnulib/lib/stdio.in.h:1106:19: [4] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. _GL_FUNCDECL_RPL (sprintf, int, (char *str, const char *format, ...) data/texinfo-6.7.0.dfsg.2/tp/Texinfo/XS/gnulib/lib/stdio.in.h:1109:19: [4] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. _GL_CXXALIAS_RPL (sprintf, int, (char *str, const char *format, ...)); data/texinfo-6.7.0.dfsg.2/tp/Texinfo/XS/gnulib/lib/stdio.in.h:1111:19: [4] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. _GL_CXXALIAS_SYS (sprintf, int, (char *str, const char *format, ...)); data/texinfo-6.7.0.dfsg.2/tp/Texinfo/XS/gnulib/lib/stdio.in.h:1113:19: [4] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. _GL_CXXALIASWARN (sprintf); data/texinfo-6.7.0.dfsg.2/tp/Texinfo/XS/gnulib/lib/stdio.in.h:1115:9: [4] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. # undef sprintf data/texinfo-6.7.0.dfsg.2/tp/Texinfo/XS/gnulib/lib/stdio.in.h:1117:18: [4] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. _GL_WARN_ON_USE (sprintf, "sprintf is not always POSIX compliant - " data/texinfo-6.7.0.dfsg.2/tp/Texinfo/XS/gnulib/lib/stdio.in.h:1223:12: [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. # define vfprintf rpl_vfprintf data/texinfo-6.7.0.dfsg.2/tp/Texinfo/XS/gnulib/lib/stdio.in.h:1227:19: [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. _GL_FUNCDECL_RPL (vfprintf, int, (FILE *fp, const char *format, va_list args) data/texinfo-6.7.0.dfsg.2/tp/Texinfo/XS/gnulib/lib/stdio.in.h:1231:19: [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. _GL_FUNCDECL_RPL (vfprintf, int, (FILE *fp, const char *format, va_list args) data/texinfo-6.7.0.dfsg.2/tp/Texinfo/XS/gnulib/lib/stdio.in.h:1235:19: [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. _GL_CXXALIAS_RPL (vfprintf, int, (FILE *fp, const char *format, va_list args)); data/texinfo-6.7.0.dfsg.2/tp/Texinfo/XS/gnulib/lib/stdio.in.h:1240:24: [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. _GL_CXXALIAS_SYS_CAST (vfprintf, int, data/texinfo-6.7.0.dfsg.2/tp/Texinfo/XS/gnulib/lib/stdio.in.h:1243:19: [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. _GL_CXXALIASWARN (vfprintf); data/texinfo-6.7.0.dfsg.2/tp/Texinfo/XS/gnulib/lib/stdio.in.h:1247:10: [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. # undef vfprintf data/texinfo-6.7.0.dfsg.2/tp/Texinfo/XS/gnulib/lib/stdio.in.h:1250:18: [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. _GL_WARN_ON_USE (vfprintf, "vfprintf is not always POSIX compliant - " data/texinfo-6.7.0.dfsg.2/tp/Texinfo/XS/gnulib/lib/stdio.in.h:1258:11: [4] (buffer) vfscanf: 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. # undef vfscanf data/texinfo-6.7.0.dfsg.2/tp/Texinfo/XS/gnulib/lib/stdio.in.h:1259:12: [4] (buffer) vfscanf: 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. # define vfscanf rpl_vfscanf data/texinfo-6.7.0.dfsg.2/tp/Texinfo/XS/gnulib/lib/stdio.in.h:1261:19: [4] (buffer) vfscanf: 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. _GL_FUNCDECL_RPL (vfscanf, int, data/texinfo-6.7.0.dfsg.2/tp/Texinfo/XS/gnulib/lib/stdio.in.h:1265:19: [4] (buffer) vfscanf: 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. _GL_CXXALIAS_RPL (vfscanf, int, data/texinfo-6.7.0.dfsg.2/tp/Texinfo/XS/gnulib/lib/stdio.in.h:1268:19: [4] (buffer) vfscanf: 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. _GL_CXXALIAS_SYS (vfscanf, int, data/texinfo-6.7.0.dfsg.2/tp/Texinfo/XS/gnulib/lib/stdio.in.h:1271:19: [4] (buffer) vfscanf: 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. _GL_CXXALIASWARN (vfscanf); data/texinfo-6.7.0.dfsg.2/tp/Texinfo/XS/gnulib/lib/stdio.in.h:1278:12: [4] (format) vprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. # define vprintf rpl_vprintf data/texinfo-6.7.0.dfsg.2/tp/Texinfo/XS/gnulib/lib/stdio.in.h:1282:19: [4] (format) vprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. _GL_FUNCDECL_RPL (vprintf, int, (const char *format, va_list args) data/texinfo-6.7.0.dfsg.2/tp/Texinfo/XS/gnulib/lib/stdio.in.h:1286:19: [4] (format) vprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. _GL_FUNCDECL_RPL (vprintf, int, (const char *format, va_list args) data/texinfo-6.7.0.dfsg.2/tp/Texinfo/XS/gnulib/lib/stdio.in.h:1290:19: [4] (format) vprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. _GL_CXXALIAS_RPL (vprintf, int, (const char *format, va_list args)); data/texinfo-6.7.0.dfsg.2/tp/Texinfo/XS/gnulib/lib/stdio.in.h:1295:24: [4] (format) vprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. _GL_CXXALIAS_SYS_CAST (vprintf, int, (const char *format, va_list args)); data/texinfo-6.7.0.dfsg.2/tp/Texinfo/XS/gnulib/lib/stdio.in.h:1297:19: [4] (format) vprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. _GL_CXXALIASWARN (vprintf); data/texinfo-6.7.0.dfsg.2/tp/Texinfo/XS/gnulib/lib/stdio.in.h:1301:10: [4] (format) vprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. # undef vprintf data/texinfo-6.7.0.dfsg.2/tp/Texinfo/XS/gnulib/lib/stdio.in.h:1304:18: [4] (format) vprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. _GL_WARN_ON_USE (vprintf, "vprintf is not always POSIX compliant - " data/texinfo-6.7.0.dfsg.2/tp/Texinfo/XS/gnulib/lib/stdio.in.h:1312:11: [4] (buffer) vscanf: 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. # undef vscanf data/texinfo-6.7.0.dfsg.2/tp/Texinfo/XS/gnulib/lib/stdio.in.h:1313:12: [4] (buffer) vscanf: 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. # define vscanf rpl_vscanf data/texinfo-6.7.0.dfsg.2/tp/Texinfo/XS/gnulib/lib/stdio.in.h:1315:19: [4] (buffer) vscanf: 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. _GL_FUNCDECL_RPL (vscanf, int, (const char *format, va_list args) data/texinfo-6.7.0.dfsg.2/tp/Texinfo/XS/gnulib/lib/stdio.in.h:1318:19: [4] (buffer) vscanf: 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. _GL_CXXALIAS_RPL (vscanf, int, (const char *format, va_list args)); data/texinfo-6.7.0.dfsg.2/tp/Texinfo/XS/gnulib/lib/stdio.in.h:1320:19: [4] (buffer) vscanf: 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. _GL_CXXALIAS_SYS (vscanf, int, (const char *format, va_list args)); data/texinfo-6.7.0.dfsg.2/tp/Texinfo/XS/gnulib/lib/stdio.in.h:1322:19: [4] (buffer) vscanf: 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. _GL_CXXALIASWARN (vscanf); data/texinfo-6.7.0.dfsg.2/tp/Texinfo/XS/gnulib/lib/stdio.in.h:1328:12: [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. # define vsnprintf rpl_vsnprintf data/texinfo-6.7.0.dfsg.2/tp/Texinfo/XS/gnulib/lib/stdio.in.h:1330:19: [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. _GL_FUNCDECL_RPL (vsnprintf, int, data/texinfo-6.7.0.dfsg.2/tp/Texinfo/XS/gnulib/lib/stdio.in.h:1334:19: [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. _GL_CXXALIAS_RPL (vsnprintf, int, data/texinfo-6.7.0.dfsg.2/tp/Texinfo/XS/gnulib/lib/stdio.in.h:1338:19: [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. _GL_FUNCDECL_SYS (vsnprintf, int, data/texinfo-6.7.0.dfsg.2/tp/Texinfo/XS/gnulib/lib/stdio.in.h:1343:19: [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. _GL_CXXALIAS_SYS (vsnprintf, int, data/texinfo-6.7.0.dfsg.2/tp/Texinfo/XS/gnulib/lib/stdio.in.h:1346:19: [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. _GL_CXXALIASWARN (vsnprintf); data/texinfo-6.7.0.dfsg.2/tp/Texinfo/XS/gnulib/lib/stdio.in.h:1348:9: [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. # undef vsnprintf data/texinfo-6.7.0.dfsg.2/tp/Texinfo/XS/gnulib/lib/stdio.in.h:1350:18: [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. _GL_WARN_ON_USE (vsnprintf, "vsnprintf is unportable - " data/texinfo-6.7.0.dfsg.2/tp/Texinfo/XS/gnulib/lib/stdio.in.h:1358:12: [4] (buffer) vsprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. # define vsprintf rpl_vsprintf data/texinfo-6.7.0.dfsg.2/tp/Texinfo/XS/gnulib/lib/stdio.in.h:1360:19: [4] (buffer) vsprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. _GL_FUNCDECL_RPL (vsprintf, int, data/texinfo-6.7.0.dfsg.2/tp/Texinfo/XS/gnulib/lib/stdio.in.h:1364:19: [4] (buffer) vsprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. _GL_CXXALIAS_RPL (vsprintf, int, data/texinfo-6.7.0.dfsg.2/tp/Texinfo/XS/gnulib/lib/stdio.in.h:1370:24: [4] (buffer) vsprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. _GL_CXXALIAS_SYS_CAST (vsprintf, int, data/texinfo-6.7.0.dfsg.2/tp/Texinfo/XS/gnulib/lib/stdio.in.h:1373:19: [4] (buffer) vsprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. _GL_CXXALIASWARN (vsprintf); data/texinfo-6.7.0.dfsg.2/tp/Texinfo/XS/gnulib/lib/stdio.in.h:1375:9: [4] (buffer) vsprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. # undef vsprintf data/texinfo-6.7.0.dfsg.2/tp/Texinfo/XS/gnulib/lib/stdio.in.h:1377:18: [4] (buffer) vsprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. _GL_WARN_ON_USE (vsprintf, "vsprintf is not always POSIX compliant - " data/texinfo-6.7.0.dfsg.2/tp/Texinfo/XS/gnulib/lib/vasnprintf.c:171:20: [4] (buffer) swprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. # define SNPRINTF swprintf data/texinfo-6.7.0.dfsg.2/tp/Texinfo/XS/gnulib/lib/vasnprintf.c:189:21: [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/texinfo-6.7.0.dfsg.2/tp/Texinfo/XS/gnulib/lib/vasnprintf.c:191:11: [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. # undef snprintf data/texinfo-6.7.0.dfsg.2/tp/Texinfo/XS/gnulib/lib/vasnprintf.c:194:21: [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/texinfo-6.7.0.dfsg.2/tp/Texinfo/XS/gnulib/lib/vasnprintf.c:199:20: [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/texinfo-6.7.0.dfsg.2/tp/Texinfo/XS/gnulib/lib/vasnprintf.c:201:10: [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. # undef snprintf data/texinfo-6.7.0.dfsg.2/tp/Texinfo/XS/gnulib/lib/vasnprintf.c:205:8: [4] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. #undef sprintf data/texinfo-6.7.0.dfsg.2/tp/Texinfo/XS/gnulib/lib/vasnprintf.c:4269:39: [4] (format) sprintf: Potential format string problem (CWE-134). Make format string constant. sprintf ((char *) p, decimal_format, exponent); data/texinfo-6.7.0.dfsg.2/tp/Texinfo/XS/gnulib/lib/vasnprintf.c:4277:39: [4] (format) sprintf: Potential format string problem (CWE-134). Make format string constant. sprintf (expbuf, decimal_format, exponent); data/texinfo-6.7.0.dfsg.2/tp/Texinfo/XS/gnulib/lib/vasnprintf.c:4462:47: [4] (format) sprintf: Potential format string problem (CWE-134). Make format string constant. sprintf ((char *) p, decimal_format, exponent); data/texinfo-6.7.0.dfsg.2/tp/Texinfo/XS/gnulib/lib/vasnprintf.c:4470:47: [4] (format) sprintf: Potential format string problem (CWE-134). Make format string constant. sprintf (expbuf, decimal_format, exponent); data/texinfo-6.7.0.dfsg.2/tp/Texinfo/XS/gnulib/lib/vasnprintf.c:5001:33: [4] (format) sprintf: Potential format string problem (CWE-134). Make format string constant. count = sprintf (tmp, buf, arg); \ data/texinfo-6.7.0.dfsg.2/tp/Texinfo/XS/gnulib/lib/vasnprintf.c:5004:33: [4] (format) sprintf: Potential format string problem (CWE-134). Make format string constant. count = sprintf (tmp, buf, prefixes[0], arg); \ data/texinfo-6.7.0.dfsg.2/tp/Texinfo/XS/gnulib/lib/vasnprintf.c:5007:33: [4] (format) sprintf: Potential format string problem (CWE-134). Make format string constant. count = sprintf (tmp, buf, prefixes[0], prefixes[1],\ data/texinfo-6.7.0.dfsg.2/tp/Texinfo/XS/gnulib/lib/wchar.in.h:607:19: [4] (buffer) wcscpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using a function version that stops copying at the end of the buffer. _GL_FUNCDECL_SYS (wcscpy, wchar_t *, (wchar_t *dest, const wchar_t *src)); data/texinfo-6.7.0.dfsg.2/tp/Texinfo/XS/gnulib/lib/wchar.in.h:609:19: [4] (buffer) wcscpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using a function version that stops copying at the end of the buffer. _GL_CXXALIAS_SYS (wcscpy, wchar_t *, (wchar_t *dest, const wchar_t *src)); data/texinfo-6.7.0.dfsg.2/tp/Texinfo/XS/gnulib/lib/wchar.in.h:610:19: [4] (buffer) wcscpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using a function version that stops copying at the end of the buffer. _GL_CXXALIASWARN (wcscpy); data/texinfo-6.7.0.dfsg.2/tp/Texinfo/XS/gnulib/lib/wchar.in.h:612:9: [4] (buffer) wcscpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using a function version that stops copying at the end of the buffer. # undef wcscpy data/texinfo-6.7.0.dfsg.2/tp/Texinfo/XS/gnulib/lib/wchar.in.h:614:18: [4] (buffer) wcscpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using a function version that stops copying at the end of the buffer. _GL_WARN_ON_USE (wcscpy, "wcscpy is unportable - " data/texinfo-6.7.0.dfsg.2/tp/Texinfo/XS/gnulib/lib/wchar.in.h:676:19: [4] (buffer) wcscat: Does not check for buffer overflows when concatenating to destination [MS-banned] (CWE-120). _GL_FUNCDECL_SYS (wcscat, wchar_t *, (wchar_t *dest, const wchar_t *src)); data/texinfo-6.7.0.dfsg.2/tp/Texinfo/XS/gnulib/lib/wchar.in.h:678:19: [4] (buffer) wcscat: Does not check for buffer overflows when concatenating to destination [MS-banned] (CWE-120). _GL_CXXALIAS_SYS (wcscat, wchar_t *, (wchar_t *dest, const wchar_t *src)); data/texinfo-6.7.0.dfsg.2/tp/Texinfo/XS/gnulib/lib/wchar.in.h:679:19: [4] (buffer) wcscat: Does not check for buffer overflows when concatenating to destination [MS-banned] (CWE-120). _GL_CXXALIASWARN (wcscat); data/texinfo-6.7.0.dfsg.2/tp/Texinfo/XS/gnulib/lib/wchar.in.h:681:9: [4] (buffer) wcscat: Does not check for buffer overflows when concatenating to destination [MS-banned] (CWE-120). # undef wcscat data/texinfo-6.7.0.dfsg.2/tp/Texinfo/XS/gnulib/lib/wchar.in.h:683:18: [4] (buffer) wcscat: Does not check for buffer overflows when concatenating to destination [MS-banned] (CWE-120). _GL_WARN_ON_USE (wcscat, "wcscat is unportable - " data/texinfo-6.7.0.dfsg.2/tp/Texinfo/XS/misc.c:400: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 (new, text); data/texinfo-6.7.0.dfsg.2/tp/Texinfo/XS/parsetexi/debug.c:33:3: [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, s, v); data/texinfo-6.7.0.dfsg.2/tp/Texinfo/XS/parsetexi/debug.c:45:3: [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, s, v); data/texinfo-6.7.0.dfsg.2/tp/Texinfo/XS/parsetexi/errors.c:123:3: [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, v); data/texinfo-6.7.0.dfsg.2/tp/Texinfo/XS/ppport.h:6890:14: [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. retval = vsnprintf(buffer, len, format, ap); data/texinfo-6.7.0.dfsg.2/tp/Texinfo/XS/ppport.h:6892:14: [4] (format) vsprintf: Potential format string problem (CWE-134). Make format string constant. retval = vsprintf(buffer, format, ap); data/texinfo-6.7.0.dfsg.2/tp/Texinfo/XS/ppport.h:6921:5: [4] (format) vsprintf: Potential format string problem (CWE-134). Make format string constant. vsprintf(buffer, pat, args); data/texinfo-6.7.0.dfsg.2/tp/Texinfo/XS/xspara.c:230:8: [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. #ifdef popen data/texinfo-6.7.0.dfsg.2/tp/Texinfo/XS/xspara.c:231:9: [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. # undef popen data/texinfo-6.7.0.dfsg.2/tp/Texinfo/XS/xspara.c:232:10: [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. # define popen(c,m) _popen(c,m) data/texinfo-6.7.0.dfsg.2/tp/Texinfo/XS/xspara.c:294:7: [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. p = popen ("locale -a", "r"); data/texinfo-6.7.0.dfsg.2/gnulib/lib/getopt-core.h:91:12: [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. extern int getopt (int ___argc, char *const *___argv, const char *__shortopts) data/texinfo-6.7.0.dfsg.2/gnulib/lib/getopt-ext.h:66:12: [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. extern int getopt_long (int ___argc, char *__getopt_argv_const *___argv, data/texinfo-6.7.0.dfsg.2/gnulib/lib/getopt-pfx-core.h:40:9: [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. # undef getopt data/texinfo-6.7.0.dfsg.2/gnulib/lib/getopt-pfx-core.h:45:10: [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. # define getopt __GETOPT_ID (getopt) data/texinfo-6.7.0.dfsg.2/gnulib/lib/getopt-pfx-core.h:45:30: [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. # define getopt __GETOPT_ID (getopt) data/texinfo-6.7.0.dfsg.2/gnulib/lib/getopt-pfx-ext.h:40:9: [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. # undef getopt_long data/texinfo-6.7.0.dfsg.2/gnulib/lib/getopt-pfx-ext.h:44:10: [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. # define getopt_long __GETOPT_ID (getopt_long) data/texinfo-6.7.0.dfsg.2/gnulib/lib/getopt-pfx-ext.h:44:35: [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. # define getopt_long __GETOPT_ID (getopt_long) data/texinfo-6.7.0.dfsg.2/gnulib/lib/getopt.c:405:33: [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. else if (posixly_correct || !!getenv ("POSIXLY_CORRECT")) data/texinfo-6.7.0.dfsg.2/gnulib/lib/getopt.c:736:14: [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. GETOPT_ENTRY(getopt, 0) data/texinfo-6.7.0.dfsg.2/gnulib/lib/getopt.c:739:14: [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. GETOPT_ENTRY(getopt, 1) data/texinfo-6.7.0.dfsg.2/gnulib/lib/getopt.c:758:11: [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. c = getopt (argc, argv, "abc:d:0123456789"); data/texinfo-6.7.0.dfsg.2/gnulib/lib/getopt1.c:28:1: [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. getopt_long (int argc, char *__getopt_argv_const *argv, const char *options, data/texinfo-6.7.0.dfsg.2/gnulib/lib/getopt1.c:94:11: [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. c = getopt_long (argc, argv, "abc:d:0123456789", data/texinfo-6.7.0.dfsg.2/gnulib/lib/localcharset.c:846:16: [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. locale = getenv ("LC_ALL"); data/texinfo-6.7.0.dfsg.2/gnulib/lib/localcharset.c:849:20: [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. locale = getenv ("LC_CTYPE"); data/texinfo-6.7.0.dfsg.2/gnulib/lib/localcharset.c:851:22: [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. locale = getenv ("LANG"); data/texinfo-6.7.0.dfsg.2/gnulib/lib/localcharset.c:947:12: [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. locale = getenv ("LC_ALL"); data/texinfo-6.7.0.dfsg.2/gnulib/lib/localcharset.c:950:16: [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. locale = getenv ("LC_CTYPE"); data/texinfo-6.7.0.dfsg.2/gnulib/lib/localcharset.c:952:18: [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. locale = getenv ("LANG"); data/texinfo-6.7.0.dfsg.2/gnulib/lib/localcharset.c:1071:16: [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. locale = getenv ("LC_ALL"); data/texinfo-6.7.0.dfsg.2/gnulib/lib/localcharset.c:1074:20: [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. locale = getenv ("LC_CTYPE"); data/texinfo-6.7.0.dfsg.2/gnulib/lib/localcharset.c:1076:22: [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. locale = getenv ("LANG"); data/texinfo-6.7.0.dfsg.2/gnulib/lib/stdlib.in.h:587:11: [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. # undef random data/texinfo-6.7.0.dfsg.2/gnulib/lib/stdlib.in.h:588:12: [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. # define random rpl_random data/texinfo-6.7.0.dfsg.2/gnulib/lib/stdlib.in.h:590:19: [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. _GL_FUNCDECL_RPL (random, long, (void)); data/texinfo-6.7.0.dfsg.2/gnulib/lib/stdlib.in.h:591:19: [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. _GL_CXXALIAS_RPL (random, long, (void)); data/texinfo-6.7.0.dfsg.2/gnulib/lib/stdlib.in.h:594:19: [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. _GL_FUNCDECL_SYS (random, long, (void)); data/texinfo-6.7.0.dfsg.2/gnulib/lib/stdlib.in.h:596:19: [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. _GL_CXXALIAS_SYS (random, long, (void)); data/texinfo-6.7.0.dfsg.2/gnulib/lib/stdlib.in.h:598:19: [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. _GL_CXXALIASWARN (random); data/texinfo-6.7.0.dfsg.2/gnulib/lib/stdlib.in.h:600:9: [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. # undef random data/texinfo-6.7.0.dfsg.2/gnulib/lib/stdlib.in.h:602: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. _GL_WARN_ON_USE (random, "random is unportable - " data/texinfo-6.7.0.dfsg.2/gnulib/lib/stdlib.in.h:610:11: [3] (random) srandom: 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. # undef srandom data/texinfo-6.7.0.dfsg.2/gnulib/lib/stdlib.in.h:611:12: [3] (random) srandom: 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. # define srandom rpl_srandom data/texinfo-6.7.0.dfsg.2/gnulib/lib/stdlib.in.h:613:19: [3] (random) srandom: 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. _GL_FUNCDECL_RPL (srandom, void, (unsigned int seed)); data/texinfo-6.7.0.dfsg.2/gnulib/lib/stdlib.in.h:614:19: [3] (random) srandom: 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. _GL_CXXALIAS_RPL (srandom, void, (unsigned int seed)); data/texinfo-6.7.0.dfsg.2/gnulib/lib/stdlib.in.h:617:19: [3] (random) srandom: 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. _GL_FUNCDECL_SYS (srandom, void, (unsigned int seed)); data/texinfo-6.7.0.dfsg.2/gnulib/lib/stdlib.in.h:619:19: [3] (random) srandom: 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. _GL_CXXALIAS_SYS (srandom, void, (unsigned int seed)); data/texinfo-6.7.0.dfsg.2/gnulib/lib/stdlib.in.h:621:19: [3] (random) srandom: 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. _GL_CXXALIASWARN (srandom); data/texinfo-6.7.0.dfsg.2/gnulib/lib/stdlib.in.h:623:9: [3] (random) srandom: 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. # undef srandom data/texinfo-6.7.0.dfsg.2/gnulib/lib/stdlib.in.h:625:18: [3] (random) srandom: 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. _GL_WARN_ON_USE (srandom, "srandom is unportable - " data/texinfo-6.7.0.dfsg.2/gnulib/lib/stdlib.in.h:662:11: [3] (random) setstate: 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. # undef setstate data/texinfo-6.7.0.dfsg.2/gnulib/lib/stdlib.in.h:663:12: [3] (random) setstate: 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. # define setstate rpl_setstate data/texinfo-6.7.0.dfsg.2/gnulib/lib/stdlib.in.h:665:19: [3] (random) setstate: 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. _GL_FUNCDECL_RPL (setstate, char *, (char *arg_state) _GL_ARG_NONNULL ((1))); data/texinfo-6.7.0.dfsg.2/gnulib/lib/stdlib.in.h:666:19: [3] (random) setstate: 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. _GL_CXXALIAS_RPL (setstate, char *, (char *arg_state)); data/texinfo-6.7.0.dfsg.2/gnulib/lib/stdlib.in.h:669:19: [3] (random) setstate: 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. _GL_FUNCDECL_SYS (setstate, char *, (char *arg_state) _GL_ARG_NONNULL ((1))); data/texinfo-6.7.0.dfsg.2/gnulib/lib/stdlib.in.h:671:19: [3] (random) setstate: 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. _GL_CXXALIAS_SYS (setstate, char *, (char *arg_state)); data/texinfo-6.7.0.dfsg.2/gnulib/lib/stdlib.in.h:673:19: [3] (random) setstate: 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. _GL_CXXALIASWARN (setstate); data/texinfo-6.7.0.dfsg.2/gnulib/lib/stdlib.in.h:675:9: [3] (random) setstate: 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. # undef setstate data/texinfo-6.7.0.dfsg.2/gnulib/lib/stdlib.in.h:677:18: [3] (random) setstate: 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. _GL_WARN_ON_USE (setstate, "setstate is unportable - " data/texinfo-6.7.0.dfsg.2/gnulib/lib/stdlib.in.h:840:12: [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. # define realpath rpl_realpath data/texinfo-6.7.0.dfsg.2/gnulib/lib/stdlib.in.h:842:19: [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. _GL_FUNCDECL_RPL (realpath, char *, (const char *name, char *resolved) data/texinfo-6.7.0.dfsg.2/gnulib/lib/stdlib.in.h:844:19: [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. _GL_CXXALIAS_RPL (realpath, char *, (const char *name, char *resolved)); data/texinfo-6.7.0.dfsg.2/gnulib/lib/stdlib.in.h:847:19: [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. _GL_FUNCDECL_SYS (realpath, char *, (const char *name, char *resolved) data/texinfo-6.7.0.dfsg.2/gnulib/lib/stdlib.in.h:850:19: [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. _GL_CXXALIAS_SYS (realpath, char *, (const char *name, char *resolved)); data/texinfo-6.7.0.dfsg.2/gnulib/lib/stdlib.in.h:852:19: [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. _GL_CXXALIASWARN (realpath); data/texinfo-6.7.0.dfsg.2/gnulib/lib/stdlib.in.h:854:9: [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. # undef realpath data/texinfo-6.7.0.dfsg.2/gnulib/lib/stdlib.in.h:856:18: [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. _GL_WARN_ON_USE (realpath, "realpath is unportable - use gnulib module " data/texinfo-6.7.0.dfsg.2/gnulib/lib/windows-mutex.c:30:3: [3] (misc) InitializeCriticalSection: Exceptions can be thrown in low-memory situations. Use InitializeCriticalSectionAndSpinCount instead. InitializeCriticalSection (&mutex->lock); data/texinfo-6.7.0.dfsg.2/gnulib/lib/windows-mutex.c:52:3: [3] (misc) EnterCriticalSection: On some versions of Windows, exceptions can be thrown in low-memory situations. Use InitializeCriticalSectionAndSpinCount instead. EnterCriticalSection (&mutex->lock); data/texinfo-6.7.0.dfsg.2/gnulib/lib/windows-once.c:35:11: [3] (misc) InitializeCriticalSection: Exceptions can be thrown in low-memory situations. Use InitializeCriticalSectionAndSpinCount instead. InitializeCriticalSection (&once_control->lock); data/texinfo-6.7.0.dfsg.2/gnulib/lib/windows-once.c:36:11: [3] (misc) EnterCriticalSection: On some versions of Windows, exceptions can be thrown in low-memory situations. Use InitializeCriticalSectionAndSpinCount instead. EnterCriticalSection (&once_control->lock); data/texinfo-6.7.0.dfsg.2/gnulib/lib/windows-once.c:55:15: [3] (misc) EnterCriticalSection: On some versions of Windows, exceptions can be thrown in low-memory situations. Use InitializeCriticalSectionAndSpinCount instead. EnterCriticalSection (&once_control->lock); data/texinfo-6.7.0.dfsg.2/gnulib/lib/windows-recmutex.c:32:3: [3] (misc) InitializeCriticalSection: Exceptions can be thrown in low-memory situations. Use InitializeCriticalSectionAndSpinCount instead. InitializeCriticalSection (&mutex->lock); data/texinfo-6.7.0.dfsg.2/gnulib/lib/windows-recmutex.c:58:9: [3] (misc) EnterCriticalSection: On some versions of Windows, exceptions can be thrown in low-memory situations. Use InitializeCriticalSectionAndSpinCount instead. EnterCriticalSection (&mutex->lock); data/texinfo-6.7.0.dfsg.2/gnulib/lib/windows-rwlock.c:122:3: [3] (misc) InitializeCriticalSection: Exceptions can be thrown in low-memory situations. Use InitializeCriticalSectionAndSpinCount instead. InitializeCriticalSection (&lock->lock); data/texinfo-6.7.0.dfsg.2/gnulib/lib/windows-rwlock.c:147:3: [3] (misc) EnterCriticalSection: On some versions of Windows, exceptions can be thrown in low-memory situations. Use InitializeCriticalSectionAndSpinCount instead. EnterCriticalSection (&lock->lock); data/texinfo-6.7.0.dfsg.2/gnulib/lib/windows-rwlock.c:179:15: [3] (misc) EnterCriticalSection: On some versions of Windows, exceptions can be thrown in low-memory situations. Use InitializeCriticalSectionAndSpinCount instead. EnterCriticalSection (&lock->lock); data/texinfo-6.7.0.dfsg.2/gnulib/lib/windows-rwlock.c:207:3: [3] (misc) EnterCriticalSection: On some versions of Windows, exceptions can be thrown in low-memory situations. Use InitializeCriticalSectionAndSpinCount instead. EnterCriticalSection (&lock->lock); data/texinfo-6.7.0.dfsg.2/gnulib/lib/windows-rwlock.c:236:15: [3] (misc) EnterCriticalSection: On some versions of Windows, exceptions can be thrown in low-memory situations. Use InitializeCriticalSectionAndSpinCount instead. EnterCriticalSection (&lock->lock); data/texinfo-6.7.0.dfsg.2/gnulib/lib/windows-rwlock.c:266:3: [3] (misc) EnterCriticalSection: On some versions of Windows, exceptions can be thrown in low-memory situations. Use InitializeCriticalSectionAndSpinCount instead. EnterCriticalSection (&lock->lock); data/texinfo-6.7.0.dfsg.2/gnulib/lib/windows-rwlock.c:302:3: [3] (misc) EnterCriticalSection: On some versions of Windows, exceptions can be thrown in low-memory situations. Use InitializeCriticalSectionAndSpinCount instead. EnterCriticalSection (&lock->lock); data/texinfo-6.7.0.dfsg.2/gnulib/lib/windows-rwlock.c:320:3: [3] (misc) EnterCriticalSection: On some versions of Windows, exceptions can be thrown in low-memory situations. Use InitializeCriticalSectionAndSpinCount instead. EnterCriticalSection (&lock->lock); data/texinfo-6.7.0.dfsg.2/info/info.c:696:26: [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. option_character = getopt_long (argc, argv, short_options, long_options, data/texinfo-6.7.0.dfsg.2/info/infomap.c:564:23: [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. else if ((homedir = getenv ("HOME")) != NULL data/texinfo-6.7.0.dfsg.2/info/infomap.c:566:20: [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. || (homedir = getenv ("USERPROFILE")) != NULL data/texinfo-6.7.0.dfsg.2/info/infopath.c:47: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. char *path_from_env = getenv ("INFOPATH"); data/texinfo-6.7.0.dfsg.2/info/infopath.c:116:19: [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. path_from_env = getenv ("PATH"); data/texinfo-6.7.0.dfsg.2/info/man.c:173:23: [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 *man_command = getenv ("INFO_MAN_COMMAND"); data/texinfo-6.7.0.dfsg.2/info/man.c:175:56: [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. executable_file_in_path ("man", getenv ("PATH")); data/texinfo-6.7.0.dfsg.2/info/pcterm.c:989:7: [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 ("LINES") != NULL) data/texinfo-6.7.0.dfsg.2/info/pcterm.c:990: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. screenheight = atoi (getenv ("LINES")); data/texinfo-6.7.0.dfsg.2/info/pcterm.c:993:7: [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 ("INFO_LINES") != NULL) data/texinfo-6.7.0.dfsg.2/info/pcterm.c:994: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. screenheight = atoi (getenv ("INFO_LINES")); data/texinfo-6.7.0.dfsg.2/info/pcterm.c:1163:19: [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. term_name = getenv ("TERM"); data/texinfo-6.7.0.dfsg.2/info/pcterm.c:1190:17: [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. info_colors = getenv ("INFO_COLORS"); data/texinfo-6.7.0.dfsg.2/info/pcterm.c:1651:14: [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. shell = getenv ("SHELL"); data/texinfo-6.7.0.dfsg.2/info/pcterm.c:1654: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. shell = getenv ("COMSPEC"); data/texinfo-6.7.0.dfsg.2/info/session.c:268:21: [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 *term_name = getenv ("TERM"); data/texinfo-6.7.0.dfsg.2/info/session.c:281: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. char *term_name = getenv ("TERM"); data/texinfo-6.7.0.dfsg.2/info/session.c:3834: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. char *print_command = getenv ("INFO_PRINT_COMMAND"); data/texinfo-6.7.0.dfsg.2/info/terminal.c:910:47: [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. term_name = terminal_name ? terminal_name : getenv ("TERM"); data/texinfo-6.7.0.dfsg.2/info/terminal.c:914: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. env_lines = getenv ("LINES"); data/texinfo-6.7.0.dfsg.2/info/terminal.c:915:17: [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_columns = getenv ("COLUMNS"); data/texinfo-6.7.0.dfsg.2/info/tilde.c:36:29: [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 *temp_home = getenv ("HOME"); data/texinfo-6.7.0.dfsg.2/install-info/install-info.c:1966:17: [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 opt = getopt_long (argc, argv, data/texinfo-6.7.0.dfsg.2/install-info/install-info.c:2424:29: [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 *no_indent = getenv ("INSTALL_INFO_NO_INDENT"); data/texinfo-6.7.0.dfsg.2/contrib/deref.c:74:21: [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 if ((fp = fopen(*argv, "r")) != NULL) { data/texinfo-6.7.0.dfsg.2/contrib/deref.c:107:2: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-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[BUFSIZ]; data/texinfo-6.7.0.dfsg.2/contrib/deref.c:198: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. static char buf[100]; data/texinfo-6.7.0.dfsg.2/contrib/deref.c:205:2: [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, "unknown error %d", errno); data/texinfo-6.7.0.dfsg.2/gnulib/lib/argz.c:36: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 (new_argz + *argz_len, buf, buf_len); data/texinfo-6.7.0.dfsg.2/gnulib/lib/btowc.c:31: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[1]; data/texinfo-6.7.0.dfsg.2/gnulib/lib/dirname-lgpl.c:81: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 (dir, file, length); data/texinfo-6.7.0.dfsg.2/gnulib/lib/error.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 errbuf[1024]; data/texinfo-6.7.0.dfsg.2/gnulib/lib/getprogname.c:152: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 status64[1216]; data/texinfo-6.7.0.dfsg.2/gnulib/lib/getprogname.c:222:3: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-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[50]; data/texinfo-6.7.0.dfsg.2/gnulib/lib/getprogname.c:225: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 (filename, "/proc/pinfo/%d", (int) getpid ()); data/texinfo-6.7.0.dfsg.2/gnulib/lib/getprogname.c:226:8: [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 (filename, O_RDONLY); data/texinfo-6.7.0.dfsg.2/gnulib/lib/getprogname.c:243:22: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. return memcpy (namecopy, name, namelen); data/texinfo-6.7.0.dfsg.2/gnulib/lib/gettext.h:227:3: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-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_ctxt_id[msgctxt_len + msgid_len]; data/texinfo-6.7.0.dfsg.2/gnulib/lib/gettext.h: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 buf[1024]; data/texinfo-6.7.0.dfsg.2/gnulib/lib/gettext.h:238: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 (msg_ctxt_id, msgctxt, msgctxt_len - 1); data/texinfo-6.7.0.dfsg.2/gnulib/lib/gettext.h:240: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 (msg_ctxt_id + msgctxt_len, msgid, msgid_len); data/texinfo-6.7.0.dfsg.2/gnulib/lib/gettext.h: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 msg_ctxt_id[msgctxt_len + msgid_len]; data/texinfo-6.7.0.dfsg.2/gnulib/lib/gettext.h:277:3: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-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/texinfo-6.7.0.dfsg.2/gnulib/lib/gettext.h:286: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 (msg_ctxt_id, msgctxt, msgctxt_len - 1); data/texinfo-6.7.0.dfsg.2/gnulib/lib/gettext.h:288: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 (msg_ctxt_id + msgctxt_len, msgid, msgid_len); data/texinfo-6.7.0.dfsg.2/gnulib/lib/localcharset.c:85: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 alias[11+1]; data/texinfo-6.7.0.dfsg.2/gnulib/lib/localcharset.c:86: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 canonical[11+1]; data/texinfo-6.7.0.dfsg.2/gnulib/lib/localcharset.c:577: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 locale[17+1]; data/texinfo-6.7.0.dfsg.2/gnulib/lib/localcharset.c:578: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 canonical[11+1]; data/texinfo-6.7.0.dfsg.2/gnulib/lib/localcharset.c:844: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 buf[2 + 10 + 1]; data/texinfo-6.7.0.dfsg.2/gnulib/lib/localcharset.c:870:19: [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 (buf, dot, modifier - dot); data/texinfo-6.7.0.dfsg.2/gnulib/lib/localcharset.c:888: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 (buf, "CP%u", GetACP ()); data/texinfo-6.7.0.dfsg.2/gnulib/lib/localcharset.c:899: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[2 + 10 + 1]; data/texinfo-6.7.0.dfsg.2/gnulib/lib/localcharset.c:927: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 (buf, "CP%u", GetACP ()); data/texinfo-6.7.0.dfsg.2/gnulib/lib/localcharset.c:939: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[2 + 10 + 1]; data/texinfo-6.7.0.dfsg.2/gnulib/lib/localcharset.c:970:15: [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 (buf, dot, modifier - dot); data/texinfo-6.7.0.dfsg.2/gnulib/lib/localcharset.c:988: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 (buf, "CP%u", cp[0]); data/texinfo-6.7.0.dfsg.2/gnulib/lib/mbchar.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 buf[MBCHAR_BUF_SIZE]; /* room for the bytes, used for file input only */ data/texinfo-6.7.0.dfsg.2/gnulib/lib/mbchar.h:272: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 (&new_mbc->buf[0], &old_mbc->buf[0], old_mbc->bytes); data/texinfo-6.7.0.dfsg.2/gnulib/lib/mbiter.h:195: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 (&new_iter->state, &old_iter->state, sizeof (mbstate_t)); data/texinfo-6.7.0.dfsg.2/gnulib/lib/mbrtowc.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 internal_state[4]; data/texinfo-6.7.0.dfsg.2/gnulib/lib/mbrtowc.c:125: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[4]; data/texinfo-6.7.0.dfsg.2/gnulib/lib/mbsstr.c:265:19: [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 (&rhaystack, &iter_haystack, sizeof (mbui_iterator_t)); data/texinfo-6.7.0.dfsg.2/gnulib/lib/mbuiter.h:202: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 (&new_iter->state, &old_iter->state, sizeof (mbstate_t)); data/texinfo-6.7.0.dfsg.2/gnulib/lib/mempcpy.c:27:19: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. return (char *) memcpy (dest, src, n) + n; data/texinfo-6.7.0.dfsg.2/gnulib/lib/nl_langinfo.c:37: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[2 + 10 + 1]; data/texinfo-6.7.0.dfsg.2/gnulib/lib/nl_langinfo.c:61:29: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. codeset = memcpy (buf, codeset_start, codesetlen); data/texinfo-6.7.0.dfsg.2/gnulib/lib/nl_langinfo.c:78: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 + 2, "%u", GetACP ()); data/texinfo-6.7.0.dfsg.2/gnulib/lib/nl_langinfo.c:84:12: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. return memcpy (buf, "CP", 2); data/texinfo-6.7.0.dfsg.2/gnulib/lib/nl_langinfo.c:178: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 nlbuf[100]; data/texinfo-6.7.0.dfsg.2/gnulib/lib/nl_langinfo.c:240:19: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. return (char *) days[item - DAY_1]; data/texinfo-6.7.0.dfsg.2/gnulib/lib/nl_langinfo.c:256:19: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. return (char *) abdays[item - ABDAY_1]; data/texinfo-6.7.0.dfsg.2/gnulib/lib/nl_langinfo.c:278:19: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. return (char *) months[item - MON_1]; data/texinfo-6.7.0.dfsg.2/gnulib/lib/nl_langinfo.c:299: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. return (char *) months[item - ALTMON_1]; data/texinfo-6.7.0.dfsg.2/gnulib/lib/nl_langinfo.c:321:19: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. return (char *) abmonths[item - ABMON_1]; data/texinfo-6.7.0.dfsg.2/gnulib/lib/printf-parse.c:122:11: [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 (memory, a->arg, a->count * sizeof (argument)); \ data/texinfo-6.7.0.dfsg.2/gnulib/lib/printf-parse.c:599:17: [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 (memory, d->dir, d->count * sizeof (DIRECTIVE)); data/texinfo-6.7.0.dfsg.2/gnulib/lib/regcomp.c:312: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. unsigned char buf[MB_LEN_MAX]; data/texinfo-6.7.0.dfsg.2/gnulib/lib/regcomp.c:395: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/texinfo-6.7.0.dfsg.2/gnulib/lib/regcomp.c:545: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 (errbuf, msg, cpy_size); data/texinfo-6.7.0.dfsg.2/gnulib/lib/regcomp.c:3176:16: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (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 start_name_buf[BRACKET_NAME_BUF_SIZE]; data/texinfo-6.7.0.dfsg.2/gnulib/lib/regcomp.c:3177:16: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (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 end_name_buf[BRACKET_NAME_BUF_SIZE]; data/texinfo-6.7.0.dfsg.2/gnulib/lib/regcomp.c:3499:16: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (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 char_buf[2]; data/texinfo-6.7.0.dfsg.2/gnulib/lib/regex.h:644: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. const char *_Restrict_ __String, size_t __nmatch, data/texinfo-6.7.0.dfsg.2/gnulib/lib/regex_internal.c:214: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 buf[MB_LEN_MAX]; data/texinfo-6.7.0.dfsg.2/gnulib/lib/regex_internal.c:217: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 buf[64]; data/texinfo-6.7.0.dfsg.2/gnulib/lib/regex_internal.c:287:3: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-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[MB_LEN_MAX]; data/texinfo-6.7.0.dfsg.2/gnulib/lib/regex_internal.c:290:3: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-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[64]; data/texinfo-6.7.0.dfsg.2/gnulib/lib/regex_internal.c:331: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 (pstr->mbs + byte_idx, buf, mbclen); data/texinfo-6.7.0.dfsg.2/gnulib/lib/regex_internal.c:339: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 (pstr->mbs + byte_idx, data/texinfo-6.7.0.dfsg.2/gnulib/lib/regex_internal.c:400: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 (pstr->mbs + byte_idx, buf, mbclen); data/texinfo-6.7.0.dfsg.2/gnulib/lib/regex_internal.c:425: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 (pstr->mbs + byte_idx, buf, mbcdlen); data/texinfo-6.7.0.dfsg.2/gnulib/lib/regex_internal.c:444: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 (pstr->mbs + byte_idx, p, mbclen); data/texinfo-6.7.0.dfsg.2/gnulib/lib/regex_internal.c:447:8: [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 (pstr->mbs + byte_idx, p, mbclen); data/texinfo-6.7.0.dfsg.2/gnulib/lib/regex_internal.c:741: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. unsigned char buf[6]; data/texinfo-6.7.0.dfsg.2/gnulib/lib/regex_internal.c:1044: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 (dest->elems, src->elems, src->nelem * sizeof (Idx)); data/texinfo-6.7.0.dfsg.2/gnulib/lib/regex_internal.c:1138: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 (dest->elems, dest->elems + sbase, delta * sizeof (Idx)); data/texinfo-6.7.0.dfsg.2/gnulib/lib/regex_internal.c:1182: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 (dest->elems + id, src1->elems + i1, data/texinfo-6.7.0.dfsg.2/gnulib/lib/regex_internal.c:1188: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 (dest->elems + id, src2->elems + i2, data/texinfo-6.7.0.dfsg.2/gnulib/lib/regex_internal.c:1219: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 (dest->elems, src->elems, src->nelem * sizeof (Idx)); data/texinfo-6.7.0.dfsg.2/gnulib/lib/regex_internal.c:1240: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 (dest->elems + sbase, src->elems, (is + 1) * sizeof (Idx)); data/texinfo-6.7.0.dfsg.2/gnulib/lib/regex_internal.c:1268:8: [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 (dest->elems, dest->elems + sbase, data/texinfo-6.7.0.dfsg.2/gnulib/lib/regex_internal.h:781: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 (dest, src, sizeof (bitset_t)); data/texinfo-6.7.0.dfsg.2/gnulib/lib/regexec.c:344:2: [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 (__mempcpy (s, string1, length1), string2, length2); data/texinfo-6.7.0.dfsg.2/gnulib/lib/regexec.c:346:2: [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, string1, length1); data/texinfo-6.7.0.dfsg.2/gnulib/lib/regexec.c:347:2: [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 + length1, string2, length2); data/texinfo-6.7.0.dfsg.2/gnulib/lib/regexec.c:1355: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 (fs->stack[num].regs, regs, sizeof (regmatch_t) * nregs); data/texinfo-6.7.0.dfsg.2/gnulib/lib/regexec.c:1367: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 (regs, fs->stack[num].regs, sizeof (regmatch_t) * nregs); data/texinfo-6.7.0.dfsg.2/gnulib/lib/regexec.c:1421: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 (prev_idx_match, pmatch, sizeof (regmatch_t) * nmatch); data/texinfo-6.7.0.dfsg.2/gnulib/lib/regexec.c:1529:8: [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 (prev_idx_match, pmatch, sizeof (regmatch_t) * nmatch); data/texinfo-6.7.0.dfsg.2/gnulib/lib/regexec.c:1540: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 (pmatch, prev_idx_match, sizeof (regmatch_t) * nmatch); data/texinfo-6.7.0.dfsg.2/gnulib/lib/stdio.in.h:290: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). # undef fopen data/texinfo-6.7.0.dfsg.2/gnulib/lib/stdio.in.h:291: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). # define fopen rpl_fopen data/texinfo-6.7.0.dfsg.2/gnulib/lib/stdio.in.h:293:19: [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). _GL_FUNCDECL_RPL (fopen, FILE *, (const char *filename, const char *mode) data/texinfo-6.7.0.dfsg.2/gnulib/lib/stdio.in.h:295:19: [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). _GL_CXXALIAS_RPL (fopen, FILE *, (const char *filename, const char *mode)); data/texinfo-6.7.0.dfsg.2/gnulib/lib/stdio.in.h:297:19: [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). _GL_CXXALIAS_SYS (fopen, FILE *, (const char *filename, const char *mode)); data/texinfo-6.7.0.dfsg.2/gnulib/lib/stdio.in.h:299:19: [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). _GL_CXXALIASWARN (fopen); data/texinfo-6.7.0.dfsg.2/gnulib/lib/stdio.in.h:301: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). # undef fopen data/texinfo-6.7.0.dfsg.2/gnulib/lib/stdio.in.h:303: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). _GL_WARN_ON_USE (fopen, "fopen on native Windows platforms is not POSIX compliant - " data/texinfo-6.7.0.dfsg.2/gnulib/lib/stdio.in.h:1125:12: [2] (tmpfile) tmpfile: Function tmpfile() has a security flaw on some systems (e.g., older System V systems) (CWE-377). # define tmpfile rpl_tmpfile data/texinfo-6.7.0.dfsg.2/gnulib/lib/stdio.in.h:1127:19: [2] (tmpfile) tmpfile: Function tmpfile() has a security flaw on some systems (e.g., older System V systems) (CWE-377). _GL_FUNCDECL_RPL (tmpfile, FILE *, (void)); data/texinfo-6.7.0.dfsg.2/gnulib/lib/stdio.in.h:1128:19: [2] (tmpfile) tmpfile: Function tmpfile() has a security flaw on some systems (e.g., older System V systems) (CWE-377). _GL_CXXALIAS_RPL (tmpfile, FILE *, (void)); data/texinfo-6.7.0.dfsg.2/gnulib/lib/stdio.in.h:1130:19: [2] (tmpfile) tmpfile: Function tmpfile() has a security flaw on some systems (e.g., older System V systems) (CWE-377). _GL_CXXALIAS_SYS (tmpfile, FILE *, (void)); data/texinfo-6.7.0.dfsg.2/gnulib/lib/stdio.in.h:1132:19: [2] (tmpfile) tmpfile: Function tmpfile() has a security flaw on some systems (e.g., older System V systems) (CWE-377). _GL_CXXALIASWARN (tmpfile); data/texinfo-6.7.0.dfsg.2/gnulib/lib/stdio.in.h:1134:9: [2] (tmpfile) tmpfile: Function tmpfile() has a security flaw on some systems (e.g., older System V systems) (CWE-377). # undef tmpfile data/texinfo-6.7.0.dfsg.2/gnulib/lib/stdio.in.h:1136:18: [2] (tmpfile) tmpfile: Function tmpfile() has a security flaw on some systems (e.g., older System V systems) (CWE-377). _GL_WARN_ON_USE (tmpfile, "tmpfile is not usable on mingw - " data/texinfo-6.7.0.dfsg.2/gnulib/lib/stdlib.in.h:411:12: [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). # define mkstemp rpl_mkstemp data/texinfo-6.7.0.dfsg.2/gnulib/lib/stdlib.in.h:413:19: [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). _GL_FUNCDECL_RPL (mkstemp, int, (char * /*template*/) _GL_ARG_NONNULL ((1))); data/texinfo-6.7.0.dfsg.2/gnulib/lib/stdlib.in.h:414:19: [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). _GL_CXXALIAS_RPL (mkstemp, int, (char * /*template*/)); data/texinfo-6.7.0.dfsg.2/gnulib/lib/stdlib.in.h:417:19: [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). _GL_FUNCDECL_SYS (mkstemp, int, (char * /*template*/) _GL_ARG_NONNULL ((1))); data/texinfo-6.7.0.dfsg.2/gnulib/lib/stdlib.in.h:419:19: [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). _GL_CXXALIAS_SYS (mkstemp, int, (char * /*template*/)); data/texinfo-6.7.0.dfsg.2/gnulib/lib/stdlib.in.h:421:19: [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). _GL_CXXALIASWARN (mkstemp); data/texinfo-6.7.0.dfsg.2/gnulib/lib/stdlib.in.h:423:9: [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). # undef mkstemp data/texinfo-6.7.0.dfsg.2/gnulib/lib/stdlib.in.h:425:18: [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). _GL_WARN_ON_USE (mkstemp, "mkstemp is unportable - " data/texinfo-6.7.0.dfsg.2/gnulib/lib/strdup.c:47:19: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. return (char *) memcpy (new, s, len); data/texinfo-6.7.0.dfsg.2/gnulib/lib/strerror.c:39: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[STACKBUF_LEN]; data/texinfo-6.7.0.dfsg.2/gnulib/lib/strerror.c:69: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 (buf, msg, len + 1); data/texinfo-6.7.0.dfsg.2/gnulib/lib/strndup.c:35:10: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. return memcpy (new, s, len); data/texinfo-6.7.0.dfsg.2/gnulib/lib/uniwidth/width.c:35: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 nonspacing_table_data[38*64] = { data/texinfo-6.7.0.dfsg.2/gnulib/lib/uniwidth/width.c:379: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. static const signed char nonspacing_table_ind[248] = { data/texinfo-6.7.0.dfsg.2/gnulib/lib/vasnprintf.c:151: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. # define DCHAR_CPY memcpy data/texinfo-6.7.0.dfsg.2/gnulib/lib/vasnprintf.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 pointbuf[5]; data/texinfo-6.7.0.dfsg.2/gnulib/lib/vasnprintf.c:296: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 (pointbuf, "%#.0f", 1.0); data/texinfo-6.7.0.dfsg.2/gnulib/lib/vasnprintf.c:520: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 (r_ptr, a_ptr, a_len * sizeof (mp_limb_t)); data/texinfo-6.7.0.dfsg.2/gnulib/lib/vasnprintf.c:656:11: [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 (r_ptr, a_ptr, a_len * sizeof (mp_limb_t)); data/texinfo-6.7.0.dfsg.2/gnulib/lib/vasnprintf.c:2677:27: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-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[64]; /* Assume MB_CUR_MAX <= 64. */ data/texinfo-6.7.0.dfsg.2/gnulib/lib/vasnprintf.c:2722:27: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-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[64]; /* Assume MB_CUR_MAX <= 64. */ data/texinfo-6.7.0.dfsg.2/gnulib/lib/vasnprintf.c:2772: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. char cbuf[64]; /* Assume MB_CUR_MAX <= 64. */ data/texinfo-6.7.0.dfsg.2/gnulib/lib/vasnprintf.c:2785:25: [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 (tmpptr, cbuf, count); data/texinfo-6.7.0.dfsg.2/gnulib/lib/vasnprintf.c:2853:27: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-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[64]; /* Assume MB_CUR_MAX <= 64. */ data/texinfo-6.7.0.dfsg.2/gnulib/lib/vasnprintf.c:2866:27: [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 (result + length, cbuf, count); data/texinfo-6.7.0.dfsg.2/gnulib/lib/vasnprintf.c:2882:27: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-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[64]; /* Assume MB_CUR_MAX <= 64. */ data/texinfo-6.7.0.dfsg.2/gnulib/lib/vasnprintf.c:2904:27: [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 (result + length, cbuf, count); data/texinfo-6.7.0.dfsg.2/gnulib/lib/vasnprintf.c:3185: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. sprintf ((char *) p, "%+d", exponent); data/texinfo-6.7.0.dfsg.2/gnulib/lib/vasnprintf.c:3191:35: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char expbuf[6 + 1]; data/texinfo-6.7.0.dfsg.2/gnulib/lib/vasnprintf.c:3193: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. sprintf (expbuf, "%+d", exponent); data/texinfo-6.7.0.dfsg.2/gnulib/lib/vasnprintf.c:3336: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. sprintf ((char *) p, "%+d", exponent); data/texinfo-6.7.0.dfsg.2/gnulib/lib/vasnprintf.c:3342:35: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char expbuf[6 + 1]; data/texinfo-6.7.0.dfsg.2/gnulib/lib/vasnprintf.c:3344: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. sprintf (expbuf, "%+d", exponent); data/texinfo-6.7.0.dfsg.2/gnulib/lib/vasnprintf.c:3411:17: [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 (result + length, tmp, count * sizeof (DCHAR_T)); data/texinfo-6.7.0.dfsg.2/gnulib/lib/vasnprintf.c:3796:37: [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 ((char *) p, "%+.2d", exponent); data/texinfo-6.7.0.dfsg.2/gnulib/lib/vasnprintf.c:3802:37: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char expbuf[6 + 1]; data/texinfo-6.7.0.dfsg.2/gnulib/lib/vasnprintf.c:3804:37: [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 (expbuf, "%+.2d", exponent); data/texinfo-6.7.0.dfsg.2/gnulib/lib/vasnprintf.c:3977:45: [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 ((char *) p, "%+.2d", exponent); data/texinfo-6.7.0.dfsg.2/gnulib/lib/vasnprintf.c:3983:45: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char expbuf[6 + 1]; data/texinfo-6.7.0.dfsg.2/gnulib/lib/vasnprintf.c:3985:45: [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 (expbuf, "%+.2d", exponent); data/texinfo-6.7.0.dfsg.2/gnulib/lib/vasnprintf.c:4275:39: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char expbuf[6 + 1]; data/texinfo-6.7.0.dfsg.2/gnulib/lib/vasnprintf.c:4468:47: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char expbuf[6 + 1]; data/texinfo-6.7.0.dfsg.2/gnulib/lib/vasnprintf.c:4594:17: [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 (result + length, tmp, count * sizeof (DCHAR_T)); data/texinfo-6.7.0.dfsg.2/gnulib/lib/vasnprintf.c:4802:29: [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 (fbp, dp->width_start, n * sizeof (TCHAR_T)); data/texinfo-6.7.0.dfsg.2/gnulib/lib/vasnprintf.c:4823:29: [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 (fbp, dp->precision_start, n * sizeof (TCHAR_T)); data/texinfo-6.7.0.dfsg.2/gnulib/lib/vasnprintf.c:5541: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. memcpy (result + length, tmp, count * sizeof (DCHAR_T)); data/texinfo-6.7.0.dfsg.2/gnulib/lib/xmalloc.c:113:10: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. return memcpy (xmalloc (s), p, s); data/texinfo-6.7.0.dfsg.2/info/dir.c:242: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 (contents, node->contents, start); data/texinfo-6.7.0.dfsg.2/info/dir.c:243: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 (contents + start, text, textlen); data/texinfo-6.7.0.dfsg.2/info/dir.c:244: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 (contents + start + textlen, node->contents + start, end - start + 1); data/texinfo-6.7.0.dfsg.2/info/dribble.c:36:23: [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). info_dribble_file = fopen (name, FOPEN_WBIN); data/texinfo-6.7.0.dfsg.2/info/echo-area.c:40: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 input_line[1 + EA_MAX_INPUT]; /* Contents of echo area, including data/texinfo-6.7.0.dfsg.2/info/echo-area.c:546: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 (tmp, input_line + c1, len1); data/texinfo-6.7.0.dfsg.2/info/echo-area.c:549: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 (input_line + c1, input_line + c2, len2); data/texinfo-6.7.0.dfsg.2/info/echo-area.c:555: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 (input_line + c2 - (len1 - len2), tmp, len1); data/texinfo-6.7.0.dfsg.2/info/echo-area.c:562: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 (tmp, input_line + c2, len2); data/texinfo-6.7.0.dfsg.2/info/echo-area.c:565: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 (input_line + c2e - len1, input_line + c1, len1); data/texinfo-6.7.0.dfsg.2/info/echo-area.c:571: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 (input_line + c1, tmp, len2); data/texinfo-6.7.0.dfsg.2/info/filesys.c:338:20: [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). descriptor = open (pathname, O_RDONLY | O_BINARY, 0666); data/texinfo-6.7.0.dfsg.2/info/filesys.c:445:11: [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 (contents + offset, chunk, bytes_read); data/texinfo-6.7.0.dfsg.2/info/filesys.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 trydir[50]; data/texinfo-6.7.0.dfsg.2/info/filesys.c:570: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 (trydir, "dir"); data/texinfo-6.7.0.dfsg.2/info/filesys.c:578: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 dir_compressed[50]; /* can be short */ data/texinfo-6.7.0.dfsg.2/info/footnotes.c:85:11: [2] (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). Risk is low because the source is a constant string. strcat (refname, "-Footnotes"); data/texinfo-6.7.0.dfsg.2/info/footnotes.c:137: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 (result->contents + strlen (header), data/texinfo-6.7.0.dfsg.2/info/info-utils.c:41:26: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. #define va_copy(ap1,ap2) memcpy((&ap1),(&ap2),sizeof(va_list)) data/texinfo-6.7.0.dfsg.2/info/info-utils.c:98: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 (*filename, string, i); data/texinfo-6.7.0.dfsg.2/info/info-utils.c:825:3: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char utf8_char[4]; /* Maximum 4 bytes in a UTF-8 character */ data/texinfo-6.7.0.dfsg.2/info/info-utils.c:1312: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 (entry->label, inptr, label_len); data/texinfo-6.7.0.dfsg.2/info/info-utils.c:1971: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 (buf->base + buf->off, str, len); data/texinfo-6.7.0.dfsg.2/info/info-utils.c:2034:3: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-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[1]; data/texinfo-6.7.0.dfsg.2/info/info.c:990:41: [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). output_stream = fopen (user_output_filename, "w"); data/texinfo-6.7.0.dfsg.2/info/infodoc.c:90: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 (new_prefix, prefix, prefix_len * sizeof (int)); data/texinfo-6.7.0.dfsg.2/info/infodoc.c:535: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 rep_buffer[30]; data/texinfo-6.7.0.dfsg.2/info/infodoc.c:540: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 temp[20]; data/texinfo-6.7.0.dfsg.2/info/infodoc.c:558: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 (rep_buffer, "C-%c", UnControl (key)); data/texinfo-6.7.0.dfsg.2/info/infokey.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 comment[10]; data/texinfo-6.7.0.dfsg.2/info/infokey.c:213:3: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char act[80]; data/texinfo-6.7.0.dfsg.2/info/infokey.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 varn[80]; data/texinfo-6.7.0.dfsg.2/info/infokey.c:217:3: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char val[80]; data/texinfo-6.7.0.dfsg.2/info/infomap.c:71: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 (ks->keyseq, keyseq, (len + 1) * sizeof (int)); data/texinfo-6.7.0.dfsg.2/info/infomap.c:580: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). inf = fopen (filename, "r"); data/texinfo-6.7.0.dfsg.2/info/infopath.c:136:11: [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 (temp_dirname + dir, "share/info"); data/texinfo-6.7.0.dfsg.2/info/infopath.c:140:15: [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 (temp_dirname + dir, "info"); data/texinfo-6.7.0.dfsg.2/info/m-x.c:156: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 prompt[80]; data/texinfo-6.7.0.dfsg.2/info/m-x.c:161: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 (prompt, _("Set screen height to (%d): "), new_height); data/texinfo-6.7.0.dfsg.2/info/m-x.c:174:22: [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). new_height = atoi (line); data/texinfo-6.7.0.dfsg.2/info/makedoc.c:204: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 digits[30]; data/texinfo-6.7.0.dfsg.2/info/makedoc.c:207: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 (digits, "%d,%ld", etag->line, etag->char_offset); data/texinfo-6.7.0.dfsg.2/info/makedoc.c:271:16: [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). descriptor = open (filename, O_RDONLY, 0666); data/texinfo-6.7.0.dfsg.2/info/makedoc.c:380:13: [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 (temp_func_name, "echo_area_"); data/texinfo-6.7.0.dfsg.2/info/makedoc.c:473: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). stream = fopen (filename, mode); data/texinfo-6.7.0.dfsg.2/info/man.c:240:8: [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 (np, cur_ptr, cur_len); data/texinfo-6.7.0.dfsg.2/info/man.c:249: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 (np, cur_ptr, cur_len); data/texinfo-6.7.0.dfsg.2/info/man.c:265: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 *formatter_args[4] = { NULL }; data/texinfo-6.7.0.dfsg.2/info/man.c:346:18: [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). int fd_err = open (NULL_DEVICE, O_WRONLY, 0666); data/texinfo-6.7.0.dfsg.2/info/nodes.c:312:26: [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). entry->nodestart = atol (nodedef + p); data/texinfo-6.7.0.dfsg.2/info/nodes.c:381: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). subfile->first_byte = (long) atol (line + colon); data/texinfo-6.7.0.dfsg.2/info/pcterm.c:181:10: [2] (buffer) TCHAR: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (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 TCHAR errbuf[500]; data/texinfo-6.7.0.dfsg.2/info/pcterm.c:221:6: [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 (errbuf, "w32 error %u", error_no); data/texinfo-6.7.0.dfsg.2/info/pcterm.c:530: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 (p, s1, sizeof (s1)), p += sizeof (s1) - 1; \ data/texinfo-6.7.0.dfsg.2/info/pcterm.c:532: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 (p, s2, sizeof (s2)), p += sizeof (s2) - 1; \ data/texinfo-6.7.0.dfsg.2/info/pcterm.c:604:6: [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 (p, "\033\011", sizeof ("\033\011")); data/texinfo-6.7.0.dfsg.2/info/pcterm.c:623: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 buffered_chars[512]; data/texinfo-6.7.0.dfsg.2/info/pcterm.c:667: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. unsigned char keyseq[10]; data/texinfo-6.7.0.dfsg.2/info/pcterm.c:689:10: [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 (&inbuf[nret], keyseq, nbytes); data/texinfo-6.7.0.dfsg.2/info/pcterm.c:702:10: [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 (&buffered_chars[buf_tail], keyseq, nbytes); data/texinfo-6.7.0.dfsg.2/info/pcterm.c:788:14: [2] (buffer) MultiByteToWideChar: Requires maximum length in CHARACTERS, not bytes (CWE-120). int wlen = MultiByteToWideChar (cp, flags, text, nbytes, NULL, 0); data/texinfo-6.7.0.dfsg.2/info/pcterm.c:795:11: [2] (buffer) MultiByteToWideChar: Requires maximum length in CHARACTERS, not bytes (CWE-120). if (MultiByteToWideChar (cp, flags, text, nbytes, text_w, wlen) > 0) data/texinfo-6.7.0.dfsg.2/info/pcterm.c:822: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 buf[100]; data/texinfo-6.7.0.dfsg.2/info/pcterm.c:826: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 (buf, "CP%u//TRANSLIT", GetConsoleOutputCP ()); data/texinfo-6.7.0.dfsg.2/info/pcterm.c:990:20: [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). screenheight = atoi (getenv ("LINES")); data/texinfo-6.7.0.dfsg.2/info/pcterm.c:994:20: [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). screenheight = atoi (getenv ("INFO_LINES")); data/texinfo-6.7.0.dfsg.2/info/pcterm.c:1458: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 buffered[512]; data/texinfo-6.7.0.dfsg.2/info/pcterm.c:1607:3: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char cwd[PATH_MAX + 1]; data/texinfo-6.7.0.dfsg.2/info/pcterm.c:1647: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. const char *argv[2]; data/texinfo-6.7.0.dfsg.2/info/pseudotty.c:68:11: [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). slave = open (name, O_RDWR); data/texinfo-6.7.0.dfsg.2/info/pseudotty.c:126: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). control = open (argv[1], O_RDONLY); data/texinfo-6.7.0.dfsg.2/info/session.c:322: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). stream = fopen (filename, FOPEN_RBIN); data/texinfo-6.7.0.dfsg.2/info/session.c:352: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 info_input_buffer[MAX_INFO_INPUT_BUFFERING]; data/texinfo-6.7.0.dfsg.2/info/session.c:422: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 input[MAX_INFO_INPUT_BUFFERING]; data/texinfo-6.7.0.dfsg.2/info/session.c:3709:21: [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). output_stream = fopen (output_filename, "w"); data/texinfo-6.7.0.dfsg.2/info/session.c:3850:20: [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). printer_pipe = fopen (++print_command, "w"); data/texinfo-6.7.0.dfsg.2/info/terminal.c:743: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). screenwidth = atoi (env_columns); data/texinfo-6.7.0.dfsg.2/info/terminal.c:753:28: [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). screenheight = atoi (env_lines); data/texinfo-6.7.0.dfsg.2/info/variables.c:169: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 string[8 /* nocolour */ + 1 /* comma */ data/texinfo-6.7.0.dfsg.2/info/variables.c:251:3: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char prompt[100]; data/texinfo-6.7.0.dfsg.2/info/window.c:857:3: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char location_indicator[4]; data/texinfo-6.7.0.dfsg.2/info/window.c:870: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 (location_indicator, "All"); data/texinfo-6.7.0.dfsg.2/info/window.c:872: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 (location_indicator, "Top"); data/texinfo-6.7.0.dfsg.2/info/window.c:877: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 (location_indicator, "Bot"); data/texinfo-6.7.0.dfsg.2/info/window.c:888: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 (location_indicator, "%2d%%", percentage); data/texinfo-6.7.0.dfsg.2/info/window.c:917: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 (modeline + strlen (modeline), "-----Info: "); data/texinfo-6.7.0.dfsg.2/install-info/install-info.c:631: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). desc = open (dirfile, O_RDONLY); data/texinfo-6.7.0.dfsg.2/install-info/install-info.c:636: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). f = fopen (dirfile, "w"); data/texinfo-6.7.0.dfsg.2/install-info/install-info.c:691:3: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-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[13]; data/texinfo-6.7.0.dfsg.2/install-info/install-info.c:700: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 (*opened_filename, FOPEN_RBIN); data/texinfo-6.7.0.dfsg.2/install-info/install-info.c:704: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). f = fopen (*opened_filename, FOPEN_RBIN); data/texinfo-6.7.0.dfsg.2/install-info/install-info.c:710: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). f = fopen (*opened_filename, FOPEN_RBIN); data/texinfo-6.7.0.dfsg.2/install-info/install-info.c:716: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). f = fopen (*opened_filename, FOPEN_RBIN); data/texinfo-6.7.0.dfsg.2/install-info/install-info.c:722: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). f = fopen (*opened_filename, FOPEN_RBIN); data/texinfo-6.7.0.dfsg.2/install-info/install-info.c:728: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). f = fopen (*opened_filename, FOPEN_RBIN); data/texinfo-6.7.0.dfsg.2/install-info/install-info.c:735: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). f = fopen (*opened_filename, FOPEN_RBIN); data/texinfo-6.7.0.dfsg.2/install-info/install-info.c:741: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). f = fopen (*opened_filename, FOPEN_RBIN); data/texinfo-6.7.0.dfsg.2/install-info/install-info.c:757:15: [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 (*opened_filename, FOPEN_RBIN); data/texinfo-6.7.0.dfsg.2/install-info/install-info.c:782:19: [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 (*opened_filename, FOPEN_RBIN); data/texinfo-6.7.0.dfsg.2/install-info/install-info.c:965: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). output = fopen (dirfile, "w"); data/texinfo-6.7.0.dfsg.2/install-info/install-info.c:1624:17: [2] (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). Risk is low because the source is a constant string. strcat (*description, " "); data/texinfo-6.7.0.dfsg.2/install-info/install-info.c:1848:21: [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). fileptr = fopen (title, "r"); data/texinfo-6.7.0.dfsg.2/tp/Texinfo/XS/gnulib/lib/printf-parse.c:122:11: [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 (memory, a->arg, a->count * sizeof (argument)); \ data/texinfo-6.7.0.dfsg.2/tp/Texinfo/XS/gnulib/lib/printf-parse.c:599:17: [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 (memory, d->dir, d->count * sizeof (DIRECTIVE)); data/texinfo-6.7.0.dfsg.2/tp/Texinfo/XS/gnulib/lib/stdio.in.h:290: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). # undef fopen data/texinfo-6.7.0.dfsg.2/tp/Texinfo/XS/gnulib/lib/stdio.in.h:291: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). # define fopen rpl_fopen data/texinfo-6.7.0.dfsg.2/tp/Texinfo/XS/gnulib/lib/stdio.in.h:293:19: [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). _GL_FUNCDECL_RPL (fopen, FILE *, (const char *filename, const char *mode) data/texinfo-6.7.0.dfsg.2/tp/Texinfo/XS/gnulib/lib/stdio.in.h:295:19: [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). _GL_CXXALIAS_RPL (fopen, FILE *, (const char *filename, const char *mode)); data/texinfo-6.7.0.dfsg.2/tp/Texinfo/XS/gnulib/lib/stdio.in.h:297:19: [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). _GL_CXXALIAS_SYS (fopen, FILE *, (const char *filename, const char *mode)); data/texinfo-6.7.0.dfsg.2/tp/Texinfo/XS/gnulib/lib/stdio.in.h:299:19: [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). _GL_CXXALIASWARN (fopen); data/texinfo-6.7.0.dfsg.2/tp/Texinfo/XS/gnulib/lib/stdio.in.h:301: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). # undef fopen data/texinfo-6.7.0.dfsg.2/tp/Texinfo/XS/gnulib/lib/stdio.in.h:303: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). _GL_WARN_ON_USE (fopen, "fopen on native Windows platforms is not POSIX compliant - " data/texinfo-6.7.0.dfsg.2/tp/Texinfo/XS/gnulib/lib/stdio.in.h:1125:12: [2] (tmpfile) tmpfile: Function tmpfile() has a security flaw on some systems (e.g., older System V systems) (CWE-377). # define tmpfile rpl_tmpfile data/texinfo-6.7.0.dfsg.2/tp/Texinfo/XS/gnulib/lib/stdio.in.h:1127:19: [2] (tmpfile) tmpfile: Function tmpfile() has a security flaw on some systems (e.g., older System V systems) (CWE-377). _GL_FUNCDECL_RPL (tmpfile, FILE *, (void)); data/texinfo-6.7.0.dfsg.2/tp/Texinfo/XS/gnulib/lib/stdio.in.h:1128:19: [2] (tmpfile) tmpfile: Function tmpfile() has a security flaw on some systems (e.g., older System V systems) (CWE-377). _GL_CXXALIAS_RPL (tmpfile, FILE *, (void)); data/texinfo-6.7.0.dfsg.2/tp/Texinfo/XS/gnulib/lib/stdio.in.h:1130:19: [2] (tmpfile) tmpfile: Function tmpfile() has a security flaw on some systems (e.g., older System V systems) (CWE-377). _GL_CXXALIAS_SYS (tmpfile, FILE *, (void)); data/texinfo-6.7.0.dfsg.2/tp/Texinfo/XS/gnulib/lib/stdio.in.h:1132:19: [2] (tmpfile) tmpfile: Function tmpfile() has a security flaw on some systems (e.g., older System V systems) (CWE-377). _GL_CXXALIASWARN (tmpfile); data/texinfo-6.7.0.dfsg.2/tp/Texinfo/XS/gnulib/lib/stdio.in.h:1134:9: [2] (tmpfile) tmpfile: Function tmpfile() has a security flaw on some systems (e.g., older System V systems) (CWE-377). # undef tmpfile data/texinfo-6.7.0.dfsg.2/tp/Texinfo/XS/gnulib/lib/stdio.in.h:1136:18: [2] (tmpfile) tmpfile: Function tmpfile() has a security flaw on some systems (e.g., older System V systems) (CWE-377). _GL_WARN_ON_USE (tmpfile, "tmpfile is not usable on mingw - " data/texinfo-6.7.0.dfsg.2/tp/Texinfo/XS/gnulib/lib/strndup.c:35:10: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. return memcpy (new, s, len); data/texinfo-6.7.0.dfsg.2/tp/Texinfo/XS/gnulib/lib/vasnprintf.c:151: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. # define DCHAR_CPY memcpy data/texinfo-6.7.0.dfsg.2/tp/Texinfo/XS/gnulib/lib/vasnprintf.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 pointbuf[5]; data/texinfo-6.7.0.dfsg.2/tp/Texinfo/XS/gnulib/lib/vasnprintf.c:296: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 (pointbuf, "%#.0f", 1.0); data/texinfo-6.7.0.dfsg.2/tp/Texinfo/XS/gnulib/lib/vasnprintf.c:520: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 (r_ptr, a_ptr, a_len * sizeof (mp_limb_t)); data/texinfo-6.7.0.dfsg.2/tp/Texinfo/XS/gnulib/lib/vasnprintf.c:656:11: [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 (r_ptr, a_ptr, a_len * sizeof (mp_limb_t)); data/texinfo-6.7.0.dfsg.2/tp/Texinfo/XS/gnulib/lib/vasnprintf.c:2677:27: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-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[64]; /* Assume MB_CUR_MAX <= 64. */ data/texinfo-6.7.0.dfsg.2/tp/Texinfo/XS/gnulib/lib/vasnprintf.c:2722:27: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-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[64]; /* Assume MB_CUR_MAX <= 64. */ data/texinfo-6.7.0.dfsg.2/tp/Texinfo/XS/gnulib/lib/vasnprintf.c:2772: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. char cbuf[64]; /* Assume MB_CUR_MAX <= 64. */ data/texinfo-6.7.0.dfsg.2/tp/Texinfo/XS/gnulib/lib/vasnprintf.c:2785:25: [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 (tmpptr, cbuf, count); data/texinfo-6.7.0.dfsg.2/tp/Texinfo/XS/gnulib/lib/vasnprintf.c:2853:27: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-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[64]; /* Assume MB_CUR_MAX <= 64. */ data/texinfo-6.7.0.dfsg.2/tp/Texinfo/XS/gnulib/lib/vasnprintf.c:2866:27: [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 (result + length, cbuf, count); data/texinfo-6.7.0.dfsg.2/tp/Texinfo/XS/gnulib/lib/vasnprintf.c:2882:27: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-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[64]; /* Assume MB_CUR_MAX <= 64. */ data/texinfo-6.7.0.dfsg.2/tp/Texinfo/XS/gnulib/lib/vasnprintf.c:2904:27: [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 (result + length, cbuf, count); data/texinfo-6.7.0.dfsg.2/tp/Texinfo/XS/gnulib/lib/vasnprintf.c:3185: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. sprintf ((char *) p, "%+d", exponent); data/texinfo-6.7.0.dfsg.2/tp/Texinfo/XS/gnulib/lib/vasnprintf.c:3191:35: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char expbuf[6 + 1]; data/texinfo-6.7.0.dfsg.2/tp/Texinfo/XS/gnulib/lib/vasnprintf.c:3193: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. sprintf (expbuf, "%+d", exponent); data/texinfo-6.7.0.dfsg.2/tp/Texinfo/XS/gnulib/lib/vasnprintf.c:3336: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. sprintf ((char *) p, "%+d", exponent); data/texinfo-6.7.0.dfsg.2/tp/Texinfo/XS/gnulib/lib/vasnprintf.c:3342:35: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char expbuf[6 + 1]; data/texinfo-6.7.0.dfsg.2/tp/Texinfo/XS/gnulib/lib/vasnprintf.c:3344: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. sprintf (expbuf, "%+d", exponent); data/texinfo-6.7.0.dfsg.2/tp/Texinfo/XS/gnulib/lib/vasnprintf.c:3411:17: [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 (result + length, tmp, count * sizeof (DCHAR_T)); data/texinfo-6.7.0.dfsg.2/tp/Texinfo/XS/gnulib/lib/vasnprintf.c:3796:37: [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 ((char *) p, "%+.2d", exponent); data/texinfo-6.7.0.dfsg.2/tp/Texinfo/XS/gnulib/lib/vasnprintf.c:3802:37: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char expbuf[6 + 1]; data/texinfo-6.7.0.dfsg.2/tp/Texinfo/XS/gnulib/lib/vasnprintf.c:3804:37: [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 (expbuf, "%+.2d", exponent); data/texinfo-6.7.0.dfsg.2/tp/Texinfo/XS/gnulib/lib/vasnprintf.c:3977:45: [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 ((char *) p, "%+.2d", exponent); data/texinfo-6.7.0.dfsg.2/tp/Texinfo/XS/gnulib/lib/vasnprintf.c:3983:45: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char expbuf[6 + 1]; data/texinfo-6.7.0.dfsg.2/tp/Texinfo/XS/gnulib/lib/vasnprintf.c:3985:45: [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 (expbuf, "%+.2d", exponent); data/texinfo-6.7.0.dfsg.2/tp/Texinfo/XS/gnulib/lib/vasnprintf.c:4275:39: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char expbuf[6 + 1]; data/texinfo-6.7.0.dfsg.2/tp/Texinfo/XS/gnulib/lib/vasnprintf.c:4468:47: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char expbuf[6 + 1]; data/texinfo-6.7.0.dfsg.2/tp/Texinfo/XS/gnulib/lib/vasnprintf.c:4594:17: [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 (result + length, tmp, count * sizeof (DCHAR_T)); data/texinfo-6.7.0.dfsg.2/tp/Texinfo/XS/gnulib/lib/vasnprintf.c:4802:29: [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 (fbp, dp->width_start, n * sizeof (TCHAR_T)); data/texinfo-6.7.0.dfsg.2/tp/Texinfo/XS/gnulib/lib/vasnprintf.c:4823:29: [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 (fbp, dp->precision_start, n * sizeof (TCHAR_T)); data/texinfo-6.7.0.dfsg.2/tp/Texinfo/XS/gnulib/lib/vasnprintf.c:5541: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. memcpy (result + length, tmp, count * sizeof (DCHAR_T)); data/texinfo-6.7.0.dfsg.2/tp/Texinfo/XS/misc.c:483: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(new + new_len, s, n); \ data/texinfo-6.7.0.dfsg.2/tp/Texinfo/XS/misc.c:581: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, p, q - p); data/texinfo-6.7.0.dfsg.2/tp/Texinfo/XS/misc.c:599: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. static char a[2]; data/texinfo-6.7.0.dfsg.2/tp/Texinfo/XS/misc.c:607: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. static char a[2]; data/texinfo-6.7.0.dfsg.2/tp/Texinfo/XS/misc.c:626:15: [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, text, p - text); data/texinfo-6.7.0.dfsg.2/tp/Texinfo/XS/parsetexi/end_line.c:1024:15: [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 (new, e, sizeof (ELEMENT)); data/texinfo-6.7.0.dfsg.2/tp/Texinfo/XS/parsetexi/input.c:545: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). stream = fopen (filename, "r"); data/texinfo-6.7.0.dfsg.2/tp/Texinfo/XS/parsetexi/parser.c:522:11: [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 (additional, text, leading_spaces); data/texinfo-6.7.0.dfsg.2/tp/Texinfo/XS/parsetexi/parser.c:1311: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 single_char[2]; data/texinfo-6.7.0.dfsg.2/tp/Texinfo/XS/parsetexi/separator.c:59: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. static char c[2]; data/texinfo-6.7.0.dfsg.2/tp/Texinfo/XS/parsetexi/separator.c:789: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 t[2]; data/texinfo-6.7.0.dfsg.2/tp/Texinfo/XS/parsetexi/text.c:60: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 (t->text + t->end, s, len); data/texinfo-6.7.0.dfsg.2/tp/Texinfo/XS/ppport.h:3842:42: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. # define CopyD(s,d,n,t) memcpy((char*)(d),(char*)(s), (n) * sizeof(t)) data/texinfo-6.7.0.dfsg.2/tp/Texinfo/XS/ppport.h:6745: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. && (xdigit = strchr((char *) PL_hexdigit, s[1]))) data/texinfo-6.7.0.dfsg.2/tp/Texinfo/XS/ppport.h:6967: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(dst + used, src, copy); data/texinfo-6.7.0.dfsg.2/tp/Texinfo/XS/ppport.h:6996: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(dst, src, copy); data/texinfo-6.7.0.dfsg.2/tp/Texinfo/XS/ppport.h:7088: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 octbuf[32] = "%123456789ABCDF"; data/texinfo-6.7.0.dfsg.2/tp/Texinfo/XS/ppport.h:7158:6: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-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[2]; data/texinfo-6.7.0.dfsg.2/tp/Texinfo/XS/text.c:59: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 (t->text + t->end, s, len); data/texinfo-6.7.0.dfsg.2/tp/Texinfo/XS/xspara.c:162:7: [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. wchar_t wc[2]; data/texinfo-6.7.0.dfsg.2/tp/Texinfo/XS/xspara.c:163:24: [2] (buffer) MultiByteToWideChar: Requires maximum length in CHARACTERS, not bytes (CWE-120). size_t n_utf16 = MultiByteToWideChar (CP_UTF8, MB_ERR_INVALID_CHARS, data/texinfo-6.7.0.dfsg.2/tp/Texinfo/XS/xspara.c:278: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 (utf8_locale, cur, dot - cur); data/texinfo-6.7.0.dfsg.2/tp/Texinfo/XS/xspara.c:280: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 (dot, ".UTF-8", 7); data/texinfo-6.7.0.dfsg.2/tp/Texinfo/XS/xspara.c:284: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 (dot, ".utf8", 6); data/texinfo-6.7.0.dfsg.2/tp/Texinfo/XS/xspara.c:354: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 (&state_array[current_state], &state, sizeof (PARAGRAPH)); data/texinfo-6.7.0.dfsg.2/tp/Texinfo/XS/xspara.c:356: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 (&state, &state_array[id], sizeof (PARAGRAPH)); data/texinfo-6.7.0.dfsg.2/tp/Texinfo/XS/xspara.c:1148:15: [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 (added_word, p, char_len); data/texinfo-6.7.0.dfsg.2/gnulib/lib/argz.c:50: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). return argz_append (argz, argz_len, str, strlen (str) + 1); data/texinfo-6.7.0.dfsg.2/gnulib/lib/argz.c:58: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). size_t nlen = strlen (string) + 1; data/texinfo-6.7.0.dfsg.2/gnulib/lib/argz.c:94: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). size_t nlen = strlen (string) + 1; data/texinfo-6.7.0.dfsg.2/gnulib/lib/argz.c:160: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 entry_len = strlen (entry) + 1; data/texinfo-6.7.0.dfsg.2/gnulib/lib/argz.c:222: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 part_len = strlen (argz); data/texinfo-6.7.0.dfsg.2/gnulib/lib/argz.c:238: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 part_len = strlen (argz); data/texinfo-6.7.0.dfsg.2/gnulib/lib/argz.c:259: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). tlen += strlen (argv[argc]) + 1; data/texinfo-6.7.0.dfsg.2/gnulib/lib/argz.c:285:26: [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 entry_len = strlen (entry) + 1; data/texinfo-6.7.0.dfsg.2/gnulib/lib/argz.c:336: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 str_len = strlen (str), with_len = strlen (with); data/texinfo-6.7.0.dfsg.2/gnulib/lib/argz.c:336:49: [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 str_len = strlen (str), with_len = strlen (with); data/texinfo-6.7.0.dfsg.2/gnulib/lib/argz.c:360:59: [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). str_append (&to, &to_len, from, strlen (from)); data/texinfo-6.7.0.dfsg.2/gnulib/lib/basename-lgpl.c:63: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). for (len = strlen (name); 1 < len && ISSLASH (name[len - 1]); len--) data/texinfo-6.7.0.dfsg.2/gnulib/lib/error.c:211: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). size_t len = strlen (message) + 1; data/texinfo-6.7.0.dfsg.2/gnulib/lib/getopt.c:214:16: [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). && namelen == strlen (p->name)) data/texinfo-6.7.0.dfsg.2/gnulib/lib/getopt.c:301: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). d->__nextchar += strlen (d->__nextchar); data/texinfo-6.7.0.dfsg.2/gnulib/lib/getprogname.c:121: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). if (strlen (ucomm) < PST_UCOMMLEN - 1) data/texinfo-6.7.0.dfsg.2/gnulib/lib/getprogname.c:135: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). if (strlen (p) > PST_UCOMMLEN - 1 data/texinfo-6.7.0.dfsg.2/gnulib/lib/getprogname.c:157: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). if (strlen (ucomm) < PST_UCOMMLEN - 1) data/texinfo-6.7.0.dfsg.2/gnulib/lib/getprogname.c:171:23: [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 (p) > PST_UCOMMLEN - 1 data/texinfo-6.7.0.dfsg.2/gnulib/lib/gettext.h:223: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 msgctxt_len = strlen (msgctxt) + 1; data/texinfo-6.7.0.dfsg.2/gnulib/lib/gettext.h:224: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). size_t msgid_len = strlen (msgid) + 1; data/texinfo-6.7.0.dfsg.2/gnulib/lib/gettext.h:271: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 msgctxt_len = strlen (msgctxt) + 1; data/texinfo-6.7.0.dfsg.2/gnulib/lib/gettext.h:272: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). size_t msgid_len = strlen (msgid) + 1; data/texinfo-6.7.0.dfsg.2/gnulib/lib/localcharset.c:916: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). if (pdot && 2 + strlen (pdot + 1) + 1 <= sizeof (buf)) data/texinfo-6.7.0.dfsg.2/gnulib/lib/mbslen.c:43:12: [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 (string); data/texinfo-6.7.0.dfsg.2/gnulib/lib/mbsstr.c:350: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). strlen (needle - 1), data/texinfo-6.7.0.dfsg.2/gnulib/lib/mbswidth.c:49: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). return mbsnwidth (string, strlen (string), flags); data/texinfo-6.7.0.dfsg.2/gnulib/lib/mbuiter.h:167: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). iter->cur.bytes = strlen (iter->cur.ptr); data/texinfo-6.7.0.dfsg.2/gnulib/lib/nl_langinfo.c:74:16: [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). codesetlen = strlen (codeset); data/texinfo-6.7.0.dfsg.2/gnulib/lib/regcomp.c:491: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). ret = re_compile_internal (preg, pattern, strlen (pattern), syntax); data/texinfo-6.7.0.dfsg.2/gnulib/lib/regcomp.c:535: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). msg_size = strlen (msg) + 1; /* Includes the null. */ data/texinfo-6.7.0.dfsg.2/gnulib/lib/regcomp.c:703: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). ret = re_compile_internal (&re_comp_buf, s, strlen (s), re_syntax_options); data/texinfo-6.7.0.dfsg.2/gnulib/lib/regcomp.c:771:3: [1] (buffer) strncpy: Easily used incorrectly; doesn't always \0-terminate or check for invalid pointers [MS-banned] (CWE-120). strncpy (dfa->re_str, pattern, length + 1); data/texinfo-6.7.0.dfsg.2/gnulib/lib/regcomp.c:2721:8: [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). && strlen ((char *) start_elem->opr.name) > 1) data/texinfo-6.7.0.dfsg.2/gnulib/lib/regcomp.c:2723:11: [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). && strlen ((char *) end_elem->opr.name) > 1))) data/texinfo-6.7.0.dfsg.2/gnulib/lib/regcomp.c:2831: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). size_t name_len = strlen ((const char *) name); data/texinfo-6.7.0.dfsg.2/gnulib/lib/regcomp.c:2912:26: [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 sym_name_len = strlen ((char *) br_elem->opr.name); data/texinfo-6.7.0.dfsg.2/gnulib/lib/regcomp.c:3047: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 name_len = strlen ((const char *) name); data/texinfo-6.7.0.dfsg.2/gnulib/lib/regcomp.c:3557: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). if (__glibc_unlikely (strlen ((const char *) name) != 1)) data/texinfo-6.7.0.dfsg.2/gnulib/lib/regexec.c:210:16: [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). length = strlen (string); data/texinfo-6.7.0.dfsg.2/gnulib/lib/stdio.in.h:261:11: [1] (buffer) fgetc: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). # undef fgetc data/texinfo-6.7.0.dfsg.2/gnulib/lib/stdio.in.h:262:12: [1] (buffer) fgetc: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). # define fgetc rpl_fgetc data/texinfo-6.7.0.dfsg.2/gnulib/lib/stdio.in.h:264:19: [1] (buffer) fgetc: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). _GL_FUNCDECL_RPL (fgetc, int, (FILE *stream) _GL_ARG_NONNULL ((1))); data/texinfo-6.7.0.dfsg.2/gnulib/lib/stdio.in.h:265:19: [1] (buffer) fgetc: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). _GL_CXXALIAS_RPL (fgetc, int, (FILE *stream)); data/texinfo-6.7.0.dfsg.2/gnulib/lib/stdio.in.h:267:19: [1] (buffer) fgetc: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). _GL_CXXALIAS_SYS (fgetc, int, (FILE *stream)); data/texinfo-6.7.0.dfsg.2/gnulib/lib/stdio.in.h:269:19: [1] (buffer) fgetc: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). _GL_CXXALIASWARN (fgetc); data/texinfo-6.7.0.dfsg.2/gnulib/lib/stdio.in.h:648:11: [1] (buffer) getc: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). # undef getc data/texinfo-6.7.0.dfsg.2/gnulib/lib/stdio.in.h:649:12: [1] (buffer) getc: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). # define getc rpl_fgetc data/texinfo-6.7.0.dfsg.2/gnulib/lib/stdio.in.h:651:19: [1] (buffer) fgetc: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). _GL_FUNCDECL_RPL (fgetc, int, (FILE *stream) _GL_ARG_NONNULL ((1))); data/texinfo-6.7.0.dfsg.2/gnulib/lib/stdio.in.h:652:21: [1] (buffer) getc: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). _GL_CXXALIAS_RPL_1 (getc, rpl_fgetc, int, (FILE *stream)); data/texinfo-6.7.0.dfsg.2/gnulib/lib/stdio.in.h:654:19: [1] (buffer) getc: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). _GL_CXXALIAS_SYS (getc, int, (FILE *stream)); data/texinfo-6.7.0.dfsg.2/gnulib/lib/stdio.in.h:656:19: [1] (buffer) getc: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). _GL_CXXALIASWARN (getc); data/texinfo-6.7.0.dfsg.2/gnulib/lib/stdio.in.h:662:11: [1] (buffer) getchar: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). # undef getchar data/texinfo-6.7.0.dfsg.2/gnulib/lib/stdio.in.h:663:12: [1] (buffer) getchar: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). # define getchar rpl_getchar data/texinfo-6.7.0.dfsg.2/gnulib/lib/stdio.in.h:665:19: [1] (buffer) getchar: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). _GL_FUNCDECL_RPL (getchar, int, (void)); data/texinfo-6.7.0.dfsg.2/gnulib/lib/stdio.in.h:666:19: [1] (buffer) getchar: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). _GL_CXXALIAS_RPL (getchar, int, (void)); data/texinfo-6.7.0.dfsg.2/gnulib/lib/stdio.in.h:668:19: [1] (buffer) getchar: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). _GL_CXXALIAS_SYS (getchar, int, (void)); data/texinfo-6.7.0.dfsg.2/gnulib/lib/stdio.in.h:670:19: [1] (buffer) getchar: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). _GL_CXXALIASWARN (getchar); data/texinfo-6.7.0.dfsg.2/gnulib/lib/strdup.c:41:16: [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 len = strlen (s) + 1; data/texinfo-6.7.0.dfsg.2/gnulib/lib/strerror.c:65: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 (msg); data/texinfo-6.7.0.dfsg.2/gnulib/lib/string.in.h:411:11: [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. # undef strncat data/texinfo-6.7.0.dfsg.2/gnulib/lib/string.in.h:412:12: [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. # define strncat rpl_strncat data/texinfo-6.7.0.dfsg.2/gnulib/lib/string.in.h:414:19: [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. _GL_FUNCDECL_RPL (strncat, char *, (char *dest, const char *src, size_t n) data/texinfo-6.7.0.dfsg.2/gnulib/lib/string.in.h:416:19: [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. _GL_CXXALIAS_RPL (strncat, char *, (char *dest, const char *src, size_t n)); data/texinfo-6.7.0.dfsg.2/gnulib/lib/string.in.h:418:19: [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. _GL_CXXALIAS_SYS (strncat, char *, (char *dest, const char *src, size_t n)); data/texinfo-6.7.0.dfsg.2/gnulib/lib/string.in.h:420:19: [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. _GL_CXXALIASWARN (strncat); data/texinfo-6.7.0.dfsg.2/gnulib/lib/string.in.h:422:9: [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. # undef strncat data/texinfo-6.7.0.dfsg.2/gnulib/lib/string.in.h:424:18: [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. _GL_WARN_ON_USE (strncat, "strncat is unportable - " data/texinfo-6.7.0.dfsg.2/gnulib/lib/unistd.in.h:1321:11: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). # undef read data/texinfo-6.7.0.dfsg.2/gnulib/lib/unistd.in.h:1322:12: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). # define read rpl_read data/texinfo-6.7.0.dfsg.2/gnulib/lib/unistd.in.h:1324:19: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). _GL_FUNCDECL_RPL (read, ssize_t, (int fd, void *buf, size_t count) data/texinfo-6.7.0.dfsg.2/gnulib/lib/unistd.in.h:1326:19: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). _GL_CXXALIAS_RPL (read, ssize_t, (int fd, void *buf, size_t count)); data/texinfo-6.7.0.dfsg.2/gnulib/lib/unistd.in.h:1331:24: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). _GL_CXXALIAS_SYS_CAST (read, ssize_t, (int fd, void *buf, size_t count)); data/texinfo-6.7.0.dfsg.2/gnulib/lib/unistd.in.h:1333:19: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). _GL_CXXALIASWARN (read); data/texinfo-6.7.0.dfsg.2/gnulib/lib/unistd.in.h:1646:11: [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. # undef usleep data/texinfo-6.7.0.dfsg.2/gnulib/lib/unistd.in.h:1647:12: [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. # define usleep rpl_usleep data/texinfo-6.7.0.dfsg.2/gnulib/lib/unistd.in.h:1649: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. _GL_FUNCDECL_RPL (usleep, int, (useconds_t n)); data/texinfo-6.7.0.dfsg.2/gnulib/lib/unistd.in.h:1650: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. _GL_CXXALIAS_RPL (usleep, int, (useconds_t n)); data/texinfo-6.7.0.dfsg.2/gnulib/lib/unistd.in.h:1653: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. _GL_FUNCDECL_SYS (usleep, int, (useconds_t n)); data/texinfo-6.7.0.dfsg.2/gnulib/lib/unistd.in.h:1655: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. _GL_CXXALIAS_SYS (usleep, int, (useconds_t n)); data/texinfo-6.7.0.dfsg.2/gnulib/lib/unistd.in.h:1657: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. _GL_CXXALIASWARN (usleep); data/texinfo-6.7.0.dfsg.2/gnulib/lib/unistd.in.h:1659:9: [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. # undef usleep data/texinfo-6.7.0.dfsg.2/gnulib/lib/unistd.in.h:1661:18: [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. _GL_WARN_ON_USE (usleep, "usleep is unportable - " data/texinfo-6.7.0.dfsg.2/gnulib/lib/vasnprintf.c:240:24: [1] (buffer) wcslen: 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). # define local_wcslen wcslen data/texinfo-6.7.0.dfsg.2/gnulib/lib/vasnprintf.c:1744:26: [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). tmp_length = strlen (arg); data/texinfo-6.7.0.dfsg.2/gnulib/lib/vasnprintf.c:2576:39: [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). arg_end = arg + strlen (arg); data/texinfo-6.7.0.dfsg.2/gnulib/lib/vasnprintf.c:3663:43: [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). ndigits = strlen (digits); data/texinfo-6.7.0.dfsg.2/gnulib/lib/vasnprintf.c:3723:51: [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). ndigits = strlen (digits); data/texinfo-6.7.0.dfsg.2/gnulib/lib/vasnprintf.c:3759: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 (strlen (digits2) == precision + 1) data/texinfo-6.7.0.dfsg.2/gnulib/lib/vasnprintf.c:3859:51: [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). ndigits = strlen (digits); data/texinfo-6.7.0.dfsg.2/gnulib/lib/vasnprintf.c:3895: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 (strlen (digits2) == precision) data/texinfo-6.7.0.dfsg.2/gnulib/lib/vasnprintf.c:4125:43: [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). ndigits = strlen (digits); data/texinfo-6.7.0.dfsg.2/gnulib/lib/vasnprintf.c:4182:51: [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). ndigits = strlen (digits); data/texinfo-6.7.0.dfsg.2/gnulib/lib/vasnprintf.c:4217: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 (strlen (digits2) == precision + 1) data/texinfo-6.7.0.dfsg.2/gnulib/lib/vasnprintf.c:4330:51: [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). ndigits = strlen (digits); data/texinfo-6.7.0.dfsg.2/gnulib/lib/vasnprintf.c:4365: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 (strlen (digits2) == precision) data/texinfo-6.7.0.dfsg.2/gnulib/lib/wchar.in.h:574:19: [1] (buffer) wcslen: 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). _GL_FUNCDECL_SYS (wcslen, size_t, (const wchar_t *s) _GL_ATTRIBUTE_PURE); data/texinfo-6.7.0.dfsg.2/gnulib/lib/wchar.in.h:576:19: [1] (buffer) wcslen: 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). _GL_CXXALIAS_SYS (wcslen, size_t, (const wchar_t *s)); data/texinfo-6.7.0.dfsg.2/gnulib/lib/wchar.in.h:577:19: [1] (buffer) wcslen: 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). _GL_CXXALIASWARN (wcslen); data/texinfo-6.7.0.dfsg.2/gnulib/lib/wchar.in.h:579:9: [1] (buffer) wcslen: 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). # undef wcslen data/texinfo-6.7.0.dfsg.2/gnulib/lib/wchar.in.h:581:18: [1] (buffer) wcslen: 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). _GL_WARN_ON_USE (wcslen, "wcslen is unportable - " data/texinfo-6.7.0.dfsg.2/gnulib/lib/wchar.in.h:639:19: [1] (buffer) wcsncpy: Easily used incorrectly; doesn't always \0-terminate or check for invalid pointers [MS-banned] (CWE-120). _GL_FUNCDECL_SYS (wcsncpy, wchar_t *, data/texinfo-6.7.0.dfsg.2/gnulib/lib/wchar.in.h:642:19: [1] (buffer) wcsncpy: Easily used incorrectly; doesn't always \0-terminate or check for invalid pointers [MS-banned] (CWE-120). _GL_CXXALIAS_SYS (wcsncpy, wchar_t *, data/texinfo-6.7.0.dfsg.2/gnulib/lib/wchar.in.h:644:19: [1] (buffer) wcsncpy: Easily used incorrectly; doesn't always \0-terminate or check for invalid pointers [MS-banned] (CWE-120). _GL_CXXALIASWARN (wcsncpy); data/texinfo-6.7.0.dfsg.2/gnulib/lib/wchar.in.h:646:9: [1] (buffer) wcsncpy: Easily used incorrectly; doesn't always \0-terminate or check for invalid pointers [MS-banned] (CWE-120). # undef wcsncpy data/texinfo-6.7.0.dfsg.2/gnulib/lib/wchar.in.h:648:18: [1] (buffer) wcsncpy: Easily used incorrectly; doesn't always \0-terminate or check for invalid pointers [MS-banned] (CWE-120). _GL_WARN_ON_USE (wcsncpy, "wcsncpy is unportable - " data/texinfo-6.7.0.dfsg.2/gnulib/lib/wchar.in.h:692:19: [1] (buffer) wcsncat: Easily used incorrectly (e.g., incorrectly computing the correct maximum size to add) [MS-banned] (CWE-120). Consider strcat_s, strlcat, or automatically resizing strings. _GL_FUNCDECL_SYS (wcsncat, wchar_t *, data/texinfo-6.7.0.dfsg.2/gnulib/lib/wchar.in.h:695:19: [1] (buffer) wcsncat: Easily used incorrectly (e.g., incorrectly computing the correct maximum size to add) [MS-banned] (CWE-120). Consider strcat_s, strlcat, or automatically resizing strings. _GL_CXXALIAS_SYS (wcsncat, wchar_t *, data/texinfo-6.7.0.dfsg.2/gnulib/lib/wchar.in.h:697:19: [1] (buffer) wcsncat: Easily used incorrectly (e.g., incorrectly computing the correct maximum size to add) [MS-banned] (CWE-120). Consider strcat_s, strlcat, or automatically resizing strings. _GL_CXXALIASWARN (wcsncat); data/texinfo-6.7.0.dfsg.2/gnulib/lib/wchar.in.h:699:9: [1] (buffer) wcsncat: Easily used incorrectly (e.g., incorrectly computing the correct maximum size to add) [MS-banned] (CWE-120). Consider strcat_s, strlcat, or automatically resizing strings. # undef wcsncat data/texinfo-6.7.0.dfsg.2/gnulib/lib/wchar.in.h:701:18: [1] (buffer) wcsncat: Easily used incorrectly (e.g., incorrectly computing the correct maximum size to add) [MS-banned] (CWE-120). Consider strcat_s, strlcat, or automatically resizing strings. _GL_WARN_ON_USE (wcsncat, "wcsncat is unportable - " data/texinfo-6.7.0.dfsg.2/gnulib/lib/xmalloc.c:121:27: [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 xmemdup (string, strlen (string) + 1); data/texinfo-6.7.0.dfsg.2/info/dir.c:83: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). node->nodelen = strlen (node->contents); data/texinfo-6.7.0.dfsg.2/info/dir.c:114: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). int namelen = strlen (from_file); data/texinfo-6.7.0.dfsg.2/info/dir.c:115:41: [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). char *fullpath = xmalloc (3 + strlen (this_dir) + namelen); data/texinfo-6.7.0.dfsg.2/info/dir.c:118:35: [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 (!IS_SLASH (fullpath[strlen (fullpath) - 1])) data/texinfo-6.7.0.dfsg.2/info/dir.c:119:13: [1] (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). Risk is low because the source is a constant character. strcat (fullpath, "/"); data/texinfo-6.7.0.dfsg.2/info/dir.c:183:51: [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). (node, fb_binding.start, INFO_MENU_LABEL, strlen (INFO_MENU_LABEL)); data/texinfo-6.7.0.dfsg.2/info/display.c:175: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). entry->text, strlen (entry->text), &off); data/texinfo-6.7.0.dfsg.2/info/display.c:197:8: [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 (printed_line) > (unsigned int) screenwidth) data/texinfo-6.7.0.dfsg.2/info/display.c:204:43: [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). entry->text = xrealloc (entry->text, strlen (printed_line) + 1); data/texinfo-6.7.0.dfsg.2/info/display.c:693:42: [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). display[line_index]->textlen = strlen (win->modeline); data/texinfo-6.7.0.dfsg.2/info/echo-area.c:126:56: [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). input_line_beg = input_line_end = input_line_point = strlen (prompt); data/texinfo-6.7.0.dfsg.2/info/echo-area.c:147:11: [1] (buffer) strncpy: Easily used incorrectly; doesn't always \0-terminate or check for invalid pointers [MS-banned] (CWE-120). strncpy (return_value, &input_line[input_line_beg], line_len); data/texinfo-6.7.0.dfsg.2/info/echo-area.c:676: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 (kill_ring[kill_ring_loc]); data/texinfo-6.7.0.dfsg.2/info/echo-area.c:800:3: [1] (buffer) strncpy: Easily used incorrectly; doesn't always \0-terminate or check for invalid pointers [MS-banned] (CWE-120). strncpy (killed_text, &input_line[from], distance); data/texinfo-6.7.0.dfsg.2/info/echo-area.c:814:26: [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). new = xmalloc (1 + strlen (old) + strlen (killed_text)); data/texinfo-6.7.0.dfsg.2/info/echo-area.c:814:41: [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). new = xmalloc (1 + strlen (old) + strlen (killed_text)); data/texinfo-6.7.0.dfsg.2/info/echo-area.c:1057: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). int len = strlen (completions_found[i]->label); data/texinfo-6.7.0.dfsg.2/info/echo-area.c:1097:36: [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). printed_length = strlen (label); data/texinfo-6.7.0.dfsg.2/info/echo-area.c:1234:3: [1] (buffer) strncpy: Easily used incorrectly; doesn't always \0-terminate or check for invalid pointers [MS-banned] (CWE-120). strncpy (request, &input_line[input_line_beg], len); data/texinfo-6.7.0.dfsg.2/info/echo-area.c:1317:16: [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 req_len = strlen (request); data/texinfo-6.7.0.dfsg.2/info/echo-area.c:1326:5: [1] (buffer) strncpy: Easily used incorrectly; doesn't always \0-terminate or check for invalid pointers [MS-banned] (CWE-120). strncpy (LCD_reference.label, completions_found[i]->label, shortest); data/texinfo-6.7.0.dfsg.2/info/filesys.c:203:26: [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). pre_suffix_length += strlen (dirname); data/texinfo-6.7.0.dfsg.2/info/filesys.c:205: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). pre_suffix_length += strlen (filename); data/texinfo-6.7.0.dfsg.2/info/filesys.c:214:36: [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 (!IS_SLASH (try_filename[(strlen (try_filename)) - 1])) data/texinfo-6.7.0.dfsg.2/info/filesys.c:216:11: [1] (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). Risk is low because the source is a constant character. strcat (try_filename, "/"); data/texinfo-6.7.0.dfsg.2/info/filesys.c:261:40: [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). pre_compress_suffix_length = strlen (try_filename); data/texinfo-6.7.0.dfsg.2/info/filesys.c:349:12: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). if ((read (descriptor, contents, fsize)) != fsize) data/texinfo-6.7.0.dfsg.2/info/filesys.c:407:27: [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). command = xmalloc (15 + strlen (pathname) + strlen (decompressor)); data/texinfo-6.7.0.dfsg.2/info/filesys.c:407: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). command = xmalloc (15 + strlen (pathname) + strlen (decompressor)); data/texinfo-6.7.0.dfsg.2/info/filesys.c:417:27: [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). temp = xmalloc (5 + strlen (command)); data/texinfo-6.7.0.dfsg.2/info/filesys.c:501:12: [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). for (i = strlen (filename) - 1; i > 0; i--) data/texinfo-6.7.0.dfsg.2/info/filesys.c:520: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). if (extension[strlen (extension) - 1] == 'z' || data/texinfo-6.7.0.dfsg.2/info/filesys.c:521: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). extension[strlen (extension) - 1] == 'Z') data/texinfo-6.7.0.dfsg.2/info/filesys.c:549: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). len = 4 + strlen (filename) + strlen (result); data/texinfo-6.7.0.dfsg.2/info/filesys.c:549: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). len = 4 + strlen (filename) + strlen (result); data/texinfo-6.7.0.dfsg.2/info/footnotes.c:80: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). int reflen = strlen ("-Footnotes") + strlen (node->nodename); data/texinfo-6.7.0.dfsg.2/info/footnotes.c:80:48: [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 reflen = strlen ("-Footnotes") + strlen (node->nodename); data/texinfo-6.7.0.dfsg.2/info/footnotes.c:132:23: [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). result->nodelen = strlen (header) + fn_node->nodelen - text_start; data/texinfo-6.7.0.dfsg.2/info/footnotes.c:137: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). memcpy (result->contents + strlen (header), data/texinfo-6.7.0.dfsg.2/info/footnotes.c:139: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). result->contents[strlen (header) + fn_node->nodelen - text_start] = '\0'; data/texinfo-6.7.0.dfsg.2/info/footnotes.c:155:41: [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). (*ref)->start -= text_start - strlen (header); data/texinfo-6.7.0.dfsg.2/info/footnotes.c:156:39: [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). (*ref)->end -= text_start - strlen (header); data/texinfo-6.7.0.dfsg.2/info/indices.c:315:16: [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). search_len = strlen (string); data/texinfo-6.7.0.dfsg.2/info/indices.c:421:12: [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). ls = strlen (index_search); data/texinfo-6.7.0.dfsg.2/info/info-utils.c:179:11: [1] (buffer) strncpy: Easily used incorrectly; doesn't always \0-terminate or check for invalid pointers [MS-banned] (CWE-120). strncpy (*output, start, len); data/texinfo-6.7.0.dfsg.2/info/info-utils.c:196:11: [1] (buffer) strncpy: Easily used incorrectly; doesn't always \0-terminate or check for invalid pointers [MS-banned] (CWE-120). strncpy (*output, start + 1, len); data/texinfo-6.7.0.dfsg.2/info/info-utils.c:237:54: [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). && (mbsncasecmp (entry->label, label, strlen (label)) == 0)) data/texinfo-6.7.0.dfsg.2/info/info-utils.c:389: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 (string); data/texinfo-6.7.0.dfsg.2/info/info-utils.c:784: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). int width = strlen (erp->from_string); data/texinfo-6.7.0.dfsg.2/info/info-utils.c:791:35: [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). strlen(erp->to_string)); data/texinfo-6.7.0.dfsg.2/info/info-utils.c:1116: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). if (!strncasecmp (ptr, INFO_FILE_LABEL, strlen(INFO_FILE_LABEL))) data/texinfo-6.7.0.dfsg.2/info/info-utils.c:1118: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). ptr += strlen (INFO_FILE_LABEL); data/texinfo-6.7.0.dfsg.2/info/info-utils.c:1120:52: [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 (!strncasecmp (ptr, INFO_NODE_LABEL, strlen(INFO_NODE_LABEL))) data/texinfo-6.7.0.dfsg.2/info/info-utils.c:1122: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). ptr += strlen (INFO_NODE_LABEL); data/texinfo-6.7.0.dfsg.2/info/info-utils.c:1124:52: [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 (!strncasecmp (ptr, INFO_PREV_LABEL, strlen(INFO_PREV_LABEL))) data/texinfo-6.7.0.dfsg.2/info/info-utils.c:1126: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). ptr += strlen (INFO_PREV_LABEL); data/texinfo-6.7.0.dfsg.2/info/info-utils.c:1130: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). strlen(INFO_ALTPREV_LABEL))) data/texinfo-6.7.0.dfsg.2/info/info-utils.c:1132: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). ptr += strlen (INFO_ALTPREV_LABEL); data/texinfo-6.7.0.dfsg.2/info/info-utils.c:1135:52: [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 (!strncasecmp (ptr, INFO_NEXT_LABEL, strlen(INFO_NEXT_LABEL))) data/texinfo-6.7.0.dfsg.2/info/info-utils.c:1137: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). ptr += strlen (INFO_NEXT_LABEL); data/texinfo-6.7.0.dfsg.2/info/info-utils.c:1140:50: [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 (!strncasecmp (ptr, INFO_UP_LABEL, strlen(INFO_UP_LABEL))) data/texinfo-6.7.0.dfsg.2/info/info-utils.c:1142: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). ptr += strlen (INFO_UP_LABEL); data/texinfo-6.7.0.dfsg.2/info/info-utils.c:1166:11: [1] (buffer) strncpy: Easily used incorrectly; doesn't always \0-terminate or check for invalid pointers [MS-banned] (CWE-120). strncpy (*store_in, ptr, value_length); data/texinfo-6.7.0.dfsg.2/info/info-utils.c:1207:27: [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). copy_input_to_output (strlen ("\n* ")); data/texinfo-6.7.0.dfsg.2/info/info-utils.c:1213:37: [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 (!strchr (" \t\r\n", inptr[strlen ("*Note")])) data/texinfo-6.7.0.dfsg.2/info/info-utils.c:1215: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). copy_input_to_output (strlen ("*Note:")); data/texinfo-6.7.0.dfsg.2/info/info-utils.c:1244: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). skip_input (strlen ("*Note")); data/texinfo-6.7.0.dfsg.2/info/info-utils.c:1400:40: [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). strlen (entry->filename)); data/texinfo-6.7.0.dfsg.2/info/info-utils.c:1402:40: [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). strlen (" manual)")); data/texinfo-6.7.0.dfsg.2/info/info-utils.c:1487:42: [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 (lineptr, "(line ", strlen ("(line "))) data/texinfo-6.7.0.dfsg.2/info/info-utils.c:1489: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). lineptr += strlen ("(line "); data/texinfo-6.7.0.dfsg.2/info/info-utils.c:1563:36: [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). (!strncasecmp (contents, string, strlen (string))) data/texinfo-6.7.0.dfsg.2/info/info-utils.c:1690:27: [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). label_len = strlen (entry->label); data/texinfo-6.7.0.dfsg.2/info/info-utils.c:1730: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). strlen (INFO_MENU_LABEL))) data/texinfo-6.7.0.dfsg.2/info/info-utils.c:1733:23: [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). skip_input (strlen ("\n* Menu:")); data/texinfo-6.7.0.dfsg.2/info/info-utils.c:1810: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). rep = xrealloc (rep, 1 + strlen (filename) + 1 + strlen (node->nodename) + 1); data/texinfo-6.7.0.dfsg.2/info/info-utils.c:1810:56: [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). rep = xrealloc (rep, 1 + strlen (filename) + 1 + strlen (node->nodename) + 1); data/texinfo-6.7.0.dfsg.2/info/info-utils.c:1823:40: [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 char *filename = pathname + strlen (pathname); data/texinfo-6.7.0.dfsg.2/info/info-utils.c:2046: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). p = xmalloc (sizeof (*p) + strlen (name)); data/texinfo-6.7.0.dfsg.2/info/info.c:390: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). int len = strlen (user_nodenames[i]); data/texinfo-6.7.0.dfsg.2/info/infodoc.c:152: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). if ((desired_doc_start + strlen (doc)) data/texinfo-6.7.0.dfsg.2/info/infodoc.c:237:40: [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). replace_in_documentation (strlen (function_doc_array[i].doc) data/texinfo-6.7.0.dfsg.2/info/infodoc.c:423:37: [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 replace_in_documentation ((strlen (doc) == 0) ? doc : _(doc), 0); data/texinfo-6.7.0.dfsg.2/info/infodoc.c:520: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). (10 + strlen (keyname) + strlen (fundoc) + strlen (funname)); data/texinfo-6.7.0.dfsg.2/info/infodoc.c:520: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). (10 + strlen (keyname) + strlen (fundoc) + strlen (funname)); data/texinfo-6.7.0.dfsg.2/info/infodoc.c:520:56: [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). (10 + strlen (keyname) + strlen (fundoc) + strlen (funname)); data/texinfo-6.7.0.dfsg.2/info/infodoc.c:645: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). text_buffer_alloc (&txtresult, strlen (string)); data/texinfo-6.7.0.dfsg.2/info/infodoc.c:674:19: [1] (buffer) strncpy: Easily used incorrectly; doesn't always \0-terminate or check for invalid pointers [MS-banned] (CWE-120). strncpy (fmt, string + i + 1, j - i); data/texinfo-6.7.0.dfsg.2/info/infodoc.c:695:15: [1] (buffer) strncpy: Easily used incorrectly; doesn't always \0-terminate or check for invalid pointers [MS-banned] (CWE-120). strncpy (rep_name, string + start, i - start); data/texinfo-6.7.0.dfsg.2/info/infodoc.c:727: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). replen = strlen (rep); data/texinfo-6.7.0.dfsg.2/info/infodoc.c:739:43: [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). string + start, strlen (string + start) + 1); data/texinfo-6.7.0.dfsg.2/info/infokey.c:233:36: [1] (buffer) fgetc: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). while (!error && (rescan || (c = fgetc (fp)) != EOF)) data/texinfo-6.7.0.dfsg.2/info/infomap.c:570:27: [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). filename = xmalloc (strlen (homedir) + 2 + strlen (INFOKEY_FILE)); data/texinfo-6.7.0.dfsg.2/info/infomap.c:570:50: [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). filename = xmalloc (strlen (homedir) + 2 + strlen (INFOKEY_FILE)); data/texinfo-6.7.0.dfsg.2/info/infomap.c:572:7: [1] (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). Risk is low because the source is a constant character. strcat (filename, "/"); data/texinfo-6.7.0.dfsg.2/info/infopath.c:73: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). unsigned len = strlen (path_from_env); data/texinfo-6.7.0.dfsg.2/info/infopath.c:133:56: [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). temp_dirname = xrealloc (temp_dirname, dir + strlen ("share/info") +1); data/texinfo-6.7.0.dfsg.2/info/infopath.c:244:23: [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 (!string || i >= strlen (string)) data/texinfo-6.7.0.dfsg.2/info/infopath.c:256:5: [1] (buffer) strncpy: Easily used incorrectly; doesn't always \0-terminate or check for invalid pointers [MS-banned] (CWE-120). strncpy (value, &string[start], (i - start)); data/texinfo-6.7.0.dfsg.2/info/makedoc.c:206:28: [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). block_len += 3 + strlen (etag->name); data/texinfo-6.7.0.dfsg.2/info/makedoc.c:208: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). block_len += strlen (digits); data/texinfo-6.7.0.dfsg.2/info/makedoc.c:281:15: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). file_size = read (descriptor, buffer, file_size); data/texinfo-6.7.0.dfsg.2/info/makedoc.c:286: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). decl_len = strlen (decl_str); data/texinfo-6.7.0.dfsg.2/info/makedoc.c:349:7: [1] (buffer) strncpy: Easily used incorrectly; doesn't always \0-terminate or check for invalid pointers [MS-banned] (CWE-120). strncpy (func, buffer + point, offset - point); data/texinfo-6.7.0.dfsg.2/info/makedoc.c:357:9: [1] (buffer) strncpy: Easily used incorrectly; doesn't always \0-terminate or check for invalid pointers [MS-banned] (CWE-120). strncpy (tag_name, buffer + line_start, offset - line_start); data/texinfo-6.7.0.dfsg.2/info/makedoc.c:379: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). temp_func_name = xmalloc (10 + strlen (func_name)); data/texinfo-6.7.0.dfsg.2/info/makedoc.c:431:7: [1] (buffer) strncpy: Easily used incorrectly; doesn't always \0-terminate or check for invalid pointers [MS-banned] (CWE-120). strncpy (doc, buffer + point, offset - point); data/texinfo-6.7.0.dfsg.2/info/man.c:98: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). plen = strlen (page); data/texinfo-6.7.0.dfsg.2/info/man.c:141:28: [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). temp = xmalloc (34 + strlen (temp_dirname) + strlen (filename)); data/texinfo-6.7.0.dfsg.2/info/man.c:141:52: [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). temp = xmalloc (34 + strlen (temp_dirname) + strlen (filename)); data/texinfo-6.7.0.dfsg.2/info/man.c:143:28: [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 (!IS_SLASH (temp[(strlen (temp)) - 1])) data/texinfo-6.7.0.dfsg.2/info/man.c:144:9: [1] (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). Risk is low because the source is a constant character. strcat (temp, "/"); data/texinfo-6.7.0.dfsg.2/info/man.c:146: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). temp_end = temp + strlen (temp); data/texinfo-6.7.0.dfsg.2/info/man.c:198:3: [1] (buffer) strncpy: Easily used incorrectly; doesn't always \0-terminate or check for invalid pointers [MS-banned] (CWE-120). strncpy (manpage_pagename, pagename, i); data/texinfo-6.7.0.dfsg.2/info/man.c:210:7: [1] (buffer) strncpy: Easily used incorrectly; doesn't always \0-terminate or check for invalid pointers [MS-banned] (CWE-120). strncpy (manpage_section, pagename + start, (i - start)); data/texinfo-6.7.0.dfsg.2/info/man.c:219:16: [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 len = strlen (manpage); data/texinfo-6.7.0.dfsg.2/info/man.c:350: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). cmdlen += strlen (formatter_args[i]); data/texinfo-6.7.0.dfsg.2/info/man.c:448:27: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). amount_read = read (fd, buffer + bindex, 1023); data/texinfo-6.7.0.dfsg.2/info/man.c:582:11: [1] (buffer) strncpy: Easily used incorrectly; doesn't always \0-terminate or check for invalid pointers [MS-banned] (CWE-120). strncpy (entry->label, s.buffer + name, name_end - name); data/texinfo-6.7.0.dfsg.2/info/man.c:583:11: [1] (buffer) strncpy: Easily used incorrectly; doesn't always \0-terminate or check for invalid pointers [MS-banned] (CWE-120). strncpy (entry->label + strlen (entry->label), data/texinfo-6.7.0.dfsg.2/info/man.c:583:35: [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). strncpy (entry->label + strlen (entry->label), data/texinfo-6.7.0.dfsg.2/info/nodes.c:101: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). position += strlen (TAGS_TABLE_BEG_LABEL); data/texinfo-6.7.0.dfsg.2/info/nodes.c:130: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). position += strlen (INDIRECT_TABLE_LABEL); data/texinfo-6.7.0.dfsg.2/info/nodes.c:258: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). s.start += strlen (TAGS_TABLE_BEG_LABEL); data/texinfo-6.7.0.dfsg.2/info/nodes.c:309:7: [1] (buffer) strncpy: Easily used incorrectly; doesn't always \0-terminate or check for invalid pointers [MS-banned] (CWE-120). strncpy (entry->nodename, nodedef, p); data/texinfo-6.7.0.dfsg.2/info/nodes.c:379:9: [1] (buffer) strncpy: Easily used incorrectly; doesn't always \0-terminate or check for invalid pointers [MS-banned] (CWE-120). strncpy (subfile->filename, line, colon - 1); data/texinfo-6.7.0.dfsg.2/info/nodes.c:435: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). len_containing_dir = strlen (containing_dir); data/texinfo-6.7.0.dfsg.2/info/nodes.c:446: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). (2 + strlen (subfiles[i]->filename) + len_containing_dir); data/texinfo-6.7.0.dfsg.2/info/nodes.c:650: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). int fullpath_len = strlen (fullpath); data/texinfo-6.7.0.dfsg.2/info/nodes.c:784:16: [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). enc_start += strlen(CHARACTER_ENCODING_LABEL); /* Skip to after "coding:" */ data/texinfo-6.7.0.dfsg.2/info/nodes.c:790:3: [1] (buffer) strncpy: Easily used incorrectly; doesn't always \0-terminate or check for invalid pointers [MS-banned] (CWE-120). strncpy (enc_string, fb->contents + enc_start, enc_len); data/texinfo-6.7.0.dfsg.2/info/nodes.c:939:36: [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). p = defaults->fullpath + strlen (defaults->fullpath); data/texinfo-6.7.0.dfsg.2/info/pcterm.c:75:8: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). #undef read data/texinfo-6.7.0.dfsg.2/info/pcterm.c:1474:12: [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 (buffered + buf_idx); data/texinfo-6.7.0.dfsg.2/info/pseudotty.c:149:25: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). success = read (control, &c, 1); data/texinfo-6.7.0.dfsg.2/info/pseudotty.c:194:25: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). success = read (master, &c, 1); data/texinfo-6.7.0.dfsg.2/info/search.c:54:41: [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). char *unescaped_regexp = xmalloc (1 + strlen (regexp)); data/texinfo-6.7.0.dfsg.2/info/search.c:92:35: [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). char *escaped_string = xmalloc (strlen (search_string) * 2 + 1); data/texinfo-6.7.0.dfsg.2/info/search.c:233: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 (string); data/texinfo-6.7.0.dfsg.2/info/search.c:294: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 (input_string); data/texinfo-6.7.0.dfsg.2/info/search.c:402: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 (string); data/texinfo-6.7.0.dfsg.2/info/session.c:33:10: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). # define read(f,b,s) w32_read(f,b,s) data/texinfo-6.7.0.dfsg.2/info/session.c:437:11: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). if (read (tty, &c, 1) <= 0) data/texinfo-6.7.0.dfsg.2/info/session.c:464:21: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). chars_avail = read (tty, &input[0], chars_avail); data/texinfo-6.7.0.dfsg.2/info/session.c:474:21: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). chars_avail = read (tty, &input[0], space_avail); data/texinfo-6.7.0.dfsg.2/info/session.c:502:21: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). chars_avail = read (tty, &input[0], chars_avail); data/texinfo-6.7.0.dfsg.2/info/session.c:514:21: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). chars_avail = read (tty, &input[0], chars_avail); data/texinfo-6.7.0.dfsg.2/info/session.c:2331: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). prompt = xmalloc (strlen (defentry->label) data/texinfo-6.7.0.dfsg.2/info/session.c:2332:35: [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). + strlen (_("Menu item (%s): "))); data/texinfo-6.7.0.dfsg.2/info/session.c:2342: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). prompt = xmalloc (strlen (defentry->label) data/texinfo-6.7.0.dfsg.2/info/session.c:2343:35: [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). + strlen (_("Follow xref (%s): "))); data/texinfo-6.7.0.dfsg.2/info/session.c:3203:56: [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 (!strncasecmp (window->node->up, "(dir)", strlen ("(dir)"))) data/texinfo-6.7.0.dfsg.2/info/session.c:3324:37: [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). entry->label = xmalloc (4 + strlen (fb->filename)); data/texinfo-6.7.0.dfsg.2/info/session.c:3340:28: [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). (4 + strlen (fb->filename) + data/texinfo-6.7.0.dfsg.2/info/session.c:3341: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). strlen (fb->tags[i]->nodename)); data/texinfo-6.7.0.dfsg.2/info/session.c:3472:31: [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). nodename = xmalloc (strlen (program) + strlen (*try_node)); data/texinfo-6.7.0.dfsg.2/info/session.c:3472:50: [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). nodename = xmalloc (strlen (program) + strlen (*try_node)); data/texinfo-6.7.0.dfsg.2/info/session.c:3518:12: [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). for (i = strlen (program_name) - 1; i > 0; i--) data/texinfo-6.7.0.dfsg.2/info/session.c:3547: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). prompt = xmalloc (strlen (default_program_name) + data/texinfo-6.7.0.dfsg.2/info/session.c:3548: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). strlen (invocation_prompt)); data/texinfo-6.7.0.dfsg.2/info/session.c:4913:26: [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 ((p_rep_index + strlen (rep) + 1) >= p_rep_size) data/texinfo-6.7.0.dfsg.2/info/session.c:4917: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). p_rep_index += strlen (rep); data/texinfo-6.7.0.dfsg.2/info/session.c:4920:16: [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). prompt_len = strlen (prefix) + p_rep_index + 1; data/texinfo-6.7.0.dfsg.2/info/session.c:4922: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). prompt_len += strlen (_("Failing ")); data/texinfo-6.7.0.dfsg.2/info/session.c:5125:27: [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 ((char *) last_isearch_accepted) + 1 data/texinfo-6.7.0.dfsg.2/info/session.c:5130:37: [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). strlen (last_isearch_accepted)); data/texinfo-6.7.0.dfsg.2/info/session.c:5132:46: [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). isearch_string_index = strlen (isearch_string); data/texinfo-6.7.0.dfsg.2/info/session.c:5376: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). char *temp = xmalloc (1 + strlen (rep) + strlen (_("\"%s\" is invalid"))); data/texinfo-6.7.0.dfsg.2/info/session.c:5376:48: [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). char *temp = xmalloc (1 + strlen (rep) + strlen (_("\"%s\" is invalid"))); data/texinfo-6.7.0.dfsg.2/info/session.c:5423:5: [1] (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). Risk is low because the source is a constant character. strcat (rep, "-"); data/texinfo-6.7.0.dfsg.2/info/tag.c:77: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). tag->val = xstrdup (*kw + strlen(*kw) + 1); data/texinfo-6.7.0.dfsg.2/info/tag.c:96: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). for (mbi_init (iter, text, strlen (text)); mbi_avail (iter); data/texinfo-6.7.0.dfsg.2/info/tag.c:176:49: [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). text_buffer_add_string (outbuf, tag->val, strlen (tag->val)); data/texinfo-6.7.0.dfsg.2/info/tag.c:223:11: [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). q = p + strlen (p); data/texinfo-6.7.0.dfsg.2/info/tag.c:229: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). if (!strncmp ("index", p, strlen ("index"))) data/texinfo-6.7.0.dfsg.2/info/tilde.c:53:36: [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). temp_name = xmalloc (1 + strlen (&dirname[1]) data/texinfo-6.7.0.dfsg.2/info/tilde.c:54: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). + (temp_home ? strlen (temp_home) : 0)); data/texinfo-6.7.0.dfsg.2/info/tilde.c:85:40: [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). temp_name = xmalloc (1 + strlen (user_entry->pw_dir) data/texinfo-6.7.0.dfsg.2/info/tilde.c:86: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). + strlen (&dirname[i])); data/texinfo-6.7.0.dfsg.2/info/variables.c:188:9: [1] (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). Risk is low because the source is a constant character. strcat (string, ","); data/texinfo-6.7.0.dfsg.2/info/variables.c:194:9: [1] (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). Risk is low because the source is a constant character. strcat (string, ","); data/texinfo-6.7.0.dfsg.2/info/variables.c:200:9: [1] (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). Risk is low because the source is a constant character. strcat (string, ","); data/texinfo-6.7.0.dfsg.2/info/variables.c:206:9: [1] (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). Risk is low because the source is a constant character. strcat (string, ","); data/texinfo-6.7.0.dfsg.2/info/variables.c:213:9: [1] (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). Risk is low because the source is a constant character. strcat (string, ","); data/texinfo-6.7.0.dfsg.2/info/window.c:907:26: [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). modeline_len += 10 + strlen (_("-----Info: (), lines ----, ")); data/texinfo-6.7.0.dfsg.2/info/window.c:909: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). modeline_len += strlen (name); data/texinfo-6.7.0.dfsg.2/info/window.c:911:23: [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). modeline_len += strlen (nodename); data/texinfo-6.7.0.dfsg.2/info/window.c:917: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). sprintf (modeline + strlen (modeline), "-----Info: "); data/texinfo-6.7.0.dfsg.2/info/window.c:924:9: [1] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source is a constant character. sprintf (modeline + strlen (modeline), "("); data/texinfo-6.7.0.dfsg.2/info/window.c:924: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). sprintf (modeline + strlen (modeline), "("); data/texinfo-6.7.0.dfsg.2/info/window.c:925:9: [1] (buffer) strncpy: Easily used incorrectly; doesn't always \0-terminate or check for invalid pointers [MS-banned] (CWE-120). strncpy (modeline + strlen (modeline), name, dot); data/texinfo-6.7.0.dfsg.2/info/window.c:925: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). strncpy (modeline + strlen (modeline), name, dot); data/texinfo-6.7.0.dfsg.2/info/window.c:926:9: [1] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source is a constant character. sprintf (modeline + strlen (modeline), ")"); data/texinfo-6.7.0.dfsg.2/info/window.c:926: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). sprintf (modeline + strlen (modeline), ")"); data/texinfo-6.7.0.dfsg.2/info/window.c:928: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). sprintf (modeline + strlen (modeline), data/texinfo-6.7.0.dfsg.2/info/window.c:932: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). i = strlen (modeline); data/texinfo-6.7.0.dfsg.2/info/window.c:1143:49: [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). && !memcmp (win->node->contents, "File:", strlen ("File:"))) data/texinfo-6.7.0.dfsg.2/install-info/install-info.c:256: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). int len1 = strlen (s1), len2 = strlen (s2), len3 = strlen (s3); data/texinfo-6.7.0.dfsg.2/install-info/install-info.c:256: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). int len1 = strlen (s1), len2 = strlen (s2), len3 = strlen (s3); data/texinfo-6.7.0.dfsg.2/install-info/install-info.c:256:54: [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 len1 = strlen (s1), len2 = strlen (s2), len3 = strlen (s3); data/texinfo-6.7.0.dfsg.2/install-info/install-info.c:416: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). unsigned len = strlen (ret); data/texinfo-6.7.0.dfsg.2/install-info/install-info.c:476:23: [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). unsigned name_len = strlen (name); data/texinfo-6.7.0.dfsg.2/install-info/install-info.c:516: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). unsigned suffix_len = strlen (suffix); data/texinfo-6.7.0.dfsg.2/install-info/install-info.c:1095:23: [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 prefix_length = strlen ("INFO-DIR-SECTION "); data/texinfo-6.7.0.dfsg.2/install-info/install-info.c:1428: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 (outstr, name, name_len); data/texinfo-6.7.0.dfsg.2/install-info/install-info.c:1437:11: [1] (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). Risk is low because the source is a constant character. strcat (outstr, "\n"); data/texinfo-6.7.0.dfsg.2/install-info/install-info.c:1442:15: [1] (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). Risk is low because the source is a constant character. strcat (outstr, " "); data/texinfo-6.7.0.dfsg.2/install-info/install-info.c:1452:9: [1] (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). Risk is low because the source is a constant character. strcat (outstr, " "); data/texinfo-6.7.0.dfsg.2/install-info/install-info.c:1471:11: [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 (outstr, line_out, offset_out); data/texinfo-6.7.0.dfsg.2/install-info/install-info.c:1507:15: [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 (outstr, line_out, logical_end); data/texinfo-6.7.0.dfsg.2/install-info/install-info.c:1508:15: [1] (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). Risk is low because the source is a constant character. strcat (outstr, "\n"); data/texinfo-6.7.0.dfsg.2/install-info/install-info.c:1512:19: [1] (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). Risk is low because the source is a constant character. strcat (outstr, " "); data/texinfo-6.7.0.dfsg.2/install-info/install-info.c:1533:11: [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 (outstr, line_out, offset_out); data/texinfo-6.7.0.dfsg.2/install-info/install-info.c:1541:5: [1] (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). Risk is low because the source is a constant character. strcat (outstr, "\n"); data/texinfo-6.7.0.dfsg.2/install-info/install-info.c:1544: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 (outstr, line_out, offset_out); data/texinfo-6.7.0.dfsg.2/install-info/install-info.c:1547: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). *outstr_len = strlen (outstr); data/texinfo-6.7.0.dfsg.2/install-info/install-info.c:1573:23: [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 (entry); data/texinfo-6.7.0.dfsg.2/install-info/install-info.c:1585: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 (*name, entry, *name_len); data/texinfo-6.7.0.dfsg.2/install-info/install-info.c:1588:27: [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). *description = xmalloc (strlen (entry)); data/texinfo-6.7.0.dfsg.2/install-info/install-info.c:1607:11: [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 (*description, ptr, length); data/texinfo-6.7.0.dfsg.2/install-info/install-info.c:1619: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). if (length > 1 && strlen (ptr) > 0) data/texinfo-6.7.0.dfsg.2/install-info/install-info.c:1626:17: [1] (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). Risk is low because the source is a constant character. strcat (*description, " "); data/texinfo-6.7.0.dfsg.2/install-info/install-info.c:1633:27: [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 (ptr); data/texinfo-6.7.0.dfsg.2/install-info/install-info.c:1634:11: [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 (*description, ptr, length); data/texinfo-6.7.0.dfsg.2/install-info/install-info.c:1639:3: [1] (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). Risk is low because the source is a constant character. strcat (*description, "\n"); data/texinfo-6.7.0.dfsg.2/install-info/install-info.c:1640: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). *description_len = strlen (*description); data/texinfo-6.7.0.dfsg.2/install-info/install-info.c:1714: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 name_len = strlen (name); data/texinfo-6.7.0.dfsg.2/install-info/install-info.c:1719: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). rest = ptr += strlen (": (). "); data/texinfo-6.7.0.dfsg.2/install-info/install-info.c:1728: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). entry->text_len = strlen (entry->text); data/texinfo-6.7.0.dfsg.2/install-info/install-info.c:1759: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). size_t full_name_len = strlen (name) * 2 + 9; data/texinfo-6.7.0.dfsg.2/install-info/install-info.c:1770: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). entry->text_len = strlen (entry->text); data/texinfo-6.7.0.dfsg.2/install-info/install-info.c:1789: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). if (strlen (desc) > 1) data/texinfo-6.7.0.dfsg.2/install-info/install-info.c:1790: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). if (desc[strlen (desc) - 1] == '\n') data/texinfo-6.7.0.dfsg.2/install-info/install-info.c:1798: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). entry->text_len = strlen (entry->text); data/texinfo-6.7.0.dfsg.2/install-info/install-info.c:1860:26: [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). opt = xmalloc (strlen (regex) + sizeof ("--regex=")); data/texinfo-6.7.0.dfsg.2/install-info/install-info.c:1867:26: [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). opt = xmalloc (strlen (title) + sizeof ("--section=")); data/texinfo-6.7.0.dfsg.2/install-info/install-info.c:2007: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 (optarg); data/texinfo-6.7.0.dfsg.2/install-info/install-info.c:2041: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). next->text_len = strlen (next->text); data/texinfo-6.7.0.dfsg.2/install-info/install-info.c:2087:26: [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). length = strlen (optarg) + 9; data/texinfo-6.7.0.dfsg.2/install-info/install-info.c:2097:26: [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). length = strlen (optarg) + 2; data/texinfo-6.7.0.dfsg.2/install-info/install-info.c:2121: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). int olen = strlen (optarg); data/texinfo-6.7.0.dfsg.2/install-info/install-info.c:2338: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). char *infile_basename = infile + strlen (infile); data/texinfo-6.7.0.dfsg.2/install-info/install-info.c:2793:12: [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). len1 = strlen (text1); data/texinfo-6.7.0.dfsg.2/install-info/install-info.c:2797:12: [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). len2 = strlen (text2); data/texinfo-6.7.0.dfsg.2/install-info/install-info.c:2825:42: [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). || menu_line_lessp (entry->text, strlen (entry->text), data/texinfo-6.7.0.dfsg.2/install-info/install-info.c:2827: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). strlen (dir_lines[line_number].add_entries_before[i]->text))) data/texinfo-6.7.0.dfsg.2/tp/Texinfo/XS/gnulib/lib/getdelim.c:39:41: [1] (buffer) getc: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). # define getc_maybe_unlocked(fp) getc(fp) data/texinfo-6.7.0.dfsg.2/tp/Texinfo/XS/gnulib/lib/getdelim.c:45:41: [1] (buffer) getc: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). # define getc_maybe_unlocked(fp) getc(fp) data/texinfo-6.7.0.dfsg.2/tp/Texinfo/XS/gnulib/lib/stdio.in.h:261:11: [1] (buffer) fgetc: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). # undef fgetc data/texinfo-6.7.0.dfsg.2/tp/Texinfo/XS/gnulib/lib/stdio.in.h:262:12: [1] (buffer) fgetc: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). # define fgetc rpl_fgetc data/texinfo-6.7.0.dfsg.2/tp/Texinfo/XS/gnulib/lib/stdio.in.h:264:19: [1] (buffer) fgetc: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). _GL_FUNCDECL_RPL (fgetc, int, (FILE *stream) _GL_ARG_NONNULL ((1))); data/texinfo-6.7.0.dfsg.2/tp/Texinfo/XS/gnulib/lib/stdio.in.h:265:19: [1] (buffer) fgetc: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). _GL_CXXALIAS_RPL (fgetc, int, (FILE *stream)); data/texinfo-6.7.0.dfsg.2/tp/Texinfo/XS/gnulib/lib/stdio.in.h:267:19: [1] (buffer) fgetc: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). _GL_CXXALIAS_SYS (fgetc, int, (FILE *stream)); data/texinfo-6.7.0.dfsg.2/tp/Texinfo/XS/gnulib/lib/stdio.in.h:269:19: [1] (buffer) fgetc: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). _GL_CXXALIASWARN (fgetc); data/texinfo-6.7.0.dfsg.2/tp/Texinfo/XS/gnulib/lib/stdio.in.h:648:11: [1] (buffer) getc: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). # undef getc data/texinfo-6.7.0.dfsg.2/tp/Texinfo/XS/gnulib/lib/stdio.in.h:649:12: [1] (buffer) getc: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). # define getc rpl_fgetc data/texinfo-6.7.0.dfsg.2/tp/Texinfo/XS/gnulib/lib/stdio.in.h:651:19: [1] (buffer) fgetc: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). _GL_FUNCDECL_RPL (fgetc, int, (FILE *stream) _GL_ARG_NONNULL ((1))); data/texinfo-6.7.0.dfsg.2/tp/Texinfo/XS/gnulib/lib/stdio.in.h:652:21: [1] (buffer) getc: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). _GL_CXXALIAS_RPL_1 (getc, rpl_fgetc, int, (FILE *stream)); data/texinfo-6.7.0.dfsg.2/tp/Texinfo/XS/gnulib/lib/stdio.in.h:654:19: [1] (buffer) getc: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). _GL_CXXALIAS_SYS (getc, int, (FILE *stream)); data/texinfo-6.7.0.dfsg.2/tp/Texinfo/XS/gnulib/lib/stdio.in.h:656:19: [1] (buffer) getc: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). _GL_CXXALIASWARN (getc); data/texinfo-6.7.0.dfsg.2/tp/Texinfo/XS/gnulib/lib/stdio.in.h:662:11: [1] (buffer) getchar: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). # undef getchar data/texinfo-6.7.0.dfsg.2/tp/Texinfo/XS/gnulib/lib/stdio.in.h:663:12: [1] (buffer) getchar: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). # define getchar rpl_getchar data/texinfo-6.7.0.dfsg.2/tp/Texinfo/XS/gnulib/lib/stdio.in.h:665:19: [1] (buffer) getchar: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). _GL_FUNCDECL_RPL (getchar, int, (void)); data/texinfo-6.7.0.dfsg.2/tp/Texinfo/XS/gnulib/lib/stdio.in.h:666:19: [1] (buffer) getchar: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). _GL_CXXALIAS_RPL (getchar, int, (void)); data/texinfo-6.7.0.dfsg.2/tp/Texinfo/XS/gnulib/lib/stdio.in.h:668:19: [1] (buffer) getchar: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). _GL_CXXALIAS_SYS (getchar, int, (void)); data/texinfo-6.7.0.dfsg.2/tp/Texinfo/XS/gnulib/lib/stdio.in.h:670:19: [1] (buffer) getchar: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). _GL_CXXALIASWARN (getchar); data/texinfo-6.7.0.dfsg.2/tp/Texinfo/XS/gnulib/lib/string.in.h:411:11: [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. # undef strncat data/texinfo-6.7.0.dfsg.2/tp/Texinfo/XS/gnulib/lib/string.in.h:412:12: [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. # define strncat rpl_strncat data/texinfo-6.7.0.dfsg.2/tp/Texinfo/XS/gnulib/lib/string.in.h:414:19: [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. _GL_FUNCDECL_RPL (strncat, char *, (char *dest, const char *src, size_t n) data/texinfo-6.7.0.dfsg.2/tp/Texinfo/XS/gnulib/lib/string.in.h:416:19: [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. _GL_CXXALIAS_RPL (strncat, char *, (char *dest, const char *src, size_t n)); data/texinfo-6.7.0.dfsg.2/tp/Texinfo/XS/gnulib/lib/string.in.h:418:19: [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. _GL_CXXALIAS_SYS (strncat, char *, (char *dest, const char *src, size_t n)); data/texinfo-6.7.0.dfsg.2/tp/Texinfo/XS/gnulib/lib/string.in.h:420:19: [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. _GL_CXXALIASWARN (strncat); data/texinfo-6.7.0.dfsg.2/tp/Texinfo/XS/gnulib/lib/string.in.h:422:9: [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. # undef strncat data/texinfo-6.7.0.dfsg.2/tp/Texinfo/XS/gnulib/lib/string.in.h:424:18: [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. _GL_WARN_ON_USE (strncat, "strncat is unportable - " data/texinfo-6.7.0.dfsg.2/tp/Texinfo/XS/gnulib/lib/vasnprintf.c:240:24: [1] (buffer) wcslen: 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). # define local_wcslen wcslen data/texinfo-6.7.0.dfsg.2/tp/Texinfo/XS/gnulib/lib/vasnprintf.c:1744:26: [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). tmp_length = strlen (arg); data/texinfo-6.7.0.dfsg.2/tp/Texinfo/XS/gnulib/lib/vasnprintf.c:2576:39: [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). arg_end = arg + strlen (arg); data/texinfo-6.7.0.dfsg.2/tp/Texinfo/XS/gnulib/lib/vasnprintf.c:3663:43: [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). ndigits = strlen (digits); data/texinfo-6.7.0.dfsg.2/tp/Texinfo/XS/gnulib/lib/vasnprintf.c:3723:51: [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). ndigits = strlen (digits); data/texinfo-6.7.0.dfsg.2/tp/Texinfo/XS/gnulib/lib/vasnprintf.c:3759: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 (strlen (digits2) == precision + 1) data/texinfo-6.7.0.dfsg.2/tp/Texinfo/XS/gnulib/lib/vasnprintf.c:3859:51: [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). ndigits = strlen (digits); data/texinfo-6.7.0.dfsg.2/tp/Texinfo/XS/gnulib/lib/vasnprintf.c:3895: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 (strlen (digits2) == precision) data/texinfo-6.7.0.dfsg.2/tp/Texinfo/XS/gnulib/lib/vasnprintf.c:4125:43: [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). ndigits = strlen (digits); data/texinfo-6.7.0.dfsg.2/tp/Texinfo/XS/gnulib/lib/vasnprintf.c:4182:51: [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). ndigits = strlen (digits); data/texinfo-6.7.0.dfsg.2/tp/Texinfo/XS/gnulib/lib/vasnprintf.c:4217: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 (strlen (digits2) == precision + 1) data/texinfo-6.7.0.dfsg.2/tp/Texinfo/XS/gnulib/lib/vasnprintf.c:4330:51: [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). ndigits = strlen (digits); data/texinfo-6.7.0.dfsg.2/tp/Texinfo/XS/gnulib/lib/vasnprintf.c:4365: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 (strlen (digits2) == precision) data/texinfo-6.7.0.dfsg.2/tp/Texinfo/XS/gnulib/lib/wchar.in.h:574:19: [1] (buffer) wcslen: 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). _GL_FUNCDECL_SYS (wcslen, size_t, (const wchar_t *s) _GL_ATTRIBUTE_PURE); data/texinfo-6.7.0.dfsg.2/tp/Texinfo/XS/gnulib/lib/wchar.in.h:576:19: [1] (buffer) wcslen: 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). _GL_CXXALIAS_SYS (wcslen, size_t, (const wchar_t *s)); data/texinfo-6.7.0.dfsg.2/tp/Texinfo/XS/gnulib/lib/wchar.in.h:577:19: [1] (buffer) wcslen: 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). _GL_CXXALIASWARN (wcslen); data/texinfo-6.7.0.dfsg.2/tp/Texinfo/XS/gnulib/lib/wchar.in.h:579:9: [1] (buffer) wcslen: 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). # undef wcslen data/texinfo-6.7.0.dfsg.2/tp/Texinfo/XS/gnulib/lib/wchar.in.h:581:18: [1] (buffer) wcslen: 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). _GL_WARN_ON_USE (wcslen, "wcslen is unportable - " data/texinfo-6.7.0.dfsg.2/tp/Texinfo/XS/gnulib/lib/wchar.in.h:639:19: [1] (buffer) wcsncpy: Easily used incorrectly; doesn't always \0-terminate or check for invalid pointers [MS-banned] (CWE-120). _GL_FUNCDECL_SYS (wcsncpy, wchar_t *, data/texinfo-6.7.0.dfsg.2/tp/Texinfo/XS/gnulib/lib/wchar.in.h:642:19: [1] (buffer) wcsncpy: Easily used incorrectly; doesn't always \0-terminate or check for invalid pointers [MS-banned] (CWE-120). _GL_CXXALIAS_SYS (wcsncpy, wchar_t *, data/texinfo-6.7.0.dfsg.2/tp/Texinfo/XS/gnulib/lib/wchar.in.h:644:19: [1] (buffer) wcsncpy: Easily used incorrectly; doesn't always \0-terminate or check for invalid pointers [MS-banned] (CWE-120). _GL_CXXALIASWARN (wcsncpy); data/texinfo-6.7.0.dfsg.2/tp/Texinfo/XS/gnulib/lib/wchar.in.h:646:9: [1] (buffer) wcsncpy: Easily used incorrectly; doesn't always \0-terminate or check for invalid pointers [MS-banned] (CWE-120). # undef wcsncpy data/texinfo-6.7.0.dfsg.2/tp/Texinfo/XS/gnulib/lib/wchar.in.h:648:18: [1] (buffer) wcsncpy: Easily used incorrectly; doesn't always \0-terminate or check for invalid pointers [MS-banned] (CWE-120). _GL_WARN_ON_USE (wcsncpy, "wcsncpy is unportable - " data/texinfo-6.7.0.dfsg.2/tp/Texinfo/XS/gnulib/lib/wchar.in.h:692:19: [1] (buffer) wcsncat: Easily used incorrectly (e.g., incorrectly computing the correct maximum size to add) [MS-banned] (CWE-120). Consider strcat_s, strlcat, or automatically resizing strings. _GL_FUNCDECL_SYS (wcsncat, wchar_t *, data/texinfo-6.7.0.dfsg.2/tp/Texinfo/XS/gnulib/lib/wchar.in.h:695:19: [1] (buffer) wcsncat: Easily used incorrectly (e.g., incorrectly computing the correct maximum size to add) [MS-banned] (CWE-120). Consider strcat_s, strlcat, or automatically resizing strings. _GL_CXXALIAS_SYS (wcsncat, wchar_t *, data/texinfo-6.7.0.dfsg.2/tp/Texinfo/XS/gnulib/lib/wchar.in.h:697:19: [1] (buffer) wcsncat: Easily used incorrectly (e.g., incorrectly computing the correct maximum size to add) [MS-banned] (CWE-120). Consider strcat_s, strlcat, or automatically resizing strings. _GL_CXXALIASWARN (wcsncat); data/texinfo-6.7.0.dfsg.2/tp/Texinfo/XS/gnulib/lib/wchar.in.h:699:9: [1] (buffer) wcsncat: Easily used incorrectly (e.g., incorrectly computing the correct maximum size to add) [MS-banned] (CWE-120). Consider strcat_s, strlcat, or automatically resizing strings. # undef wcsncat data/texinfo-6.7.0.dfsg.2/tp/Texinfo/XS/gnulib/lib/wchar.in.h:701:18: [1] (buffer) wcsncat: Easily used incorrectly (e.g., incorrectly computing the correct maximum size to add) [MS-banned] (CWE-120). Consider strcat_s, strlcat, or automatically resizing strings. _GL_WARN_ON_USE (wcsncat, "wcsncat is unportable - " data/texinfo-6.7.0.dfsg.2/tp/Texinfo/XS/misc.c:82:40: [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). svp = hv_fetch (current, "contents", strlen("contents"), 0); data/texinfo-6.7.0.dfsg.2/tp/Texinfo/XS/misc.c:93:39: [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). svp = hv_fetch (spaces_elt, "type", strlen ("type"), 0); data/texinfo-6.7.0.dfsg.2/tp/Texinfo/XS/misc.c:112:40: [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). svp = hv_fetch (spaces_elt, "extra", strlen ("extra"), 0); data/texinfo-6.7.0.dfsg.2/tp/Texinfo/XS/misc.c:117:23: [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). strlen ("command"), 0); data/texinfo-6.7.0.dfsg.2/tp/Texinfo/XS/misc.c:121:48: [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). svp = hv_fetch (owning_elt, "extra", strlen ("extra"), 0); data/texinfo-6.7.0.dfsg.2/tp/Texinfo/XS/misc.c:127:39: [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). svp = hv_fetch (spaces_elt, "text", strlen ("text"), 0); data/texinfo-6.7.0.dfsg.2/tp/Texinfo/XS/misc.c:149:40: [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). svp = hv_fetch (current, "type", strlen ("type"), 0); data/texinfo-6.7.0.dfsg.2/tp/Texinfo/XS/misc.c:165:46: [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). svp = hv_fetch (self, "context_stack", strlen ("context_stack"), 0); data/texinfo-6.7.0.dfsg.2/tp/Texinfo/XS/misc.c:187:41: [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). hv_store (spaces_elt, "type", strlen ("type"), data/texinfo-6.7.0.dfsg.2/tp/Texinfo/XS/misc.c:193:42: [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). hv_delete (spaces_elt, "type", strlen ("type"), G_DISCARD); data/texinfo-6.7.0.dfsg.2/tp/Texinfo/XS/misc.c:212:46: [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). hv_store (owning_elt, "extra", strlen ("extra"), data/texinfo-6.7.0.dfsg.2/tp/Texinfo/XS/misc.c:217: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). strlen ("spaces_before_argument"), data/texinfo-6.7.0.dfsg.2/tp/Texinfo/XS/misc.c:223:41: [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). hv_store (spaces_elt, "type", strlen ("type"), data/texinfo-6.7.0.dfsg.2/tp/Texinfo/XS/misc.c:278:35: [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). "contents", strlen ("contents"), 0); data/texinfo-6.7.0.dfsg.2/tp/Texinfo/XS/misc.c:290: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). svp = hv_fetch (last_elt, "type", strlen ("type"), 0); data/texinfo-6.7.0.dfsg.2/tp/Texinfo/XS/misc.c:336:40: [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). svp = hv_fetch (current, "contents", strlen ("contents"), 0); data/texinfo-6.7.0.dfsg.2/tp/Texinfo/XS/misc.c:341: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). hv_store (current, "contents", strlen ("contents"), data/texinfo-6.7.0.dfsg.2/tp/Texinfo/XS/misc.c:361:37: [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). svp = hv_fetch (last_elt, "text", strlen ("text"), 0); data/texinfo-6.7.0.dfsg.2/tp/Texinfo/XS/misc.c:380: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). hv_store (hv, "text", strlen ("text"), sv, 0); data/texinfo-6.7.0.dfsg.2/tp/Texinfo/XS/misc.c:382:31: [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). hv_store (hv, "parent", strlen ("parent"), data/texinfo-6.7.0.dfsg.2/tp/Texinfo/XS/misc.c:399:23: [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). new = realloc (new, strlen (text) + 1); data/texinfo-6.7.0.dfsg.2/tp/Texinfo/XS/misc.c:459: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). new_space = strlen (text); data/texinfo-6.7.0.dfsg.2/tp/Texinfo/XS/parsetexi/api.c:219:39: [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). hv_store (hv, "manual_content", strlen ("manual_content"), data/texinfo-6.7.0.dfsg.2/tp/Texinfo/XS/parsetexi/api.c:225:37: [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). hv_store (hv, "node_content", strlen ("node_content"), data/texinfo-6.7.0.dfsg.2/tp/Texinfo/XS/parsetexi/api.c:253: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). hv_store (e->hv, "parent", strlen ("parent"), sv, 0); data/texinfo-6.7.0.dfsg.2/tp/Texinfo/XS/parsetexi/api.c:259: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). hv_store (e->hv, "type", strlen ("type"), sv, 0); data/texinfo-6.7.0.dfsg.2/tp/Texinfo/XS/parsetexi/api.c:265:35: [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). hv_store (e->hv, "cmdname", strlen ("cmdname"), sv, 0); data/texinfo-6.7.0.dfsg.2/tp/Texinfo/XS/parsetexi/api.c:310:36: [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). hv_store (e->hv, "contents", strlen ("contents"), sv, 0); data/texinfo-6.7.0.dfsg.2/tp/Texinfo/XS/parsetexi/api.c:326: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). hv_store (e->hv, "args", strlen ("args"), sv, 0); data/texinfo-6.7.0.dfsg.2/tp/Texinfo/XS/parsetexi/api.c:339: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). hv_store (e->hv, "text", strlen ("text"), sv, 0); data/texinfo-6.7.0.dfsg.2/tp/Texinfo/XS/parsetexi/api.c:341: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). hv_store (e->hv, "type", strlen ("type"), sv, 0); data/texinfo-6.7.0.dfsg.2/tp/Texinfo/XS/parsetexi/api.c:364:41: [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). #define STORE(sv) hv_store (extra, key, strlen (key), sv, 0) data/texinfo-6.7.0.dfsg.2/tp/Texinfo/XS/parsetexi/api.c:489:54: [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). hv_store (def_parsed_hash, #X, strlen (#X), \ data/texinfo-6.7.0.dfsg.2/tp/Texinfo/XS/parsetexi/api.c:507: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). hv_store (type, "content", strlen ("content"), data/texinfo-6.7.0.dfsg.2/tp/Texinfo/XS/parsetexi/api.c:510: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). hv_store (type, "normalized", strlen ("normalized"), data/texinfo-6.7.0.dfsg.2/tp/Texinfo/XS/parsetexi/api.c:523:35: [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). hv_store (e->hv, "extra", strlen ("extra"), data/texinfo-6.7.0.dfsg.2/tp/Texinfo/XS/parsetexi/api.c:530:43: [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). #define STORE(key, sv) hv_store (hv, key, strlen (key), sv, 0) data/texinfo-6.7.0.dfsg.2/tp/Texinfo/XS/parsetexi/api.c:533:35: [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). hv_store (e->hv, "line_nr", strlen ("line_nr"), data/texinfo-6.7.0.dfsg.2/tp/Texinfo/XS/parsetexi/api.c:625: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). strlen (floats_list[i].type), data/texinfo-6.7.0.dfsg.2/tp/Texinfo/XS/parsetexi/api.c:632: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). strlen (floats_list[i].type), data/texinfo-6.7.0.dfsg.2/tp/Texinfo/XS/parsetexi/api.c:652:46: [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). #define STORE(key, value) hv_store (hv, key, strlen (key), value, 0) data/texinfo-6.7.0.dfsg.2/tp/Texinfo/XS/parsetexi/api.c:685: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). strlen ("contained_indices"), data/texinfo-6.7.0.dfsg.2/tp/Texinfo/XS/parsetexi/api.c:690:50: [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). hv_store (ultimate->contained_hv, i->name, strlen (i->name), data/texinfo-6.7.0.dfsg.2/tp/Texinfo/XS/parsetexi/api.c:701:43: [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). "contained_indices", strlen ("contained_indices"), data/texinfo-6.7.0.dfsg.2/tp/Texinfo/XS/parsetexi/api.c:714:43: [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). hv_store (i->contained_hv, i->name, strlen (i->name), newSViv(1), 0); data/texinfo-6.7.0.dfsg.2/tp/Texinfo/XS/parsetexi/api.c:728:50: [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). #define STORE2(key, value) hv_store (entry, key, strlen (key), value, 0) data/texinfo-6.7.0.dfsg.2/tp/Texinfo/XS/parsetexi/api.c:757:49: [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). "contents", strlen ("contents"), 0); data/texinfo-6.7.0.dfsg.2/tp/Texinfo/XS/parsetexi/api.c:763:54: [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). "contents", strlen ("contents"), 0); data/texinfo-6.7.0.dfsg.2/tp/Texinfo/XS/parsetexi/api.c:801:55: [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). extra_hash = hv_fetch (e->command->hv, "extra", strlen ("extra"), 0); data/texinfo-6.7.0.dfsg.2/tp/Texinfo/XS/parsetexi/api.c:806:59: [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). extra_hash = hv_store (e->command->hv, "extra", strlen ("extra"), data/texinfo-6.7.0.dfsg.2/tp/Texinfo/XS/parsetexi/api.c:810:57: [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). hv_store ((HV *)SvRV(*extra_hash), "index_entry", strlen ("index_entry"), data/texinfo-6.7.0.dfsg.2/tp/Texinfo/XS/parsetexi/api.c:835: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). hv_store (hv, idx->name, strlen (idx->name), newRV_inc ((SV *)hv2), 0); data/texinfo-6.7.0.dfsg.2/tp/Texinfo/XS/parsetexi/api.c:855:42: [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). hv_store (hv, "input_encoding_name", strlen ("input_encoding_name"), data/texinfo-6.7.0.dfsg.2/tp/Texinfo/XS/parsetexi/api.c:858:42: [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). hv_store (hv, "input_perl_encoding", strlen ("input_perl_encoding"), data/texinfo-6.7.0.dfsg.2/tp/Texinfo/XS/parsetexi/api.c:864: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). hv_store (hv, "dircategory_direntry", strlen ("dircategory_direntry"), data/texinfo-6.7.0.dfsg.2/tp/Texinfo/XS/parsetexi/api.c:876:35: [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). hv_store (hv, "novalidate", strlen ("novalidate"), data/texinfo-6.7.0.dfsg.2/tp/Texinfo/XS/parsetexi/api.c:901:27: [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). hv_store (hv, #cmd, strlen (#cmd), \ data/texinfo-6.7.0.dfsg.2/tp/Texinfo/XS/parsetexi/api.c:943: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). hv_store (hv, "footnote", strlen ("footnote"), data/texinfo-6.7.0.dfsg.2/tp/Texinfo/XS/parsetexi/api.c:957:27: [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). hv_store (hv, #cmd, strlen (#cmd), \ data/texinfo-6.7.0.dfsg.2/tp/Texinfo/XS/parsetexi/def.c:307:43: [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). text_append_n (&e1->text, category, strlen (category)); data/texinfo-6.7.0.dfsg.2/tp/Texinfo/XS/parsetexi/end_line.c:111: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). q = q + strlen (q); data/texinfo-6.7.0.dfsg.2/tp/Texinfo/XS/parsetexi/end_line.c:449:23: [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). q = p + strlen (p); data/texinfo-6.7.0.dfsg.2/tp/Texinfo/XS/parsetexi/end_line.c:2117: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). stripped[strlen (stripped) - 1] = '\0'; data/texinfo-6.7.0.dfsg.2/tp/Texinfo/XS/parsetexi/handle_commands.c:614:26: [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). base_len = strlen (base_name); data/texinfo-6.7.0.dfsg.2/tp/Texinfo/XS/parsetexi/handle_commands.c:829:54: [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). char *val = fetch_value (flag, strlen (flag)); data/texinfo-6.7.0.dfsg.2/tp/Texinfo/XS/parsetexi/input.c:222:16: [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). bytes_left = strlen (s); data/texinfo-6.7.0.dfsg.2/tp/Texinfo/XS/parsetexi/input.c:499: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 (filename); data/texinfo-6.7.0.dfsg.2/tp/Texinfo/XS/parsetexi/macro.c:640: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/texinfo-6.7.0.dfsg.2/tp/Texinfo/XS/parsetexi/parser.c:39:28: [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 !strncmp (s1, s2, strlen (s2)); data/texinfo-6.7.0.dfsg.2/tp/Texinfo/XS/parsetexi/parser.c:660:16: [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). for (i = strlen (text) - 1; data/texinfo-6.7.0.dfsg.2/tp/Texinfo/XS/parsetexi/parser.c:700:16: [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). for (i = strlen (text) - 1; data/texinfo-6.7.0.dfsg.2/tp/Texinfo/XS/parsetexi/parser.c:1011: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). if (!strncmp (p, "@macro", strlen ("@macro"))) data/texinfo-6.7.0.dfsg.2/tp/Texinfo/XS/parsetexi/parser.c:1013: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). p += strlen ("@macro"); data/texinfo-6.7.0.dfsg.2/tp/Texinfo/XS/parsetexi/parser.c:1016: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). else if (!strncmp (p, "@rmacro", strlen ("@rmacro"))) data/texinfo-6.7.0.dfsg.2/tp/Texinfo/XS/parsetexi/parser.c:1018: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). p += strlen ("@rmacro"); data/texinfo-6.7.0.dfsg.2/tp/Texinfo/XS/parsetexi/parser.c:1045:28: [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). strlen (command_name(current->cmd)))) data/texinfo-6.7.0.dfsg.2/tp/Texinfo/XS/parsetexi/parser.c:1048: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). p += strlen (command_name(current->cmd)); data/texinfo-6.7.0.dfsg.2/tp/Texinfo/XS/parsetexi/parser.c:1546:27: [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). line += strlen (line); data/texinfo-6.7.0.dfsg.2/tp/Texinfo/XS/parsetexi/parser.c:1807:27: [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 (!memcmp (q, "line", strlen ("line"))) data/texinfo-6.7.0.dfsg.2/tp/Texinfo/XS/parsetexi/parser.c:1808: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). p = q + strlen ("line"); data/texinfo-6.7.0.dfsg.2/tp/Texinfo/XS/parsetexi/separator.c:609: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 (fetch_value (inline_type, strlen (inline_type))) data/texinfo-6.7.0.dfsg.2/tp/Texinfo/XS/parsetexi/text.c:68:16: [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 len = strlen (s); data/texinfo-6.7.0.dfsg.2/tp/Texinfo/XS/ppport.h:5335: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). sv_vsetpvfn(sv, pat, strlen(pat), args, Null(SV**), 0, Null(bool*)); data/texinfo-6.7.0.dfsg.2/tp/Texinfo/XS/ppport.h:5343:59: [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). # define sv_vcatpvf(sv, pat, args) sv_vcatpvfn(sv, pat, strlen(pat), args, Null(SV**), 0, Null(bool*)) data/texinfo-6.7.0.dfsg.2/tp/Texinfo/XS/ppport.h:5347:59: [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). # define sv_vsetpvf(sv, pat, args) sv_vsetpvfn(sv, pat, strlen(pat), args, Null(SV**), 0, Null(bool*)) data/texinfo-6.7.0.dfsg.2/tp/Texinfo/XS/ppport.h:5367: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). sv_vcatpvfn(sv, pat, strlen(pat), &args, Null(SV**), 0, Null(bool*)); data/texinfo-6.7.0.dfsg.2/tp/Texinfo/XS/ppport.h:5395: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). sv_vcatpvfn(sv, pat, strlen(pat), &args, Null(SV**), 0, Null(bool*)); data/texinfo-6.7.0.dfsg.2/tp/Texinfo/XS/ppport.h:5416:27: [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). sv_vcatpvfn(sv, pat, strlen(pat), args, Null(SV**), 0, Null(bool*)); \ data/texinfo-6.7.0.dfsg.2/tp/Texinfo/XS/ppport.h:5438: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). sv_vsetpvfn(sv, pat, strlen(pat), &args, Null(SV**), 0, Null(bool*)); data/texinfo-6.7.0.dfsg.2/tp/Texinfo/XS/ppport.h:5466: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). sv_vsetpvfn(sv, pat, strlen(pat), &args, Null(SV**), 0, Null(bool*)); data/texinfo-6.7.0.dfsg.2/tp/Texinfo/XS/ppport.h:5487:27: [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). sv_vsetpvfn(sv, pat, strlen(pat), args, Null(SV**), 0, Null(bool*)); \ data/texinfo-6.7.0.dfsg.2/tp/Texinfo/XS/ppport.h:5541:65: [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). # define HvNAMELEN_get(hv) (HvNAME_get(hv) ? (I32)strlen(HvNAME_get(hv)) : 0) data/texinfo-6.7.0.dfsg.2/tp/Texinfo/XS/ppport.h:6339: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). STRLEN len = strlen(radix); data/texinfo-6.7.0.dfsg.2/tp/Texinfo/XS/ppport.h:6923:12: [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(buffer); data/texinfo-6.7.0.dfsg.2/tp/Texinfo/XS/ppport.h:6963:12: [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). used = strlen(dst); data/texinfo-6.7.0.dfsg.2/tp/Texinfo/XS/ppport.h:6964: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). length = strlen(src); data/texinfo-6.7.0.dfsg.2/tp/Texinfo/XS/ppport.h:6993: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). length = strlen(src); data/texinfo-6.7.0.dfsg.2/tp/Texinfo/XS/text.c:67:16: [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 len = strlen (s); data/texinfo-6.7.0.dfsg.2/tp/Texinfo/XS/xspara.c:263: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 (cur); data/texinfo-6.7.0.dfsg.2/tp/Texinfo/XS/xspara.c:421:41: [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). #define FETCH(key) hv_fetch (hash, key, strlen (key), 0) data/texinfo-6.7.0.dfsg.2/tp/Texinfo/XS/xspara.c:475:41: [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). #define STORE(key) hv_store (hash, key, strlen (key), val, 0) data/texinfo-6.7.0.dfsg.2/tp/Texinfo/XS/xspara.c:891: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 (text); /* FIXME: Get this as an argument */ ANALYSIS SUMMARY: Hits = 1326 Lines analyzed = 113530 in approximately 3.31 seconds (34319 lines/second) Physical Source Lines of Code (SLOC) = 78433 Hits@level = [0] 126 [1] 516 [2] 328 [3] 97 [4] 363 [5] 22 Hits@level+ = [0+] 1452 [1+] 1326 [2+] 810 [3+] 482 [4+] 385 [5+] 22 Hits/KSLOC@level+ = [0+] 18.5126 [1+] 16.9061 [2+] 10.3273 [3+] 6.14537 [4+] 4.90865 [5+] 0.280494 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.