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/prelude-lml-5.2.0/libev/ev.h
Examining data/prelude-lml-5.2.0/libev/ev_vars.h
Examining data/prelude-lml-5.2.0/libev/ev_wrap.h
Examining data/prelude-lml-5.2.0/libev/ev.c
Examining data/prelude-lml-5.2.0/libev/ev_epoll.c
Examining data/prelude-lml-5.2.0/libev/ev_select.c
Examining data/prelude-lml-5.2.0/libev/ev_poll.c
Examining data/prelude-lml-5.2.0/libev/ev_kqueue.c
Examining data/prelude-lml-5.2.0/libev/ev_port.c
Examining data/prelude-lml-5.2.0/libev/ev_win32.c
Examining data/prelude-lml-5.2.0/libmissing/malloc/scratch_buffer_grow.c
Examining data/prelude-lml-5.2.0/libmissing/malloc/scratch_buffer_grow_preserve.c
Examining data/prelude-lml-5.2.0/libmissing/malloc/scratch_buffer_set_array_size.c
Examining data/prelude-lml-5.2.0/libmissing/malloc/scratch_buffer.h
Examining data/prelude-lml-5.2.0/libmissing/alloca.c
Examining data/prelude-lml-5.2.0/libmissing/fd-hook.c
Examining data/prelude-lml-5.2.0/libmissing/gettext.h
Examining data/prelude-lml-5.2.0/libmissing/hard-locale.c
Examining data/prelude-lml-5.2.0/libmissing/localcharset.c
Examining data/prelude-lml-5.2.0/libmissing/malloca.c
Examining data/prelude-lml-5.2.0/libmissing/sig-handler.c
Examining data/prelude-lml-5.2.0/libmissing/size_max.h
Examining data/prelude-lml-5.2.0/libmissing/sockets.h
Examining data/prelude-lml-5.2.0/libmissing/sockets.c
Examining data/prelude-lml-5.2.0/libmissing/stat-time.c
Examining data/prelude-lml-5.2.0/libmissing/strnlen1.h
Examining data/prelude-lml-5.2.0/libmissing/strnlen1.c
Examining data/prelude-lml-5.2.0/libmissing/sys_socket.c
Examining data/prelude-lml-5.2.0/libmissing/unistd.c
Examining data/prelude-lml-5.2.0/libmissing/wctype-h.c
Examining data/prelude-lml-5.2.0/libmissing/xsize.h
Examining data/prelude-lml-5.2.0/libmissing/xsize.c
Examining data/prelude-lml-5.2.0/libmissing/bind.c
Examining data/prelude-lml-5.2.0/libmissing/close.c
Examining data/prelude-lml-5.2.0/libmissing/closedir.c
Examining data/prelude-lml-5.2.0/libmissing/dirfd.c
Examining data/prelude-lml-5.2.0/libmissing/float.c
Examining data/prelude-lml-5.2.0/libmissing/itold.c
Examining data/prelude-lml-5.2.0/libmissing/fnmatch.c
Examining data/prelude-lml-5.2.0/libmissing/fnmatch_loop.c
Examining data/prelude-lml-5.2.0/libmissing/fseek.c
Examining data/prelude-lml-5.2.0/libmissing/fseeko.c
Examining data/prelude-lml-5.2.0/libmissing/fstat.c
Examining data/prelude-lml-5.2.0/libmissing/stat-w32.c
Examining data/prelude-lml-5.2.0/libmissing/ftell.c
Examining data/prelude-lml-5.2.0/libmissing/ftello.c
Examining data/prelude-lml-5.2.0/libmissing/gai_strerror.c
Examining data/prelude-lml-5.2.0/libmissing/getaddrinfo.c
Examining data/prelude-lml-5.2.0/libmissing/getlogin_r.c
Examining data/prelude-lml-5.2.0/libmissing/getpeername.c
Examining data/prelude-lml-5.2.0/libmissing/glob.c
Examining data/prelude-lml-5.2.0/libmissing/glob_pattern_p.c
Examining data/prelude-lml-5.2.0/libmissing/globfree.c
Examining data/prelude-lml-5.2.0/libmissing/imaxabs.c
Examining data/prelude-lml-5.2.0/libmissing/inet_ntop.c
Examining data/prelude-lml-5.2.0/libmissing/ioctl.c
Examining data/prelude-lml-5.2.0/libmissing/localeconv.c
Examining data/prelude-lml-5.2.0/libmissing/lseek.c
Examining data/prelude-lml-5.2.0/libmissing/lstat.c
Examining data/prelude-lml-5.2.0/libmissing/malloc.c
Examining data/prelude-lml-5.2.0/libmissing/mbrtowc.c
Examining data/prelude-lml-5.2.0/libmissing/mbsinit.c
Examining data/prelude-lml-5.2.0/libmissing/mbsrtowcs-state.c
Examining data/prelude-lml-5.2.0/libmissing/mbsrtowcs.c
Examining data/prelude-lml-5.2.0/libmissing/memchr.c
Examining data/prelude-lml-5.2.0/libmissing/mempcpy.c
Examining data/prelude-lml-5.2.0/libmissing/mktime.c
Examining data/prelude-lml-5.2.0/libmissing/msvc-inval.c
Examining data/prelude-lml-5.2.0/libmissing/msvc-nothrow.c
Examining data/prelude-lml-5.2.0/libmissing/nl_langinfo.c
Examining data/prelude-lml-5.2.0/libmissing/opendir.c
Examining data/prelude-lml-5.2.0/libmissing/raise.c
Examining data/prelude-lml-5.2.0/libmissing/readdir.c
Examining data/prelude-lml-5.2.0/libmissing/realloc.c
Examining data/prelude-lml-5.2.0/libmissing/recvfrom.c
Examining data/prelude-lml-5.2.0/libmissing/sigaction.c
Examining data/prelude-lml-5.2.0/libmissing/sigprocmask.c
Examining data/prelude-lml-5.2.0/libmissing/sleep.c
Examining data/prelude-lml-5.2.0/libmissing/snprintf.c
Examining data/prelude-lml-5.2.0/libmissing/socket.c
Examining data/prelude-lml-5.2.0/libmissing/stat.c
Examining data/prelude-lml-5.2.0/libmissing/strcasecmp.c
Examining data/prelude-lml-5.2.0/libmissing/strncasecmp.c
Examining data/prelude-lml-5.2.0/libmissing/strptime.c
Examining data/prelude-lml-5.2.0/libmissing/strsep.c
Examining data/prelude-lml-5.2.0/libmissing/time_r.c
Examining data/prelude-lml-5.2.0/libmissing/asnprintf.c
Examining data/prelude-lml-5.2.0/libmissing/printf-args.c
Examining data/prelude-lml-5.2.0/libmissing/printf-parse.c
Examining data/prelude-lml-5.2.0/libmissing/vasnprintf.c
Examining data/prelude-lml-5.2.0/libmissing/alloca.in.h
Examining data/prelude-lml-5.2.0/libmissing/arpa_inet.in.h
Examining data/prelude-lml-5.2.0/libmissing/w32sock.h
Examining data/prelude-lml-5.2.0/libmissing/dirent-private.h
Examining data/prelude-lml-5.2.0/libmissing/dirent.in.h
Examining data/prelude-lml-5.2.0/libmissing/dosname.h
Examining data/prelude-lml-5.2.0/libmissing/errno.in.h
Examining data/prelude-lml-5.2.0/libmissing/fd-hook.h
Examining data/prelude-lml-5.2.0/libmissing/filename.h
Examining data/prelude-lml-5.2.0/libmissing/flexmember.h
Examining data/prelude-lml-5.2.0/libmissing/float.in.h
Examining data/prelude-lml-5.2.0/libmissing/fnmatch.in.h
Examining data/prelude-lml-5.2.0/libmissing/stdio-impl.h
Examining data/prelude-lml-5.2.0/libmissing/stat-w32.h
Examining data/prelude-lml-5.2.0/libmissing/glob_internal.h
Examining data/prelude-lml-5.2.0/libmissing/glob-libc.h
Examining data/prelude-lml-5.2.0/libmissing/glob.in.h
Examining data/prelude-lml-5.2.0/libmissing/hard-locale.h
Examining data/prelude-lml-5.2.0/libmissing/intprops.h
Examining data/prelude-lml-5.2.0/libmissing/inttypes.in.h
Examining data/prelude-lml-5.2.0/libmissing/langinfo.in.h
Examining data/prelude-lml-5.2.0/libmissing/cdefs.h
Examining data/prelude-lml-5.2.0/libmissing/libc-config.h
Examining data/prelude-lml-5.2.0/libmissing/limits.in.h
Examining data/prelude-lml-5.2.0/libmissing/localcharset.h
Examining data/prelude-lml-5.2.0/libmissing/locale.in.h
Examining data/prelude-lml-5.2.0/libmissing/malloca.h
Examining data/prelude-lml-5.2.0/libmissing/mbsrtowcs-impl.h
Examining data/prelude-lml-5.2.0/libmissing/mktime-internal.h
Examining data/prelude-lml-5.2.0/libmissing/msvc-inval.h
Examining data/prelude-lml-5.2.0/libmissing/msvc-nothrow.h
Examining data/prelude-lml-5.2.0/libmissing/netdb.in.h
Examining data/prelude-lml-5.2.0/libmissing/netinet_in.in.h
Examining data/prelude-lml-5.2.0/libmissing/pathmax.h
Examining data/prelude-lml-5.2.0/libmissing/scratch_buffer.h
Examining data/prelude-lml-5.2.0/libmissing/sig-handler.h
Examining data/prelude-lml-5.2.0/libmissing/signal.in.h
Examining data/prelude-lml-5.2.0/libmissing/_Noreturn.h
Examining data/prelude-lml-5.2.0/libmissing/arg-nonnull.h
Examining data/prelude-lml-5.2.0/libmissing/c++defs.h
Examining data/prelude-lml-5.2.0/libmissing/warn-on-use.h
Examining data/prelude-lml-5.2.0/libmissing/stat-time.h
Examining data/prelude-lml-5.2.0/libmissing/stdalign.in.h
Examining data/prelude-lml-5.2.0/libmissing/stdbool.in.h
Examining data/prelude-lml-5.2.0/libmissing/stddef.in.h
Examining data/prelude-lml-5.2.0/libmissing/stdint.in.h
Examining data/prelude-lml-5.2.0/libmissing/stdio.in.h
Examining data/prelude-lml-5.2.0/libmissing/stdlib.in.h
Examining data/prelude-lml-5.2.0/libmissing/streq.h
Examining data/prelude-lml-5.2.0/libmissing/string.in.h
Examining data/prelude-lml-5.2.0/libmissing/strings.in.h
Examining data/prelude-lml-5.2.0/libmissing/sys_ioctl.in.h
Examining data/prelude-lml-5.2.0/libmissing/sys_select.in.h
Examining data/prelude-lml-5.2.0/libmissing/sys_socket.in.h
Examining data/prelude-lml-5.2.0/libmissing/sys_stat.in.h
Examining data/prelude-lml-5.2.0/libmissing/sys_time.in.h
Examining data/prelude-lml-5.2.0/libmissing/sys_types.in.h
Examining data/prelude-lml-5.2.0/libmissing/sys_uio.in.h
Examining data/prelude-lml-5.2.0/libmissing/time.in.h
Examining data/prelude-lml-5.2.0/libmissing/unistd.in.h
Examining data/prelude-lml-5.2.0/libmissing/float+.h
Examining data/prelude-lml-5.2.0/libmissing/printf-args.h
Examining data/prelude-lml-5.2.0/libmissing/printf-parse.h
Examining data/prelude-lml-5.2.0/libmissing/vasnprintf.h
Examining data/prelude-lml-5.2.0/libmissing/verify.h
Examining data/prelude-lml-5.2.0/libmissing/wchar.in.h
Examining data/prelude-lml-5.2.0/libmissing/wctype.in.h
Examining data/prelude-lml-5.2.0/libmissing/xalloc-oversized.h
Examining data/prelude-lml-5.2.0/libmissing/tests/glthread/lock.h
Examining data/prelude-lml-5.2.0/libmissing/tests/glthread/lock.c
Examining data/prelude-lml-5.2.0/libmissing/tests/glthread/thread.h
Examining data/prelude-lml-5.2.0/libmissing/tests/glthread/thread.c
Examining data/prelude-lml-5.2.0/libmissing/tests/glthread/threadlib.c
Examining data/prelude-lml-5.2.0/libmissing/tests/glthread/yield.h
Examining data/prelude-lml-5.2.0/libmissing/tests/binary-io.h
Examining data/prelude-lml-5.2.0/libmissing/tests/binary-io.c
Examining data/prelude-lml-5.2.0/libmissing/tests/c-ctype.h
Examining data/prelude-lml-5.2.0/libmissing/tests/c-ctype.c
Examining data/prelude-lml-5.2.0/libmissing/tests/c-strcase.h
Examining data/prelude-lml-5.2.0/libmissing/tests/c-strcasecmp.c
Examining data/prelude-lml-5.2.0/libmissing/tests/c-strncasecmp.c
Examining data/prelude-lml-5.2.0/libmissing/tests/cloexec.c
Examining data/prelude-lml-5.2.0/libmissing/tests/localename.c
Examining data/prelude-lml-5.2.0/libmissing/tests/accept.c
Examining data/prelude-lml-5.2.0/libmissing/tests/btowc.c
Examining data/prelude-lml-5.2.0/libmissing/tests/connect.c
Examining data/prelude-lml-5.2.0/libmissing/tests/dup2.c
Examining data/prelude-lml-5.2.0/libmissing/tests/fcntl.c
Examining data/prelude-lml-5.2.0/libmissing/tests/fdopen.c
Examining data/prelude-lml-5.2.0/libmissing/tests/ftruncate.c
Examining data/prelude-lml-5.2.0/libmissing/tests/getcwd-lgpl.c
Examining data/prelude-lml-5.2.0/libmissing/tests/getdtablesize.c
Examining data/prelude-lml-5.2.0/libmissing/tests/getpagesize.c
Examining data/prelude-lml-5.2.0/libmissing/tests/gettimeofday.c
Examining data/prelude-lml-5.2.0/libmissing/tests/inet_pton.c
Examining data/prelude-lml-5.2.0/libmissing/tests/isblank.c
Examining data/prelude-lml-5.2.0/libmissing/tests/listen.c
Examining data/prelude-lml-5.2.0/libmissing/tests/localtime-buffer.c
Examining data/prelude-lml-5.2.0/libmissing/tests/mbtowc.c
Examining data/prelude-lml-5.2.0/libmissing/tests/nanosleep.c
Examining data/prelude-lml-5.2.0/libmissing/tests/open.c
Examining data/prelude-lml-5.2.0/libmissing/tests/perror.c
Examining data/prelude-lml-5.2.0/libmissing/tests/pipe.c
Examining data/prelude-lml-5.2.0/libmissing/tests/pthread_sigmask.c
Examining data/prelude-lml-5.2.0/libmissing/tests/putenv.c
Examining data/prelude-lml-5.2.0/libmissing/tests/select.c
Examining data/prelude-lml-5.2.0/libmissing/tests/setenv.c
Examining data/prelude-lml-5.2.0/libmissing/tests/setlocale.c
Examining data/prelude-lml-5.2.0/libmissing/tests/setsockopt.c
Examining data/prelude-lml-5.2.0/libmissing/tests/strerror.c
Examining data/prelude-lml-5.2.0/libmissing/tests/strerror-override.c
Examining data/prelude-lml-5.2.0/libmissing/tests/strerror_r.c
Examining data/prelude-lml-5.2.0/libmissing/tests/symlink.c
Examining data/prelude-lml-5.2.0/libmissing/tests/unsetenv.c
Examining data/prelude-lml-5.2.0/libmissing/tests/usleep.c
Examining data/prelude-lml-5.2.0/libmissing/tests/wcrtomb.c
Examining data/prelude-lml-5.2.0/libmissing/tests/wctob.c
Examining data/prelude-lml-5.2.0/libmissing/tests/wctomb.c
Examining data/prelude-lml-5.2.0/libmissing/tests/test-accept.c
Examining data/prelude-lml-5.2.0/libmissing/tests/test-alloca-opt.c
Examining data/prelude-lml-5.2.0/libmissing/tests/test-arpa_inet.c
Examining data/prelude-lml-5.2.0/libmissing/tests/test-binary-io.c
Examining data/prelude-lml-5.2.0/libmissing/tests/test-bind.c
Examining data/prelude-lml-5.2.0/libmissing/tests/test-btowc.c
Examining data/prelude-lml-5.2.0/libmissing/tests/test-c-ctype.c
Examining data/prelude-lml-5.2.0/libmissing/tests/test-c-strcasecmp.c
Examining data/prelude-lml-5.2.0/libmissing/tests/test-c-strncasecmp.c
Examining data/prelude-lml-5.2.0/libmissing/tests/test-cloexec.c
Examining data/prelude-lml-5.2.0/libmissing/tests/test-close.c
Examining data/prelude-lml-5.2.0/libmissing/tests/test-connect.c
Examining data/prelude-lml-5.2.0/libmissing/tests/test-ctype.c
Examining data/prelude-lml-5.2.0/libmissing/tests/test-dirent.c
Examining data/prelude-lml-5.2.0/libmissing/tests/test-dup2.c
Examining data/prelude-lml-5.2.0/libmissing/tests/test-environ.c
Examining data/prelude-lml-5.2.0/libmissing/tests/test-errno.c
Examining data/prelude-lml-5.2.0/libmissing/tests/test-fcntl.c
Examining data/prelude-lml-5.2.0/libmissing/tests/test-fcntl-h.c
Examining data/prelude-lml-5.2.0/libmissing/tests/test-fdopen.c
Examining data/prelude-lml-5.2.0/libmissing/tests/test-fgetc.c
Examining data/prelude-lml-5.2.0/libmissing/tests/test-float.c
Examining data/prelude-lml-5.2.0/libmissing/tests/test-fnmatch.c
Examining data/prelude-lml-5.2.0/libmissing/tests/test-fnmatch-h.c
Examining data/prelude-lml-5.2.0/libmissing/tests/test-fputc.c
Examining data/prelude-lml-5.2.0/libmissing/tests/test-fread.c
Examining data/prelude-lml-5.2.0/libmissing/tests/test-fseek.c
Examining data/prelude-lml-5.2.0/libmissing/tests/test-fseeko.c
Examining data/prelude-lml-5.2.0/libmissing/tests/test-fseeko3.c
Examining data/prelude-lml-5.2.0/libmissing/tests/test-fseeko4.c
Examining data/prelude-lml-5.2.0/libmissing/tests/test-fstat.c
Examining data/prelude-lml-5.2.0/libmissing/tests/test-ftell.c
Examining data/prelude-lml-5.2.0/libmissing/tests/test-ftell3.c
Examining data/prelude-lml-5.2.0/libmissing/tests/test-ftello.c
Examining data/prelude-lml-5.2.0/libmissing/tests/test-ftello3.c
Examining data/prelude-lml-5.2.0/libmissing/tests/test-ftello4.c
Examining data/prelude-lml-5.2.0/libmissing/tests/test-ftruncate.c
Examining data/prelude-lml-5.2.0/libmissing/tests/test-fwrite.c
Examining data/prelude-lml-5.2.0/libmissing/tests/test-getaddrinfo.c
Examining data/prelude-lml-5.2.0/libmissing/tests/test-getcwd-lgpl.c
Examining data/prelude-lml-5.2.0/libmissing/tests/test-getdtablesize.c
Examining data/prelude-lml-5.2.0/libmissing/tests/test-getlogin_r.c
Examining data/prelude-lml-5.2.0/libmissing/tests/test-getpeername.c
Examining data/prelude-lml-5.2.0/libmissing/tests/test-gettimeofday.c
Examining data/prelude-lml-5.2.0/libmissing/tests/test-glob.c
Examining data/prelude-lml-5.2.0/libmissing/tests/test-glob-h.c
Examining data/prelude-lml-5.2.0/libmissing/tests/test-iconv.c
Examining data/prelude-lml-5.2.0/libmissing/tests/test-ignore-value.c
Examining data/prelude-lml-5.2.0/libmissing/tests/test-imaxabs.c
Examining data/prelude-lml-5.2.0/libmissing/tests/test-inet_ntop.c
Examining data/prelude-lml-5.2.0/libmissing/tests/test-inet_pton.c
Examining data/prelude-lml-5.2.0/libmissing/tests/test-intprops.c
Examining data/prelude-lml-5.2.0/libmissing/tests/test-inttypes.c
Examining data/prelude-lml-5.2.0/libmissing/tests/test-ioctl.c
Examining data/prelude-lml-5.2.0/libmissing/tests/test-isblank.c
Examining data/prelude-lml-5.2.0/libmissing/tests/test-langinfo.c
Examining data/prelude-lml-5.2.0/libmissing/tests/test-limits-h.c
Examining data/prelude-lml-5.2.0/libmissing/tests/test-listen.c
Examining data/prelude-lml-5.2.0/libmissing/tests/test-localcharset.c
Examining data/prelude-lml-5.2.0/libmissing/tests/test-locale.c
Examining data/prelude-lml-5.2.0/libmissing/tests/test-localeconv.c
Examining data/prelude-lml-5.2.0/libmissing/tests/test-localename.c
Examining data/prelude-lml-5.2.0/libmissing/tests/test-lock.c
Examining data/prelude-lml-5.2.0/libmissing/tests/test-lseek.c
Examining data/prelude-lml-5.2.0/libmissing/tests/test-lstat.c
Examining data/prelude-lml-5.2.0/libmissing/tests/test-malloca.c
Examining data/prelude-lml-5.2.0/libmissing/tests/test-mbrtowc.c
Examining data/prelude-lml-5.2.0/libmissing/tests/test-mbrtowc-w32.c
Examining data/prelude-lml-5.2.0/libmissing/tests/test-mbsinit.c
Examining data/prelude-lml-5.2.0/libmissing/tests/test-mbsrtowcs.c
Examining data/prelude-lml-5.2.0/libmissing/tests/test-memchr.c
Examining data/prelude-lml-5.2.0/libmissing/tests/test-nanosleep.c
Examining data/prelude-lml-5.2.0/libmissing/tests/test-netdb.c
Examining data/prelude-lml-5.2.0/libmissing/tests/test-netinet_in.c
Examining data/prelude-lml-5.2.0/libmissing/tests/test-nl_langinfo.c
Examining data/prelude-lml-5.2.0/libmissing/tests/test-once.c
Examining data/prelude-lml-5.2.0/libmissing/tests/test-open.c
Examining data/prelude-lml-5.2.0/libmissing/tests/test-pathmax.c
Examining data/prelude-lml-5.2.0/libmissing/tests/test-perror.c
Examining data/prelude-lml-5.2.0/libmissing/tests/test-pipe.c
Examining data/prelude-lml-5.2.0/libmissing/tests/test-pthread_sigmask1.c
Examining data/prelude-lml-5.2.0/libmissing/tests/test-pthread_sigmask2.c
Examining data/prelude-lml-5.2.0/libmissing/tests/test-raise.c
Examining data/prelude-lml-5.2.0/libmissing/tests/test-recvfrom.c
Examining data/prelude-lml-5.2.0/libmissing/tests/test-scratch-buffer.c
Examining data/prelude-lml-5.2.0/libmissing/tests/test-select.c
Examining data/prelude-lml-5.2.0/libmissing/tests/test-select-fd.c
Examining data/prelude-lml-5.2.0/libmissing/tests/test-select-stdin.c
Examining data/prelude-lml-5.2.0/libmissing/tests/test-setenv.c
Examining data/prelude-lml-5.2.0/libmissing/tests/test-setlocale1.c
Examining data/prelude-lml-5.2.0/libmissing/tests/test-setlocale2.c
Examining data/prelude-lml-5.2.0/libmissing/tests/test-setsockopt.c
Examining data/prelude-lml-5.2.0/libmissing/tests/test-sigaction.c
Examining data/prelude-lml-5.2.0/libmissing/tests/test-signal-h.c
Examining data/prelude-lml-5.2.0/libmissing/tests/test-sigprocmask.c
Examining data/prelude-lml-5.2.0/libmissing/tests/test-sleep.c
Examining data/prelude-lml-5.2.0/libmissing/tests/test-snprintf.c
Examining data/prelude-lml-5.2.0/libmissing/tests/test-sockets.c
Examining data/prelude-lml-5.2.0/libmissing/tests/test-stat.c
Examining data/prelude-lml-5.2.0/libmissing/tests/test-stat-time.c
Examining data/prelude-lml-5.2.0/libmissing/tests/test-stdalign.c
Examining data/prelude-lml-5.2.0/libmissing/tests/test-stdbool.c
Examining data/prelude-lml-5.2.0/libmissing/tests/test-stddef.c
Examining data/prelude-lml-5.2.0/libmissing/tests/test-stdint.c
Examining data/prelude-lml-5.2.0/libmissing/tests/test-stdio.c
Examining data/prelude-lml-5.2.0/libmissing/tests/test-stdlib.c
Examining data/prelude-lml-5.2.0/libmissing/tests/test-strerror.c
Examining data/prelude-lml-5.2.0/libmissing/tests/test-string.c
Examining data/prelude-lml-5.2.0/libmissing/tests/test-strings.c
Examining data/prelude-lml-5.2.0/libmissing/tests/test-symlink.c
Examining data/prelude-lml-5.2.0/libmissing/tests/test-sys_ioctl.c
Examining data/prelude-lml-5.2.0/libmissing/tests/test-sys_select.c
Examining data/prelude-lml-5.2.0/libmissing/tests/test-sys_socket.c
Examining data/prelude-lml-5.2.0/libmissing/tests/test-sys_stat.c
Examining data/prelude-lml-5.2.0/libmissing/tests/test-sys_time.c
Examining data/prelude-lml-5.2.0/libmissing/tests/test-sys_types.c
Examining data/prelude-lml-5.2.0/libmissing/tests/test-sys_uio.c
Examining data/prelude-lml-5.2.0/libmissing/tests/test-thread_self.c
Examining data/prelude-lml-5.2.0/libmissing/tests/test-time.c
Examining data/prelude-lml-5.2.0/libmissing/tests/test-unistd.c
Examining data/prelude-lml-5.2.0/libmissing/tests/test-unsetenv.c
Examining data/prelude-lml-5.2.0/libmissing/tests/test-usleep.c
Examining data/prelude-lml-5.2.0/libmissing/tests/test-vasnprintf.c
Examining data/prelude-lml-5.2.0/libmissing/tests/test-verify.c
Examining data/prelude-lml-5.2.0/libmissing/tests/test-verify-try.c
Examining data/prelude-lml-5.2.0/libmissing/tests/test-wchar.c
Examining data/prelude-lml-5.2.0/libmissing/tests/test-wcrtomb.c
Examining data/prelude-lml-5.2.0/libmissing/tests/test-wcrtomb-w32.c
Examining data/prelude-lml-5.2.0/libmissing/tests/test-wctype-h.c
Examining data/prelude-lml-5.2.0/libmissing/tests/w32sock.h
Examining data/prelude-lml-5.2.0/libmissing/tests/signature.h
Examining data/prelude-lml-5.2.0/libmissing/tests/macros.h
Examining data/prelude-lml-5.2.0/libmissing/tests/cloexec.h
Examining data/prelude-lml-5.2.0/libmissing/tests/ctype.in.h
Examining data/prelude-lml-5.2.0/libmissing/tests/fcntl.in.h
Examining data/prelude-lml-5.2.0/libmissing/tests/fpucw.h
Examining data/prelude-lml-5.2.0/libmissing/tests/test-getlogin.h
Examining data/prelude-lml-5.2.0/libmissing/tests/ignore-value.h
Examining data/prelude-lml-5.2.0/libmissing/tests/localename.h
Examining data/prelude-lml-5.2.0/libmissing/tests/localtime-buffer.h
Examining data/prelude-lml-5.2.0/libmissing/tests/test-lstat.h
Examining data/prelude-lml-5.2.0/libmissing/tests/mbtowc-impl.h
Examining data/prelude-lml-5.2.0/libmissing/tests/zerosize-ptr.h
Examining data/prelude-lml-5.2.0/libmissing/tests/test-open.h
Examining data/prelude-lml-5.2.0/libmissing/tests/same-inode.h
Examining data/prelude-lml-5.2.0/libmissing/tests/test-select.h
Examining data/prelude-lml-5.2.0/libmissing/tests/_Noreturn.h
Examining data/prelude-lml-5.2.0/libmissing/tests/arg-nonnull.h
Examining data/prelude-lml-5.2.0/libmissing/tests/c++defs.h
Examining data/prelude-lml-5.2.0/libmissing/tests/warn-on-use.h
Examining data/prelude-lml-5.2.0/libmissing/tests/test-stat.h
Examining data/prelude-lml-5.2.0/libmissing/tests/nap.h
Examining data/prelude-lml-5.2.0/libmissing/tests/test-sys_wait.h
Examining data/prelude-lml-5.2.0/libmissing/tests/strerror-override.h
Examining data/prelude-lml-5.2.0/libmissing/tests/test-symlink.h
Examining data/prelude-lml-5.2.0/libmissing/tests/wctomb-impl.h
Examining data/prelude-lml-5.2.0/libmissing/tests/test-rwlock1.c
Examining data/prelude-lml-5.2.0/libmissing/tests/test-thread_create.c
Examining data/prelude-lml-5.2.0/libmissing/tests/test-perror2.c
Examining data/prelude-lml-5.2.0/libmissing/tests/test-strerror_r.c
Examining data/prelude-lml-5.2.0/config.h
Examining data/prelude-lml-5.2.0/plugins/debug/debug.c
Examining data/prelude-lml-5.2.0/plugins/pcre/pcre-mod.h
Examining data/prelude-lml-5.2.0/plugins/pcre/rule-object.h
Examining data/prelude-lml-5.2.0/plugins/pcre/rule-regex.h
Examining data/prelude-lml-5.2.0/plugins/pcre/value-container.h
Examining data/prelude-lml-5.2.0/plugins/pcre/pcre-mod.c
Examining data/prelude-lml-5.2.0/plugins/pcre/rule-object.c
Examining data/prelude-lml-5.2.0/plugins/pcre/rule-regex.c
Examining data/prelude-lml-5.2.0/plugins/pcre/value-container.c
Examining data/prelude-lml-5.2.0/src/prelude-lml.c
Examining data/prelude-lml-5.2.0/src/tcp-server.c
Examining data/prelude-lml-5.2.0/src/tcp-server-tls.c
Examining data/prelude-lml-5.2.0/src/udp-server.c
Examining data/prelude-lml-5.2.0/src/regex.c
Examining data/prelude-lml-5.2.0/src/log-entry.c
Examining data/prelude-lml-5.2.0/src/log-plugins.c
Examining data/prelude-lml-5.2.0/src/file-server.c
Examining data/prelude-lml-5.2.0/src/lml-alert.c
Examining data/prelude-lml-5.2.0/src/lml-charset.c
Examining data/prelude-lml-5.2.0/src/include/prelude-lml.h
Examining data/prelude-lml-5.2.0/src/include/common.h
Examining data/prelude-lml-5.2.0/src/include/lml-alert.h
Examining data/prelude-lml-5.2.0/src/include/lml-charset.h
Examining data/prelude-lml-5.2.0/src/include/lml-options.h
Examining data/prelude-lml-5.2.0/src/include/log-entry.h
Examining data/prelude-lml-5.2.0/src/include/log-source.h
Examining data/prelude-lml-5.2.0/src/include/log-plugins.h
Examining data/prelude-lml-5.2.0/src/include/regex.h
Examining data/prelude-lml-5.2.0/src/include/tcp-server.h
Examining data/prelude-lml-5.2.0/src/include/tcp-server-tls.h
Examining data/prelude-lml-5.2.0/src/include/udp-server.h
Examining data/prelude-lml-5.2.0/src/include/file-server.h
Examining data/prelude-lml-5.2.0/src/log-source.c
Examining data/prelude-lml-5.2.0/src/lml-options.c

FINAL RESULTS:

data/prelude-lml-5.2.0/libmissing/stdio.in.h:745:8:  [5] (buffer) gets:
  Does not check for buffer overflows (CWE-120, CWE-20). Use fgets() instead.
#undef gets
data/prelude-lml-5.2.0/libmissing/stdio.in.h:747: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/prelude-lml-5.2.0/libmissing/sys_stat.in.h:507:19:  [5] (race) chmod:
  This accepts filename arguments; if an attacker can move those files, a
  race condition results. (CWE-362). Use fchmod( ) instead.
#   define lchmod chmod
data/prelude-lml-5.2.0/libmissing/sys_stat.in.h:511:34:  [5] (race) chmod:
  This accepts filename arguments; if an attacker can move those files, a
  race condition results. (CWE-362). Use fchmod( ) instead.
_GL_CXXALIAS_RPL_CAST_1 (lchmod, chmod, int,
data/prelude-lml-5.2.0/libmissing/tests/test-stat-time.c:63:3:  [5] (race) chmod:
  This accepts filename arguments; if an attacker can move those files, a
  race condition results. (CWE-362). Use fchmod( ) instead.
  chmod (filename, 0600);
data/prelude-lml-5.2.0/libmissing/tests/test-stat-time.c:118:11:  [5] (race) chmod:
  This accepts filename arguments; if an attacker can move those files, a
  race condition results. (CWE-362). Use fchmod( ) instead.
  ASSERT (chmod (filename_testfile, 0400) == 0);
data/prelude-lml-5.2.0/libmissing/unistd.in.h:263: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/prelude-lml-5.2.0/libmissing/unistd.in.h:277: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/prelude-lml-5.2.0/libmissing/unistd.in.h:278: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/prelude-lml-5.2.0/libmissing/unistd.in.h:280: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/prelude-lml-5.2.0/libmissing/unistd.in.h:282: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/prelude-lml-5.2.0/libmissing/unistd.in.h:285: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/prelude-lml-5.2.0/libmissing/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_SYS (chown, int, (const char *file, uid_t uid, gid_t gid));
data/prelude-lml-5.2.0/libmissing/unistd.in.h:290: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/prelude-lml-5.2.0/libmissing/unistd.in.h:292: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/prelude-lml-5.2.0/libmissing/unistd.in.h:294: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/prelude-lml-5.2.0/libmissing/unistd.in.h:1321: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/prelude-lml-5.2.0/libmissing/unistd.in.h:1323: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/prelude-lml-5.2.0/libmissing/unistd.in.h:1326: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/prelude-lml-5.2.0/libmissing/unistd.in.h:1330: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/prelude-lml-5.2.0/libmissing/unistd.in.h:1334: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/prelude-lml-5.2.0/libmissing/unistd.in.h:1337: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/prelude-lml-5.2.0/libmissing/unistd.in.h:1339: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/prelude-lml-5.2.0/libmissing/unistd.in.h:1341: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/prelude-lml-5.2.0/libev/ev.c:4295: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 (path, w->path);
data/prelude-lml-5.2.0/libmissing/fnmatch.c:165:23:  [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).
# define STRCAT(D, S) strcat (D, S)
data/prelude-lml-5.2.0/libmissing/fnmatch.c:195:25:  [4] (buffer) wcscat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120).
#   define STRCAT(D, S) wcscat (D, S)
data/prelude-lml-5.2.0/libmissing/getlogin_r.c:35:14:  [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.
extern char *getlogin (void);
data/prelude-lml-5.2.0/libmissing/getlogin_r.c:96:7:  [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.
  n = getlogin ();
data/prelude-lml-5.2.0/libmissing/inet_ntop.c:140:10:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
  return strcpy (dst, tmp);
data/prelude-lml-5.2.0/libmissing/inet_ntop.c:255:10:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
  return strcpy (dst, tmp);
data/prelude-lml-5.2.0/libmissing/localcharset.c:778: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/prelude-lml-5.2.0/libmissing/opendir.c:151: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 (dirp->dir_name_mask, dir_name_mask);
data/prelude-lml-5.2.0/libmissing/snprintf.c:37:1:  [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.
snprintf (char *str, size_t size, const char *format, ...)
data/prelude-lml-5.2.0/libmissing/stdio.in.h:304: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/prelude-lml-5.2.0/libmissing/stdio.in.h:308: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/prelude-lml-5.2.0/libmissing/stdio.in.h:312: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/prelude-lml-5.2.0/libmissing/stdio.in.h:316: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/prelude-lml-5.2.0/libmissing/stdio.in.h:318: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/prelude-lml-5.2.0/libmissing/stdio.in.h:320: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/prelude-lml-5.2.0/libmissing/stdio.in.h:324: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/prelude-lml-5.2.0/libmissing/stdio.in.h:327: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/prelude-lml-5.2.0/libmissing/stdio.in.h:431: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/prelude-lml-5.2.0/libmissing/stdio.in.h:432: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/prelude-lml-5.2.0/libmissing/stdio.in.h:434: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/prelude-lml-5.2.0/libmissing/stdio.in.h:437: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/prelude-lml-5.2.0/libmissing/stdio.in.h:439: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/prelude-lml-5.2.0/libmissing/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_CXXALIASWARN (fscanf);
data/prelude-lml-5.2.0/libmissing/stdio.in.h:839: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/prelude-lml-5.2.0/libmissing/stdio.in.h:840: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/prelude-lml-5.2.0/libmissing/stdio.in.h:842: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/prelude-lml-5.2.0/libmissing/stdio.in.h:844: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/prelude-lml-5.2.0/libmissing/stdio.in.h:847: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/prelude-lml-5.2.0/libmissing/stdio.in.h:850: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/prelude-lml-5.2.0/libmissing/stdio.in.h:852: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/prelude-lml-5.2.0/libmissing/stdio.in.h:854: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/prelude-lml-5.2.0/libmissing/stdio.in.h:856: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/prelude-lml-5.2.0/libmissing/stdio.in.h:867: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/prelude-lml-5.2.0/libmissing/stdio.in.h:884: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/prelude-lml-5.2.0/libmissing/stdio.in.h:887: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/prelude-lml-5.2.0/libmissing/stdio.in.h:889: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/prelude-lml-5.2.0/libmissing/stdio.in.h:893: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/prelude-lml-5.2.0/libmissing/stdio.in.h:897: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/prelude-lml-5.2.0/libmissing/stdio.in.h:899: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/prelude-lml-5.2.0/libmissing/stdio.in.h:903: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/prelude-lml-5.2.0/libmissing/stdio.in.h:906: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/prelude-lml-5.2.0/libmissing/stdio.in.h:1028: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/prelude-lml-5.2.0/libmissing/stdio.in.h:1030: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/prelude-lml-5.2.0/libmissing/stdio.in.h:1038: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/prelude-lml-5.2.0/libmissing/stdio.in.h:1041: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/prelude-lml-5.2.0/libmissing/stdio.in.h:1042: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/prelude-lml-5.2.0/libmissing/stdio.in.h:1044: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/prelude-lml-5.2.0/libmissing/stdio.in.h:1047: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/prelude-lml-5.2.0/libmissing/stdio.in.h:1050: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/prelude-lml-5.2.0/libmissing/stdio.in.h:1052: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/prelude-lml-5.2.0/libmissing/stdio.in.h:1058: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/prelude-lml-5.2.0/libmissing/stdio.in.h:1060: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/prelude-lml-5.2.0/libmissing/stdio.in.h:1064: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/prelude-lml-5.2.0/libmissing/stdio.in.h:1068: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/prelude-lml-5.2.0/libmissing/stdio.in.h:1073: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/prelude-lml-5.2.0/libmissing/stdio.in.h:1076: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/prelude-lml-5.2.0/libmissing/stdio.in.h:1078: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/prelude-lml-5.2.0/libmissing/stdio.in.h:1080: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/prelude-lml-5.2.0/libmissing/stdio.in.h:1097:12:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
#   define sprintf rpl_sprintf
data/prelude-lml-5.2.0/libmissing/stdio.in.h:1099: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/prelude-lml-5.2.0/libmissing/stdio.in.h:1102: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/prelude-lml-5.2.0/libmissing/stdio.in.h:1104: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/prelude-lml-5.2.0/libmissing/stdio.in.h:1106:19:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
_GL_CXXALIASWARN (sprintf);
data/prelude-lml-5.2.0/libmissing/stdio.in.h:1108:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
# undef sprintf
data/prelude-lml-5.2.0/libmissing/stdio.in.h:1110: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/prelude-lml-5.2.0/libmissing/stdio.in.h:1216: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/prelude-lml-5.2.0/libmissing/stdio.in.h:1220: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/prelude-lml-5.2.0/libmissing/stdio.in.h:1224: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/prelude-lml-5.2.0/libmissing/stdio.in.h:1228: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/prelude-lml-5.2.0/libmissing/stdio.in.h:1233: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/prelude-lml-5.2.0/libmissing/stdio.in.h:1236: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/prelude-lml-5.2.0/libmissing/stdio.in.h:1240: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/prelude-lml-5.2.0/libmissing/stdio.in.h:1243: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/prelude-lml-5.2.0/libmissing/stdio.in.h:1251: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/prelude-lml-5.2.0/libmissing/stdio.in.h:1252: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/prelude-lml-5.2.0/libmissing/stdio.in.h:1254: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/prelude-lml-5.2.0/libmissing/stdio.in.h:1258: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/prelude-lml-5.2.0/libmissing/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_CXXALIAS_SYS (vfscanf, int,
data/prelude-lml-5.2.0/libmissing/stdio.in.h:1264: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/prelude-lml-5.2.0/libmissing/stdio.in.h:1271: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/prelude-lml-5.2.0/libmissing/stdio.in.h:1275: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/prelude-lml-5.2.0/libmissing/stdio.in.h:1279: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/prelude-lml-5.2.0/libmissing/stdio.in.h:1283: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/prelude-lml-5.2.0/libmissing/stdio.in.h:1288: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/prelude-lml-5.2.0/libmissing/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_CXXALIASWARN (vprintf);
data/prelude-lml-5.2.0/libmissing/stdio.in.h:1294: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/prelude-lml-5.2.0/libmissing/stdio.in.h:1297: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/prelude-lml-5.2.0/libmissing/stdio.in.h:1305: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/prelude-lml-5.2.0/libmissing/stdio.in.h:1306: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/prelude-lml-5.2.0/libmissing/stdio.in.h:1308: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/prelude-lml-5.2.0/libmissing/stdio.in.h:1311: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/prelude-lml-5.2.0/libmissing/stdio.in.h:1313: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/prelude-lml-5.2.0/libmissing/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_CXXALIASWARN (vscanf);
data/prelude-lml-5.2.0/libmissing/stdio.in.h:1321: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/prelude-lml-5.2.0/libmissing/stdio.in.h:1323: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/prelude-lml-5.2.0/libmissing/stdio.in.h:1327: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/prelude-lml-5.2.0/libmissing/stdio.in.h:1331: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/prelude-lml-5.2.0/libmissing/stdio.in.h:1336: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/prelude-lml-5.2.0/libmissing/stdio.in.h:1339: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/prelude-lml-5.2.0/libmissing/stdio.in.h:1341: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/prelude-lml-5.2.0/libmissing/stdio.in.h:1343: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/prelude-lml-5.2.0/libmissing/stdio.in.h:1351:12:  [4] (buffer) vsprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
#   define vsprintf rpl_vsprintf
data/prelude-lml-5.2.0/libmissing/stdio.in.h:1353:19:  [4] (buffer) vsprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
_GL_FUNCDECL_RPL (vsprintf, int,
data/prelude-lml-5.2.0/libmissing/stdio.in.h:1357:19:  [4] (buffer) vsprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
_GL_CXXALIAS_RPL (vsprintf, int,
data/prelude-lml-5.2.0/libmissing/stdio.in.h:1363: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/prelude-lml-5.2.0/libmissing/stdio.in.h:1366:19:  [4] (buffer) vsprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
_GL_CXXALIASWARN (vsprintf);
data/prelude-lml-5.2.0/libmissing/stdio.in.h:1368:9:  [4] (buffer) vsprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
# undef vsprintf
data/prelude-lml-5.2.0/libmissing/stdio.in.h:1370: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/prelude-lml-5.2.0/libmissing/tests/localename.c:1362: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 (name, legacy_table[i1].unixy);
data/prelude-lml-5.2.0/libmissing/tests/localename.c:1386: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 (name, langtag_table[i1].unixy);
data/prelude-lml-5.2.0/libmissing/tests/localename.c:1406: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 (name + 3, script_table[i1].unixy);
data/prelude-lml-5.2.0/libmissing/tests/localename.c:2585: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 (last_locale, locale_name);
data/prelude-lml-5.2.0/libmissing/tests/perror.c:30:8:  [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/prelude-lml-5.2.0/libmissing/tests/setlocale.c:709: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 (ll_buf + (underscore - llCC_buf), territory_end);
data/prelude-lml-5.2.0/libmissing/tests/strerror.c:33:8:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
#undef sprintf
data/prelude-lml-5.2.0/libmissing/tests/strerror.c:59:7:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
      sprintf (buf, fmt, n);
data/prelude-lml-5.2.0/libmissing/tests/strerror_r.c:123: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.
# define snprintf local_snprintf
data/prelude-lml-5.2.0/libmissing/tests/test-getaddrinfo.c:46:20:  [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 dbgprintf printf
data/prelude-lml-5.2.0/libmissing/tests/test-getaddrinfo.c:48:27:  [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 dbgprintf if (0) printf
data/prelude-lml-5.2.0/libmissing/tests/test-lock.c:123:20:  [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 dbgprintf printf
data/prelude-lml-5.2.0/libmissing/tests/test-lock.c:125:27:  [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 dbgprintf if (0) printf
data/prelude-lml-5.2.0/libmissing/tests/test-lstat.c:57:17:  [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.
  ignore_value (system ("rm -rf " BASE "*"));
data/prelude-lml-5.2.0/libmissing/tests/test-mbrtowc-w32.c:43:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf (name_with_codepage, "%s.%d", name, codepage);
data/prelude-lml-5.2.0/libmissing/tests/test-pthread_sigmask1.c:63:11:  [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.
  ASSERT (system (command) == 0);
data/prelude-lml-5.2.0/libmissing/tests/test-sigprocmask.c:70:11:  [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.
  ASSERT (system (command) == 0);
data/prelude-lml-5.2.0/libmissing/tests/test-snprintf.c:24: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.
SIGNATURE_CHECK (snprintf, int, (char *, size_t, char const *, ...));
data/prelude-lml-5.2.0/libmissing/tests/test-symlink.c:44:17:  [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.
  ignore_value (system ("rm -rf " BASE "*"));
data/prelude-lml-5.2.0/libmissing/tests/test-wcrtomb-w32.c:41:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf (name_with_codepage, "%s.%d", name, codepage);
data/prelude-lml-5.2.0/libmissing/unistd.in.h:252: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/prelude-lml-5.2.0/libmissing/unistd.in.h:802: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/prelude-lml-5.2.0/libmissing/unistd.in.h:804: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/prelude-lml-5.2.0/libmissing/unistd.in.h:805: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/prelude-lml-5.2.0/libmissing/unistd.in.h:807: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/prelude-lml-5.2.0/libmissing/unistd.in.h:809: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/prelude-lml-5.2.0/libmissing/unistd.in.h:945: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/prelude-lml-5.2.0/libmissing/unistd.in.h:946: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/prelude-lml-5.2.0/libmissing/unistd.in.h:948: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/prelude-lml-5.2.0/libmissing/unistd.in.h:950: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/prelude-lml-5.2.0/libmissing/unistd.in.h:953: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/prelude-lml-5.2.0/libmissing/unistd.in.h:956: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/prelude-lml-5.2.0/libmissing/unistd.in.h:958: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/prelude-lml-5.2.0/libmissing/unistd.in.h:960: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/prelude-lml-5.2.0/libmissing/unistd.in.h:962: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/prelude-lml-5.2.0/libmissing/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/prelude-lml-5.2.0/libmissing/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/prelude-lml-5.2.0/libmissing/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/prelude-lml-5.2.0/libmissing/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/prelude-lml-5.2.0/libmissing/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/prelude-lml-5.2.0/libmissing/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/prelude-lml-5.2.0/libmissing/vasnprintf.c:205:8:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
#undef sprintf
data/prelude-lml-5.2.0/libmissing/vasnprintf.c:4267:39:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
                                      sprintf ((char *) p, decimal_format, exponent);
data/prelude-lml-5.2.0/libmissing/vasnprintf.c:4275:39:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
                                      sprintf (expbuf, decimal_format, exponent);
data/prelude-lml-5.2.0/libmissing/vasnprintf.c:4460:47:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
                                              sprintf ((char *) p, decimal_format, exponent);
data/prelude-lml-5.2.0/libmissing/vasnprintf.c:4468:47:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
                                              sprintf (expbuf, decimal_format, exponent);
data/prelude-lml-5.2.0/libmissing/vasnprintf.c:4990:33:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
                        count = sprintf (tmp, buf, arg);                    \
data/prelude-lml-5.2.0/libmissing/vasnprintf.c:4993:33:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
                        count = sprintf (tmp, buf, prefixes[0], arg);       \
data/prelude-lml-5.2.0/libmissing/vasnprintf.c:4996:33:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
                        count = sprintf (tmp, buf, prefixes[0], prefixes[1],\
data/prelude-lml-5.2.0/libmissing/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/prelude-lml-5.2.0/libmissing/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/prelude-lml-5.2.0/libmissing/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/prelude-lml-5.2.0/libmissing/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/prelude-lml-5.2.0/libmissing/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/prelude-lml-5.2.0/libmissing/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/prelude-lml-5.2.0/libmissing/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/prelude-lml-5.2.0/libmissing/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/prelude-lml-5.2.0/libmissing/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/prelude-lml-5.2.0/libmissing/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/prelude-lml-5.2.0/src/log-plugins.c:114:15:  [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.
        ret = access(dirname, F_OK);
data/prelude-lml-5.2.0/src/prelude-lml.c:168:15:  [4] (shell) execvp:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
        ret = execvp(global_argv[0], global_argv);
data/prelude-lml-5.2.0/src/tcp-server-tls.c:602:15:  [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.
        ret = access(LML_RUN_DIR, R_OK|W_OK);
data/prelude-lml-5.2.0/libev/ev.c:2880: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.
          && getenv ("LIBEV_FLAGS"))
data/prelude-lml-5.2.0/libev/ev.c:2881: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.
        flags = atoi (getenv ("LIBEV_FLAGS"));
data/prelude-lml-5.2.0/libmissing/fnmatch_loop.c:209: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.
              posixly_correct = getenv ("POSIXLY_CORRECT") != NULL ? 1 : -1;
data/prelude-lml-5.2.0/libmissing/fnmatch_loop.c:999: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.
          posixly_correct = getenv ("POSIXLY_CORRECT") != NULL ? 1 : -1;
data/prelude-lml-5.2.0/libmissing/fnmatch_loop.c:1052: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.
          posixly_correct = getenv ("POSIXLY_CORRECT") != NULL ? 1 : -1;
data/prelude-lml-5.2.0/libmissing/glob.c:594:28:  [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 *home_dir = getenv ("HOME");
data/prelude-lml-5.2.0/libmissing/glob.c:601:40:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
              const char *home_drive = getenv ("HOMEDRIVE");
data/prelude-lml-5.2.0/libmissing/glob.c:602:39:  [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.
              const char *home_path = getenv ("HOMEPATH");
data/prelude-lml-5.2.0/libmissing/localcharset.c:707: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/prelude-lml-5.2.0/libmissing/localcharset.c:710: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/prelude-lml-5.2.0/libmissing/localcharset.c:712: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/prelude-lml-5.2.0/libmissing/localcharset.c:803: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/prelude-lml-5.2.0/libmissing/localcharset.c:806: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/prelude-lml-5.2.0/libmissing/localcharset.c:808: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/prelude-lml-5.2.0/libmissing/localcharset.c:927: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/prelude-lml-5.2.0/libmissing/localcharset.c:930: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/prelude-lml-5.2.0/libmissing/localcharset.c:932: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/prelude-lml-5.2.0/libmissing/mktime.c:112: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.
  const char *tz = getenv ("TZ");
data/prelude-lml-5.2.0/libmissing/stat-w32.c:64:22:  [3] (misc) LoadLibrary:
  Ensure that the full path to the library is specified, or current directory
  may be used (CWE-829, CWE-20). Use registry entry or GetWindowsDirectory to
  find library path, if you aren't already.
  HMODULE kernel32 = LoadLibrary ("kernel32.dll");
data/prelude-lml-5.2.0/libmissing/stdlib.in.h:576: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/prelude-lml-5.2.0/libmissing/stdlib.in.h:578: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/prelude-lml-5.2.0/libmissing/stdlib.in.h:579: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/prelude-lml-5.2.0/libmissing/stdlib.in.h:581: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/prelude-lml-5.2.0/libmissing/stdlib.in.h:583: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/prelude-lml-5.2.0/libmissing/stdlib.in.h:590: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/prelude-lml-5.2.0/libmissing/stdlib.in.h:592: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/prelude-lml-5.2.0/libmissing/stdlib.in.h:593: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/prelude-lml-5.2.0/libmissing/stdlib.in.h:595: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/prelude-lml-5.2.0/libmissing/stdlib.in.h:597: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/prelude-lml-5.2.0/libmissing/stdlib.in.h:621: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/prelude-lml-5.2.0/libmissing/stdlib.in.h:623: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/prelude-lml-5.2.0/libmissing/stdlib.in.h:624: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/prelude-lml-5.2.0/libmissing/stdlib.in.h:626: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/prelude-lml-5.2.0/libmissing/stdlib.in.h:628: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/prelude-lml-5.2.0/libmissing/stdlib.in.h:791: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/prelude-lml-5.2.0/libmissing/stdlib.in.h:793: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/prelude-lml-5.2.0/libmissing/stdlib.in.h:795: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/prelude-lml-5.2.0/libmissing/stdlib.in.h:798: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/prelude-lml-5.2.0/libmissing/stdlib.in.h:801: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/prelude-lml-5.2.0/libmissing/stdlib.in.h:803: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/prelude-lml-5.2.0/libmissing/stdlib.in.h:805: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/prelude-lml-5.2.0/libmissing/stdlib.in.h:807: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/prelude-lml-5.2.0/libmissing/tests/gettimeofday.c:48:22:  [3] (misc) LoadLibrary:
  Ensure that the full path to the library is specified, or current directory
  may be used (CWE-829, CWE-20). Use registry entry or GetWindowsDirectory to
  find library path, if you aren't already.
  HMODULE kernel32 = LoadLibrary ("kernel32.dll");
data/prelude-lml-5.2.0/libmissing/tests/glthread/lock.c:801:3:  [3] (misc) InitializeCriticalSection:
  Exceptions can be thrown in low-memory situations. Use
  InitializeCriticalSectionAndSpinCount instead.
  InitializeCriticalSection (&lock->lock);
data/prelude-lml-5.2.0/libmissing/tests/glthread/lock.c:819:3:  [3] (misc) EnterCriticalSection:
  On some versions of Windows, exceptions can be thrown in low-memory
  situations. Use InitializeCriticalSectionAndSpinCount instead.
  EnterCriticalSection (&lock->lock);
data/prelude-lml-5.2.0/libmissing/tests/glthread/lock.c:938:3:  [3] (misc) InitializeCriticalSection:
  Exceptions can be thrown in low-memory situations. Use
  InitializeCriticalSectionAndSpinCount instead.
  InitializeCriticalSection (&lock->lock);
data/prelude-lml-5.2.0/libmissing/tests/glthread/lock.c:959:3:  [3] (misc) EnterCriticalSection:
  On some versions of Windows, exceptions can be thrown in low-memory
  situations. Use InitializeCriticalSectionAndSpinCount instead.
  EnterCriticalSection (&lock->lock);
data/prelude-lml-5.2.0/libmissing/tests/glthread/lock.c:991:15:  [3] (misc) EnterCriticalSection:
  On some versions of Windows, exceptions can be thrown in low-memory
  situations. Use InitializeCriticalSectionAndSpinCount instead.
              EnterCriticalSection (&lock->lock);
data/prelude-lml-5.2.0/libmissing/tests/glthread/lock.c:1015:3:  [3] (misc) EnterCriticalSection:
  On some versions of Windows, exceptions can be thrown in low-memory
  situations. Use InitializeCriticalSectionAndSpinCount instead.
  EnterCriticalSection (&lock->lock);
data/prelude-lml-5.2.0/libmissing/tests/glthread/lock.c:1044:15:  [3] (misc) EnterCriticalSection:
  On some versions of Windows, exceptions can be thrown in low-memory
  situations. Use InitializeCriticalSectionAndSpinCount instead.
              EnterCriticalSection (&lock->lock);
data/prelude-lml-5.2.0/libmissing/tests/glthread/lock.c:1059:3:  [3] (misc) EnterCriticalSection:
  On some versions of Windows, exceptions can be thrown in low-memory
  situations. Use InitializeCriticalSectionAndSpinCount instead.
  EnterCriticalSection (&lock->lock);
data/prelude-lml-5.2.0/libmissing/tests/glthread/lock.c:1121:3:  [3] (misc) InitializeCriticalSection:
  Exceptions can be thrown in low-memory situations. Use
  InitializeCriticalSectionAndSpinCount instead.
  InitializeCriticalSection (&lock->lock);
data/prelude-lml-5.2.0/libmissing/tests/glthread/lock.c:1143:9:  [3] (misc) EnterCriticalSection:
  On some versions of Windows, exceptions can be thrown in low-memory
  situations. Use InitializeCriticalSectionAndSpinCount instead.
        EnterCriticalSection (&lock->lock);
data/prelude-lml-5.2.0/libmissing/tests/glthread/lock.c:1190:11:  [3] (misc) InitializeCriticalSection:
  Exceptions can be thrown in low-memory situations. Use
  InitializeCriticalSectionAndSpinCount instead.
          InitializeCriticalSection (&once_control->lock);
data/prelude-lml-5.2.0/libmissing/tests/glthread/lock.c:1191: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/prelude-lml-5.2.0/libmissing/tests/glthread/lock.c:1210: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/prelude-lml-5.2.0/libmissing/tests/glthread/thread.c:128:7:  [3] (misc) InitializeCriticalSection:
  Exceptions can be thrown in low-memory situations. Use
  InitializeCriticalSectionAndSpinCount instead.
      InitializeCriticalSection (&thread->handle_lock);
data/prelude-lml-5.2.0/libmissing/tests/glthread/thread.c:142:3:  [3] (misc) EnterCriticalSection:
  On some versions of Windows, exceptions can be thrown in low-memory
  situations. Use InitializeCriticalSectionAndSpinCount instead.
  EnterCriticalSection (&thread->handle_lock);
data/prelude-lml-5.2.0/libmissing/tests/glthread/thread.c:167:3:  [3] (misc) InitializeCriticalSection:
  Exceptions can be thrown in low-memory situations. Use
  InitializeCriticalSectionAndSpinCount instead.
  InitializeCriticalSection (&thread->handle_lock);
data/prelude-lml-5.2.0/libmissing/tests/glthread/thread.c:186:5:  [3] (misc) EnterCriticalSection:
  On some versions of Windows, exceptions can be thrown in low-memory
  situations. Use InitializeCriticalSectionAndSpinCount instead.
    EnterCriticalSection (&thread->handle_lock);
data/prelude-lml-5.2.0/libmissing/tests/localename.c:1466: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 ("GETTEXT_MUI") != NULL)
data/prelude-lml-5.2.0/libmissing/tests/localename.c:2863: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.
  retval = getenv ("LC_ALL");
data/prelude-lml-5.2.0/libmissing/tests/localename.c:2867: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.
  retval = getenv (categoryname);
data/prelude-lml-5.2.0/libmissing/tests/localename.c:2871: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.
  retval = getenv ("LANG");
data/prelude-lml-5.2.0/libmissing/tests/setenv.c:372: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.
      char *tmp = getenv (name);
data/prelude-lml-5.2.0/libmissing/tests/test-getlogin.h:87:24:  [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.
    const char *name = getenv ("USERNAME");
data/prelude-lml-5.2.0/libmissing/tests/test-setenv.c:38: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.
  ASSERT (strcmp (getenv ("a"), "==") == 0);
data/prelude-lml-5.2.0/libmissing/tests/test-setlocale1.c:50: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.
  if (setlocale (LC_ALL, getenv ("LC_ALL")) == NULL)
data/prelude-lml-5.2.0/libmissing/tests/test-setlocale2.c:35: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.
                 getenv ("LC_ALL"));
data/prelude-lml-5.2.0/libmissing/tests/test-setlocale2.c:45: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.
  if (setlocale (LC_ALL, getenv ("LC_ALL")) != NULL)
data/prelude-lml-5.2.0/libmissing/tests/test-setlocale2.c:50: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.
                 getenv ("LC_ALL"));
data/prelude-lml-5.2.0/libmissing/tests/test-unsetenv.c:42: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.
  ASSERT (getenv ("a") == NULL);
data/prelude-lml-5.2.0/libmissing/tests/unsetenv.c:119:10:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  while (getenv (name))
data/prelude-lml-5.2.0/libev/ev.c:466:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char pad[128 - sizeof (uint32_t)];
data/prelude-lml-5.2.0/libev/ev.c:1352: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, &x, 4);
data/prelude-lml-5.2.0/libev/ev.c:1392: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, &x, 4);
data/prelude-lml-5.2.0/libev/ev.c:1422: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, &x, 8);
data/prelude-lml-5.2.0/libev/ev.c:1462: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, &x, 8);
data/prelude-lml-5.2.0/libev/ev.c:2506: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 dummy[4];
data/prelude-lml-5.2.0/libev/ev.c:2881:17:  [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).
        flags = atoi (getenv ("LIBEV_FLAGS"));
data/prelude-lml-5.2.0/libev/ev.c:4294: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 path [4096];
data/prelude-lml-5.2.0/libev/ev.c:4376:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-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 [EV_INOTIFY_BUFSIZE];
data/prelude-lml-5.2.0/libev/ev.c:5066:34:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
            cb (EV_A_ EV_STAT, ((char *)ANHE_w (timers [i])) - offsetof (struct ev_stat, timer));
data/prelude-lml-5.2.0/libev/ev_select.c:155: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 (vec_ro, vec_ri, fd_setsize);
data/prelude-lml-5.2.0/libev/ev_select.c:156: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 (vec_wo, vec_wi, fd_setsize);
data/prelude-lml-5.2.0/libev/ev_select.c:164: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 (vec_eo, vec_wi, fd_setsize);
data/prelude-lml-5.2.0/libmissing/alloca.c:122:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char align[ALIGN_SIZE];       /* To force sizeof(header).  */
data/prelude-lml-5.2.0/libmissing/dirent-private.h:37:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char dir_name_mask[1];
data/prelude-lml-5.2.0/libmissing/dirent.in.h:41:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char d_name[1];
data/prelude-lml-5.2.0/libmissing/fnmatch.c:172:49:  [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 MEMPCPY(D, S, N) ((void *) ((char *) memcpy (D, S, N) + (N)))
data/prelude-lml-5.2.0/libmissing/fnmatch.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 s[CHAR_CLASS_MAX_LENGTH + 1];
data/prelude-lml-5.2.0/libmissing/fnmatch_loop.c:472:29:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
                            char str[c1];
data/prelude-lml-5.2.0/libmissing/fnmatch_loop.c:693:33:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
                                char str[c1];
data/prelude-lml-5.2.0/libmissing/fseeko.c:62: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).
      FILE *tmp = fopen ("/dev/null", "r");
data/prelude-lml-5.2.0/libmissing/ftello.c:76: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).
      FILE *tmp = fopen ("/dev/null", "r");
data/prelude-lml-5.2.0/libmissing/getaddrinfo.c:258: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 (&sinp->sin6_addr, he->h_addr_list[0], sizeof sinp->sin6_addr);
data/prelude-lml-5.2.0/libmissing/getaddrinfo.c:282: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 (&sinp->sin_addr, he->h_addr_list[0], sizeof sinp->sin_addr);
data/prelude-lml-5.2.0/libmissing/getlogin_r.c:104: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 (name, n, nlen + 1);
data/prelude-lml-5.2.0/libmissing/gettext.h:220:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-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/prelude-lml-5.2.0/libmissing/gettext.h: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 buf[1024];
data/prelude-lml-5.2.0/libmissing/gettext.h:231: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/prelude-lml-5.2.0/libmissing/gettext.h:233: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/prelude-lml-5.2.0/libmissing/gettext.h:268:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char msg_ctxt_id[msgctxt_len + msgid_len];
data/prelude-lml-5.2.0/libmissing/gettext.h:270:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-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/prelude-lml-5.2.0/libmissing/gettext.h:279: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/prelude-lml-5.2.0/libmissing/gettext.h:281: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/prelude-lml-5.2.0/libmissing/glob.c:610: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 (mem, home_drive, home_drive_len);
data/prelude-lml-5.2.0/libmissing/glob.c:611: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 (mem + home_drive_len, home_path, home_path_len + 1);
data/prelude-lml-5.2.0/libmissing/glob.c:1238:43:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    struct globnames *next; size_t count; char *name[nnames];
data/prelude-lml-5.2.0/libmissing/inet_ntop.c:127:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-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[sizeof "255.255.255.255"];
data/prelude-lml-5.2.0/libmissing/inet_ntop.c:130:9:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
  len = sprintf (tmp, "%u.%u.%u.%u", src[0], src[1], src[2], src[3]);
data/prelude-lml-5.2.0/libmissing/inet_ntop.c:161:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-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[sizeof "ffff:ffff:ffff:ffff:ffff:ffff:255.255.255.255"], *tp;
data/prelude-lml-5.2.0/libmissing/inet_ntop.c:234:19:  [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.
        int len = sprintf (tp, "%x", words[i]);
data/prelude-lml-5.2.0/libmissing/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/prelude-lml-5.2.0/libmissing/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/prelude-lml-5.2.0/libmissing/localcharset.c:438: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/prelude-lml-5.2.0/libmissing/localcharset.c:439: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/prelude-lml-5.2.0/libmissing/localcharset.c:705: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/prelude-lml-5.2.0/libmissing/localcharset.c:731: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/prelude-lml-5.2.0/libmissing/localcharset.c:749: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/prelude-lml-5.2.0/libmissing/localcharset.c:760: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/prelude-lml-5.2.0/libmissing/localcharset.c:788: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/prelude-lml-5.2.0/libmissing/localcharset.c:795: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/prelude-lml-5.2.0/libmissing/localcharset.c:826: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/prelude-lml-5.2.0/libmissing/localcharset.c:844: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/prelude-lml-5.2.0/libmissing/malloc/scratch_buffer_grow_preserve.c:40: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_ptr, buffer->__space, buffer->length);
data/prelude-lml-5.2.0/libmissing/mbrtowc.c:96: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/prelude-lml-5.2.0/libmissing/mbrtowc.c:120: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/prelude-lml-5.2.0/libmissing/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/prelude-lml-5.2.0/libmissing/mktime.c:623:38:  [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).
      tm.tm_isdst = argc == 3 ? -1 : atoi (argv[3]);
data/prelude-lml-5.2.0/libmissing/mktime.c:634:21:  [2] (integer) atol:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
      time_t from = atol (argv[1]);
data/prelude-lml-5.2.0/libmissing/mktime.c:635:19:  [2] (integer) atol:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
      time_t by = atol (argv[2]);
data/prelude-lml-5.2.0/libmissing/mktime.c:636:19:  [2] (integer) atol:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
      time_t to = atol (argv[3]);
data/prelude-lml-5.2.0/libmissing/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/prelude-lml-5.2.0/libmissing/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/prelude-lml-5.2.0/libmissing/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/prelude-lml-5.2.0/libmissing/nl_langinfo.c:79:13:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  codeset = memcpy (buf, "CP", 2);
data/prelude-lml-5.2.0/libmissing/nl_langinfo.c:172: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/prelude-lml-5.2.0/libmissing/nl_langinfo.c:234: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/prelude-lml-5.2.0/libmissing/nl_langinfo.c:250: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/prelude-lml-5.2.0/libmissing/nl_langinfo.c:272: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/prelude-lml-5.2.0/libmissing/nl_langinfo.c:293: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/prelude-lml-5.2.0/libmissing/nl_langinfo.c:315: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/prelude-lml-5.2.0/libmissing/opendir.c:61:14:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    int fd = open (dir_name, O_RDONLY);
data/prelude-lml-5.2.0/libmissing/opendir.c:77:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char dir_name_mask[MAX_PATH + 1 + 1 + 1];
data/prelude-lml-5.2.0/libmissing/opendir.c:150: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 (&dirp->entry, &entry, sizeof (WIN32_FIND_DATA));
data/prelude-lml-5.2.0/libmissing/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/prelude-lml-5.2.0/libmissing/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/prelude-lml-5.2.0/libmissing/snprintf.c:57: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 (str, output, pruned_len);
data/prelude-lml-5.2.0/libmissing/stat-w32.c:196: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->st_ino, &id.FileId, sizeof (ino_t));
data/prelude-lml-5.2.0/libmissing/stat-w32.c:249:15:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
              char fpath[PATH_MAX];
data/prelude-lml-5.2.0/libmissing/stat.c:168: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 (malloca_rname, name, rlen);
data/prelude-lml-5.2.0/libmissing/stdio-impl.h:51: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.
                         unsigned char _ubuf[3]; \
data/prelude-lml-5.2.0/libmissing/stdio-impl.h:52: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.
                         unsigned char _nbuf[1]; \
data/prelude-lml-5.2.0/libmissing/stdio-impl.h:85: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.
                         unsigned char _ubuf[3]; \
data/prelude-lml-5.2.0/libmissing/stdio-impl.h:86: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.
                         unsigned char _nbuf[1]; \
data/prelude-lml-5.2.0/libmissing/stdio.in.h:283: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/prelude-lml-5.2.0/libmissing/stdio.in.h:284: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/prelude-lml-5.2.0/libmissing/stdio.in.h:286: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/prelude-lml-5.2.0/libmissing/stdio.in.h:288: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/prelude-lml-5.2.0/libmissing/stdio.in.h:290: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/prelude-lml-5.2.0/libmissing/stdio.in.h:292: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/prelude-lml-5.2.0/libmissing/stdio.in.h:294: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/prelude-lml-5.2.0/libmissing/stdio.in.h:296: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/prelude-lml-5.2.0/libmissing/stdio.in.h:1118: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/prelude-lml-5.2.0/libmissing/stdio.in.h:1120: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/prelude-lml-5.2.0/libmissing/stdio.in.h:1121: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/prelude-lml-5.2.0/libmissing/stdio.in.h:1123: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/prelude-lml-5.2.0/libmissing/stdio.in.h:1125: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/prelude-lml-5.2.0/libmissing/stdio.in.h:1127:9:  [2] (tmpfile) tmpfile:
  Function tmpfile() has a security flaw on some systems (e.g., older System
  V systems) (CWE-377).
# undef tmpfile
data/prelude-lml-5.2.0/libmissing/stdio.in.h:1129: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/prelude-lml-5.2.0/libmissing/stdlib.in.h:401: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/prelude-lml-5.2.0/libmissing/stdlib.in.h:403: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/prelude-lml-5.2.0/libmissing/stdlib.in.h:404: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/prelude-lml-5.2.0/libmissing/stdlib.in.h:407: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/prelude-lml-5.2.0/libmissing/stdlib.in.h:409: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/prelude-lml-5.2.0/libmissing/stdlib.in.h:411: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/prelude-lml-5.2.0/libmissing/stdlib.in.h:413: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/prelude-lml-5.2.0/libmissing/stdlib.in.h:415: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/prelude-lml-5.2.0/libmissing/sys_socket.in.h:116:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char __ss_padding[_SS_PADSIZE];
data/prelude-lml-5.2.0/libmissing/sys_stat.in.h:788:44:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
_GL_FUNCDECL_RPL (utimensat, int, (int fd, char const *name,
data/prelude-lml-5.2.0/libmissing/sys_stat.in.h:791:44:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
_GL_CXXALIAS_RPL (utimensat, int, (int fd, char const *name,
data/prelude-lml-5.2.0/libmissing/sys_stat.in.h:795:44:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
_GL_FUNCDECL_SYS (utimensat, int, (int fd, char const *name,
data/prelude-lml-5.2.0/libmissing/sys_stat.in.h:799:44:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
_GL_CXXALIAS_SYS (utimensat, int, (int fd, char const *name,
data/prelude-lml-5.2.0/libmissing/tests/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/prelude-lml-5.2.0/libmissing/tests/dup2.c:118:12:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
  tempfd = open ("NUL", O_RDONLY);
data/prelude-lml-5.2.0/libmissing/tests/dup2.c:126: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 path[_MAX_PATH];
data/prelude-lml-5.2.0/libmissing/tests/dup2.c:130:14:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
      return open(path, O_RDONLY);
data/prelude-lml-5.2.0/libmissing/tests/fcntl.c:60: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 fds_to_close[OPEN_MAX_MAX / CHAR_BIT];
data/prelude-lml-5.2.0/libmissing/tests/fcntl.in.h:111: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).
#   undef open
data/prelude-lml-5.2.0/libmissing/tests/fcntl.in.h:112:12:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
#   define open rpl_open
data/prelude-lml-5.2.0/libmissing/tests/fcntl.in.h:114:19:  [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).
_GL_FUNCDECL_RPL (open, int, (const char *filename, int flags, ...)
data/prelude-lml-5.2.0/libmissing/tests/fcntl.in.h:116:19:  [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).
_GL_CXXALIAS_RPL (open, int, (const char *filename, int flags, ...));
data/prelude-lml-5.2.0/libmissing/tests/fcntl.in.h:118:19:  [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).
_GL_CXXALIAS_SYS (open, int, (const char *filename, int flags, ...));
data/prelude-lml-5.2.0/libmissing/tests/fcntl.in.h:123:19:  [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).
_GL_CXXALIASWARN (open);
data/prelude-lml-5.2.0/libmissing/tests/fcntl.in.h:126:9:  [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).
# undef open
data/prelude-lml-5.2.0/libmissing/tests/fcntl.in.h:128: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).
_GL_WARN_ON_USE (open, "open is not always POSIX compliant - "
data/prelude-lml-5.2.0/libmissing/tests/ftruncate.c:90: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 zero_bytes[1024];
data/prelude-lml-5.2.0/libmissing/tests/getcwd-lgpl.c:80: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 tmp[4032];
data/prelude-lml-5.2.0/libmissing/tests/inet_pton.c:116: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 tmp[NS_INADDRSZ], *tp;
data/prelude-lml-5.2.0/libmissing/tests/inet_pton.c:152: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 (dst, tmp, NS_INADDRSZ);
data/prelude-lml-5.2.0/libmissing/tests/inet_pton.c:175: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 tmp[NS_IN6ADDRSZ], *tp, *endp, *colonp;
data/prelude-lml-5.2.0/libmissing/tests/inet_pton.c:262: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 (dst, tmp, NS_IN6ADDRSZ);
data/prelude-lml-5.2.0/libmissing/tests/localename.c:1167:26:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  typedef struct { const char legacy[21+1]; const char unixy[5+1]; }
data/prelude-lml-5.2.0/libmissing/tests/localename.c:1167:51:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  typedef struct { const char legacy[21+1]; const char unixy[5+1]; }
data/prelude-lml-5.2.0/libmissing/tests/localename.c:1305:26:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  typedef struct { const char langtag[7+1]; const char unixy[12+1]; }
data/prelude-lml-5.2.0/libmissing/tests/localename.c:1305:51:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  typedef struct { const char langtag[7+1]; const char unixy[12+1]; }
data/prelude-lml-5.2.0/libmissing/tests/localename.c:1335:26:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  typedef struct { const char script[4+1]; const char unixy[9+1]; }
data/prelude-lml-5.2.0/libmissing/tests/localename.c:1335:50:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  typedef struct { const char script[4+1]; const char unixy[9+1]; }
data/prelude-lml-5.2.0/libmissing/tests/localename.c:1468: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 namebuf[256];
data/prelude-lml-5.2.0/libmissing/tests/localename.c:2525: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 lname[LC_MAX * (LOCALE_NAME_MAX_LENGTH + 1) + 1];
data/prelude-lml-5.2.0/libmissing/tests/localename.c:2532:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char locval[2 * LOCALE_NAME_MAX_LENGTH + 1 + 1];
data/prelude-lml-5.2.0/libmissing/tests/localename.c:2568: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 last_locale[1000];
data/prelude-lml-5.2.0/libmissing/tests/localename.c:2624: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 contents[FLEXIBLE_ARRAY_MEMBER];
data/prelude-lml-5.2.0/libmissing/tests/localename.c:2655: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_node->contents, string, size);
data/prelude-lml-5.2.0/libmissing/tests/localename.c:2753:28:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (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 ((const char * const *) thread_locale)[category];
data/prelude-lml-5.2.0/libmissing/tests/localename.c:2767: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 categories[7][32];
data/prelude-lml-5.2.0/libmissing/tests/localename.c:2942:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        char namebuf[256];
data/prelude-lml-5.2.0/libmissing/tests/nap.h:72: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).
      nap_fd = open (TEMPFILE, O_RDWR, 0600);
data/prelude-lml-5.2.0/libmissing/tests/open.c:33: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).
  return open (filename, flags, mode);
data/prelude-lml-5.2.0/libmissing/tests/open.c:55:1:  [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).
open (const char *filename, int flags, ...)
data/prelude-lml-5.2.0/libmissing/tests/open.c:162: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).
          fd = open ("/dev/null", flags, mode);
data/prelude-lml-5.2.0/libmissing/tests/perror.c:35:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char stackbuf[STACKBUF_LEN];
data/prelude-lml-5.2.0/libmissing/tests/pthread_sigmask.c:47: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 (&omask_copy, &omask, sizeof omask);
data/prelude-lml-5.2.0/libmissing/tests/pthread_sigmask.c:70: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 (old_mask, &omask, sizeof omask);
data/prelude-lml-5.2.0/libmissing/tests/putenv.c:81: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 (name_, name, len);
data/prelude-lml-5.2.0/libmissing/tests/putenv.c:145: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 (name_x, string, name_end - string + 1);
data/prelude-lml-5.2.0/libmissing/tests/putenv.c:186: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_environ + 1, environ, (size + 1) * sizeof *new_environ);
data/prelude-lml-5.2.0/libmissing/tests/select.c:55: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 in[FD_SETSIZE / CHAR_BIT];
data/prelude-lml-5.2.0/libmissing/tests/select.c:56: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 out[FD_SETSIZE / CHAR_BIT];
data/prelude-lml-5.2.0/libmissing/tests/select.c:261: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 anyfds_in[FD_SETSIZE / CHAR_BIT];
data/prelude-lml-5.2.0/libmissing/tests/select.c:418: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 (&handle_rfds, rfds, sizeof (fd_set));
data/prelude-lml-5.2.0/libmissing/tests/select.c:419: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 (&handle_wfds, wfds, sizeof (fd_set));
data/prelude-lml-5.2.0/libmissing/tests/select.c:420: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 (&handle_xfds, xfds, sizeof (fd_set));
data/prelude-lml-5.2.0/libmissing/tests/select.c:494: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 (&handle_rfds, rfds, sizeof (fd_set));
data/prelude-lml-5.2.0/libmissing/tests/select.c:495: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 (&handle_wfds, wfds, sizeof (fd_set));
data/prelude-lml-5.2.0/libmissing/tests/select.c:496: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 (&handle_xfds, xfds, sizeof (fd_set));
data/prelude-lml-5.2.0/libmissing/tests/setenv.c:179: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 (new_value, name, namelen);
data/prelude-lml-5.2.0/libmissing/tests/setenv.c:181: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 (&new_value[namelen + 1], value, vallen);
data/prelude-lml-5.2.0/libmissing/tests/setenv.c:200: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_environ[size], new_value, namelen + 1 + vallen);
data/prelude-lml-5.2.0/libmissing/tests/setenv.c:202: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_environ[size], name, namelen);
data/prelude-lml-5.2.0/libmissing/tests/setenv.c:204: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_environ[size][namelen + 1], value, vallen);
data/prelude-lml-5.2.0/libmissing/tests/setenv.c:217: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 ((char *) new_environ, (char *) __environ,
data/prelude-lml-5.2.0/libmissing/tests/setenv.c:247: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 (new_value, name, namelen);
data/prelude-lml-5.2.0/libmissing/tests/setenv.c:249: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 (&new_value[namelen + 1], value, vallen);
data/prelude-lml-5.2.0/libmissing/tests/setenv.c:268: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 (np, new_value, namelen + 1 + vallen);
data/prelude-lml-5.2.0/libmissing/tests/setenv.c:270: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 (np, name, namelen);
data/prelude-lml-5.2.0/libmissing/tests/setenv.c:272: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 (&np[namelen + 1], value, vallen);
data/prelude-lml-5.2.0/libmissing/tests/setenv.c:380: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 (tmp + 1, value, len + 1);
data/prelude-lml-5.2.0/libmissing/tests/setlocale.c:632:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char llCC_buf[64];
data/prelude-lml-5.2.0/libmissing/tests/setlocale.c:633:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char ll_buf[64];
data/prelude-lml-5.2.0/libmissing/tests/setlocale.c:634:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char CC_buf[64];
data/prelude-lml-5.2.0/libmissing/tests/setlocale.c:708:13:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
            memcpy (ll_buf, llCC_buf, underscore - llCC_buf);
data/prelude-lml-5.2.0/libmissing/tests/setlocale.c:711:13:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
            memcpy (CC_buf, territory_start, territory_end - territory_start);
data/prelude-lml-5.2.0/libmissing/tests/setlocale.c:744:29:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-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+64];
data/prelude-lml-5.2.0/libmissing/tests/setlocale.c:748: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 (buf, part1, part1_len);
data/prelude-lml-5.2.0/libmissing/tests/setlocale.c:750: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 (buf + part1_len + 1, part2, part2_len);
data/prelude-lml-5.2.0/libmissing/tests/setlocale.c:791: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 lc_messages_name[64] = "C";
data/prelude-lml-5.2.0/libmissing/tests/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/prelude-lml-5.2.0/libmissing/tests/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/prelude-lml-5.2.0/libmissing/tests/strerror_r.c:138: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 (buf, msg, len + 1);
data/prelude-lml-5.2.0/libmissing/tests/strerror_r.c:143: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 (buf, msg, buflen - 1);
data/prelude-lml-5.2.0/libmissing/tests/strerror_r.c:201: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 stackbuf[80];
data/prelude-lml-5.2.0/libmissing/tests/strerror_r.c:228:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        char stackbuf[STACKBUF_LEN];
data/prelude-lml-5.2.0/libmissing/tests/strerror_r.c:247:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        char stackbuf[STACKBUF_LEN];
data/prelude-lml-5.2.0/libmissing/tests/test-binary-io.c:38:7:  [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).
      open ("t-bin-out0.tmp", O_CREAT | O_TRUNC | O_RDWR | O_BINARY, 0600);
data/prelude-lml-5.2.0/libmissing/tests/test-dup2.c:113:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char buffer[1];
data/prelude-lml-5.2.0/libmissing/tests/test-dup2.c:115:12:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
  int fd = open (file, O_CREAT | O_TRUNC | O_RDWR, 0600);
data/prelude-lml-5.2.0/libmissing/tests/test-dup2.c:177: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).
  ASSERT (open ("/dev/null", O_WRONLY, 0600) == fd + 1);
data/prelude-lml-5.2.0/libmissing/tests/test-fgetc.c:49:14:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    int fd = open (filename, O_RDWR | O_CREAT | O_TRUNC, 0600);
data/prelude-lml-5.2.0/libmissing/tests/test-fgetc.c:58:16:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    FILE *fp = fopen (filename, "r");
data/prelude-lml-5.2.0/libmissing/tests/test-fputc.c:49:16:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    FILE *fp = fopen (filename, "w");
data/prelude-lml-5.2.0/libmissing/tests/test-fread.c:49:14:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    int fd = open (filename, O_RDWR | O_CREAT | O_TRUNC, 0600);
data/prelude-lml-5.2.0/libmissing/tests/test-fread.c:58:16:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    FILE *fp = fopen (filename, "r");
data/prelude-lml-5.2.0/libmissing/tests/test-fread.c:59: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[5];
data/prelude-lml-5.2.0/libmissing/tests/test-fread.c:75:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        char buf[1];
data/prelude-lml-5.2.0/libmissing/tests/test-fread.c:89:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        char buf[1];
data/prelude-lml-5.2.0/libmissing/tests/test-fseeko3.c:30:26:  [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).
  int do_initial_ftell = atoi (argv[1]);
data/prelude-lml-5.2.0/libmissing/tests/test-fseeko3.c:32:14:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
  FILE *fp = fopen (filename, "r");
data/prelude-lml-5.2.0/libmissing/tests/test-fseeko4.c:34:16:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    FILE *fp = fopen (filename, "r");
data/prelude-lml-5.2.0/libmissing/tests/test-ftell3.c:36:8:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
  fp = fopen (TESTFILE, "w");
data/prelude-lml-5.2.0/libmissing/tests/test-ftell3.c:47:8:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
  fp = fopen (TESTFILE, "r+");
data/prelude-lml-5.2.0/libmissing/tests/test-ftell3.c:59:8:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
  fp = fopen (TESTFILE, "r");
data/prelude-lml-5.2.0/libmissing/tests/test-ftell3.c:63: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[10];
data/prelude-lml-5.2.0/libmissing/tests/test-ftello3.c:36:8:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
  fp = fopen (TESTFILE, "w");
data/prelude-lml-5.2.0/libmissing/tests/test-ftello3.c:47:8:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
  fp = fopen (TESTFILE, "r+");
data/prelude-lml-5.2.0/libmissing/tests/test-ftello3.c:59:8:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
  fp = fopen (TESTFILE, "r");
data/prelude-lml-5.2.0/libmissing/tests/test-ftello3.c:63: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[10];
data/prelude-lml-5.2.0/libmissing/tests/test-ftello4.c:34:16:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    FILE *fp = fopen (filename, "r");
data/prelude-lml-5.2.0/libmissing/tests/test-ftruncate.c:49:14:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    int fd = open (filename, O_RDONLY);
data/prelude-lml-5.2.0/libmissing/tests/test-fwrite.c:49:16:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    FILE *fp = fopen (filename, "w");
data/prelude-lml-5.2.0/libmissing/tests/test-fwrite.c:50: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[5] = "world";
data/prelude-lml-5.2.0/libmissing/tests/test-fwrite.c:67:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        char buf[5] = "world";
data/prelude-lml-5.2.0/libmissing/tests/test-fwrite.c:82:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        char buf[5] = "world";
data/prelude-lml-5.2.0/libmissing/tests/test-getaddrinfo.c:63:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-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/prelude-lml-5.2.0/libmissing/tests/test-getaddrinfo.c:137:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        char ipbuf[BUFSIZ];
data/prelude-lml-5.2.0/libmissing/tests/test-getaddrinfo.c:138:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        char portbuf[BUFSIZ];
data/prelude-lml-5.2.0/libmissing/tests/test-getlogin_r.c:33:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char buf[1024];
data/prelude-lml-5.2.0/libmissing/tests/test-getlogin_r.c:39: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 smallbuf[1024];
data/prelude-lml-5.2.0/libmissing/tests/test-getlogin_r.c:55: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.
    static char hugebuf[70000];
data/prelude-lml-5.2.0/libmissing/tests/test-iconv.c:63: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[50];
data/prelude-lml-5.2.0/libmissing/tests/test-iconv.c:79: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.
    static char buf[2] = { (char)0xDE, (char)0xAD };
data/prelude-lml-5.2.0/libmissing/tests/test-iconv.c:98: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[50];
data/prelude-lml-5.2.0/libmissing/tests/test-iconv.c:114: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[10];
data/prelude-lml-5.2.0/libmissing/tests/test-iconv.c:137: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[10];
data/prelude-lml-5.2.0/libmissing/tests/test-inet_ntop.c:39: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 printable[16];
data/prelude-lml-5.2.0/libmissing/tests/test-localename.c:417:11:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    const char *unsaved_names[SIZEOF (choices)][SIZEOF (categories)];
data/prelude-lml-5.2.0/libmissing/tests/test-localename.c:420:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char *saved_names[SIZEOF (choices)][SIZEOF (categories)];
data/prelude-lml-5.2.0/libmissing/tests/test-lock.c:178:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      char name[80];
data/prelude-lml-5.2.0/libmissing/tests/test-lock.c:184:7:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
      sprintf (name, "test-lock-%lu-%p-%u",
data/prelude-lml-5.2.0/libmissing/tests/test-lock.c:683: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 (&once_control, &fresh_once, sizeof (gl_once_t));
data/prelude-lml-5.2.0/libmissing/tests/test-mbrtowc-w32.c:41:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char name_with_codepage[1024];
data/prelude-lml-5.2.0/libmissing/tests/test-mbrtowc-w32.c:115:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char buf[1];
data/prelude-lml-5.2.0/libmissing/tests/test-mbrtowc-w32.c:699:18:  [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).
  int codepage = atoi (argv[argc - 1]);
data/prelude-lml-5.2.0/libmissing/tests/test-mbrtowc.c:69: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[1];
data/prelude-lml-5.2.0/libmissing/tests/test-mbsinit.c:41:20:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      static const char input[1] = "\303";
data/prelude-lml-5.2.0/libmissing/tests/test-mbsrtowcs.c:82:11:  [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 buf[BUFSIZE];
data/prelude-lml-5.2.0/libmissing/tests/test-nl_langinfo.c:43:14:  [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).
  int pass = atoi (argv[1]);
data/prelude-lml-5.2.0/libmissing/tests/test-open.c:24: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).
SIGNATURE_CHECK (open, int, (char const *, int, ...));
data/prelude-lml-5.2.0/libmissing/tests/test-open.c:40:21:  [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).
  return test_open (open, true);
data/prelude-lml-5.2.0/libmissing/tests/test-perror2.c:96:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        char buf[256];
data/prelude-lml-5.2.0/libmissing/tests/test-pthread_sigmask1.c:48:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char command[80];
data/prelude-lml-5.2.0/libmissing/tests/test-pthread_sigmask1.c:62: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 (command, "sh -c 'sleep 1; kill -%d %d' &", SIGINT, pid);
data/prelude-lml-5.2.0/libmissing/tests/test-select-fd.c:34: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).
          int fd = atoi (argv[2]);
data/prelude-lml-5.2.0/libmissing/tests/test-select-fd.c:39:35:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
              FILE *result_file = fopen (result_file_name, "wb");
data/prelude-lml-5.2.0/libmissing/tests/test-select.h:347:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char buf[3];
data/prelude-lml-5.2.0/libmissing/tests/test-select.h:388:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-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[3];
data/prelude-lml-5.2.0/libmissing/tests/test-sigprocmask.c:48:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char command[80];
data/prelude-lml-5.2.0/libmissing/tests/test-sigprocmask.c:69: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 (command, "sh -c 'sleep 1; kill -%d %d' &", SIGINT, (int) pid);
data/prelude-lml-5.2.0/libmissing/tests/test-snprintf.c:33:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char buf[8];
data/prelude-lml-5.2.0/libmissing/tests/test-snprintf.c:42: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 (buf, "DEADBEEF", 8);
data/prelude-lml-5.2.0/libmissing/tests/test-snprintf.c:65:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char result[100];
data/prelude-lml-5.2.0/libmissing/tests/test-stat-time.c:37:8:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
static char filename_stamp1[50];
data/prelude-lml-5.2.0/libmissing/tests/test-stat-time.c:38: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 filename_testfile[50];
data/prelude-lml-5.2.0/libmissing/tests/test-stat-time.c:39: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 filename_stamp2[50];
data/prelude-lml-5.2.0/libmissing/tests/test-stat-time.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 filename_stamp3[50];
data/prelude-lml-5.2.0/libmissing/tests/test-stat-time.c:52: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_stamp1,   "t-stt-%ld-stamp1", t);
data/prelude-lml-5.2.0/libmissing/tests/test-stat-time.c:53: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_testfile, "t-stt-%ld-testfile", t);
data/prelude-lml-5.2.0/libmissing/tests/test-stat-time.c:54: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_stamp2,   "t-stt-%ld-stamp2", t);
data/prelude-lml-5.2.0/libmissing/tests/test-stat-time.c:55: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_stamp3,   "t-stt-%ld-stamp3", t);
data/prelude-lml-5.2.0/libmissing/tests/test-stat-time.c:83:12:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
  int fd = open (filename, flags | O_WRONLY, 0500);
data/prelude-lml-5.2.0/libmissing/tests/test-stdalign.c:31: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.
typedef struct { char a[1]; } struct1;
data/prelude-lml-5.2.0/libmissing/tests/test-stdalign.c:32: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.
typedef struct { char a[2]; } struct2;
data/prelude-lml-5.2.0/libmissing/tests/test-stdalign.c:33: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.
typedef struct { char a[3]; } struct3;
data/prelude-lml-5.2.0/libmissing/tests/test-stdalign.c:34: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.
typedef struct { char a[4]; } struct4;
data/prelude-lml-5.2.0/libmissing/tests/test-stdbool.c:59:1:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
char a[true == 1 ? 1 : -1];
data/prelude-lml-5.2.0/libmissing/tests/test-stdbool.c:60:1:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
char b[false == 0 ? 1 : -1];
data/prelude-lml-5.2.0/libmissing/tests/test-stdbool.c:61:1:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
char c[__bool_true_false_are_defined == 1 ? 1 : -1];
data/prelude-lml-5.2.0/libmissing/tests/test-stdbool.c:63:1:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
char d[(bool) 0.5 == true ? 1 : -1];
data/prelude-lml-5.2.0/libmissing/tests/test-stdbool.c:72:1:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
char f[(_Bool) 0.0 == false ? 1 : -1];
data/prelude-lml-5.2.0/libmissing/tests/test-stdbool.c:74:1:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
char g[true];
data/prelude-lml-5.2.0/libmissing/tests/test-stdbool.c:75:1:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
char h[sizeof (_Bool)];
data/prelude-lml-5.2.0/libmissing/tests/test-stdbool.c:77:1:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
char i[sizeof s.t];
data/prelude-lml-5.2.0/libmissing/tests/test-stdbool.c:81:1:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
char o[sizeof n == m * sizeof n[0] ? 1 : -1];
data/prelude-lml-5.2.0/libmissing/tests/test-stdbool.c:82:1:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
char p[-1 - (_Bool) 0 < 0 && -1 - (bool) 0 < 0 ? 1 : -1];
data/prelude-lml-5.2.0/libmissing/tests/test-strerror_r.c:31:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char buf[100];
data/prelude-lml-5.2.0/libmissing/tests/test-strerror_r.c:97:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        char buf2[sizeof buf] = "";
data/prelude-lml-5.2.0/libmissing/tests/test-strerror_r.c:123: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 (buf, "BADFACE");
data/prelude-lml-5.2.0/libmissing/tests/test-vasnprintf.c:32:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char buf[8];
data/prelude-lml-5.2.0/libmissing/tests/test-vasnprintf.c:50: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 (buf, "DEADBEEF", 8);
data/prelude-lml-5.2.0/libmissing/tests/test-wcrtomb-w32.c:33:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char buf[64];
data/prelude-lml-5.2.0/libmissing/tests/test-wcrtomb-w32.c:39:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char name_with_codepage[1024];
data/prelude-lml-5.2.0/libmissing/tests/test-wcrtomb-w32.c:302:18:  [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).
  int codepage = atoi (argv[argc - 1]);
data/prelude-lml-5.2.0/libmissing/tests/test-wcrtomb.c:37:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char buf[64];
data/prelude-lml-5.2.0/libmissing/tests/test-wcrtomb.c:57:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char buf[64];
data/prelude-lml-5.2.0/libmissing/tests/wctob.c:29:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char buf[64];
data/prelude-lml-5.2.0/libmissing/tests/zerosize-ptr.h:67:12:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
  int fd = open ("/dev/zero", O_RDONLY, 0666);
data/prelude-lml-5.2.0/libmissing/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/prelude-lml-5.2.0/libmissing/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/prelude-lml-5.2.0/libmissing/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/prelude-lml-5.2.0/libmissing/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/prelude-lml-5.2.0/libmissing/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/prelude-lml-5.2.0/libmissing/vasnprintf.c:2675: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/prelude-lml-5.2.0/libmissing/vasnprintf.c:2720: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/prelude-lml-5.2.0/libmissing/vasnprintf.c:2770: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/prelude-lml-5.2.0/libmissing/vasnprintf.c:2783: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/prelude-lml-5.2.0/libmissing/vasnprintf.c:2851: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/prelude-lml-5.2.0/libmissing/vasnprintf.c:2864: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/prelude-lml-5.2.0/libmissing/vasnprintf.c:2880: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/prelude-lml-5.2.0/libmissing/vasnprintf.c:2902: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/prelude-lml-5.2.0/libmissing/vasnprintf.c:3183: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/prelude-lml-5.2.0/libmissing/vasnprintf.c:3189: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/prelude-lml-5.2.0/libmissing/vasnprintf.c:3191: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/prelude-lml-5.2.0/libmissing/vasnprintf.c:3334: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/prelude-lml-5.2.0/libmissing/vasnprintf.c:3340: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/prelude-lml-5.2.0/libmissing/vasnprintf.c:3342: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/prelude-lml-5.2.0/libmissing/vasnprintf.c:3409: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/prelude-lml-5.2.0/libmissing/vasnprintf.c:3794: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/prelude-lml-5.2.0/libmissing/vasnprintf.c:3800: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/prelude-lml-5.2.0/libmissing/vasnprintf.c:3802: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/prelude-lml-5.2.0/libmissing/vasnprintf.c:3975: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/prelude-lml-5.2.0/libmissing/vasnprintf.c:3981: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/prelude-lml-5.2.0/libmissing/vasnprintf.c:3983: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/prelude-lml-5.2.0/libmissing/vasnprintf.c:4273: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/prelude-lml-5.2.0/libmissing/vasnprintf.c:4466: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/prelude-lml-5.2.0/libmissing/vasnprintf.c:4592: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/prelude-lml-5.2.0/libmissing/vasnprintf.c:4800: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/prelude-lml-5.2.0/libmissing/vasnprintf.c:4821: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/prelude-lml-5.2.0/libmissing/vasnprintf.c:5530: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/prelude-lml-5.2.0/plugins/pcre/pcre-mod.c:311:35:  [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).
        rule->min_optgoto_match = atoi(arg);
data/prelude-lml-5.2.0/plugins/pcre/pcre-mod.c:320:36:  [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).
        rule->min_optregex_match = atoi(arg);
data/prelude-lml-5.2.0/plugins/pcre/pcre-mod.c:427:40:  [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).
                        pcs->timeout = atoi(value);
data/prelude-lml-5.2.0/plugins/pcre/pcre-mod.c:490:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        char filename[256];
data/prelude-lml-5.2.0/plugins/pcre/pcre-mod.c:497:14:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
        fd = fopen(filename, "r");
data/prelude-lml-5.2.0/plugins/pcre/pcre-mod.c:822:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        char buf[8192], *ptr;
data/prelude-lml-5.2.0/plugins/pcre/pcre-mod.c:933:14:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
        fd = fopen(optarg, "r");
data/prelude-lml-5.2.0/plugins/pcre/rule-object.c:95: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.
                char tmp[32];
data/prelude-lml-5.2.0/plugins/pcre/value-container.c:107:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        char num[10];
data/prelude-lml-5.2.0/plugins/pcre/value-container.c:128:62:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
                        if ( add_dynamic_object_value(vcont, atoi(num)) < 0 )
data/prelude-lml-5.2.0/src/file-server.c:364: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(start, *buf, sizeof(*start));
data/prelude-lml-5.2.0/src/file-server.c:388: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 buf[METADATA_SIZE];
data/prelude-lml-5.2.0/src/file-server.c:395: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(buf, &offset, sizeof(offset));
data/prelude-lml-5.2.0/src/file-server.c:413: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 sum[METADATA_CHECKSUM_SIZE];
data/prelude-lml-5.2.0/src/file-server.c:428: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 msum[METADATA_SIZE], *sumptr = msum;
data/prelude-lml-5.2.0/src/file-server.c:489:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        char file[PATH_MAX], path[PATH_MAX], *ptr;
data/prelude-lml-5.2.0/src/file-server.c:498:14:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
        fd = open(path, O_CREAT|O_RDWR, S_IRUSR|S_IWUSR);
data/prelude-lml-5.2.0/src/file-server.c:682:31:  [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).
                monitor->fd = fopen(filename, "r");
data/prelude-lml-5.2.0/src/file-server.c:808:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        char buf[1024];
data/prelude-lml-5.2.0/src/lml-alert.c:114:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        char str[128];
data/prelude-lml-5.2.0/src/lml-alert.c:211:56:  [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).
                        idmef_process_set_pid(process, atoi(tmp));
data/prelude-lml-5.2.0/src/lml-alert.c:258:56:  [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).
                        idmef_process_set_pid(process, atoi(tmp));
data/prelude-lml-5.2.0/src/lml-options.c:281:32:  [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).
        int level = (optarg) ? atoi(optarg) : PRELUDE_LOG_DEBUG;
data/prelude-lml-5.2.0/src/lml-options.c:321:33:  [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).
        config.log_max_length = atoi(arg);
data/prelude-lml-5.2.0/src/lml-options.c:358:14:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
        fd = fopen(arg, "w");
data/prelude-lml-5.2.0/src/lml-options.c:402:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        char buf[1024*1024];
data/prelude-lml-5.2.0/src/lml-options.c:405:14:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
        fd = fopen(filename, "r");
data/prelude-lml-5.2.0/src/lml-options.c:551:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        char source[512];
data/prelude-lml-5.2.0/src/lml-options.c:695:36:  [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).
        config.tls_dh_regenerate = atoi(arg) * 60 * 60;
data/prelude-lml-5.2.0/src/lml-options.c:702:30:  [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).
        config.tls_dh_bits = atoi(arg);
data/prelude-lml-5.2.0/src/lml-options.c:905:23:  [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).
                uid = atoi(optarg);
data/prelude-lml-5.2.0/src/lml-options.c:931:23:  [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).
                gid = atoi(optarg);
data/prelude-lml-5.2.0/src/log-entry.c:189:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        char out[256];
data/prelude-lml-5.2.0/src/log-plugins.c:82:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        char pname[256], iname[256];
data/prelude-lml-5.2.0/src/log-source.c:139: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(*out, in, inlen + 1);
data/prelude-lml-5.2.0/src/log-source.c:405:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        char tmp[32];
data/prelude-lml-5.2.0/src/regex.c:158:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        char buf[1024];
data/prelude-lml-5.2.0/src/regex.c:166:14:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
        fd = fopen(REGEX_CONF, "r");
data/prelude-lml-5.2.0/src/tcp-server-tls.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.
        char data[8192];
data/prelude-lml-5.2.0/src/tcp-server-tls.c:88:14:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
        fd = fopen(DH_FILENAME, "r");
data/prelude-lml-5.2.0/src/tcp-server-tls.c:121: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 buf[64 * 1024];
data/prelude-lml-5.2.0/src/tcp-server-tls.c:130:14:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
        fd = open(DH_FILENAME, O_CREAT|O_TRUNC|O_WRONLY, S_IRUSR|S_IWUSR);
data/prelude-lml-5.2.0/src/tcp-server-tls.c:286: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 digest[8192];
data/prelude-lml-5.2.0/src/tcp-server.c:259:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        char src[512];
data/prelude-lml-5.2.0/src/tcp-server.c:339:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        char buf[sizeof("65535")];
data/prelude-lml-5.2.0/src/udp-server.c:79:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        char src[512];
data/prelude-lml-5.2.0/src/udp-server.c:143:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        char buf[sizeof("65535")];
data/prelude-lml-5.2.0/libev/ev.c:1676: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).
  write (STDERR_FILENO, msg, strlen (msg));
data/prelude-lml-5.2.0/libev/ev.c:2501:11:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
          read (evpipe [1], &counter, sizeof (uint64_t));
data/prelude-lml-5.2.0/libev/ev.c:2515:11:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
          read (evpipe [0], &dummy, sizeof (dummy));
data/prelude-lml-5.2.0/libev/ev.c:2617:21:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      ssize_t res = read (sigfd, si, sizeof (si));
data/prelude-lml-5.2.0/libev/ev.c:4292: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).
      if ((errno == ENOENT || errno == EACCES) && strlen (w->path) < 4096)
data/prelude-lml-5.2.0/libev/ev.c:4378:13:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  int len = read (fs_fd, buf, sizeof (buf));
data/prelude-lml-5.2.0/libmissing/fnmatch.c:164: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).
# define STRLEN(S) strlen (S)
data/prelude-lml-5.2.0/libmissing/fnmatch.c:194:22:  [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 STRLEN(S) wcslen (S)
data/prelude-lml-5.2.0/libmissing/fnmatch.c:342: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).
  return internal_fnmatch (pattern, string, string + strlen (string),
data/prelude-lml-5.2.0/libmissing/getlogin_r.c:101:10:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  nlen = strlen (n);
data/prelude-lml-5.2.0/libmissing/gettext.h:216: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/prelude-lml-5.2.0/libmissing/gettext.h:217: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/prelude-lml-5.2.0/libmissing/gettext.h:264: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/prelude-lml-5.2.0/libmissing/gettext.h:265: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/prelude-lml-5.2.0/libmissing/glob.c:296: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 (pattern[0] && pattern[strlen (pattern) - 1] == '/')
data/prelude-lml-5.2.0/libmissing/glob.c:363: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).
          size_t pattern_len = strlen (pattern) - 1;
data/prelude-lml-5.2.0/libmissing/glob.c:401: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).
          rest_len = strlen (++rest) + 1;
data/prelude-lml-5.2.0/libmissing/glob.c:478: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).
          dirlen = strlen (pattern);
data/prelude-lml-5.2.0/libmissing/glob.c:606: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).
                  size_t home_drive_len = strlen (home_drive);
data/prelude-lml-5.2.0/libmissing/glob.c:607: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).
                  size_t home_path_len = strlen (home_path);
data/prelude-lml-5.2.0/libmissing/glob.c:629: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 ssize = strlen (s.data) + 1;
data/prelude-lml-5.2.0/libmissing/glob.c:682: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).
              dirlen = strlen (dirname);
data/prelude-lml-5.2.0/libmissing/glob.c:688:33:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
              size_t home_len = strlen (home_dir);
data/prelude-lml-5.2.0/libmissing/glob.c:814: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).
                size_t home_len = strlen (p->pw_dir);
data/prelude-lml-5.2.0/libmissing/glob.c:815:58:  [1] (buffer) strlen:
  Does not handle 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 rest_len = end_name == NULL ? 0 : strlen (end_name);
data/prelude-lml-5.2.0/libmissing/glob.c:1122: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 len = strlen (pglob->gl_pathv[i]) + 2;
data/prelude-lml-5.2.0/libmissing/glob.c:1131:13:  [1] (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 character.
            strcpy (&new[len - 2], "/");
data/prelude-lml-5.2.0/libmissing/glob.c:1180: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).
  size_t dirlen = strlen (dirname);
data/prelude-lml-5.2.0/libmissing/glob.c:1205: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 eltlen = strlen (array[i]) + 1;
data/prelude-lml-5.2.0/libmissing/glob.c:1235: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).
  size_t dirlen = strlen (directory);
data/prelude-lml-5.2.0/libmissing/glob.c:1272: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 patlen = strlen (pattern);
data/prelude-lml-5.2.0/libmissing/glob.c:1384: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 (pattern);
data/prelude-lml-5.2.0/libmissing/inet_ntop.c:230: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).
          tp += strlen (tp);
data/prelude-lml-5.2.0/libmissing/localcharset.c:777: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/prelude-lml-5.2.0/libmissing/lstat.c:80: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).
      if (S_ISDIR (sbuf->st_mode) || file[strlen (file) - 1] != '/')
data/prelude-lml-5.2.0/libmissing/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/prelude-lml-5.2.0/libmissing/opendir.c:103: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).
    p = dir_name_mask + strlen (dir_name_mask);
data/prelude-lml-5.2.0/libmissing/opendir.c:139: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_name_mask) + 1);
data/prelude-lml-5.2.0/libmissing/stat.c:122: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 (name);
data/prelude-lml-5.2.0/libmissing/stat.c:417: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 len = strlen (name);
data/prelude-lml-5.2.0/libmissing/stdio.in.h:254:11:  [1] (buffer) fgetc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
#   undef fgetc
data/prelude-lml-5.2.0/libmissing/stdio.in.h:255:12:  [1] (buffer) fgetc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
#   define fgetc rpl_fgetc
data/prelude-lml-5.2.0/libmissing/stdio.in.h:257: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/prelude-lml-5.2.0/libmissing/stdio.in.h:258: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/prelude-lml-5.2.0/libmissing/stdio.in.h:260: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/prelude-lml-5.2.0/libmissing/stdio.in.h:262:19:  [1] (buffer) fgetc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
_GL_CXXALIASWARN (fgetc);
data/prelude-lml-5.2.0/libmissing/stdio.in.h:641:11:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
#   undef getc
data/prelude-lml-5.2.0/libmissing/stdio.in.h:642:12:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
#   define getc rpl_fgetc
data/prelude-lml-5.2.0/libmissing/stdio.in.h:644: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/prelude-lml-5.2.0/libmissing/stdio.in.h:645: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/prelude-lml-5.2.0/libmissing/stdio.in.h:647: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/prelude-lml-5.2.0/libmissing/stdio.in.h:649:19:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
_GL_CXXALIASWARN (getc);
data/prelude-lml-5.2.0/libmissing/stdio.in.h:655:11:  [1] (buffer) getchar:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
#   undef getchar
data/prelude-lml-5.2.0/libmissing/stdio.in.h:656:12:  [1] (buffer) getchar:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
#   define getchar rpl_getchar
data/prelude-lml-5.2.0/libmissing/stdio.in.h:658: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/prelude-lml-5.2.0/libmissing/stdio.in.h:659: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/prelude-lml-5.2.0/libmissing/stdio.in.h:661: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/prelude-lml-5.2.0/libmissing/stdio.in.h:663:19:  [1] (buffer) getchar:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
_GL_CXXALIASWARN (getchar);
data/prelude-lml-5.2.0/libmissing/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/prelude-lml-5.2.0/libmissing/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/prelude-lml-5.2.0/libmissing/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/prelude-lml-5.2.0/libmissing/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/prelude-lml-5.2.0/libmissing/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/prelude-lml-5.2.0/libmissing/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/prelude-lml-5.2.0/libmissing/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/prelude-lml-5.2.0/libmissing/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/prelude-lml-5.2.0/libmissing/strptime.c:46: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).
  ({ size_t len = strlen (cs1);                                               \
data/prelude-lml-5.2.0/libmissing/strptime.c:53: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).
  (strncasecmp ((cs1), (s2), strlen (cs1)) ? 0 : ((s2) += strlen (cs1), 1))
data/prelude-lml-5.2.0/libmissing/strptime.c:53: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).
  (strncasecmp ((cs1), (s2), strlen (cs1)) ? 0 : ((s2) += strlen (cs1), 1))
data/prelude-lml-5.2.0/libmissing/tests/getcwd-lgpl.c:119: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).
      result = realloc (buf, strlen (buf) + 1);
data/prelude-lml-5.2.0/libmissing/tests/localename.c:1368:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen (name) == 7 && name[2] == '-')
data/prelude-lml-5.2.0/libmissing/tests/localename.c:2538: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 (locval, "_");
data/prelude-lml-5.2.0/libmissing/tests/localename.c:2540: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).
                        locval + strlen (locval), LOCALE_NAME_MAX_LENGTH))
data/prelude-lml-5.2.0/libmissing/tests/localename.c:2542: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).
         size_t locval_len = strlen (locval);
data/prelude-lml-5.2.0/libmissing/tests/localename.c:2578:3:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
  strncpy (lname, locale_name, sizeof (lname) - 1);
data/prelude-lml-5.2.0/libmissing/tests/localename.c:2648:10:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  size = strlen (string) + 1;
data/prelude-lml-5.2.0/libmissing/tests/open.c:118: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 (filename);
data/prelude-lml-5.2.0/libmissing/tests/open.c:187: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 (filename);
data/prelude-lml-5.2.0/libmissing/tests/pthread_sigmask.c:84:7:  [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.
      usleep (1);
data/prelude-lml-5.2.0/libmissing/tests/putenv.c:75: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/prelude-lml-5.2.0/libmissing/tests/select.c:123:8:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  BOOL read, write, except;
data/prelude-lml-5.2.0/libmissing/tests/select.c:230:7:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  if (read && (rbits->in[fd / CHAR_BIT] & (1 << (fd & (CHAR_BIT - 1)))))
data/prelude-lml-5.2.0/libmissing/tests/setenv.c:118: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).
  const size_t namelen = strlen (name);
data/prelude-lml-5.2.0/libmissing/tests/setenv.c:119: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).
  const size_t vallen = value != NULL ? strlen (value) + 1 : 0;
data/prelude-lml-5.2.0/libmissing/tests/setenv.c:376: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 len = strlen (value);
data/prelude-lml-5.2.0/libmissing/tests/setlocale.c:649:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen (locale) < sizeof (llCC_buf))
data/prelude-lml-5.2.0/libmissing/tests/setlocale.c:706: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).
              territory_end = territory_start + strlen (territory_start);
data/prelude-lml-5.2.0/libmissing/tests/setlocale.c:741: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).
                            size_t part1_len = strlen (part1);
data/prelude-lml-5.2.0/libmissing/tests/setlocale.c:743: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).
                            size_t part2_len = strlen (part2) + 1;
data/prelude-lml-5.2.0/libmissing/tests/setlocale.c:802:11:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
          strncpy (lc_messages_name, locale, sizeof (lc_messages_name) - 1);
data/prelude-lml-5.2.0/libmissing/tests/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/prelude-lml-5.2.0/libmissing/tests/strerror_r.c:131: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 (msg);
data/prelude-lml-5.2.0/libmissing/tests/strerror_r.c:226: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 (!ret && strlen (buf) == buflen - 1)
data/prelude-lml-5.2.0/libmissing/tests/strerror_r.c:231: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).
        len = strlen (stackbuf);
data/prelude-lml-5.2.0/libmissing/tests/strerror_r.c:245: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 (ret == ERANGE && strlen (buf) < buflen - 1)
data/prelude-lml-5.2.0/libmissing/tests/symlink.c:35: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 (name);
data/prelude-lml-5.2.0/libmissing/tests/test-dup2.c:185:11:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  ASSERT (read (fd, buffer, 1) == 1);
data/prelude-lml-5.2.0/libmissing/tests/test-fgetc.c:22:18:  [1] (buffer) fgetc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
SIGNATURE_CHECK (fgetc, int, (FILE *));
data/prelude-lml-5.2.0/libmissing/tests/test-fgetc.c:62:13:  [1] (buffer) fgetc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    ASSERT (fgetc (fp) == EOF);
data/prelude-lml-5.2.0/libmissing/tests/test-fgetc.c:75:17:  [1] (buffer) fgetc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
        ASSERT (fgetc (fp) == EOF);
data/prelude-lml-5.2.0/libmissing/tests/test-fgetc.c:88:17:  [1] (buffer) fgetc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
        ASSERT (fgetc (fp) == EOF);
data/prelude-lml-5.2.0/libmissing/tests/test-fseek.c:45:16:  [1] (buffer) fgetc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      int ch = fgetc (stdin);
data/prelude-lml-5.2.0/libmissing/tests/test-fseek.c:49:12:  [1] (buffer) fgetc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      ch = fgetc (stdin);
data/prelude-lml-5.2.0/libmissing/tests/test-fseek.c:63:15:  [1] (buffer) fgetc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      ASSERT (fgetc (stdin) == EOF);
data/prelude-lml-5.2.0/libmissing/tests/test-fseeko.c:49:16:  [1] (buffer) fgetc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      int ch = fgetc (stdin);
data/prelude-lml-5.2.0/libmissing/tests/test-fseeko.c:53:12:  [1] (buffer) fgetc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      ch = fgetc (stdin);
data/prelude-lml-5.2.0/libmissing/tests/test-fseeko.c:67:15:  [1] (buffer) fgetc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      ASSERT (fgetc (stdin) == EOF);
data/prelude-lml-5.2.0/libmissing/tests/test-ftell.c:53:8:  [1] (buffer) fgetc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  ch = fgetc (stdin);
data/prelude-lml-5.2.0/libmissing/tests/test-ftell.c:62:8:  [1] (buffer) fgetc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  ch = fgetc (stdin);
data/prelude-lml-5.2.0/libmissing/tests/test-ftell.c:71:8:  [1] (buffer) fgetc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  ch = fgetc (stdin);
data/prelude-lml-5.2.0/libmissing/tests/test-ftell.c:77:8:  [1] (buffer) fgetc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  ch = fgetc (stdin);
data/prelude-lml-5.2.0/libmissing/tests/test-ftell3.c:52:11:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  ASSERT (getc (fp) == 'h');
data/prelude-lml-5.2.0/libmissing/tests/test-ftell3.c:53:11:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  ASSERT (getc (fp) == EOF);
data/prelude-lml-5.2.0/libmissing/tests/test-ftello.c:55:8:  [1] (buffer) fgetc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  ch = fgetc (stdin);
data/prelude-lml-5.2.0/libmissing/tests/test-ftello.c:66:8:  [1] (buffer) fgetc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  ch = fgetc (stdin);
data/prelude-lml-5.2.0/libmissing/tests/test-ftello.c:77:8:  [1] (buffer) fgetc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  ch = fgetc (stdin);
data/prelude-lml-5.2.0/libmissing/tests/test-ftello.c:84:8:  [1] (buffer) fgetc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  ch = fgetc (stdin);
data/prelude-lml-5.2.0/libmissing/tests/test-ftello3.c:52:11:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  ASSERT (getc (fp) == 'h');
data/prelude-lml-5.2.0/libmissing/tests/test-ftello3.c:53:11:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  ASSERT (getc (fp) == EOF);
data/prelude-lml-5.2.0/libmissing/tests/test-getcwd-lgpl.c:58: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).
    size_t len = strlen (pwd1);
data/prelude-lml-5.2.0/libmissing/tests/test-getlogin_r.c:40: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 n = strlen (buf);
data/prelude-lml-5.2.0/libmissing/tests/test-iconv.c:65: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 inbytesleft = strlen (input);
data/prelude-lml-5.2.0/libmissing/tests/test-iconv.c:72: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).
    ASSERT (outptr == buf + strlen (expected));
data/prelude-lml-5.2.0/libmissing/tests/test-iconv.c:73: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).
    ASSERT (memcmp (buf, expected, strlen (expected)) == 0);
data/prelude-lml-5.2.0/libmissing/tests/test-iconv.c:100: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 inbytesleft = strlen (input);
data/prelude-lml-5.2.0/libmissing/tests/test-iconv.c:107: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).
    ASSERT (outptr == buf + strlen (expected));
data/prelude-lml-5.2.0/libmissing/tests/test-iconv.c:108: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).
    ASSERT (memcmp (buf, expected, strlen (expected)) == 0);
data/prelude-lml-5.2.0/libmissing/tests/test-iconv.c:116: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 inbytesleft = strlen (input);
data/prelude-lml-5.2.0/libmissing/tests/test-iconv.c:125: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).
        ASSERT (inbytesleft == strlen (input) && outptr == buf);
data/prelude-lml-5.2.0/libmissing/tests/test-nl_langinfo.c:53: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).
  ASSERT (strlen (nl_langinfo (CODESET)) > 0);
data/prelude-lml-5.2.0/libmissing/tests/test-nl_langinfo.c:60: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).
  ASSERT (strlen (nl_langinfo (RADIXCHAR)) > 0);
data/prelude-lml-5.2.0/libmissing/tests/test-nl_langinfo.c:61: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).
  ASSERT (strlen (nl_langinfo (THOUSEP)) >= 0);
data/prelude-lml-5.2.0/libmissing/tests/test-nl_langinfo.c:63: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).
  ASSERT (strlen (nl_langinfo (D_T_FMT)) > 0);
data/prelude-lml-5.2.0/libmissing/tests/test-nl_langinfo.c:64: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).
  ASSERT (strlen (nl_langinfo (D_FMT)) > 0);
data/prelude-lml-5.2.0/libmissing/tests/test-nl_langinfo.c:65: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).
  ASSERT (strlen (nl_langinfo (T_FMT)) > 0);
data/prelude-lml-5.2.0/libmissing/tests/test-nl_langinfo.c:66: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).
  ASSERT (strlen (nl_langinfo (T_FMT_AMPM)) >= (pass == 0 ? 1 : 0));
data/prelude-lml-5.2.0/libmissing/tests/test-nl_langinfo.c:67: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).
  ASSERT (strlen (nl_langinfo (AM_STR)) >= (pass == 0 ? 1 : 0));
data/prelude-lml-5.2.0/libmissing/tests/test-nl_langinfo.c:68: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).
  ASSERT (strlen (nl_langinfo (PM_STR)) >= (pass == 0 ? 1 : 0));
data/prelude-lml-5.2.0/libmissing/tests/test-nl_langinfo.c:69: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).
  ASSERT (strlen (nl_langinfo (DAY_1)) > 0);
data/prelude-lml-5.2.0/libmissing/tests/test-nl_langinfo.c:70: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).
  ASSERT (strlen (nl_langinfo (DAY_2)) > 0);
data/prelude-lml-5.2.0/libmissing/tests/test-nl_langinfo.c:71: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).
  ASSERT (strlen (nl_langinfo (DAY_3)) > 0);
data/prelude-lml-5.2.0/libmissing/tests/test-nl_langinfo.c:72: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).
  ASSERT (strlen (nl_langinfo (DAY_4)) > 0);
data/prelude-lml-5.2.0/libmissing/tests/test-nl_langinfo.c:73: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).
  ASSERT (strlen (nl_langinfo (DAY_5)) > 0);
data/prelude-lml-5.2.0/libmissing/tests/test-nl_langinfo.c:74: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).
  ASSERT (strlen (nl_langinfo (DAY_6)) > 0);
data/prelude-lml-5.2.0/libmissing/tests/test-nl_langinfo.c:75: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).
  ASSERT (strlen (nl_langinfo (DAY_7)) > 0);
data/prelude-lml-5.2.0/libmissing/tests/test-nl_langinfo.c:76: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).
  ASSERT (strlen (nl_langinfo (ABDAY_1)) > 0);
data/prelude-lml-5.2.0/libmissing/tests/test-nl_langinfo.c:77: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).
  ASSERT (strlen (nl_langinfo (ABDAY_2)) > 0);
data/prelude-lml-5.2.0/libmissing/tests/test-nl_langinfo.c:78: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).
  ASSERT (strlen (nl_langinfo (ABDAY_3)) > 0);
data/prelude-lml-5.2.0/libmissing/tests/test-nl_langinfo.c:79: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).
  ASSERT (strlen (nl_langinfo (ABDAY_4)) > 0);
data/prelude-lml-5.2.0/libmissing/tests/test-nl_langinfo.c:80: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).
  ASSERT (strlen (nl_langinfo (ABDAY_5)) > 0);
data/prelude-lml-5.2.0/libmissing/tests/test-nl_langinfo.c:81: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).
  ASSERT (strlen (nl_langinfo (ABDAY_6)) > 0);
data/prelude-lml-5.2.0/libmissing/tests/test-nl_langinfo.c:82: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).
  ASSERT (strlen (nl_langinfo (ABDAY_7)) > 0);
data/prelude-lml-5.2.0/libmissing/tests/test-nl_langinfo.c:83: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).
  ASSERT (strlen (nl_langinfo (MON_1)) > 0);
data/prelude-lml-5.2.0/libmissing/tests/test-nl_langinfo.c:84: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).
  ASSERT (strlen (nl_langinfo (MON_2)) > 0);
data/prelude-lml-5.2.0/libmissing/tests/test-nl_langinfo.c:85: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).
  ASSERT (strlen (nl_langinfo (MON_3)) > 0);
data/prelude-lml-5.2.0/libmissing/tests/test-nl_langinfo.c:86: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).
  ASSERT (strlen (nl_langinfo (MON_4)) > 0);
data/prelude-lml-5.2.0/libmissing/tests/test-nl_langinfo.c:87: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).
  ASSERT (strlen (nl_langinfo (MON_5)) > 0);
data/prelude-lml-5.2.0/libmissing/tests/test-nl_langinfo.c:88: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).
  ASSERT (strlen (nl_langinfo (MON_6)) > 0);
data/prelude-lml-5.2.0/libmissing/tests/test-nl_langinfo.c:89: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).
  ASSERT (strlen (nl_langinfo (MON_7)) > 0);
data/prelude-lml-5.2.0/libmissing/tests/test-nl_langinfo.c:90: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).
  ASSERT (strlen (nl_langinfo (MON_8)) > 0);
data/prelude-lml-5.2.0/libmissing/tests/test-nl_langinfo.c:91: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).
  ASSERT (strlen (nl_langinfo (MON_9)) > 0);
data/prelude-lml-5.2.0/libmissing/tests/test-nl_langinfo.c:92: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).
  ASSERT (strlen (nl_langinfo (MON_10)) > 0);
data/prelude-lml-5.2.0/libmissing/tests/test-nl_langinfo.c:93: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).
  ASSERT (strlen (nl_langinfo (MON_11)) > 0);
data/prelude-lml-5.2.0/libmissing/tests/test-nl_langinfo.c:94: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).
  ASSERT (strlen (nl_langinfo (MON_12)) > 0);
data/prelude-lml-5.2.0/libmissing/tests/test-nl_langinfo.c:95: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).
  ASSERT (strlen (nl_langinfo (ALTMON_1)) > 0);
data/prelude-lml-5.2.0/libmissing/tests/test-nl_langinfo.c:96: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).
  ASSERT (strlen (nl_langinfo (ALTMON_2)) > 0);
data/prelude-lml-5.2.0/libmissing/tests/test-nl_langinfo.c:97: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).
  ASSERT (strlen (nl_langinfo (ALTMON_3)) > 0);
data/prelude-lml-5.2.0/libmissing/tests/test-nl_langinfo.c:98: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).
  ASSERT (strlen (nl_langinfo (ALTMON_4)) > 0);
data/prelude-lml-5.2.0/libmissing/tests/test-nl_langinfo.c:99: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).
  ASSERT (strlen (nl_langinfo (ALTMON_5)) > 0);
data/prelude-lml-5.2.0/libmissing/tests/test-nl_langinfo.c:100: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).
  ASSERT (strlen (nl_langinfo (ALTMON_6)) > 0);
data/prelude-lml-5.2.0/libmissing/tests/test-nl_langinfo.c:101: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).
  ASSERT (strlen (nl_langinfo (ALTMON_7)) > 0);
data/prelude-lml-5.2.0/libmissing/tests/test-nl_langinfo.c:102: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).
  ASSERT (strlen (nl_langinfo (ALTMON_8)) > 0);
data/prelude-lml-5.2.0/libmissing/tests/test-nl_langinfo.c:103: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).
  ASSERT (strlen (nl_langinfo (ALTMON_9)) > 0);
data/prelude-lml-5.2.0/libmissing/tests/test-nl_langinfo.c:104: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).
  ASSERT (strlen (nl_langinfo (ALTMON_10)) > 0);
data/prelude-lml-5.2.0/libmissing/tests/test-nl_langinfo.c:105: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).
  ASSERT (strlen (nl_langinfo (ALTMON_11)) > 0);
data/prelude-lml-5.2.0/libmissing/tests/test-nl_langinfo.c:106: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).
  ASSERT (strlen (nl_langinfo (ALTMON_12)) > 0);
data/prelude-lml-5.2.0/libmissing/tests/test-nl_langinfo.c:121: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).
  ASSERT (strlen (nl_langinfo (ABMON_1)) > 0);
data/prelude-lml-5.2.0/libmissing/tests/test-nl_langinfo.c:122: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).
  ASSERT (strlen (nl_langinfo (ABMON_2)) > 0);
data/prelude-lml-5.2.0/libmissing/tests/test-nl_langinfo.c:123: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).
  ASSERT (strlen (nl_langinfo (ABMON_3)) > 0);
data/prelude-lml-5.2.0/libmissing/tests/test-nl_langinfo.c:124: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).
  ASSERT (strlen (nl_langinfo (ABMON_4)) > 0);
data/prelude-lml-5.2.0/libmissing/tests/test-nl_langinfo.c:125: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).
  ASSERT (strlen (nl_langinfo (ABMON_5)) > 0);
data/prelude-lml-5.2.0/libmissing/tests/test-nl_langinfo.c:126: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).
  ASSERT (strlen (nl_langinfo (ABMON_6)) > 0);
data/prelude-lml-5.2.0/libmissing/tests/test-nl_langinfo.c:127: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).
  ASSERT (strlen (nl_langinfo (ABMON_7)) > 0);
data/prelude-lml-5.2.0/libmissing/tests/test-nl_langinfo.c:128: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).
  ASSERT (strlen (nl_langinfo (ABMON_8)) > 0);
data/prelude-lml-5.2.0/libmissing/tests/test-nl_langinfo.c:129: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).
  ASSERT (strlen (nl_langinfo (ABMON_9)) > 0);
data/prelude-lml-5.2.0/libmissing/tests/test-nl_langinfo.c:130: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).
  ASSERT (strlen (nl_langinfo (ABMON_10)) > 0);
data/prelude-lml-5.2.0/libmissing/tests/test-nl_langinfo.c:131: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).
  ASSERT (strlen (nl_langinfo (ABMON_11)) > 0);
data/prelude-lml-5.2.0/libmissing/tests/test-nl_langinfo.c:132: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).
  ASSERT (strlen (nl_langinfo (ABMON_12)) > 0);
data/prelude-lml-5.2.0/libmissing/tests/test-nl_langinfo.c:133: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).
  ASSERT (strlen (nl_langinfo (ERA)) >= 0);
data/prelude-lml-5.2.0/libmissing/tests/test-nl_langinfo.c:134: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).
  ASSERT (strlen (nl_langinfo (ERA_D_FMT)) >= 0);
data/prelude-lml-5.2.0/libmissing/tests/test-nl_langinfo.c:135: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).
  ASSERT (strlen (nl_langinfo (ERA_D_T_FMT)) >= 0);
data/prelude-lml-5.2.0/libmissing/tests/test-nl_langinfo.c:136: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).
  ASSERT (strlen (nl_langinfo (ERA_T_FMT)) >= 0);
data/prelude-lml-5.2.0/libmissing/tests/test-nl_langinfo.c:141: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).
    ASSERT (strlen (currency) >= 0);
data/prelude-lml-5.2.0/libmissing/tests/test-nl_langinfo.c:144: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).
      ASSERT (strlen (currency) >= 1);
data/prelude-lml-5.2.0/libmissing/tests/test-nl_langinfo.c:148: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).
  ASSERT (strlen (nl_langinfo (YESEXPR)) > 0);
data/prelude-lml-5.2.0/libmissing/tests/test-nl_langinfo.c:149: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).
  ASSERT (strlen (nl_langinfo (NOEXPR)) > 0);
data/prelude-lml-5.2.0/libmissing/tests/test-open.h:69:13:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    ASSERT (read (fd, &c, 1) == 0);
data/prelude-lml-5.2.0/libmissing/tests/test-perror2.c:100: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).
        ASSERT (strlen (err) < sizeof buf);
data/prelude-lml-5.2.0/libmissing/tests/test-rwlock1.c:85:3:  [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.
  usleep (100000);
data/prelude-lml-5.2.0/libmissing/tests/test-rwlock1.c:101:3:  [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.
  usleep (100000);
data/prelude-lml-5.2.0/libmissing/tests/test-select-stdin.c:80:19:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
          ASSERT (read (0, &c, 1) == 1);
data/prelude-lml-5.2.0/libmissing/tests/test-select.h:220:3:  [1] (buffer) getchar:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  getchar ();
data/prelude-lml-5.2.0/libmissing/tests/test-select.h:360:15:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      ASSERT (read (c, buf, 3) == 3);
data/prelude-lml-5.2.0/libmissing/tests/test-select.h:375:15:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      ASSERT (read (c, buf, 3) == 3);
data/prelude-lml-5.2.0/libmissing/tests/test-select.h:400:11:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  ASSERT (read (rd, buf, 3) == 3);
data/prelude-lml-5.2.0/libmissing/tests/test-snprintf.c:68: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).
    ASSERT (retval == strlen (result));
data/prelude-lml-5.2.0/libmissing/tests/test-strerror_r.c:41: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).
  ASSERT (strlen (buf) < sizeof buf);
data/prelude-lml-5.2.0/libmissing/tests/test-strerror_r.c:48: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).
  ASSERT (strlen (buf) < sizeof buf);
data/prelude-lml-5.2.0/libmissing/tests/test-strerror_r.c:55: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).
  ASSERT (strlen (buf) < sizeof buf);
data/prelude-lml-5.2.0/libmissing/tests/test-strerror_r.c:80: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).
  ASSERT (strlen (buf) < sizeof buf);
data/prelude-lml-5.2.0/libmissing/tests/test-strerror_r.c:102: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).
        len = strlen (buf2);
data/prelude-lml-5.2.0/libmissing/tests/test-usleep.c:24: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.
SIGNATURE_CHECK (usleep, int, (useconds_t));
data/prelude-lml-5.2.0/libmissing/tests/test-usleep.c:34: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.
  ASSERT (usleep (1000000) == 0);
data/prelude-lml-5.2.0/libmissing/tests/test-usleep.c:37: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.
  ASSERT (usleep (0) == 0);
data/prelude-lml-5.2.0/libmissing/tests/unsetenv.c:68: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/prelude-lml-5.2.0/libmissing/tests/usleep.c:41:1:  [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.
usleep (useconds_t micro)
data/prelude-lml-5.2.0/libmissing/tests/usleep.c:53:8:  [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/prelude-lml-5.2.0/libmissing/tests/usleep.c:55:10:  [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(x) 0
data/prelude-lml-5.2.0/libmissing/tests/usleep.c:57:10:  [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.
  return usleep (micro % 1000000);
data/prelude-lml-5.2.0/libmissing/unistd.in.h:1297:11:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
#   undef read
data/prelude-lml-5.2.0/libmissing/unistd.in.h:1298:12:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
#   define read rpl_read
data/prelude-lml-5.2.0/libmissing/unistd.in.h:1300: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/prelude-lml-5.2.0/libmissing/unistd.in.h:1302: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/prelude-lml-5.2.0/libmissing/unistd.in.h:1307: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/prelude-lml-5.2.0/libmissing/unistd.in.h:1309:19:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
_GL_CXXALIASWARN (read);
data/prelude-lml-5.2.0/libmissing/unistd.in.h:1622: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/prelude-lml-5.2.0/libmissing/unistd.in.h:1623: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/prelude-lml-5.2.0/libmissing/unistd.in.h:1625: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/prelude-lml-5.2.0/libmissing/unistd.in.h:1626: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/prelude-lml-5.2.0/libmissing/unistd.in.h:1629: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/prelude-lml-5.2.0/libmissing/unistd.in.h:1631: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/prelude-lml-5.2.0/libmissing/unistd.in.h:1633: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/prelude-lml-5.2.0/libmissing/unistd.in.h:1635: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/prelude-lml-5.2.0/libmissing/unistd.in.h:1637: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/prelude-lml-5.2.0/libmissing/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/prelude-lml-5.2.0/libmissing/vasnprintf.c:1742: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/prelude-lml-5.2.0/libmissing/vasnprintf.c:2574: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/prelude-lml-5.2.0/libmissing/vasnprintf.c:3661: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/prelude-lml-5.2.0/libmissing/vasnprintf.c:3721: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/prelude-lml-5.2.0/libmissing/vasnprintf.c:3757: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/prelude-lml-5.2.0/libmissing/vasnprintf.c:3857: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/prelude-lml-5.2.0/libmissing/vasnprintf.c:3893: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/prelude-lml-5.2.0/libmissing/vasnprintf.c:4123: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/prelude-lml-5.2.0/libmissing/vasnprintf.c:4180: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/prelude-lml-5.2.0/libmissing/vasnprintf.c:4215: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/prelude-lml-5.2.0/libmissing/vasnprintf.c:4328: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/prelude-lml-5.2.0/libmissing/vasnprintf.c:4363: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/prelude-lml-5.2.0/libmissing/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/prelude-lml-5.2.0/libmissing/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/prelude-lml-5.2.0/libmissing/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/prelude-lml-5.2.0/libmissing/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/prelude-lml-5.2.0/libmissing/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/prelude-lml-5.2.0/libmissing/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/prelude-lml-5.2.0/libmissing/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/prelude-lml-5.2.0/libmissing/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/prelude-lml-5.2.0/libmissing/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/prelude-lml-5.2.0/libmissing/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/prelude-lml-5.2.0/libmissing/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/prelude-lml-5.2.0/libmissing/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/prelude-lml-5.2.0/libmissing/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/prelude-lml-5.2.0/libmissing/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/prelude-lml-5.2.0/libmissing/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/prelude-lml-5.2.0/plugins/pcre/pcre-mod.c:125: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).
        ptr = ptr + strlen(ptr) - 1;
data/prelude-lml-5.2.0/plugins/pcre/pcre-mod.c:827: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).
                ptr = buf + strlen(buf) - 1;
data/prelude-lml-5.2.0/src/file-server.c:308:23:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
                ret = getc(fd->fd);
data/prelude-lml-5.2.0/src/file-server.c:491:9:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
        strncpy(file, lml_log_source_get_name(monitor->source), sizeof(file));
data/prelude-lml-5.2.0/src/lml-alert.c:301:76:  [1] (buffer) strlen:
  Does not handle 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 ( generate_additional_data(&adata, "Log received from", source, strlen(source)) < 0 )
data/prelude-lml-5.2.0/src/lml-alert.c:366:84:  [1] (buffer) strlen:
  Does not handle 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 ( generate_additional_data(&adata, "Log received from", source, strlen(source)) < 0 )
data/prelude-lml-5.2.0/src/lml-options.c:770: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).
                len = strlen(algo[i].algo);
data/prelude-lml-5.2.0/src/regex.c:198: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).
                for ( len = strlen(regex); len && regex[len - 1] == ' '; len--)
data/prelude-lml-5.2.0/src/regex.c:270:73:  [1] (buffer) strlen:
  Does not handle 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 = pcre_exec(rt->source_regex, NULL, source, strlen(source), 0, 0, NULL, 0);
data/prelude-lml-5.2.0/src/tcp-server.c:143:15:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
        ret = read(client->evio.fd, buf, size);
data/prelude-lml-5.2.0/src/tcp-server.c:287: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).
        snprintf(src + strlen(src), sizeof(src) - strlen(src), ":%d", SOCKADDR_PORT_MEMBER(sa));
data/prelude-lml-5.2.0/src/tcp-server.c:287: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).
        snprintf(src + strlen(src), sizeof(src) - strlen(src), ":%d", SOCKADDR_PORT_MEMBER(sa));
data/prelude-lml-5.2.0/src/udp-server.c:98: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).
        snprintf(src + strlen(src), sizeof(src) - strlen(src), ":%d", SOCKADDR_PORT_MEMBER(addr));
data/prelude-lml-5.2.0/src/udp-server.c:98: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).
        snprintf(src + strlen(src), sizeof(src) - strlen(src), ":%d", SOCKADDR_PORT_MEMBER(addr));

ANALYSIS SUMMARY:

Hits = 917
Lines analyzed = 88255 in approximately 2.32 seconds (38015 lines/second)
Physical Source Lines of Code (SLOC) = 59176
Hits@level = [0] 145 [1] 276 [2] 373 [3]  73 [4] 171 [5]  24
Hits@level+ = [0+] 1062 [1+] 917 [2+] 641 [3+] 268 [4+] 195 [5+]  24
Hits/KSLOC@level+ = [0+] 17.9465 [1+] 15.4961 [2+] 10.8321 [3+] 4.52886 [4+] 3.29525 [5+] 0.40557
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.