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/clisp-2.49.20180218+really2.49.92/src/uni_upcase.c Examining data/clisp-2.49.20180218+really2.49.92/src/nls_cp737.c Examining data/clisp-2.49.20180218+really2.49.92/src/build-aux/c++defs.h Examining data/clisp-2.49.20180218+really2.49.92/src/build-aux/warn-on-use.h Examining data/clisp-2.49.20180218+really2.49.92/src/build-aux/link-warning.h Examining data/clisp-2.49.20180218+really2.49.92/src/build-aux/arg-nonnull.h Examining data/clisp-2.49.20180218+really2.49.92/src/nls_iso8859_10.c Examining data/clisp-2.49.20180218+really2.49.92/src/spvw_calendar.c Examining data/clisp-2.49.20180218+really2.49.92/src/nls_iso8859_9.c Examining data/clisp-2.49.20180218+really2.49.92/src/nls_koi8_u.c Examining data/clisp-2.49.20180218+really2.49.92/src/nls_iso8859_7.c Examining data/clisp-2.49.20180218+really2.49.92/src/ari_asm_mips-macro.c Examining data/clisp-2.49.20180218+really2.49.92/src/asm-sparc.h Examining data/clisp-2.49.20180218+really2.49.92/src/nls_cp850.c Examining data/clisp-2.49.20180218+really2.49.92/src/nls_iso8859_2.c Examining data/clisp-2.49.20180218+really2.49.92/src/ari_asm_sparc64-macro.c Examining data/clisp-2.49.20180218+really2.49.92/src/nls_cp437_ibm.c Examining data/clisp-2.49.20180218+really2.49.92/src/nls_mac_hebrew.c Examining data/clisp-2.49.20180218+really2.49.92/src/lightning.c Examining data/clisp-2.49.20180218+really2.49.92/src/gllib/sys_uio.in.h Examining data/clisp-2.49.20180218+really2.49.92/src/gllib/recvfrom.c Examining data/clisp-2.49.20180218+really2.49.92/src/gllib/alloca.in.h Examining data/clisp-2.49.20180218+really2.49.92/src/gllib/c-ctype.c Examining data/clisp-2.49.20180218+really2.49.92/src/gllib/localcharset.c Examining data/clisp-2.49.20180218+really2.49.92/src/gllib/memchr.c Examining data/clisp-2.49.20180218+really2.49.92/src/gllib/inet_ntop.c Examining data/clisp-2.49.20180218+really2.49.92/src/gllib/strnlen1.c Examining data/clisp-2.49.20180218+really2.49.92/src/gllib/timegm.c Examining data/clisp-2.49.20180218+really2.49.92/src/gllib/string.in.h Examining data/clisp-2.49.20180218+really2.49.92/src/gllib/regex_internal.h Examining data/clisp-2.49.20180218+really2.49.92/src/gllib/localeconv.c Examining data/clisp-2.49.20180218+really2.49.92/src/gllib/sys_stat.in.h Examining data/clisp-2.49.20180218+really2.49.92/src/gllib/getpeername.c Examining data/clisp-2.49.20180218+really2.49.92/src/gllib/tempname.c Examining data/clisp-2.49.20180218+really2.49.92/src/gllib/close.c Examining data/clisp-2.49.20180218+really2.49.92/src/gllib/readlink.c Examining data/clisp-2.49.20180218+really2.49.92/src/gllib/setsockopt.c Examining data/clisp-2.49.20180218+really2.49.92/src/gllib/mbsrtowcs-impl.h Examining data/clisp-2.49.20180218+really2.49.92/src/gllib/getsockname.c Examining data/clisp-2.49.20180218+really2.49.92/src/gllib/noreturn.h Examining data/clisp-2.49.20180218+really2.49.92/src/gllib/msvc-inval.c Examining data/clisp-2.49.20180218+really2.49.92/src/gllib/langinfo.in.h Examining data/clisp-2.49.20180218+really2.49.92/src/gllib/regcomp.c Examining data/clisp-2.49.20180218+really2.49.92/src/gllib/uniwidth.in.h Examining data/clisp-2.49.20180218+really2.49.92/src/gllib/fnmatch.in.h Examining data/clisp-2.49.20180218+really2.49.92/src/gllib/ioctl.c Examining data/clisp-2.49.20180218+really2.49.92/src/gllib/c++defs.h Examining data/clisp-2.49.20180218+really2.49.92/src/gllib/bind.c Examining data/clisp-2.49.20180218+really2.49.92/src/gllib/localtime-buffer.c Examining data/clisp-2.49.20180218+really2.49.92/src/gllib/mknod.c Examining data/clisp-2.49.20180218+really2.49.92/src/gllib/uniname/uninames.h Examining data/clisp-2.49.20180218+really2.49.92/src/gllib/uniname/uniname.c Examining data/clisp-2.49.20180218+really2.49.92/src/gllib/errno.in.h Examining data/clisp-2.49.20180218+really2.49.92/src/gllib/mbsrtowcs.c Examining data/clisp-2.49.20180218+really2.49.92/src/gllib/streq.h Examining data/clisp-2.49.20180218+really2.49.92/src/gllib/uniname.in.h Examining data/clisp-2.49.20180218+really2.49.92/src/gllib/mbsrtowcs-state.c Examining data/clisp-2.49.20180218+really2.49.92/src/gllib/regex_internal.c Examining data/clisp-2.49.20180218+really2.49.92/src/gllib/sendto.c Examining data/clisp-2.49.20180218+really2.49.92/src/gllib/mkdtemp.c Examining data/clisp-2.49.20180218+really2.49.92/src/gllib/wctype-h.c Examining data/clisp-2.49.20180218+really2.49.92/src/gllib/localcharset.h Examining data/clisp-2.49.20180218+really2.49.92/src/gllib/unistd.in.h Examining data/clisp-2.49.20180218+really2.49.92/src/gllib/signal.in.h Examining data/clisp-2.49.20180218+really2.49.92/src/gllib/localtime-buffer.h Examining data/clisp-2.49.20180218+really2.49.92/src/gllib/strdup.c Examining data/clisp-2.49.20180218+really2.49.92/src/gllib/malloc.c Examining data/clisp-2.49.20180218+really2.49.92/src/gllib/glthread/lock.c Examining data/clisp-2.49.20180218+really2.49.92/src/gllib/glthread/lock.h Examining data/clisp-2.49.20180218+really2.49.92/src/gllib/glthread/threadlib.c Examining data/clisp-2.49.20180218+really2.49.92/src/gllib/c-ctype.h Examining data/clisp-2.49.20180218+really2.49.92/src/gllib/gl_openssl.h Examining data/clisp-2.49.20180218+really2.49.92/src/gllib/uniwidth/width.c Examining data/clisp-2.49.20180218+really2.49.92/src/gllib/uniwidth/cjk.h Examining data/clisp-2.49.20180218+really2.49.92/src/gllib/mbtowc-impl.h Examining data/clisp-2.49.20180218+really2.49.92/src/gllib/sockets.c Examining data/clisp-2.49.20180218+really2.49.92/src/gllib/regex.c Examining data/clisp-2.49.20180218+really2.49.92/src/gllib/inet_pton.c Examining data/clisp-2.49.20180218+really2.49.92/src/gllib/fnmatch.c Examining data/clisp-2.49.20180218+really2.49.92/src/gllib/getpagesize.c Examining data/clisp-2.49.20180218+really2.49.92/src/gllib/sha1.h Examining data/clisp-2.49.20180218+really2.49.92/src/gllib/regexec.c Examining data/clisp-2.49.20180218+really2.49.92/src/gllib/vma-iter.c Examining data/clisp-2.49.20180218+really2.49.92/src/gllib/sys_utsname.in.h Examining data/clisp-2.49.20180218+really2.49.92/src/gllib/mbsinit.c Examining data/clisp-2.49.20180218+really2.49.92/src/gllib/getloadavg.c Examining data/clisp-2.49.20180218+really2.49.92/src/gllib/strerror-override.h Examining data/clisp-2.49.20180218+really2.49.92/src/gllib/uname.c Examining data/clisp-2.49.20180218+really2.49.92/src/gllib/recv.c Examining data/clisp-2.49.20180218+really2.49.92/src/gllib/sockets.h Examining data/clisp-2.49.20180218+really2.49.92/src/gllib/hard-locale.h Examining data/clisp-2.49.20180218+really2.49.92/src/gllib/strptime.c Examining data/clisp-2.49.20180218+really2.49.92/src/gllib/time-internal.h Examining data/clisp-2.49.20180218+really2.49.92/src/gllib/stat-w32.h Examining data/clisp-2.49.20180218+really2.49.92/src/gllib/sys_socket.c Examining data/clisp-2.49.20180218+really2.49.92/src/gllib/_Noreturn.h Examining data/clisp-2.49.20180218+really2.49.92/src/gllib/unsetenv.c Examining data/clisp-2.49.20180218+really2.49.92/src/gllib/c-strtod.h Examining data/clisp-2.49.20180218+really2.49.92/src/gllib/strnlen1.h Examining data/clisp-2.49.20180218+really2.49.92/src/gllib/fcntl.in.h Examining data/clisp-2.49.20180218+really2.49.92/src/gllib/stdint.in.h Examining data/clisp-2.49.20180218+really2.49.92/src/gllib/strings.in.h Examining data/clisp-2.49.20180218+really2.49.92/src/gllib/strcasecmp.c Examining data/clisp-2.49.20180218+really2.49.92/src/gllib/stdbool.in.h Examining data/clisp-2.49.20180218+really2.49.92/src/gllib/flexmember.h Examining data/clisp-2.49.20180218+really2.49.92/src/gllib/time.in.h Examining data/clisp-2.49.20180218+really2.49.92/src/gllib/strftime.h Examining data/clisp-2.49.20180218+really2.49.92/src/gllib/strncasecmp.c Examining data/clisp-2.49.20180218+really2.49.92/src/gllib/sys_ioctl.in.h Examining data/clisp-2.49.20180218+really2.49.92/src/gllib/filename.h Examining data/clisp-2.49.20180218+really2.49.92/src/gllib/connect.c Examining data/clisp-2.49.20180218+really2.49.92/src/gllib/c-strtod.c Examining data/clisp-2.49.20180218+really2.49.92/src/gllib/mktime-internal.h Examining data/clisp-2.49.20180218+really2.49.92/src/gllib/mbrtowc.c Examining data/clisp-2.49.20180218+really2.49.92/src/gllib/w32sock.h Examining data/clisp-2.49.20180218+really2.49.92/src/gllib/mkstemp.c Examining data/clisp-2.49.20180218+really2.49.92/src/gllib/stddef.in.h Examining data/clisp-2.49.20180218+really2.49.92/src/gllib/listen.c Examining data/clisp-2.49.20180218+really2.49.92/src/gllib/limits.in.h Examining data/clisp-2.49.20180218+really2.49.92/src/gllib/fd-hook.h Examining data/clisp-2.49.20180218+really2.49.92/src/gllib/alloca.c Examining data/clisp-2.49.20180218+really2.49.92/src/gllib/gettext.h Examining data/clisp-2.49.20180218+really2.49.92/src/gllib/lstat.c Examining data/clisp-2.49.20180218+really2.49.92/src/gllib/send.c Examining data/clisp-2.49.20180218+really2.49.92/src/gllib/mkfifo.c Examining data/clisp-2.49.20180218+really2.49.92/src/gllib/accept.c Examining data/clisp-2.49.20180218+really2.49.92/src/gllib/malloca.h Examining data/clisp-2.49.20180218+really2.49.92/src/gllib/nl_langinfo.c Examining data/clisp-2.49.20180218+really2.49.92/src/gllib/tzset.c Examining data/clisp-2.49.20180218+really2.49.92/src/gllib/arpa_inet.in.h Examining data/clisp-2.49.20180218+really2.49.92/src/gllib/btowc.c Examining data/clisp-2.49.20180218+really2.49.92/src/gllib/netinet_in.in.h Examining data/clisp-2.49.20180218+really2.49.92/src/gllib/wchar.in.h Examining data/clisp-2.49.20180218+really2.49.92/src/gllib/wcrtomb.c Examining data/clisp-2.49.20180218+really2.49.92/src/gllib/verify.h Examining data/clisp-2.49.20180218+really2.49.92/src/gllib/unitypes.in.h Examining data/clisp-2.49.20180218+really2.49.92/src/gllib/gettimeofday.c Examining data/clisp-2.49.20180218+really2.49.92/src/gllib/strerror-override.c Examining data/clisp-2.49.20180218+really2.49.92/src/gllib/socket.c Examining data/clisp-2.49.20180218+really2.49.92/src/gllib/msvc-inval.h Examining data/clisp-2.49.20180218+really2.49.92/src/gllib/warn-on-use.h Examining data/clisp-2.49.20180218+really2.49.92/src/gllib/shutdown.c Examining data/clisp-2.49.20180218+really2.49.92/src/gllib/fd-hook.c Examining data/clisp-2.49.20180218+really2.49.92/src/gllib/gethostname.c Examining data/clisp-2.49.20180218+really2.49.92/src/gllib/malloca.c Examining data/clisp-2.49.20180218+really2.49.92/src/gllib/msvc-nothrow.c Examining data/clisp-2.49.20180218+really2.49.92/src/gllib/fnmatch_loop.c Examining data/clisp-2.49.20180218+really2.49.92/src/gllib/msvc-nothrow.h Examining data/clisp-2.49.20180218+really2.49.92/src/gllib/stat-w32.c Examining data/clisp-2.49.20180218+really2.49.92/src/gllib/select.c Examining data/clisp-2.49.20180218+really2.49.92/src/gllib/hard-locale.c Examining data/clisp-2.49.20180218+really2.49.92/src/gllib/strerror_r.c Examining data/clisp-2.49.20180218+really2.49.92/src/gllib/time_r.c Examining data/clisp-2.49.20180218+really2.49.92/src/gllib/stat-time.h Examining data/clisp-2.49.20180218+really2.49.92/src/gllib/intprops.h Examining data/clisp-2.49.20180218+really2.49.92/src/gllib/sha1.c Examining data/clisp-2.49.20180218+really2.49.92/src/gllib/wctype.in.h Examining data/clisp-2.49.20180218+really2.49.92/src/gllib/setenv.c Examining data/clisp-2.49.20180218+really2.49.92/src/gllib/getsockopt.c Examining data/clisp-2.49.20180218+really2.49.92/src/gllib/sys_select.in.h Examining data/clisp-2.49.20180218+really2.49.92/src/gllib/dup2.c Examining data/clisp-2.49.20180218+really2.49.92/src/gllib/locale.in.h Examining data/clisp-2.49.20180218+really2.49.92/src/gllib/strverscmp.c Examining data/clisp-2.49.20180218+really2.49.92/src/gllib/nstrftime.c Examining data/clisp-2.49.20180218+really2.49.92/src/gllib/mbtowc.c Examining data/clisp-2.49.20180218+really2.49.92/src/gllib/vma-iter.h Examining data/clisp-2.49.20180218+really2.49.92/src/gllib/sys_types.in.h Examining data/clisp-2.49.20180218+really2.49.92/src/gllib/stat.c Examining data/clisp-2.49.20180218+really2.49.92/src/gllib/stat-time.c Examining data/clisp-2.49.20180218+really2.49.92/src/gllib/tempname.h Examining data/clisp-2.49.20180218+really2.49.92/src/gllib/regex.h Examining data/clisp-2.49.20180218+really2.49.92/src/gllib/sys_socket.in.h Examining data/clisp-2.49.20180218+really2.49.92/src/gllib/stdlib.in.h Examining data/clisp-2.49.20180218+really2.49.92/src/gllib/time_rz.c Examining data/clisp-2.49.20180218+really2.49.92/src/gllib/arg-nonnull.h Examining data/clisp-2.49.20180218+really2.49.92/src/gllib/pathmax.h Examining data/clisp-2.49.20180218+really2.49.92/src/gllib/mktime.c Examining data/clisp-2.49.20180218+really2.49.92/src/gllib/dosname.h Examining data/clisp-2.49.20180218+really2.49.92/src/gllib/sys_time.in.h Examining data/clisp-2.49.20180218+really2.49.92/src/gllib/stdalign.in.h Examining data/clisp-2.49.20180218+really2.49.92/src/gllib/sys_wait.in.h Examining data/clisp-2.49.20180218+really2.49.92/src/gllib/unistd.c Examining data/clisp-2.49.20180218+really2.49.92/src/gllib/xalloc-oversized.h Examining data/clisp-2.49.20180218+really2.49.92/src/sp_asm_sparc-macro.c Examining data/clisp-2.49.20180218+really2.49.92/src/nls_cp869_ms.c Examining data/clisp-2.49.20180218+really2.49.92/src/nls_koi8_r.c Examining data/clisp-2.49.20180218+really2.49.92/src/nls_cp862_ms.c Examining data/clisp-2.49.20180218+really2.49.92/src/asm-arm.h Examining data/clisp-2.49.20180218+really2.49.92/src/nls_iso8859_16.c Examining data/clisp-2.49.20180218+really2.49.92/src/nls_mac_ukraine.c Examining data/clisp-2.49.20180218+really2.49.92/src/nls_hp_roman8.c Examining data/clisp-2.49.20180218+really2.49.92/src/nls_iso8859_5.c Examining data/clisp-2.49.20180218+really2.49.92/src/nls_mac_romania.c Examining data/clisp-2.49.20180218+really2.49.92/src/nls_cp1256.c Examining data/clisp-2.49.20180218+really2.49.92/src/nls_cp1254.c Examining data/clisp-2.49.20180218+really2.49.92/src/nls_mac_thai.c Examining data/clisp-2.49.20180218+really2.49.92/src/sp_asm_m68k-macro.c Examining data/clisp-2.49.20180218+really2.49.92/src/asm-m68k.h Examining data/clisp-2.49.20180218+really2.49.92/src/modules.c Examining data/clisp-2.49.20180218+really2.49.92/src/nls_cp866.c Examining data/clisp-2.49.20180218+really2.49.92/src/nls_cp1251.c Examining data/clisp-2.49.20180218+really2.49.92/src/nls_cp865_ibm.c Examining data/clisp-2.49.20180218+really2.49.92/src/nls_mac_arabic.c Examining data/clisp-2.49.20180218+really2.49.92/src/nls_mac_symbol.c Examining data/clisp-2.49.20180218+really2.49.92/src/nls_iso8859_13.c Examining data/clisp-2.49.20180218+really2.49.92/src/sp_asm_sparc64-macro.c Examining data/clisp-2.49.20180218+really2.49.92/src/uni_attribute.c Examining data/clisp-2.49.20180218+really2.49.92/src/nls_iso8859_4.c Examining data/clisp-2.49.20180218+really2.49.92/src/nls_cp857.c Examining data/clisp-2.49.20180218+really2.49.92/src/ari_asm_hppa-macro.c Examining data/clisp-2.49.20180218+really2.49.92/src/nls_jisx0201.c Examining data/clisp-2.49.20180218+really2.49.92/src/nls_cp860_ibm.c Examining data/clisp-2.49.20180218+really2.49.92/src/nls_cp775.c Examining data/clisp-2.49.20180218+really2.49.92/src/nls_cp861_ibm.c Examining data/clisp-2.49.20180218+really2.49.92/src/nls_iso8859_15.c Examining data/clisp-2.49.20180218+really2.49.92/src/asm-hppa.h Examining data/clisp-2.49.20180218+really2.49.92/src/intparam.c Examining data/clisp-2.49.20180218+really2.49.92/src/nls_cp1252.c Examining data/clisp-2.49.20180218+really2.49.92/src/nls_cp861_ms.c Examining data/clisp-2.49.20180218+really2.49.92/src/nls_cp869_ibm.c Examining data/clisp-2.49.20180218+really2.49.92/src/asm-mips.h Examining data/clisp-2.49.20180218+really2.49.92/src/nls_cp860_ms.c Examining data/clisp-2.49.20180218+really2.49.92/src/nls_mac_cyrillic.c Examining data/clisp-2.49.20180218+really2.49.92/src/nls_mac_iceland.c Examining data/clisp-2.49.20180218+really2.49.92/src/ari_asm_i386-macro.c Examining data/clisp-2.49.20180218+really2.49.92/src/nls_cp862_ibm.c Examining data/clisp-2.49.20180218+really2.49.92/src/nls_cp863_ibm.c Examining data/clisp-2.49.20180218+really2.49.92/src/w32shell.c Examining data/clisp-2.49.20180218+really2.49.92/src/nls_iso8859_1.c Examining data/clisp-2.49.20180218+really2.49.92/src/nls_iso8859_6.c Examining data/clisp-2.49.20180218+really2.49.92/src/nls_cp852_ms.c Examining data/clisp-2.49.20180218+really2.49.92/src/nls_cp874_ibm.c Examining data/clisp-2.49.20180218+really2.49.92/src/execname.c Examining data/clisp-2.49.20180218+really2.49.92/src/gmalloc.c Examining data/clisp-2.49.20180218+really2.49.92/src/nls_cp865_ms.c Examining data/clisp-2.49.20180218+really2.49.92/src/nls_mac_dingbat.c Examining data/clisp-2.49.20180218+really2.49.92/src/nls_iso8859_14.c Examining data/clisp-2.49.20180218+really2.49.92/src/nls_cp1257.c Examining data/clisp-2.49.20180218+really2.49.92/src/_clisp.c Examining data/clisp-2.49.20180218+really2.49.92/src/nls_cp1253.c Examining data/clisp-2.49.20180218+really2.49.92/src/nls_cp864_ibm.c Examining data/clisp-2.49.20180218+really2.49.92/src/nls_mac_centraleurope.c Examining data/clisp-2.49.20180218+really2.49.92/src/nls_ascii.c Examining data/clisp-2.49.20180218+really2.49.92/src/nls_cp863_ms.c Examining data/clisp-2.49.20180218+really2.49.92/src/asm-i386.h Examining data/clisp-2.49.20180218+really2.49.92/src/sp_asm_mips-macro.c Examining data/clisp-2.49.20180218+really2.49.92/src/nls_mac_roman.c Examining data/clisp-2.49.20180218+really2.49.92/src/ari_asm_sparc-macro.c Examining data/clisp-2.49.20180218+really2.49.92/src/nls_cp437_ms.c Examining data/clisp-2.49.20180218+really2.49.92/src/floatparam.c Examining data/clisp-2.49.20180218+really2.49.92/src/nls_mac_croatian.c Examining data/clisp-2.49.20180218+really2.49.92/src/nls_cp1250.c Examining data/clisp-2.49.20180218+really2.49.92/src/nls_cp864_ms.c Examining data/clisp-2.49.20180218+really2.49.92/src/noexecstack.h Examining data/clisp-2.49.20180218+really2.49.92/src/nls_mac_greek.c Examining data/clisp-2.49.20180218+really2.49.92/src/sp_asm_i386-macro.c Examining data/clisp-2.49.20180218+really2.49.92/src/ari_asm_arm-macro.c Examining data/clisp-2.49.20180218+really2.49.92/src/noexecstack-arm.h Examining data/clisp-2.49.20180218+really2.49.92/src/nls_mac_turkish.c Examining data/clisp-2.49.20180218+really2.49.92/src/nls_iso8859_8.c Examining data/clisp-2.49.20180218+really2.49.92/src/ari_asm_mips64-macro.c Examining data/clisp-2.49.20180218+really2.49.92/src/nls_cp855.c Examining data/clisp-2.49.20180218+really2.49.92/src/nls_iso8859_3.c Examining data/clisp-2.49.20180218+really2.49.92/src/nls_cp852_ibm.c Examining data/clisp-2.49.20180218+really2.49.92/src/uni_downcase.c Examining data/clisp-2.49.20180218+really2.49.92/src/nls_cp874_ms.c Examining data/clisp-2.49.20180218+really2.49.92/src/version.h Examining data/clisp-2.49.20180218+really2.49.92/utils/gctrigger.c Examining data/clisp-2.49.20180218+really2.49.92/utils/varbrace.c Examining data/clisp-2.49.20180218+really2.49.92/utils/ccmp2c.c Examining data/clisp-2.49.20180218+really2.49.92/utils/hardcode.c Examining data/clisp-2.49.20180218+really2.49.92/utils/unicode/gen-ctype.c Examining data/clisp-2.49.20180218+really2.49.92/utils/unicode/nls_table.c Examining data/clisp-2.49.20180218+really2.49.92/utils/comment5.c Examining data/clisp-2.49.20180218+really2.49.92/utils/deema.c Examining data/clisp-2.49.20180218+really2.49.92/utils/modpreptest.c Examining data/clisp-2.49.20180218+really2.49.92/utils/modpreptest.m.c Examining data/clisp-2.49.20180218+really2.49.92/utils/txt2c.c Examining data/clisp-2.49.20180218+really2.49.92/utils/ccpaux.c Examining data/clisp-2.49.20180218+really2.49.92/unix/malloc.c Examining data/clisp-2.49.20180218+really2.49.92/win32msvc/args.c Examining data/clisp-2.49.20180218+really2.49.92/modules/i18n/gettext.c Examining data/clisp-2.49.20180218+really2.49.92/modules/berkeley-db/bdb.c Examining data/clisp-2.49.20180218+really2.49.92/modules/regexp/regexi.c Examining data/clisp-2.49.20180218+really2.49.92/modules/pari/cpari.c Examining data/clisp-2.49.20180218+really2.49.92/modules/pari/cpari.h Examining data/clisp-2.49.20180218+really2.49.92/modules/rawsock/rawsock.c Examining data/clisp-2.49.20180218+really2.49.92/modules/queens/callqueens.c Examining data/clisp-2.49.20180218+really2.49.92/modules/queens/queens.c Examining data/clisp-2.49.20180218+really2.49.92/modules/gdbm/gdbm.c Examining data/clisp-2.49.20180218+really2.49.92/modules/syscalls/calls.c Examining data/clisp-2.49.20180218+really2.49.92/modules/fastcgi/fastcgi_wrappers.c Examining data/clisp-2.49.20180218+really2.49.92/modules/oracle/oiface.h Examining data/clisp-2.49.20180218+really2.49.92/modules/oracle/oiface.c Examining data/clisp-2.49.20180218+really2.49.92/modules/oracle/orafns.c Examining data/clisp-2.49.20180218+really2.49.92/modules/pcre/cpcre.c Examining data/clisp-2.49.20180218+really2.49.92/modules/dirkey/dirkey.c FINAL RESULTS: data/clisp-2.49.20180218+really2.49.92/modules/oracle/orafns.c:822:5: [5] (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. Risk is high; the length parameter appears to be a constant, instead of computing the number of characters left. strncat(buf2, pdata, ERRBUF_PARAM_TRUNC); data/clisp-2.49.20180218+really2.49.92/modules/syscalls/calls.c:2091:7: [5] (race) chmod: This accepts filename arguments; if an attacker can move those files, a race condition results. (CWE-362). Use fchmod( ) instead. if (chmod(path,mode)) return -1; data/clisp-2.49.20180218+really2.49.92/modules/syscalls/calls.c:2109:7: [5] (race) chown: This accepts filename arguments; if an attacker can move those files, a race condition results. (CWE-362). Use fchown( ) instead. if (chown(path,uid,gid)) return -1; data/clisp-2.49.20180218+really2.49.92/modules/syscalls/calls.c:3002:33: [5] (race) chmod: This accepts filename arguments; if an attacker can move those files, a race condition results. (CWE-362). Use fchmod( ) instead. && ON_PNAMESTRING(STACK_0,chmod,source_sb.st_mode & 0777)) { data/clisp-2.49.20180218+really2.49.92/modules/syscalls/calls.c:3020:15: [5] (race) chown: This accepts filename arguments; if an attacker can move those files, a race condition results. (CWE-362). Use fchown( ) instead. ret = chown(destz, source_sb.st_uid, source_sb.st_gid); data/clisp-2.49.20180218+really2.49.92/src/gllib/readlink.c:32:1: [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. readlink (const char *name, char *buf _GL_UNUSED, data/clisp-2.49.20180218+really2.49.92/src/gllib/readlink.c:47: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/clisp-2.49.20180218+really2.49.92/src/gllib/readlink.c:71:10: [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. return readlink (name, buf, bufsize); data/clisp-2.49.20180218+really2.49.92/src/gllib/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/clisp-2.49.20180218+really2.49.92/src/gllib/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/clisp-2.49.20180218+really2.49.92/src/gllib/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/clisp-2.49.20180218+really2.49.92/src/gllib/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/clisp-2.49.20180218+really2.49.92/src/gllib/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/clisp-2.49.20180218+really2.49.92/src/gllib/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/clisp-2.49.20180218+really2.49.92/src/gllib/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/clisp-2.49.20180218+really2.49.92/src/gllib/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/clisp-2.49.20180218+really2.49.92/src/gllib/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/clisp-2.49.20180218+really2.49.92/src/gllib/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/clisp-2.49.20180218+really2.49.92/src/gllib/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/clisp-2.49.20180218+really2.49.92/src/gllib/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/clisp-2.49.20180218+really2.49.92/src/gllib/unistd.in.h:1291: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/clisp-2.49.20180218+really2.49.92/src/gllib/unistd.in.h:1293: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/clisp-2.49.20180218+really2.49.92/src/gllib/unistd.in.h:1296: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/clisp-2.49.20180218+really2.49.92/src/gllib/unistd.in.h:1300: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/clisp-2.49.20180218+really2.49.92/src/gllib/unistd.in.h:1304: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/clisp-2.49.20180218+really2.49.92/src/gllib/unistd.in.h:1307: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/clisp-2.49.20180218+really2.49.92/src/gllib/unistd.in.h:1309: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/clisp-2.49.20180218+really2.49.92/src/gllib/unistd.in.h:1311: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/clisp-2.49.20180218+really2.49.92/utils/hardcode.c:183:9: [5] (race) chmod: This accepts filename arguments; if an attacker can move those files, a race condition results. (CWE-362). Use fchmod( ) instead. if (chmod(output,0755) < 0) { data/clisp-2.49.20180218+really2.49.92/modules/berkeley-db/bdb.c:168: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(data+1,errpfx); data/clisp-2.49.20180218+really2.49.92/modules/berkeley-db/bdb.c:175: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(data,msg); data/clisp-2.49.20180218+really2.49.92/modules/berkeley-db/bdb.c:258:5: [4] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). strcpy((*data_)->msgs[(*data_)->len],msg); data/clisp-2.49.20180218+really2.49.92/modules/berkeley-db/bdb.c:569:9: [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(errpfx,prefix); data/clisp-2.49.20180218+really2.49.92/modules/oracle/orafns.c:169:9: [4] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. sprintf(db->errmsg, "Got unexpected indicator value %d in column '%s'\n", col->indicator, col->name); data/clisp-2.49.20180218+really2.49.92/modules/oracle/orafns.c:360:2: [4] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. sprintf(db->errmsg, data/clisp-2.49.20180218+really2.49.92/modules/oracle/orafns.c:393:4: [4] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. sprintf(db->errmsg, data/clisp-2.49.20180218+really2.49.92/modules/oracle/orafns.c:401:4: [4] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. sprintf(db->errmsg, "Error reading LOB column '%s'\n", col->name); data/clisp-2.49.20180218+really2.49.92/modules/oracle/orafns.c:551:4: [4] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. sprintf(db->errmsg, "Precision [%d] out of bounds for column '%s'", col->name); data/clisp-2.49.20180218+really2.49.92/modules/oracle/orafns.c:577:3: [4] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. sprintf(db->errmsg, "Error creating LOB descriptor for column '%s'", col->name); data/clisp-2.49.20180218+really2.49.92/modules/oracle/orafns.c:595:7: [4] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. sprintf(db->errmsg, "Error setting up define for column '%s':\n", col->name); data/clisp-2.49.20180218+really2.49.92/modules/oracle/orafns.c:742:5: [4] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. sprintf(db->errmsg, "Error parsing SQL %s:\n---\n%s\n---\n", is_command ? "command" : "query", sql); data/clisp-2.49.20180218+really2.49.92/modules/oracle/orafns.c:786:7: [4] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. sprintf(db->errmsg, "Error binding SQL input parameter '%s' to value '%s' in query:\n---\n%s\n---\n", data/clisp-2.49.20180218+really2.49.92/modules/oracle/orafns.c:804:5: [4] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. sprintf(db->errmsg, "Error executing SQL %s:\n---\n%s\n---\n", is_command ? "command" : "query", sql); data/clisp-2.49.20180218+really2.49.92/modules/oracle/orafns.c:815:7: [4] (buffer) strcat: Does not check for buffer overflows when concatenating to destination [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or snprintf (warning: strncat is easily misused). strcat(db->errmsg, buf); data/clisp-2.49.20180218+really2.49.92/modules/oracle/orafns.c:826:9: [4] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. sprintf(buf, "'%s' -> '%s'\n", params[i]->name, pdata); data/clisp-2.49.20180218+really2.49.92/modules/oracle/orafns.c:827:9: [4] (buffer) strcat: Does not check for buffer overflows when concatenating to destination [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or snprintf (warning: strncat is easily misused). strcat(db->errmsg, buf); data/clisp-2.49.20180218+really2.49.92/modules/oracle/orafns.c:905:5: [4] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. sprintf(db->errmsg, "Null user ID given connecting to Oracle server '%s'", sid); data/clisp-2.49.20180218+really2.49.92/modules/oracle/orafns.c:952:5: [4] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. sprintf(db->errmsg, "Error logging on to Oracle service '%s' as user '%s':\n", sid, user); data/clisp-2.49.20180218+really2.49.92/modules/oracle/orafns.c:973:5: [4] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. sprintf(sqlbuf, "ALTER SESSION SET CURRENT_SCHEMA = %s", schema); data/clisp-2.49.20180218+really2.49.92/modules/oracle/orafns.c:1023:5: [4] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. sprintf(db->errmsg, "Error getting column %s for col %d:\n", prompt, ncol); data/clisp-2.49.20180218+really2.49.92/modules/oracle/orafns.c:1057:5: [4] (buffer) strcat: Does not check for buffer overflows when concatenating to destination [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or snprintf (warning: strncat is easily misused). strcat(errbuf, reason); data/clisp-2.49.20180218+really2.49.92/modules/oracle/orafns.c:1062:3: [4] (buffer) strcat: Does not check for buffer overflows when concatenating to destination [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or snprintf (warning: strncat is easily misused). strcat(errbuf, buf); data/clisp-2.49.20180218+really2.49.92/modules/oracle/orafns.c:1073:7: [4] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. sprintf(reason, "ORACLE_HOME value '%s' is possibly not valid.", home); data/clisp-2.49.20180218+really2.49.92/modules/oracle/orafns.c:1076:5: [4] (buffer) strcat: Does not check for buffer overflows when concatenating to destination [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or snprintf (warning: strncat is easily misused). strcat(errbuf, reason); data/clisp-2.49.20180218+really2.49.92/modules/oracle/orafns.c:1098:7: [4] (buffer) strcat: Does not check for buffer overflows when concatenating to destination [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or snprintf (warning: strncat is easily misused). strcat(db->errmsg, p); data/clisp-2.49.20180218+really2.49.92/modules/oracle/orafns.c:1102:7: [4] (buffer) strcat: Does not check for buffer overflows when concatenating to destination [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or snprintf (warning: strncat is easily misused). strcat(db->errmsg, sql + err_offset); data/clisp-2.49.20180218+really2.49.92/modules/oracle/orafns.c:1330:5: [4] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. sprintf(db->errmsg, "Attempt to %s while not connected.\n", action); data/clisp-2.49.20180218+really2.49.92/modules/oracle/orafns.c:1334:5: [4] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. sprintf(db->errmsg, "Attempt to %s before SQL statement executed.\n", action); data/clisp-2.49.20180218+really2.49.92/modules/oracle/orafns.c:1347:5: [4] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. sprintf(db->errmsg, "Attempt to %s on non-SELECT SQL statement:\n%s\n", action, db->sql); data/clisp-2.49.20180218+really2.49.92/modules/oracle/orafns.c:1353:5: [4] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. sprintf(db->errmsg, "Attempt to %s on invalid SQL statement:\n%s\n", action, db->sql); data/clisp-2.49.20180218+really2.49.92/modules/syscalls/calls.c:499: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(log_ident,ident); data/clisp-2.49.20180218+really2.49.92/modules/syscalls/calls.c:684:5: [4] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). strcpy(c_template,name); \ data/clisp-2.49.20180218+really2.49.92/modules/syscalls/calls.c:1064:20: [4] (crypto) crypt: The crypt functions use a poor one-way hashing algorithm; since they only accept passwords of 8 characters or fewer and only a two-byte salt, they are excessively vulnerable to dictionary attacks given today's faster computing equipment (CWE-327). Use a different algorithm, such as SHA-256, with a larger, non-repeating salt. result = crypt(key,salt); data/clisp-2.49.20180218+really2.49.92/modules/syscalls/calls.c:1821:22: [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. char *username = getlogin(); data/clisp-2.49.20180218+really2.49.92/modules/syscalls/calls.c:2717:17: [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(buf2+len+1,buf1); data/clisp-2.49.20180218+really2.49.92/src/_clisp.c:331: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(linkingsetdir, lisplibdir); data/clisp-2.49.20180218+really2.49.92/src/_clisp.c:333:7: [4] (buffer) strcat: Does not check for buffer overflows when concatenating to destination [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or snprintf (warning: strncat is easily misused). strcat(linkingsetdir, argv_linkingset); data/clisp-2.49.20180218+really2.49.92/src/_clisp.c:343: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(executable, linkingsetdir); data/clisp-2.49.20180218+really2.49.92/src/_clisp.c:345:7: [4] (buffer) strcat: Does not check for buffer overflows when concatenating to destination [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or snprintf (warning: strncat is easily misused). strcat(executable, execname); data/clisp-2.49.20180218+really2.49.92/src/_clisp.c:363:9: [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(argv_memfile, linkingsetdir); data/clisp-2.49.20180218+really2.49.92/src/_clisp.c:365:9: [4] (buffer) strcat: Does not check for buffer overflows when concatenating to destination [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or snprintf (warning: strncat is easily misused). strcat(argv_memfile, filename); data/clisp-2.49.20180218+really2.49.92/src/_clisp.c:438:5: [4] (shell) execv: This causes a new program to execute and is difficult to use safely (CWE-78). try using a library call that implements the same functionality if available. execv(executable,new_argv); data/clisp-2.49.20180218+really2.49.92/src/execname.c:35:7: [4] (race) access: This usually indicates a security flaw. If an attacker can change anything along the path between the call to access() and the file's actual use (e.g., by moving files), the attacker can exploit the race condition (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid()) and try to open the file directly. if (access(filename,R_OK|X_OK) < 0) data/clisp-2.49.20180218+really2.49.92/src/execname.c:73:5: [4] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). strcpy(executable_name,execname); data/clisp-2.49.20180218+really2.49.92/src/execname.c:112: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(concat_name,program_name); data/clisp-2.49.20180218+really2.49.92/src/execname.c:116: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(concat_name+p_len+1, program_name); data/clisp-2.49.20180218+really2.49.92/src/gllib/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/clisp-2.49.20180218+really2.49.92/src/gllib/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/clisp-2.49.20180218+really2.49.92/src/gllib/getloadavg.c:904: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 (name_list[0].n_name, LDAV_SYMBOL); data/clisp-2.49.20180218+really2.49.92/src/gllib/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/clisp-2.49.20180218+really2.49.92/src/gllib/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/clisp-2.49.20180218+really2.49.92/src/gllib/localcharset.c:243:23: [4] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). strcpy (res_ptr + res_size - (l2 + 1) - (l1 + 1), buf1); data/clisp-2.49.20180218+really2.49.92/src/gllib/localcharset.c:244:23: [4] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). strcpy (res_ptr + res_size - (l2 + 1), buf2); data/clisp-2.49.20180218+really2.49.92/src/gllib/localcharset.c:515: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/clisp-2.49.20180218+really2.49.92/src/gllib/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/clisp-2.49.20180218+really2.49.92/src/gllib/uname.c:117:3: [4] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. sprintf (buf->sysname, "MINGW32_%s-%u.%u", super_version, data/clisp-2.49.20180218+really2.49.92/src/gllib/uname.c:121:3: [4] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. sprintf (buf->sysname, "Windows%s", super_version); data/clisp-2.49.20180218+really2.49.92/src/gllib/uname.c:173:9: [4] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. sprintf (buf->release, "%s %u.%u", data/clisp-2.49.20180218+really2.49.92/src/gllib/uname.c:178:9: [4] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). strcpy (buf->release, base); data/clisp-2.49.20180218+really2.49.92/src/gllib/uname.c:190:7: [4] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. sprintf (buf->release, "Windows %s", super_version); data/clisp-2.49.20180218+really2.49.92/src/gllib/uname.c:192:3: [4] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). strcpy (buf->version, version.szCSDVersion); data/clisp-2.49.20180218+really2.49.92/src/gllib/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/clisp-2.49.20180218+really2.49.92/src/gllib/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/clisp-2.49.20180218+really2.49.92/src/gllib/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/clisp-2.49.20180218+really2.49.92/src/gllib/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/clisp-2.49.20180218+really2.49.92/src/gllib/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/clisp-2.49.20180218+really2.49.92/src/gllib/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/clisp-2.49.20180218+really2.49.92/src/gllib/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/clisp-2.49.20180218+really2.49.92/src/gllib/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/clisp-2.49.20180218+really2.49.92/src/gllib/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/clisp-2.49.20180218+really2.49.92/src/gllib/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/clisp-2.49.20180218+really2.49.92/src/gllib/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/clisp-2.49.20180218+really2.49.92/src/gllib/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/clisp-2.49.20180218+really2.49.92/src/gllib/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/clisp-2.49.20180218+really2.49.92/src/gllib/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/clisp-2.49.20180218+really2.49.92/src/gllib/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/clisp-2.49.20180218+really2.49.92/src/gllib/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/clisp-2.49.20180218+really2.49.92/src/lightning.c:794:16: [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. jit_finish(printf); data/clisp-2.49.20180218+really2.49.92/src/lightning.c:801:16: [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. jit_finish(printf); data/clisp-2.49.20180218+really2.49.92/src/lightning.c:809:16: [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. jit_finish(printf); data/clisp-2.49.20180218+really2.49.92/src/w32shell.c:243:18: [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(pathname,pathname1); data/clisp-2.49.20180218+really2.49.92/src/w32shell.c:250:12: [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). else strcpy(pathname,pathname1); data/clisp-2.49.20180218+really2.49.92/src/w32shell.c:258: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(resolved,pathname); data/clisp-2.49.20180218+really2.49.92/src/w32shell.c:282: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(pathname,filename); data/clisp-2.49.20180218+really2.49.92/src/w32shell.c:311: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(nameout,namein); data/clisp-2.49.20180218+really2.49.92/src/w32shell.c:332:9: [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(nameout + default_len + 1, namein + 2); data/clisp-2.49.20180218+really2.49.92/src/w32shell.c:380: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(nametocheck_end,*nametocheck?"\\*":"*"); data/clisp-2.49.20180218+really2.49.92/src/w32shell.c:434: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(nameout,resolved); data/clisp-2.49.20180218+really2.49.92/utils/hardcode.c:148:17: [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(equals+1,def->value); data/clisp-2.49.20180218+really2.49.92/utils/txt2c.c:64: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(pathname, (const char *) &line[9]); data/clisp-2.49.20180218+really2.49.92/utils/txt2c.c:67: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(pathname,standard_include_path); data/clisp-2.49.20180218+really2.49.92/utils/txt2c.c:68:13: [4] (buffer) strcat: Does not check for buffer overflows when concatenating to destination [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or snprintf (warning: strncat is easily misused). strcat(pathname, (const char *) &line[9]); data/clisp-2.49.20180218+really2.49.92/utils/unicode/nls_table.c:63: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(fname,directory); strcat(fname,filename); data/clisp-2.49.20180218+really2.49.92/utils/unicode/nls_table.c:63:32: [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). strcpy(fname,directory); strcat(fname,filename); data/clisp-2.49.20180218+really2.49.92/modules/berkeley-db/bdb.c:2838:21: [3] (buffer) getenv: Environment variables are untrustable input if they can be set by an attacker. They can have any content and length, and the same variable can be set more than once (CWE-807, CWE-20). Check environment variables carefully before using them. { char *options = getenv("DMALLOC_OPTIONS"); data/clisp-2.49.20180218+really2.49.92/modules/oracle/orafns.c:1067: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 * home = getenv("ORACLE_HOME"); data/clisp-2.49.20180218+really2.49.92/modules/rawsock/rawsock.c:1568:19: [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 ws2 = LoadLibrary("ws2_32.dll"); data/clisp-2.49.20180218+really2.49.92/modules/syscalls/calls.c:1321:16: [3] (misc) chroot: chroot can be very helpful, but is hard to use correctly (CWE-250, CWE-22). Make sure the program immediately chdir("/"), closes file descriptors, and drops root privileges, and that all necessary files (and no more!) are in the new root. status = chroot(namez); data/clisp-2.49.20180218+really2.49.92/modules/syscalls/calls.c:2594: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 advapi32 = LoadLibrary("advapi32.dll"); data/clisp-2.49.20180218+really2.49.92/modules/syscalls/calls.c:2758: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/clisp-2.49.20180218+really2.49.92/modules/syscalls/calls.c:2783:19: [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 ole32 = LoadLibrary ("ole32.dll"); data/clisp-2.49.20180218+really2.49.92/modules/syscalls/calls.c:2892:15: [3] (buffer) realpath: This function does not protect against buffer overflows, and some implementations can overflow internally (CWE-120/CWE-785!). Ensure that the destination buffer is at least of size MAXPATHLEN, andto protect against implementation problems, the input argument should also be checked to ensure it is no larger than MAXPATHLEN. if (NULL == realpath(source,path_buffer)) OS_file_error(STACK_3); data/clisp-2.49.20180218+really2.49.92/modules/syscalls/calls.c:5900: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. { char* envval = getenv("DATEMSK"); data/clisp-2.49.20180218+really2.49.92/src/_clisp.c:414:16: [3] (shell) CreateProcess: This causes a new process to execute and is difficult to use safely (CWE-78). Specify the application path in the first argument, NOT as part of the second, or embedded spaces could allow an attacker to force a different program to run. W32ERR(CreateProcess); data/clisp-2.49.20180218+really2.49.92/src/execname.c:96:25: [3] (buffer) getenv: Environment variables are untrustable input if they can be set by an attacker. They can have any content and length, and the same variable can be set more than once (CWE-807, CWE-20). Check environment variables carefully before using them. const char * path = getenv("PATH"); data/clisp-2.49.20180218+really2.49.92/src/execname.c:139: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. if (realpath(program_name,executable_name) == NULL) { data/clisp-2.49.20180218+really2.49.92/src/gllib/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/clisp-2.49.20180218+really2.49.92/src/gllib/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/clisp-2.49.20180218+really2.49.92/src/gllib/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/clisp-2.49.20180218+really2.49.92/src/gllib/gettimeofday.c:44: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/clisp-2.49.20180218+really2.49.92/src/gllib/glthread/lock.c:801:3: [3] (misc) InitializeCriticalSection: Exceptions can be thrown in low-memory situations. Use InitializeCriticalSectionAndSpinCount instead. InitializeCriticalSection (&lock->lock); data/clisp-2.49.20180218+really2.49.92/src/gllib/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/clisp-2.49.20180218+really2.49.92/src/gllib/glthread/lock.c:938:3: [3] (misc) InitializeCriticalSection: Exceptions can be thrown in low-memory situations. Use InitializeCriticalSectionAndSpinCount instead. InitializeCriticalSection (&lock->lock); data/clisp-2.49.20180218+really2.49.92/src/gllib/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/clisp-2.49.20180218+really2.49.92/src/gllib/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/clisp-2.49.20180218+really2.49.92/src/gllib/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/clisp-2.49.20180218+really2.49.92/src/gllib/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/clisp-2.49.20180218+really2.49.92/src/gllib/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/clisp-2.49.20180218+really2.49.92/src/gllib/glthread/lock.c:1121:3: [3] (misc) InitializeCriticalSection: Exceptions can be thrown in low-memory situations. Use InitializeCriticalSectionAndSpinCount instead. InitializeCriticalSection (&lock->lock); data/clisp-2.49.20180218+really2.49.92/src/gllib/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/clisp-2.49.20180218+really2.49.92/src/gllib/glthread/lock.c:1190:11: [3] (misc) InitializeCriticalSection: Exceptions can be thrown in low-memory situations. Use InitializeCriticalSectionAndSpinCount instead. InitializeCriticalSection (&once_control->lock); data/clisp-2.49.20180218+really2.49.92/src/gllib/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/clisp-2.49.20180218+really2.49.92/src/gllib/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/clisp-2.49.20180218+really2.49.92/src/gllib/localcharset.c:140:13: [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. dir = getenv ("CHARSETALIASDIR"); data/clisp-2.49.20180218+really2.49.92/src/gllib/localcharset.c:418: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/clisp-2.49.20180218+really2.49.92/src/gllib/localcharset.c:421: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/clisp-2.49.20180218+really2.49.92/src/gllib/localcharset.c:423: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/clisp-2.49.20180218+really2.49.92/src/gllib/localcharset.c:479: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/clisp-2.49.20180218+really2.49.92/src/gllib/localcharset.c:482: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/clisp-2.49.20180218+really2.49.92/src/gllib/localcharset.c:484: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/clisp-2.49.20180218+really2.49.92/src/gllib/localcharset.c:540: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/clisp-2.49.20180218+really2.49.92/src/gllib/localcharset.c:543: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/clisp-2.49.20180218+really2.49.92/src/gllib/localcharset.c:545: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/clisp-2.49.20180218+really2.49.92/src/gllib/mktime.c:516: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/clisp-2.49.20180218+really2.49.92/src/gllib/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/clisp-2.49.20180218+really2.49.92/src/gllib/stat-w32.c:60: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/clisp-2.49.20180218+really2.49.92/src/gllib/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/clisp-2.49.20180218+really2.49.92/src/gllib/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/clisp-2.49.20180218+really2.49.92/src/gllib/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/clisp-2.49.20180218+really2.49.92/src/gllib/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/clisp-2.49.20180218+really2.49.92/src/gllib/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/clisp-2.49.20180218+really2.49.92/src/gllib/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/clisp-2.49.20180218+really2.49.92/src/gllib/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/clisp-2.49.20180218+really2.49.92/src/gllib/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/clisp-2.49.20180218+really2.49.92/src/gllib/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/clisp-2.49.20180218+really2.49.92/src/gllib/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/clisp-2.49.20180218+really2.49.92/src/gllib/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/clisp-2.49.20180218+really2.49.92/src/gllib/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/clisp-2.49.20180218+really2.49.92/src/gllib/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/clisp-2.49.20180218+really2.49.92/src/gllib/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/clisp-2.49.20180218+really2.49.92/src/gllib/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/clisp-2.49.20180218+really2.49.92/src/gllib/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/clisp-2.49.20180218+really2.49.92/src/gllib/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/clisp-2.49.20180218+really2.49.92/src/gllib/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/clisp-2.49.20180218+really2.49.92/src/gllib/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/clisp-2.49.20180218+really2.49.92/src/gllib/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/clisp-2.49.20180218+really2.49.92/src/gllib/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/clisp-2.49.20180218+really2.49.92/src/gllib/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/clisp-2.49.20180218+really2.49.92/src/gllib/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/clisp-2.49.20180218+really2.49.92/src/gllib/time_rz.c:214: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. return getenv ("TZ"); data/clisp-2.49.20180218+really2.49.92/src/gllib/tzset.c:66: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/clisp-2.49.20180218+really2.49.92/src/gllib/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/clisp-2.49.20180218+really2.49.92/modules/berkeley-db/bdb.c:377:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. { char str[80]; struct timeval tv; gettimeofday(&tv,NULL); data/clisp-2.49.20180218+really2.49.92/modules/berkeley-db/bdb.c:390:13: [2] (misc) fopen: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). ret = fopen(pathz,"w"); data/clisp-2.49.20180218+really2.49.92/modules/berkeley-db/bdb.c:532:34: [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). { SYSCALL(dbe->open,(dbe,home,flags,mode)); }); data/clisp-2.49.20180218+really2.49.92/modules/berkeley-db/bdb.c:533:23: [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). } else SYSCALL(dbe->open,(dbe,NULL,flags,mode)); data/clisp-2.49.20180218+really2.49.92/modules/berkeley-db/bdb.c:1003: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(TheSbvector(data)->data+index,conflicts,size); data/clisp-2.49.20180218+really2.49.92/modules/berkeley-db/bdb.c:1323: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(key->data,linez,linez_bytelen); data/clisp-2.49.20180218+really2.49.92/modules/berkeley-db/bdb.c:1337: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(key->data,data_start,key->size); data/clisp-2.49.20180218+really2.49.92/modules/berkeley-db/bdb.c:1622: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). SYSCALL(db->open,(db,txn,file,NULL,db_type,flags,mode)); data/clisp-2.49.20180218+really2.49.92/modules/berkeley-db/bdb.c:1625:25: [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). SYSCALL(db->open,(db,txn,file,databse,db_type,flags,mode)); data/clisp-2.49.20180218+really2.49.92/modules/berkeley-db/bdb.c:2520:3: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-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[BUFSIZ]; data/clisp-2.49.20180218+really2.49.92/modules/fastcgi/fastcgi_wrappers.c:118: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. static unsigned char buf[2 * TEMPBUFSIZE + 1]; data/clisp-2.49.20180218+really2.49.92/modules/i18n/gettext.c:352: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). begin_system_call(); val = atoi(res); end_system_call(); data/clisp-2.49.20180218+really2.49.92/modules/oracle/orafns.c:129:16: [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). is_command = atoi(argv[5]); data/clisp-2.49.20180218+really2.49.92/modules/oracle/orafns.c:143:7: [2] (buffer) strcat: Does not check for buffer overflows when concatenating to destination [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or snprintf (warning: strncat is easily misused). Risk is low because the source is a constant string. strcat(db->errmsg, "A row-fetch error occured.\n"); data/clisp-2.49.20180218+really2.49.92/modules/oracle/orafns.c:273: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(db->errmsg,"Fetch: already at EOF\n"); data/clisp-2.49.20180218+really2.49.92/modules/oracle/orafns.c:288: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(db->errmsg, "Fetch error %d:\n", fetch_status); data/clisp-2.49.20180218+really2.49.92/modules/oracle/orafns.c:304: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(db->errmsg, "Error getting error status checking for EOF\n"); data/clisp-2.49.20180218+really2.49.92/modules/oracle/orafns.c:329: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(db->errmsg, "Unknown Oracle warning %d\n", errcode); data/clisp-2.49.20180218+really2.49.92/modules/oracle/orafns.c:382:4: [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(db->errmsg, "Internal error: no LobLocator for column %d\n", n); data/clisp-2.49.20180218+really2.49.92/modules/oracle/orafns.c:417: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(db->errmsg, "Bad indicator value %d for column %d\n", col->indicator, n); data/clisp-2.49.20180218+really2.49.92/modules/oracle/orafns.c:445:3: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char colname[10000]; data/clisp-2.49.20180218+really2.49.92/modules/oracle/orafns.c:464: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(db->errmsg, "Error getting param count:\n"); data/clisp-2.49.20180218+really2.49.92/modules/oracle/orafns.c:506:9: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf(db->errmsg, "Error getting error status checking OCI_NO_DATA on col %d\n", ncol); data/clisp-2.49.20180218+really2.49.92/modules/oracle/orafns.c:515:9: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf(db->errmsg, "Error getting param col %d:\n", ncol); data/clisp-2.49.20180218+really2.49.92/modules/oracle/orafns.c:526: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(db->errmsg, "Error: more than expected count of %d columns returned", param_count); data/clisp-2.49.20180218+really2.49.92/modules/oracle/orafns.c:545: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(colname, colnamep, colname_len); data/clisp-2.49.20180218+really2.49.92/modules/oracle/orafns.c:604: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(db->errmsg, "Column count mismatch - we have %d and Oracle had %d\n", ncol - 1, param_count); data/clisp-2.49.20180218+really2.49.92/modules/oracle/orafns.c:645: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(db->errmsg, "Error commiting transaction:\n"); data/clisp-2.49.20180218+really2.49.92/modules/oracle/orafns.c:666: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(db->errmsg, "Rollback called while autocommit turned on."); data/clisp-2.49.20180218+really2.49.92/modules/oracle/orafns.c:672: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(db->errmsg, "Error rolling back transaction:\n"); data/clisp-2.49.20180218+really2.49.92/modules/oracle/orafns.c:702: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(db->errmsg, "Attempt to run SQL statement when not connected"); data/clisp-2.49.20180218+really2.49.92/modules/oracle/orafns.c:711: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(db->errmsg, "Null SQL query or command given"); data/clisp-2.49.20180218+really2.49.92/modules/oracle/orafns.c:734: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(db->errmsg, "Error allocating statement handle\n"); data/clisp-2.49.20180218+really2.49.92/modules/oracle/orafns.c:760: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(db->errmsg, "Null bind-parameter name given\n"); data/clisp-2.49.20180218+really2.49.92/modules/oracle/orafns.c:812: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[ERRBUF_BYTES], buf2[10000]; data/clisp-2.49.20180218+really2.49.92/modules/oracle/orafns.c:814: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, "SQL bind parameters (%d) given:\n", nparam); data/clisp-2.49.20180218+really2.49.92/modules/oracle/orafns.c:821: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(buf2, "[String of length %d (truncated)] ", plen); data/clisp-2.49.20180218+really2.49.92/modules/oracle/orafns.c:823:5: [2] (buffer) strcat: Does not check for buffer overflows when concatenating to destination [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or snprintf (warning: strncat is easily misused). Risk is low because the source is a constant string. strcat(buf2, "..."); data/clisp-2.49.20180218+really2.49.92/modules/oracle/orafns.c:829:7: [2] (buffer) strcat: Does not check for buffer overflows when concatenating to destination [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or snprintf (warning: strncat is easily misused). Risk is low because the source is a constant string. strcat(db->errmsg, "---\n"); data/clisp-2.49.20180218+really2.49.92/modules/oracle/orafns.c:840:7: [2] (buffer) strcat: Does not check for buffer overflows when concatenating to destination [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or snprintf (warning: strncat is easily misused). Risk is low because the source is a constant string. strcat(db->errmsg, "An error occurred getting column info.\n"); data/clisp-2.49.20180218+really2.49.92/modules/oracle/orafns.c:850:7: [2] (buffer) strcat: Does not check for buffer overflows when concatenating to destination [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or snprintf (warning: strncat is easily misused). Risk is low because the source is a constant string. strcat(db->errmsg, "Error auto-commiting transaction.\n"); data/clisp-2.49.20180218+really2.49.92/modules/oracle/orafns.c:858: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(db->errmsg, "Error getting row count for command:\n"); data/clisp-2.49.20180218+really2.49.92/modules/oracle/orafns.c:881:3: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char sqlbuf[1000]; data/clisp-2.49.20180218+really2.49.92/modules/oracle/orafns.c:933: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(db->errmsg, "Error initializing OCI library: OCIEnvCreate/OCIEnvInit() returned %d:\n", status); data/clisp-2.49.20180218+really2.49.92/modules/oracle/orafns.c:941: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(db->errmsg, "Error initializing OCI error handle: OCIHandleAlloc(OCI_HTYPE_ERROR) returned %d:\n", status); data/clisp-2.49.20180218+really2.49.92/modules/oracle/orafns.c:967:5: [2] (buffer) strcat: Does not check for buffer overflows when concatenating to destination [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or snprintf (warning: strncat is easily misused). Risk is low because the source is a constant string. strcat(db->errmsg, "Error setting date format\n"); data/clisp-2.49.20180218+really2.49.92/modules/oracle/orafns.c:976:7: [2] (buffer) strcat: Does not check for buffer overflows when concatenating to destination [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or snprintf (warning: strncat is easily misused). Risk is low because the source is a constant string. strcat(db->errmsg, "Error setting current schema\n"); data/clisp-2.49.20180218+really2.49.92/modules/oracle/orafns.c:989: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(db->errmsg, "Error %d setting prefetch memory:\n", status); data/clisp-2.49.20180218+really2.49.92/modules/oracle/orafns.c:1004: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(db->errmsg, "Error settgin prefetch row count:\n"); data/clisp-2.49.20180218+really2.49.92/modules/oracle/orafns.c:1041:3: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-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[50000]; data/clisp-2.49.20180218+really2.49.92/modules/oracle/orafns.c:1055:2: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char reason[1000]; data/clisp-2.49.20180218+really2.49.92/modules/oracle/orafns.c:1056:2: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf(reason, "[Could not get error message from Oracle: OCIErrorGet() returned %d]\n", status); data/clisp-2.49.20180218+really2.49.92/modules/oracle/orafns.c:1066: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 reason[1000]; data/clisp-2.49.20180218+really2.49.92/modules/oracle/orafns.c:1069:7: [2] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). Risk is low because the source is a constant string. strcpy(reason, "ORACLE_HOME is not set."); data/clisp-2.49.20180218+really2.49.92/modules/oracle/orafns.c:1071:7: [2] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). Risk is low because the source is a constant string. strcpy(reason, "ORACLE_HOME is set to the empty string."); data/clisp-2.49.20180218+really2.49.92/modules/oracle/orafns.c:1075:5: [2] (buffer) strcat: Does not check for buffer overflows when concatenating to destination [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or snprintf (warning: strncat is easily misused). Risk is low because the source is a constant string. strcat(errbuf, "Cannot get Oracle error message text. Check ORACLE_HOME environment variable.\n"); data/clisp-2.49.20180218+really2.49.92/modules/oracle/orafns.c:1092:7: [2] (buffer) strcat: Does not check for buffer overflows when concatenating to destination [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or snprintf (warning: strncat is easily misused). Risk is low because the source is a constant string. strcat(db->errmsg, "Could not get parse error offset:\n"); data/clisp-2.49.20180218+really2.49.92/modules/oracle/orafns.c:1096: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 p[100]; data/clisp-2.49.20180218+really2.49.92/modules/oracle/orafns.c:1097: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(p, "At character %d, near ==> indicator in:\n----\n", err_offset); data/clisp-2.49.20180218+really2.49.92/modules/oracle/orafns.c:1101:7: [2] (buffer) strcat: Does not check for buffer overflows when concatenating to destination [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or snprintf (warning: strncat is easily misused). Risk is low because the source is a constant string. strcat(db->errmsg, "\n==> "); data/clisp-2.49.20180218+really2.49.92/modules/oracle/orafns.c:1103:7: [2] (buffer) strcat: Does not check for buffer overflows when concatenating to destination [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or snprintf (warning: strncat is easily misused). Risk is low because the source is a constant string. strcat(db->errmsg, "\n----\n"); data/clisp-2.49.20180218+really2.49.92/modules/oracle/orafns.c:1113: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[100]; data/clisp-2.49.20180218+really2.49.92/modules/oracle/orafns.c:1144:3: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf(buf, "<Unknown type %d>", dtype); data/clisp-2.49.20180218+really2.49.92/modules/oracle/orafns.c:1151: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[100]; data/clisp-2.49.20180218+really2.49.92/modules/oracle/orafns.c:1378: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(db->errmsg, "Attempt to get EOF status before first fetch.\n"); data/clisp-2.49.20180218+really2.49.92/modules/oracle/orafns.c:1413: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(db->errmsg, "Attempt to get row values before first fetch.\n"); data/clisp-2.49.20180218+really2.49.92/modules/oracle/orafns.c:1420: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(db->errmsg, "Attempt to get row values at EOF.\n"); data/clisp-2.49.20180218+really2.49.92/modules/pcre/cpcre.c:222: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 table[256]; data/clisp-2.49.20180218+really2.49.92/modules/rawsock/rawsock.c:539: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[IF_NAMESIZE]; data/clisp-2.49.20180218+really2.49.92/modules/rawsock/rawsock.c:852:3: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char node[BUFSIZ], service[BUFSIZ]; data/clisp-2.49.20180218+really2.49.92/modules/regexp/regexi.c:38: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[BUFSIZ]; data/clisp-2.49.20180218+really2.49.92/modules/syscalls/calls.c:685:5: [2] (buffer) strcat: Does not check for buffer overflows when concatenating to destination [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or snprintf (warning: strncat is easily misused). Risk is low because the source is a constant string. strcat(c_template,"XXXXXX"); \ data/clisp-2.49.20180218+really2.49.92/modules/syscalls/calls.c:703: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). fd = mkstemp(c_template); data/clisp-2.49.20180218+really2.49.92/modules/syscalls/calls.c:1076:24: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. static void get_block (char block[64], object vector) { data/clisp-2.49.20180218+really2.49.92/modules/syscalls/calls.c:1102:24: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. static void set_block (char block[64], object vector) { data/clisp-2.49.20180218+really2.49.92/modules/syscalls/calls.c:1115:3: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char block[64]; data/clisp-2.49.20180218+really2.49.92/modules/syscalls/calls.c:1128:3: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char block[64]; data/clisp-2.49.20180218+really2.49.92/modules/syscalls/calls.c:1254:3: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-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/clisp-2.49.20180218+really2.49.92/modules/syscalls/calls.c:1638:3: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char proto_buf[16]; data/clisp-2.49.20180218+really2.49.92/modules/syscalls/calls.c:1948:3: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char domain[MAXHOSTNAMELEN]; data/clisp-2.49.20180218+really2.49.92/modules/syscalls/calls.c:2391:3: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-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_volname[MAX_PATH]; /* volume name */ data/clisp-2.49.20180218+really2.49.92/modules/syscalls/calls.c:2392:3: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-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_fstype[MAX_PATH]; /* file system type */ data/clisp-2.49.20180218+really2.49.92/modules/syscalls/calls.c:2401:3: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char root[MAX_PATH], *rootp = root; data/clisp-2.49.20180218+really2.49.92/modules/syscalls/calls.c:2409: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(root,fname,(len = cp - fname)); data/clisp-2.49.20180218+really2.49.92/modules/syscalls/calls.c:2659: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(memory+psid_len, name, name_len); data/clisp-2.49.20180218+really2.49.92/modules/syscalls/calls.c:2698: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 buf1[256]; data/clisp-2.49.20180218+really2.49.92/modules/syscalls/calls.c:2700: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 buf2[256]; data/clisp-2.49.20180218+really2.49.92/modules/syscalls/calls.c:2822:8: [2] (buffer) MultiByteToWideChar: Requires maximum length in CHARACTERS, not bytes (CWE-120). if (MultiByteToWideChar(CP_ACP, MB_ERR_INVALID_CHARS /*error on invalid chars*/, data/clisp-2.49.20180218+really2.49.92/modules/syscalls/calls.c:2891:3: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-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_buffer[MAXPATHLEN]; data/clisp-2.49.20180218+really2.49.92/modules/syscalls/calls.c:3083:13: [2] (misc) open: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). funcall(L(open),7); source = value1; data/clisp-2.49.20180218+really2.49.92/modules/syscalls/calls.c:3094:13: [2] (misc) open: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). funcall(L(open),7); dest = value1; data/clisp-2.49.20180218+really2.49.92/modules/syscalls/calls.c:3104:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char buffer[strm_buffered_bufflen]; data/clisp-2.49.20180218+really2.49.92/modules/syscalls/calls.c:3177: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). funcall(L(open),5); data/clisp-2.49.20180218+really2.49.92/modules/syscalls/calls.c:3196: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). funcall(L(open),5); data/clisp-2.49.20180218+really2.49.92/modules/syscalls/calls.c:3561:7: [2] (buffer) MultiByteToWideChar: Requires maximum length in CHARACTERS, not bytes (CWE-120). MultiByteToWideChar(CP_ACP, 0, pathz, -1, wsz, MAX_PATH); data/clisp-2.49.20180218+really2.49.92/modules/syscalls/calls.c:3578:3: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-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], wd[MAX_PATH], args[MAX_PATH], data/clisp-2.49.20180218+really2.49.92/modules/syscalls/calls.c:3599:7: [2] (buffer) MultiByteToWideChar: Requires maximum length in CHARACTERS, not bytes (CWE-120). MultiByteToWideChar(CP_ACP, 0, pathz, -1, wsz, MAX_PATH); data/clisp-2.49.20180218+really2.49.92/modules/syscalls/calls.c:4100: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[128]; data/clisp-2.49.20180218+really2.49.92/modules/syscalls/calls.c:4120:3: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf(buf,"0x%x",hres); data/clisp-2.49.20180218+really2.49.92/modules/syscalls/calls.c:4382:3: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-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[SIDBUFSZ]; data/clisp-2.49.20180218+really2.49.92/modules/syscalls/calls.c:4672: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). fp = fopen(pathz,modez); data/clisp-2.49.20180218+really2.49.92/modules/syscalls/calls.c:5910: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(p,part1,part1_len); p += part1_len; data/clisp-2.49.20180218+really2.49.92/modules/syscalls/calls.c:5912: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(p,part2,part2_len); p += part2_len; data/clisp-2.49.20180218+really2.49.92/src/_clisp.c:73: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 room_for_lisplibdir[10240] = "%MAGIC%LISPLIBDIR=" LISPLIBDIR; data/clisp-2.49.20180218+really2.49.92/src/_clisp.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 room_for_localedir[10240] = "%MAGIC%LOCALEDIR=" LOCALEDIR; data/clisp-2.49.20180218+really2.49.92/src/_clisp.c:148: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(lisplibdir,executable_name,libdir_len); data/clisp-2.49.20180218+really2.49.92/src/_clisp.c:151: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(localedir,executable_name,libdir_len); data/clisp-2.49.20180218+really2.49.92/src/_clisp.c:153: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(localedir+libdir_len+1,"locale",6); data/clisp-2.49.20180218+really2.49.92/src/_clisp.c:385: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 resolved[MAX_PATH]; data/clisp-2.49.20180218+really2.49.92/src/build-aux/link-warning.h:18:22: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. ({ static const char warning[sizeof (message)] \ data/clisp-2.49.20180218+really2.49.92/src/execname.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 execname[MAX_PATH]; data/clisp-2.49.20180218+really2.49.92/src/execname.c:81: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("/proc/self/exe",O_RDONLY,my_open_mask); data/clisp-2.49.20180218+really2.49.92/src/execname.c:114: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(concat_name, p, p_len); data/clisp-2.49.20180218+really2.49.92/src/execname.c:149:9: [2] (buffer) strcat: Does not check for buffer overflows when concatenating to destination [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or snprintf (warning: strncat is easily misused). Risk is low because the source is a constant string. strcat(executable_name,".exe"); data/clisp-2.49.20180218+really2.49.92/src/gllib/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/clisp-2.49.20180218+really2.49.92/src/gllib/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/clisp-2.49.20180218+really2.49.92/src/gllib/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/clisp-2.49.20180218+really2.49.92/src/gllib/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/clisp-2.49.20180218+really2.49.92/src/gllib/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/clisp-2.49.20180218+really2.49.92/src/gllib/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/clisp-2.49.20180218+really2.49.92/src/gllib/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/clisp-2.49.20180218+really2.49.92/src/gllib/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/clisp-2.49.20180218+really2.49.92/src/gllib/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/clisp-2.49.20180218+really2.49.92/src/gllib/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/clisp-2.49.20180218+really2.49.92/src/gllib/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/clisp-2.49.20180218+really2.49.92/src/gllib/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/clisp-2.49.20180218+really2.49.92/src/gllib/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/clisp-2.49.20180218+really2.49.92/src/gllib/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/clisp-2.49.20180218+really2.49.92/src/gllib/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/clisp-2.49.20180218+really2.49.92/src/gllib/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/clisp-2.49.20180218+really2.49.92/src/gllib/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/clisp-2.49.20180218+really2.49.92/src/gllib/getloadavg.c:582:3: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char ldavgbuf[3 * (INT_STRLEN_BOUND (int) + sizeof ".00 ")]; data/clisp-2.49.20180218+really2.49.92/src/gllib/getloadavg.c:586:8: [2] (misc) open: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). fd = open (LINUX_LDAV_FILE, O_RDONLY); data/clisp-2.49.20180218+really2.49.92/src/gllib/getloadavg.c:643: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 (NETBSD_LDAV_FILE, "r"); data/clisp-2.49.20180218+really2.49.92/src/gllib/getloadavg.c:948: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). int fd = open ("/dev/kmem", O_RDONLY | O_CLOEXEC); data/clisp-2.49.20180218+really2.49.92/src/gllib/getsockopt.c:66: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 (optval, &tv, n); data/clisp-2.49.20180218+really2.49.92/src/gllib/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/clisp-2.49.20180218+really2.49.92/src/gllib/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/clisp-2.49.20180218+really2.49.92/src/gllib/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/clisp-2.49.20180218+really2.49.92/src/gllib/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/clisp-2.49.20180218+really2.49.92/src/gllib/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/clisp-2.49.20180218+really2.49.92/src/gllib/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/clisp-2.49.20180218+really2.49.92/src/gllib/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/clisp-2.49.20180218+really2.49.92/src/gllib/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/clisp-2.49.20180218+really2.49.92/src/gllib/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/clisp-2.49.20180218+really2.49.92/src/gllib/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/clisp-2.49.20180218+really2.49.92/src/gllib/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/clisp-2.49.20180218+really2.49.92/src/gllib/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/clisp-2.49.20180218+really2.49.92/src/gllib/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/clisp-2.49.20180218+really2.49.92/src/gllib/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/clisp-2.49.20180218+really2.49.92/src/gllib/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/clisp-2.49.20180218+really2.49.92/src/gllib/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/clisp-2.49.20180218+really2.49.92/src/gllib/localcharset.c:152: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 (file_name, dir, dir_len); data/clisp-2.49.20180218+really2.49.92/src/gllib/localcharset.c:155: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 (file_name + dir_len + add_slash, base, base_len + 1); data/clisp-2.49.20180218+really2.49.92/src/gllib/localcharset.c:175: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 (file_name, data/clisp-2.49.20180218+really2.49.92/src/gllib/localcharset.c:200:23: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char buf1[50+1]; data/clisp-2.49.20180218+really2.49.92/src/gllib/localcharset.c:201:23: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char buf2[50+1]; data/clisp-2.49.20180218+really2.49.92/src/gllib/localcharset.c:416: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/clisp-2.49.20180218+really2.49.92/src/gllib/localcharset.c:442: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/clisp-2.49.20180218+really2.49.92/src/gllib/localcharset.c:460: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/clisp-2.49.20180218+really2.49.92/src/gllib/localcharset.c:497: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/clisp-2.49.20180218+really2.49.92/src/gllib/localcharset.c:525: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/clisp-2.49.20180218+really2.49.92/src/gllib/localcharset.c:532: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/clisp-2.49.20180218+really2.49.92/src/gllib/localcharset.c:563: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/clisp-2.49.20180218+really2.49.92/src/gllib/localcharset.c:581: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/clisp-2.49.20180218+really2.49.92/src/gllib/mbrtowc.c:48: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/clisp-2.49.20180218+really2.49.92/src/gllib/mbrtowc.c:72: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/clisp-2.49.20180218+really2.49.92/src/gllib/mkstemp.c:47:1: [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). mkstemp (char *xtemplate) data/clisp-2.49.20180218+really2.49.92/src/gllib/mktime.c:619: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/clisp-2.49.20180218+really2.49.92/src/gllib/mktime.c:630: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/clisp-2.49.20180218+really2.49.92/src/gllib/mktime.c:631: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/clisp-2.49.20180218+really2.49.92/src/gllib/mktime.c:632: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/clisp-2.49.20180218+really2.49.92/src/gllib/nl_langinfo.c:36: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/clisp-2.49.20180218+really2.49.92/src/gllib/nl_langinfo.c:60: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/clisp-2.49.20180218+really2.49.92/src/gllib/nl_langinfo.c:77: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/clisp-2.49.20180218+really2.49.92/src/gllib/nl_langinfo.c:78: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/clisp-2.49.20180218+really2.49.92/src/gllib/nl_langinfo.c:170: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/clisp-2.49.20180218+really2.49.92/src/gllib/nl_langinfo.c:230: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/clisp-2.49.20180218+really2.49.92/src/gllib/nl_langinfo.c:246: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/clisp-2.49.20180218+really2.49.92/src/gllib/nl_langinfo.c:268: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/clisp-2.49.20180218+really2.49.92/src/gllib/nl_langinfo.c:289: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/clisp-2.49.20180218+really2.49.92/src/gllib/nl_langinfo.c:311: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/clisp-2.49.20180218+really2.49.92/src/gllib/nstrftime.c:96:26: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. # define MEMCPY(d, s, n) memcpy (d, s, n) data/clisp-2.49.20180218+really2.49.92/src/gllib/nstrftime.c:882:13: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char ufmt[5]; data/clisp-2.49.20180218+really2.49.92/src/gllib/nstrftime.c:884:13: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char ubuf[1024]; /* enough for any single format in practice */ data/clisp-2.49.20180218+really2.49.92/src/gllib/regcomp.c:318:17: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. unsigned char buf[MB_LEN_MAX]; data/clisp-2.49.20180218+really2.49.92/src/gllib/regcomp.c:401:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char buf[256]; data/clisp-2.49.20180218+really2.49.92/src/gllib/regcomp.c:554:7: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy (errbuf, msg, cpy_size); data/clisp-2.49.20180218+really2.49.92/src/gllib/regcomp.c:3182:16: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. unsigned char start_name_buf[BRACKET_NAME_BUF_SIZE]; data/clisp-2.49.20180218+really2.49.92/src/gllib/regcomp.c:3183:16: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. unsigned char end_name_buf[BRACKET_NAME_BUF_SIZE]; data/clisp-2.49.20180218+really2.49.92/src/gllib/regcomp.c:3505:16: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. unsigned char char_buf[2]; data/clisp-2.49.20180218+really2.49.92/src/gllib/regex.h:645:13: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. const char *_Restrict_ __String, size_t __nmatch, data/clisp-2.49.20180218+really2.49.92/src/gllib/regex_internal.c:203:12: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. unsigned char buf[MB_LEN_MAX]; data/clisp-2.49.20180218+really2.49.92/src/gllib/regex_internal.c:206:12: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. unsigned char buf[64]; data/clisp-2.49.20180218+really2.49.92/src/gllib/regex_internal.c:275:3: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char buf[MB_LEN_MAX]; data/clisp-2.49.20180218+really2.49.92/src/gllib/regex_internal.c:278:3: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-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/clisp-2.49.20180218+really2.49.92/src/gllib/regex_internal.c:319:7: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy (pstr->mbs + byte_idx, buf, mbclen); data/clisp-2.49.20180218+really2.49.92/src/gllib/regex_internal.c:327:3: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy (pstr->mbs + byte_idx, data/clisp-2.49.20180218+really2.49.92/src/gllib/regex_internal.c:388:5: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy (pstr->mbs + byte_idx, buf, mbclen); data/clisp-2.49.20180218+really2.49.92/src/gllib/regex_internal.c:413:7: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy (pstr->mbs + byte_idx, buf, mbcdlen); data/clisp-2.49.20180218+really2.49.92/src/gllib/regex_internal.c:432:5: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy (pstr->mbs + byte_idx, p, mbclen); data/clisp-2.49.20180218+really2.49.92/src/gllib/regex_internal.c:435:8: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy (pstr->mbs + byte_idx, p, mbclen); data/clisp-2.49.20180218+really2.49.92/src/gllib/regex_internal.c:728:15: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. unsigned char buf[6]; data/clisp-2.49.20180218+really2.49.92/src/gllib/regex_internal.c:1029:7: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy (dest->elems, src->elems, src->nelem * sizeof (Idx)); data/clisp-2.49.20180218+really2.49.92/src/gllib/regex_internal.c:1123:3: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy (dest->elems, dest->elems + sbase, delta * sizeof (Idx)); data/clisp-2.49.20180218+really2.49.92/src/gllib/regex_internal.c:1167:7: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy (dest->elems + id, src1->elems + i1, data/clisp-2.49.20180218+really2.49.92/src/gllib/regex_internal.c:1173:7: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy (dest->elems + id, src2->elems + i2, data/clisp-2.49.20180218+really2.49.92/src/gllib/regex_internal.c:1204:7: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy (dest->elems, src->elems, src->nelem * sizeof (Idx)); data/clisp-2.49.20180218+really2.49.92/src/gllib/regex_internal.c:1225:7: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy (dest->elems + sbase, src->elems, (is + 1) * sizeof (Idx)); data/clisp-2.49.20180218+really2.49.92/src/gllib/regex_internal.c:1253:8: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy (dest->elems, dest->elems + sbase, data/clisp-2.49.20180218+really2.49.92/src/gllib/regex_internal.h:796:3: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy (dest, src, sizeof (bitset_t)); data/clisp-2.49.20180218+really2.49.92/src/gllib/regexec.c:345:2: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy (__mempcpy (s, string1, length1), string2, length2); data/clisp-2.49.20180218+really2.49.92/src/gllib/regexec.c:347:2: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy (s, string1, length1); data/clisp-2.49.20180218+really2.49.92/src/gllib/regexec.c:348:2: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy (s + length1, string2, length2); data/clisp-2.49.20180218+really2.49.92/src/gllib/regexec.c:1349:3: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy (fs->stack[num].regs, regs, sizeof (regmatch_t) * nregs); data/clisp-2.49.20180218+really2.49.92/src/gllib/regexec.c:1361:3: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy (regs, fs->stack[num].regs, sizeof (regmatch_t) * nregs); data/clisp-2.49.20180218+really2.49.92/src/gllib/regexec.c:1415:3: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy (prev_idx_match, pmatch, sizeof (regmatch_t) * nmatch); data/clisp-2.49.20180218+really2.49.92/src/gllib/regexec.c:1523:8: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy (prev_idx_match, pmatch, sizeof (regmatch_t) * nmatch); data/clisp-2.49.20180218+really2.49.92/src/gllib/regexec.c:1534:3: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy (pmatch, prev_idx_match, sizeof (regmatch_t) * nmatch); data/clisp-2.49.20180218+really2.49.92/src/gllib/select.c:51: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/clisp-2.49.20180218+really2.49.92/src/gllib/select.c:52: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/clisp-2.49.20180218+really2.49.92/src/gllib/select.c:257: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/clisp-2.49.20180218+really2.49.92/src/gllib/select.c:414: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/clisp-2.49.20180218+really2.49.92/src/gllib/select.c:415: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/clisp-2.49.20180218+really2.49.92/src/gllib/select.c:416: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/clisp-2.49.20180218+really2.49.92/src/gllib/select.c:490: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/clisp-2.49.20180218+really2.49.92/src/gllib/select.c:491: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/clisp-2.49.20180218+really2.49.92/src/gllib/select.c:492: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/clisp-2.49.20180218+really2.49.92/src/gllib/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/clisp-2.49.20180218+really2.49.92/src/gllib/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/clisp-2.49.20180218+really2.49.92/src/gllib/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/clisp-2.49.20180218+really2.49.92/src/gllib/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/clisp-2.49.20180218+really2.49.92/src/gllib/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/clisp-2.49.20180218+really2.49.92/src/gllib/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/clisp-2.49.20180218+really2.49.92/src/gllib/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/clisp-2.49.20180218+really2.49.92/src/gllib/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/clisp-2.49.20180218+really2.49.92/src/gllib/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/clisp-2.49.20180218+really2.49.92/src/gllib/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/clisp-2.49.20180218+really2.49.92/src/gllib/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/clisp-2.49.20180218+really2.49.92/src/gllib/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/clisp-2.49.20180218+really2.49.92/src/gllib/sha1.c:55:23: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. static const unsigned char fillbuf[64] = { 0x80, 0 /* , 0, 0, ... */ }; data/clisp-2.49.20180218+really2.49.92/src/gllib/sha1.c:80: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 (cp, &v, sizeof v); data/clisp-2.49.20180218+really2.49.92/src/gllib/sha1.c:116: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 (&((char *) ctx->buffer)[bytes], fillbuf, (size - 2) * 4 - bytes); data/clisp-2.49.20180218+really2.49.92/src/gllib/sha1.c:228:7: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy (&((char *) ctx->buffer)[left_over], buffer, add); data/clisp-2.49.20180218+really2.49.92/src/gllib/sha1.c:238: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 (ctx->buffer, data/clisp-2.49.20180218+really2.49.92/src/gllib/sha1.c:255:33: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. sha1_process_block (memcpy (ctx->buffer, buffer, 64), 64, ctx); data/clisp-2.49.20180218+really2.49.92/src/gllib/sha1.c:273:7: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy (&((char *) ctx->buffer)[left_over], buffer, len); data/clisp-2.49.20180218+really2.49.92/src/gllib/sha1.c:281: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 (ctx->buffer, &ctx->buffer[16], left_over); data/clisp-2.49.20180218+really2.49.92/src/gllib/stat-w32.c:192: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/clisp-2.49.20180218+really2.49.92/src/gllib/stat-w32.c:245: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/clisp-2.49.20180218+really2.49.92/src/gllib/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/clisp-2.49.20180218+really2.49.92/src/gllib/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/clisp-2.49.20180218+really2.49.92/src/gllib/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/clisp-2.49.20180218+really2.49.92/src/gllib/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/clisp-2.49.20180218+really2.49.92/src/gllib/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/clisp-2.49.20180218+really2.49.92/src/gllib/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/clisp-2.49.20180218+really2.49.92/src/gllib/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/clisp-2.49.20180218+really2.49.92/src/gllib/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/clisp-2.49.20180218+really2.49.92/src/gllib/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/clisp-2.49.20180218+really2.49.92/src/gllib/strdup.c:47:19: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. return (char *) memcpy (new, s, len); data/clisp-2.49.20180218+really2.49.92/src/gllib/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/clisp-2.49.20180218+really2.49.92/src/gllib/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/clisp-2.49.20180218+really2.49.92/src/gllib/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/clisp-2.49.20180218+really2.49.92/src/gllib/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/clisp-2.49.20180218+really2.49.92/src/gllib/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/clisp-2.49.20180218+really2.49.92/src/gllib/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/clisp-2.49.20180218+really2.49.92/src/gllib/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/clisp-2.49.20180218+really2.49.92/src/gllib/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/clisp-2.49.20180218+really2.49.92/src/gllib/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/clisp-2.49.20180218+really2.49.92/src/gllib/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/clisp-2.49.20180218+really2.49.92/src/gllib/sys_utsname.in.h:72: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 nodename[_UTSNAME_NODENAME_LENGTH]; data/clisp-2.49.20180218+really2.49.92/src/gllib/sys_utsname.in.h:75: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 sysname[_UTSNAME_SYSNAME_LENGTH]; data/clisp-2.49.20180218+really2.49.92/src/gllib/sys_utsname.in.h:77: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 release[_UTSNAME_RELEASE_LENGTH]; data/clisp-2.49.20180218+really2.49.92/src/gllib/sys_utsname.in.h:79: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 version[_UTSNAME_VERSION_LENGTH]; data/clisp-2.49.20180218+really2.49.92/src/gllib/sys_utsname.in.h:82:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char machine[_UTSNAME_MACHINE_LENGTH]; data/clisp-2.49.20180218+really2.49.92/src/gllib/tempname.c:70:17: [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 open data/clisp-2.49.20180218+really2.49.92/src/gllib/tempname.c:170: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 (tmpl, "%.*s/%.*sXXXXXX", (int) dlen, dir, (int) plen, pfx); data/clisp-2.49.20180218+really2.49.92/src/gllib/time-internal.h:30:3: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char *tzname_copy[2]; data/clisp-2.49.20180218+really2.49.92/src/gllib/time-internal.h:48:3: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char abbrs[FLEXIBLE_ARRAY_MEMBER]; data/clisp-2.49.20180218+really2.49.92/src/gllib/time_rz.c:88: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 (abbrs, abbr, abbr_size); data/clisp-2.49.20180218+really2.49.92/src/gllib/uname.c:64: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 (&version, &versionex, sizeof (OSVERSIONINFO)); data/clisp-2.49.20180218+really2.49.92/src/gllib/uname.c:75:5: [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->nodename, "localhost"); data/clisp-2.49.20180218+really2.49.92/src/gllib/uname.c:183: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->release, "Windows CE %u.%u", data/clisp-2.49.20180218+really2.49.92/src/gllib/uname.c:208:13: [2] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). Risk is low because the source is a constant string. strcpy (buf->machine, "x86_64"); data/clisp-2.49.20180218+really2.49.92/src/gllib/uname.c:211:13: [2] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). Risk is low because the source is a constant string. strcpy (buf->machine, "ia64"); data/clisp-2.49.20180218+really2.49.92/src/gllib/uname.c:214:13: [2] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). Risk is low because the source is a constant string. strcpy (buf->machine, "i386"); data/clisp-2.49.20180218+really2.49.92/src/gllib/uname.c:220:13: [2] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). Risk is low because the source is a constant string. strcpy (buf->machine, "i686"); data/clisp-2.49.20180218+really2.49.92/src/gllib/uname.c:223:13: [2] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). Risk is low because the source is a constant string. strcpy (buf->machine, "mips"); data/clisp-2.49.20180218+really2.49.92/src/gllib/uname.c:227:13: [2] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). Risk is low because the source is a constant string. strcpy (buf->machine, "alpha"); data/clisp-2.49.20180218+really2.49.92/src/gllib/uname.c:230:13: [2] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). Risk is low because the source is a constant string. strcpy (buf->machine, "powerpc"); data/clisp-2.49.20180218+really2.49.92/src/gllib/uname.c:233:13: [2] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). Risk is low because the source is a constant string. strcpy (buf->machine, "sh"); data/clisp-2.49.20180218+really2.49.92/src/gllib/uname.c:236:13: [2] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). Risk is low because the source is a constant string. strcpy (buf->machine, "arm"); data/clisp-2.49.20180218+really2.49.92/src/gllib/uname.c:239:13: [2] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). Risk is low because the source is a constant string. strcpy (buf->machine, "unknown"); data/clisp-2.49.20180218+really2.49.92/src/gllib/uname.c:249:13: [2] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). Risk is low because the source is a constant string. strcpy (buf->machine, "x86_64"); data/clisp-2.49.20180218+really2.49.92/src/gllib/uname.c:252:13: [2] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). Risk is low because the source is a constant string. strcpy (buf->machine, "ia64"); data/clisp-2.49.20180218+really2.49.92/src/gllib/uname.c:256:15: [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->machine, "i%u", data/clisp-2.49.20180218+really2.49.92/src/gllib/uname.c:259:15: [2] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). Risk is low because the source is a constant string. strcpy (buf->machine, "unknown"); data/clisp-2.49.20180218+really2.49.92/src/gllib/uniname/uniname.c:209:14: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. static const char jamo_initial_short_name[19][3] = data/clisp-2.49.20180218+really2.49.92/src/gllib/uniname/uniname.c:214:14: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. static const char jamo_medial_short_name[21][4] = data/clisp-2.49.20180218+really2.49.92/src/gllib/uniname/uniname.c:219:14: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. static const char jamo_final_short_name[28][3] = data/clisp-2.49.20180218+really2.49.92/src/gllib/uniname/uniname.c:241: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, "HANGUL SYLLABLE ", 16); data/clisp-2.49.20180218+really2.49.92/src/gllib/uniname/uniname.c:270: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, "CJK COMPATIBILITY IDEOGRAPH-", 28); data/clisp-2.49.20180218+really2.49.92/src/gllib/uniname/uniname.c:287: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, "VARIATION SELECTOR-%d", data/clisp-2.49.20180218+really2.49.92/src/gllib/uniname/uniname.c:364: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[UNICODE_CHARNAME_MAX_LENGTH]; data/clisp-2.49.20180218+really2.49.92/src/gllib/uniname/uninames.h:9:14: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. static const char unicode_name_words[71408] = { data/clisp-2.49.20180218+really2.49.92/src/gllib/uniwidth/width.c:35:23: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. static const unsigned char nonspacing_table_data[38*64] = { data/clisp-2.49.20180218+really2.49.92/src/gllib/uniwidth/width.c:379:21: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. static const signed char nonspacing_table_ind[248] = { data/clisp-2.49.20180218+really2.49.92/src/gllib/vma-iter.c:160: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 stack_allocated_buffer[STACK_ALLOCATED_BUFFER_SIZE]; data/clisp-2.49.20180218+really2.49.92/src/gllib/vma-iter.c:171:8: [2] (misc) open: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). fd = open (filename, O_RDONLY); data/clisp-2.49.20180218+really2.49.92/src/gllib/vma-iter.c:264: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 (filename, O_RDONLY); data/clisp-2.49.20180218+really2.49.92/src/gllib/vma-iter.c:504:3: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char fnamebuf[6+10+4+1]; data/clisp-2.49.20180218+really2.49.92/src/gllib/vma-iter.c:510: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 (fname, "/map", 4 + 1); data/clisp-2.49.20180218+really2.49.92/src/gllib/vma-iter.c:518: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 (fname, "/proc/", 6); data/clisp-2.49.20180218+really2.49.92/src/gllib/vma-iter.c:889:3: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char fnamebuf[6+10+1]; data/clisp-2.49.20180218+really2.49.92/src/gllib/vma-iter.c:919: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 (fname, "/proc/", 6); data/clisp-2.49.20180218+really2.49.92/src/gllib/vma-iter.c:921:8: [2] (misc) open: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). fd = open (fname, O_RDONLY); data/clisp-2.49.20180218+really2.49.92/src/gllib/vma-iter.c:936:13: [2] (misc) open: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). zero_fd = open ("/dev/zero", O_RDONLY, 0644); data/clisp-2.49.20180218+really2.49.92/src/gllib/vma-iter.c:1014:3: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char fnamebuf[6+10+1]; data/clisp-2.49.20180218+really2.49.92/src/gllib/vma-iter.c:1044: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 (fname, "/proc/", 6); data/clisp-2.49.20180218+really2.49.92/src/gllib/vma-iter.c:1046:8: [2] (misc) open: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). fd = open (fname, O_RDONLY); data/clisp-2.49.20180218+really2.49.92/src/gllib/vma-iter.c:1061:13: [2] (misc) open: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). zero_fd = open ("/dev/zero", O_RDONLY, 0644); data/clisp-2.49.20180218+really2.49.92/src/gllib/vma-iter.c:1132:3: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char fnamebuf[6+10+4+1]; data/clisp-2.49.20180218+really2.49.92/src/gllib/vma-iter.c:1155: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 (fname, "/map", 4 + 1); data/clisp-2.49.20180218+really2.49.92/src/gllib/vma-iter.c:1163: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 (fname, "/proc/", 6); data/clisp-2.49.20180218+really2.49.92/src/gllib/vma-iter.c:1165:8: [2] (misc) open: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). fd = open (fname, O_RDONLY); data/clisp-2.49.20180218+really2.49.92/src/gllib/vma-iter.c:1184:13: [2] (misc) open: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). zero_fd = open ("/dev/zero", O_RDONLY, 0644); data/clisp-2.49.20180218+really2.49.92/src/gmalloc.c:63: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. #ifndef memcpy data/clisp-2.49.20180218+really2.49.92/src/gmalloc.c:64: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. #define memcpy(d, s, n) bcopy ((s), (d), (n)) data/clisp-2.49.20180218+really2.49.92/src/gmalloc.c:64:26: [2] (buffer) bcopy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. #define memcpy(d, s, n) bcopy ((s), (d), (n)) data/clisp-2.49.20180218+really2.49.92/src/gmalloc.c:762: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 (newinfo, _heapinfo, heapsize * sizeof (malloc_info)); data/clisp-2.49.20180218+really2.49.92/src/gmalloc.c:1440:5: [2] (buffer) bcopy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. bcopy (from, to, size); data/clisp-2.49.20180218+really2.49.92/src/gmalloc.c:1470:8: [2] (buffer) bcopy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. bcopy (endf, endt, to - from); data/clisp-2.49.20180218+really2.49.92/src/gmalloc.c:1476:4: [2] (buffer) bcopy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. bcopy (from, to, endt - from); data/clisp-2.49.20180218+really2.49.92/src/gmalloc.c:1532:8: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy (result, ptr, size); data/clisp-2.49.20180218+really2.49.92/src/gmalloc.c:1608:4: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy (result, ptr, min (size, (__malloc_size_t) 1 << type)); data/clisp-2.49.20180218+really2.49.92/src/nls_ascii.c:64:23: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. static const unsigned char page00[256] = { data/clisp-2.49.20180218+really2.49.92/src/nls_ascii.c:99:23: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. static const unsigned char * const uni2charset[256] = { data/clisp-2.49.20180218+really2.49.92/src/nls_cp1250.c:68:23: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. static const unsigned char page00[256] = { data/clisp-2.49.20180218+really2.49.92/src/nls_cp1250.c:103:23: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. static const unsigned char page01[256] = { data/clisp-2.49.20180218+really2.49.92/src/nls_cp1250.c:138:23: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. static const unsigned char page02[256] = { data/clisp-2.49.20180218+really2.49.92/src/nls_cp1250.c:173:23: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. static const unsigned char page20[256] = { data/clisp-2.49.20180218+really2.49.92/src/nls_cp1250.c:208:23: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. static const unsigned char page21[256] = { data/clisp-2.49.20180218+really2.49.92/src/nls_cp1250.c:243:23: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. static const unsigned char * const uni2charset[256] = { data/clisp-2.49.20180218+really2.49.92/src/nls_cp1251.c:67:23: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. static const unsigned char page00[256] = { data/clisp-2.49.20180218+really2.49.92/src/nls_cp1251.c:102:23: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. static const unsigned char page04[256] = { data/clisp-2.49.20180218+really2.49.92/src/nls_cp1251.c:137:23: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. static const unsigned char page20[256] = { data/clisp-2.49.20180218+really2.49.92/src/nls_cp1251.c:172:23: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. static const unsigned char page21[256] = { data/clisp-2.49.20180218+really2.49.92/src/nls_cp1251.c:207:23: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. static const unsigned char * const uni2charset[256] = { data/clisp-2.49.20180218+really2.49.92/src/nls_cp1252.c:68:23: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. static const unsigned char page00[256] = { data/clisp-2.49.20180218+really2.49.92/src/nls_cp1252.c:103:23: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. static const unsigned char page01[256] = { data/clisp-2.49.20180218+really2.49.92/src/nls_cp1252.c:138:23: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. static const unsigned char page02[256] = { data/clisp-2.49.20180218+really2.49.92/src/nls_cp1252.c:173:23: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. static const unsigned char page20[256] = { data/clisp-2.49.20180218+really2.49.92/src/nls_cp1252.c:208:23: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. static const unsigned char page21[256] = { data/clisp-2.49.20180218+really2.49.92/src/nls_cp1252.c:243:23: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. static const unsigned char * const uni2charset[256] = { data/clisp-2.49.20180218+really2.49.92/src/nls_cp1253.c:68:23: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. static const unsigned char page00[256] = { data/clisp-2.49.20180218+really2.49.92/src/nls_cp1253.c:103:23: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. static const unsigned char page01[256] = { data/clisp-2.49.20180218+really2.49.92/src/nls_cp1253.c:138:23: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. static const unsigned char page03[256] = { data/clisp-2.49.20180218+really2.49.92/src/nls_cp1253.c:173:23: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. static const unsigned char page20[256] = { data/clisp-2.49.20180218+really2.49.92/src/nls_cp1253.c:208:23: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. static const unsigned char page21[256] = { data/clisp-2.49.20180218+really2.49.92/src/nls_cp1253.c:243:23: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. static const unsigned char * const uni2charset[256] = { data/clisp-2.49.20180218+really2.49.92/src/nls_cp1254.c:68:23: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. static const unsigned char page00[256] = { data/clisp-2.49.20180218+really2.49.92/src/nls_cp1254.c:103:23: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. static const unsigned char page01[256] = { data/clisp-2.49.20180218+really2.49.92/src/nls_cp1254.c:138:23: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. static const unsigned char page02[256] = { data/clisp-2.49.20180218+really2.49.92/src/nls_cp1254.c:173:23: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. static const unsigned char page20[256] = { data/clisp-2.49.20180218+really2.49.92/src/nls_cp1254.c:208:23: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. static const unsigned char page21[256] = { data/clisp-2.49.20180218+really2.49.92/src/nls_cp1254.c:243:23: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. static const unsigned char * const uni2charset[256] = { data/clisp-2.49.20180218+really2.49.92/src/nls_cp1256.c:69:23: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. static const unsigned char page00[256] = { data/clisp-2.49.20180218+really2.49.92/src/nls_cp1256.c:104:23: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. static const unsigned char page01[256] = { data/clisp-2.49.20180218+really2.49.92/src/nls_cp1256.c:139:23: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. static const unsigned char page02[256] = { data/clisp-2.49.20180218+really2.49.92/src/nls_cp1256.c:174:23: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. static const unsigned char page06[256] = { data/clisp-2.49.20180218+really2.49.92/src/nls_cp1256.c:209:23: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. static const unsigned char page20[256] = { data/clisp-2.49.20180218+really2.49.92/src/nls_cp1256.c:244:23: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. static const unsigned char page21[256] = { data/clisp-2.49.20180218+really2.49.92/src/nls_cp1256.c:279:23: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. static const unsigned char * const uni2charset[256] = { data/clisp-2.49.20180218+really2.49.92/src/nls_cp1257.c:68:23: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. static const unsigned char page00[256] = { data/clisp-2.49.20180218+really2.49.92/src/nls_cp1257.c:103:23: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. static const unsigned char page01[256] = { data/clisp-2.49.20180218+really2.49.92/src/nls_cp1257.c:138:23: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. static const unsigned char page02[256] = { data/clisp-2.49.20180218+really2.49.92/src/nls_cp1257.c:173:23: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. static const unsigned char page20[256] = { data/clisp-2.49.20180218+really2.49.92/src/nls_cp1257.c:208:23: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. static const unsigned char page21[256] = { data/clisp-2.49.20180218+really2.49.92/src/nls_cp1257.c:243:23: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. static const unsigned char * const uni2charset[256] = { data/clisp-2.49.20180218+really2.49.92/src/nls_cp437_ibm.c:70:23: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. static const unsigned char page00[256] = { data/clisp-2.49.20180218+really2.49.92/src/nls_cp437_ibm.c:105:23: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. static const unsigned char page01[256] = { data/clisp-2.49.20180218+really2.49.92/src/nls_cp437_ibm.c:140:23: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. static const unsigned char page03[256] = { data/clisp-2.49.20180218+really2.49.92/src/nls_cp437_ibm.c:175:23: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. static const unsigned char page20[256] = { data/clisp-2.49.20180218+really2.49.92/src/nls_cp437_ibm.c:210:23: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. static const unsigned char page22[256] = { data/clisp-2.49.20180218+really2.49.92/src/nls_cp437_ibm.c:245:23: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. static const unsigned char page23[256] = { data/clisp-2.49.20180218+really2.49.92/src/nls_cp437_ibm.c:280:23: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. static const unsigned char page25[256] = { data/clisp-2.49.20180218+really2.49.92/src/nls_cp437_ibm.c:315:23: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. static const unsigned char * const uni2charset[256] = { data/clisp-2.49.20180218+really2.49.92/src/nls_cp437_ms.c:70:23: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. static const unsigned char page00[256] = { data/clisp-2.49.20180218+really2.49.92/src/nls_cp437_ms.c:105:23: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. static const unsigned char page01[256] = { data/clisp-2.49.20180218+really2.49.92/src/nls_cp437_ms.c:140:23: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. static const unsigned char page03[256] = { data/clisp-2.49.20180218+really2.49.92/src/nls_cp437_ms.c:175:23: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. static const unsigned char page20[256] = { data/clisp-2.49.20180218+really2.49.92/src/nls_cp437_ms.c:210:23: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. static const unsigned char page22[256] = { data/clisp-2.49.20180218+really2.49.92/src/nls_cp437_ms.c:245:23: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. static const unsigned char page23[256] = { data/clisp-2.49.20180218+really2.49.92/src/nls_cp437_ms.c:280:23: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. static const unsigned char page25[256] = { data/clisp-2.49.20180218+really2.49.92/src/nls_cp437_ms.c:315:23: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. static const unsigned char * const uni2charset[256] = { data/clisp-2.49.20180218+really2.49.92/src/nls_cp737.c:68:23: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. static const unsigned char page00[256] = { data/clisp-2.49.20180218+really2.49.92/src/nls_cp737.c:103:23: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. static const unsigned char page03[256] = { data/clisp-2.49.20180218+really2.49.92/src/nls_cp737.c:138:23: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. static const unsigned char page20[256] = { data/clisp-2.49.20180218+really2.49.92/src/nls_cp737.c:173:23: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. static const unsigned char page22[256] = { data/clisp-2.49.20180218+really2.49.92/src/nls_cp737.c:208:23: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. static const unsigned char page25[256] = { data/clisp-2.49.20180218+really2.49.92/src/nls_cp737.c:243:23: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. static const unsigned char * const uni2charset[256] = { data/clisp-2.49.20180218+really2.49.92/src/nls_cp775.c:68:23: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. static const unsigned char page00[256] = { data/clisp-2.49.20180218+really2.49.92/src/nls_cp775.c:103:23: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. static const unsigned char page01[256] = { data/clisp-2.49.20180218+really2.49.92/src/nls_cp775.c:138:23: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. static const unsigned char page20[256] = { data/clisp-2.49.20180218+really2.49.92/src/nls_cp775.c:173:23: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. static const unsigned char page22[256] = { data/clisp-2.49.20180218+really2.49.92/src/nls_cp775.c:208:23: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. static const unsigned char page25[256] = { data/clisp-2.49.20180218+really2.49.92/src/nls_cp775.c:243:23: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. static const unsigned char * const uni2charset[256] = { data/clisp-2.49.20180218+really2.49.92/src/nls_cp850.c:67:23: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. static const unsigned char page00[256] = { data/clisp-2.49.20180218+really2.49.92/src/nls_cp850.c:102:23: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. static const unsigned char page01[256] = { data/clisp-2.49.20180218+really2.49.92/src/nls_cp850.c:137:23: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. static const unsigned char page20[256] = { data/clisp-2.49.20180218+really2.49.92/src/nls_cp850.c:172:23: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. static const unsigned char page25[256] = { data/clisp-2.49.20180218+really2.49.92/src/nls_cp850.c:207:23: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. static const unsigned char * const uni2charset[256] = { data/clisp-2.49.20180218+really2.49.92/src/nls_cp852_ibm.c:67:23: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. static const unsigned char page00[256] = { data/clisp-2.49.20180218+really2.49.92/src/nls_cp852_ibm.c:102:23: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. static const unsigned char page01[256] = { data/clisp-2.49.20180218+really2.49.92/src/nls_cp852_ibm.c:137:23: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. static const unsigned char page02[256] = { data/clisp-2.49.20180218+really2.49.92/src/nls_cp852_ibm.c:172:23: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. static const unsigned char page25[256] = { data/clisp-2.49.20180218+really2.49.92/src/nls_cp852_ibm.c:207:23: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. static const unsigned char * const uni2charset[256] = { data/clisp-2.49.20180218+really2.49.92/src/nls_cp852_ms.c:67:23: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. static const unsigned char page00[256] = { data/clisp-2.49.20180218+really2.49.92/src/nls_cp852_ms.c:102:23: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. static const unsigned char page01[256] = { data/clisp-2.49.20180218+really2.49.92/src/nls_cp852_ms.c:137:23: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. static const unsigned char page02[256] = { data/clisp-2.49.20180218+really2.49.92/src/nls_cp852_ms.c:172:23: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. static const unsigned char page25[256] = { data/clisp-2.49.20180218+really2.49.92/src/nls_cp852_ms.c:207:23: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. static const unsigned char * const uni2charset[256] = { data/clisp-2.49.20180218+really2.49.92/src/nls_cp855.c:67:23: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. static const unsigned char page00[256] = { data/clisp-2.49.20180218+really2.49.92/src/nls_cp855.c:102:23: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. static const unsigned char page04[256] = { data/clisp-2.49.20180218+really2.49.92/src/nls_cp855.c:137:23: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. static const unsigned char page21[256] = { data/clisp-2.49.20180218+really2.49.92/src/nls_cp855.c:172:23: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. static const unsigned char page25[256] = { data/clisp-2.49.20180218+really2.49.92/src/nls_cp855.c:207:23: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. static const unsigned char * const uni2charset[256] = { data/clisp-2.49.20180218+really2.49.92/src/nls_cp857.c:66:23: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. static const unsigned char page00[256] = { data/clisp-2.49.20180218+really2.49.92/src/nls_cp857.c:101:23: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. static const unsigned char page01[256] = { data/clisp-2.49.20180218+really2.49.92/src/nls_cp857.c:136:23: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. static const unsigned char page25[256] = { data/clisp-2.49.20180218+really2.49.92/src/nls_cp857.c:171:23: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. static const unsigned char * const uni2charset[256] = { data/clisp-2.49.20180218+really2.49.92/src/nls_cp860_ibm.c:69:23: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. static const unsigned char page00[256] = { data/clisp-2.49.20180218+really2.49.92/src/nls_cp860_ibm.c:104:23: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. static const unsigned char page03[256] = { data/clisp-2.49.20180218+really2.49.92/src/nls_cp860_ibm.c:139:23: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. static const unsigned char page20[256] = { data/clisp-2.49.20180218+really2.49.92/src/nls_cp860_ibm.c:174:23: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. static const unsigned char page22[256] = { data/clisp-2.49.20180218+really2.49.92/src/nls_cp860_ibm.c:209:23: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. static const unsigned char page23[256] = { data/clisp-2.49.20180218+really2.49.92/src/nls_cp860_ibm.c:244:23: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. static const unsigned char page25[256] = { data/clisp-2.49.20180218+really2.49.92/src/nls_cp860_ibm.c:279:23: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. static const unsigned char * const uni2charset[256] = { data/clisp-2.49.20180218+really2.49.92/src/nls_cp860_ms.c:69:23: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. static const unsigned char page00[256] = { data/clisp-2.49.20180218+really2.49.92/src/nls_cp860_ms.c:104:23: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. static const unsigned char page03[256] = { data/clisp-2.49.20180218+really2.49.92/src/nls_cp860_ms.c:139:23: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. static const unsigned char page20[256] = { data/clisp-2.49.20180218+really2.49.92/src/nls_cp860_ms.c:174:23: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. static const unsigned char page22[256] = { data/clisp-2.49.20180218+really2.49.92/src/nls_cp860_ms.c:209:23: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. static const unsigned char page23[256] = { data/clisp-2.49.20180218+really2.49.92/src/nls_cp860_ms.c:244:23: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. static const unsigned char page25[256] = { data/clisp-2.49.20180218+really2.49.92/src/nls_cp860_ms.c:279:23: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. static const unsigned char * const uni2charset[256] = { data/clisp-2.49.20180218+really2.49.92/src/nls_cp861_ibm.c:70:23: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. static const unsigned char page00[256] = { data/clisp-2.49.20180218+really2.49.92/src/nls_cp861_ibm.c:105:23: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. static const unsigned char page01[256] = { data/clisp-2.49.20180218+really2.49.92/src/nls_cp861_ibm.c:140:23: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. static const unsigned char page03[256] = { data/clisp-2.49.20180218+really2.49.92/src/nls_cp861_ibm.c:175:23: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. static const unsigned char page20[256] = { data/clisp-2.49.20180218+really2.49.92/src/nls_cp861_ibm.c:210:23: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. static const unsigned char page22[256] = { data/clisp-2.49.20180218+really2.49.92/src/nls_cp861_ibm.c:245:23: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. static const unsigned char page23[256] = { data/clisp-2.49.20180218+really2.49.92/src/nls_cp861_ibm.c:280:23: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. static const unsigned char page25[256] = { data/clisp-2.49.20180218+really2.49.92/src/nls_cp861_ibm.c:315:23: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. static const unsigned char * const uni2charset[256] = { data/clisp-2.49.20180218+really2.49.92/src/nls_cp861_ms.c:70:23: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. static const unsigned char page00[256] = { data/clisp-2.49.20180218+really2.49.92/src/nls_cp861_ms.c:105:23: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. static const unsigned char page01[256] = { data/clisp-2.49.20180218+really2.49.92/src/nls_cp861_ms.c:140:23: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. static const unsigned char page03[256] = { data/clisp-2.49.20180218+really2.49.92/src/nls_cp861_ms.c:175:23: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. static const unsigned char page20[256] = { data/clisp-2.49.20180218+really2.49.92/src/nls_cp861_ms.c:210:23: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. static const unsigned char page22[256] = { data/clisp-2.49.20180218+really2.49.92/src/nls_cp861_ms.c:245:23: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. static const unsigned char page23[256] = { data/clisp-2.49.20180218+really2.49.92/src/nls_cp861_ms.c:280:23: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. static const unsigned char page25[256] = { data/clisp-2.49.20180218+really2.49.92/src/nls_cp861_ms.c:315:23: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. static const unsigned char * const uni2charset[256] = { data/clisp-2.49.20180218+really2.49.92/src/nls_cp862_ibm.c:71:23: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. static const unsigned char page00[256] = { data/clisp-2.49.20180218+really2.49.92/src/nls_cp862_ibm.c:106:23: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. static const unsigned char page01[256] = { data/clisp-2.49.20180218+really2.49.92/src/nls_cp862_ibm.c:141:23: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. static const unsigned char page03[256] = { data/clisp-2.49.20180218+really2.49.92/src/nls_cp862_ibm.c:176:23: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. static const unsigned char page05[256] = { data/clisp-2.49.20180218+really2.49.92/src/nls_cp862_ibm.c:211:23: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. static const unsigned char page20[256] = { data/clisp-2.49.20180218+really2.49.92/src/nls_cp862_ibm.c:246:23: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. static const unsigned char page22[256] = { data/clisp-2.49.20180218+really2.49.92/src/nls_cp862_ibm.c:281:23: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. static const unsigned char page23[256] = { data/clisp-2.49.20180218+really2.49.92/src/nls_cp862_ibm.c:316:23: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. static const unsigned char page25[256] = { data/clisp-2.49.20180218+really2.49.92/src/nls_cp862_ibm.c:351:23: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. static const unsigned char * const uni2charset[256] = { data/clisp-2.49.20180218+really2.49.92/src/nls_cp862_ms.c:71:23: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. static const unsigned char page00[256] = { data/clisp-2.49.20180218+really2.49.92/src/nls_cp862_ms.c:106:23: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. static const unsigned char page01[256] = { data/clisp-2.49.20180218+really2.49.92/src/nls_cp862_ms.c:141:23: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. static const unsigned char page03[256] = { data/clisp-2.49.20180218+really2.49.92/src/nls_cp862_ms.c:176:23: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. static const unsigned char page05[256] = { data/clisp-2.49.20180218+really2.49.92/src/nls_cp862_ms.c:211:23: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. static const unsigned char page20[256] = { data/clisp-2.49.20180218+really2.49.92/src/nls_cp862_ms.c:246:23: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. static const unsigned char page22[256] = { data/clisp-2.49.20180218+really2.49.92/src/nls_cp862_ms.c:281:23: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. static const unsigned char page23[256] = { data/clisp-2.49.20180218+really2.49.92/src/nls_cp862_ms.c:316:23: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. static const unsigned char page25[256] = { data/clisp-2.49.20180218+really2.49.92/src/nls_cp862_ms.c:351:23: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. static const unsigned char * const uni2charset[256] = { data/clisp-2.49.20180218+really2.49.92/src/nls_cp863_ibm.c:70:23: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. static const unsigned char page00[256] = { data/clisp-2.49.20180218+really2.49.92/src/nls_cp863_ibm.c:105:23: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. static const unsigned char page01[256] = { data/clisp-2.49.20180218+really2.49.92/src/nls_cp863_ibm.c:140:23: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. static const unsigned char page03[256] = { data/clisp-2.49.20180218+really2.49.92/src/nls_cp863_ibm.c:175:23: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. static const unsigned char page20[256] = { data/clisp-2.49.20180218+really2.49.92/src/nls_cp863_ibm.c:210:23: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. static const unsigned char page22[256] = { data/clisp-2.49.20180218+really2.49.92/src/nls_cp863_ibm.c:245:23: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. static const unsigned char page23[256] = { data/clisp-2.49.20180218+really2.49.92/src/nls_cp863_ibm.c:280:23: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. static const unsigned char page25[256] = { data/clisp-2.49.20180218+really2.49.92/src/nls_cp863_ibm.c:315:23: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. static const unsigned char * const uni2charset[256] = { data/clisp-2.49.20180218+really2.49.92/src/nls_cp863_ms.c:70:23: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. static const unsigned char page00[256] = { data/clisp-2.49.20180218+really2.49.92/src/nls_cp863_ms.c:105:23: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. static const unsigned char page01[256] = { data/clisp-2.49.20180218+really2.49.92/src/nls_cp863_ms.c:140:23: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. static const unsigned char page03[256] = { data/clisp-2.49.20180218+really2.49.92/src/nls_cp863_ms.c:175:23: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. static const unsigned char page20[256] = { data/clisp-2.49.20180218+really2.49.92/src/nls_cp863_ms.c:210:23: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. static const unsigned char page22[256] = { data/clisp-2.49.20180218+really2.49.92/src/nls_cp863_ms.c:245:23: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. static const unsigned char page23[256] = { data/clisp-2.49.20180218+really2.49.92/src/nls_cp863_ms.c:280:23: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. static const unsigned char page25[256] = { data/clisp-2.49.20180218+really2.49.92/src/nls_cp863_ms.c:315:23: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. static const unsigned char * const uni2charset[256] = { data/clisp-2.49.20180218+really2.49.92/src/nls_cp864_ibm.c:70:23: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. static const unsigned char page00[256] = { data/clisp-2.49.20180218+really2.49.92/src/nls_cp864_ibm.c:105:23: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. static const unsigned char page03[256] = { data/clisp-2.49.20180218+really2.49.92/src/nls_cp864_ibm.c:140:23: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. static const unsigned char page06[256] = { data/clisp-2.49.20180218+really2.49.92/src/nls_cp864_ibm.c:175:23: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. static const unsigned char page20[256] = { data/clisp-2.49.20180218+really2.49.92/src/nls_cp864_ibm.c:210:23: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. static const unsigned char page22[256] = { data/clisp-2.49.20180218+really2.49.92/src/nls_cp864_ibm.c:245:23: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. static const unsigned char page25[256] = { data/clisp-2.49.20180218+really2.49.92/src/nls_cp864_ibm.c:280:23: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. static const unsigned char pagefe[256] = { data/clisp-2.49.20180218+really2.49.92/src/nls_cp864_ibm.c:315:23: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. static const unsigned char * const uni2charset[256] = { data/clisp-2.49.20180218+really2.49.92/src/nls_cp864_ms.c:69:23: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. static const unsigned char page00[256] = { data/clisp-2.49.20180218+really2.49.92/src/nls_cp864_ms.c:104:23: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. static const unsigned char page03[256] = { data/clisp-2.49.20180218+really2.49.92/src/nls_cp864_ms.c:139:23: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. static const unsigned char page06[256] = { data/clisp-2.49.20180218+really2.49.92/src/nls_cp864_ms.c:174:23: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. static const unsigned char page22[256] = { data/clisp-2.49.20180218+really2.49.92/src/nls_cp864_ms.c:209:23: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. static const unsigned char page25[256] = { data/clisp-2.49.20180218+really2.49.92/src/nls_cp864_ms.c:244:23: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. static const unsigned char pagefe[256] = { data/clisp-2.49.20180218+really2.49.92/src/nls_cp864_ms.c:279:23: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. static const unsigned char * const uni2charset[256] = { data/clisp-2.49.20180218+really2.49.92/src/nls_cp865_ibm.c:70:23: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. static const unsigned char page00[256] = { data/clisp-2.49.20180218+really2.49.92/src/nls_cp865_ibm.c:105:23: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. static const unsigned char page01[256] = { data/clisp-2.49.20180218+really2.49.92/src/nls_cp865_ibm.c:140:23: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. static const unsigned char page03[256] = { data/clisp-2.49.20180218+really2.49.92/src/nls_cp865_ibm.c:175:23: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. static const unsigned char page20[256] = { data/clisp-2.49.20180218+really2.49.92/src/nls_cp865_ibm.c:210:23: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. static const unsigned char page22[256] = { data/clisp-2.49.20180218+really2.49.92/src/nls_cp865_ibm.c:245:23: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. static const unsigned char page23[256] = { data/clisp-2.49.20180218+really2.49.92/src/nls_cp865_ibm.c:280:23: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. static const unsigned char page25[256] = { data/clisp-2.49.20180218+really2.49.92/src/nls_cp865_ibm.c:315:23: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. static const unsigned char * const uni2charset[256] = { data/clisp-2.49.20180218+really2.49.92/src/nls_cp865_ms.c:70:23: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. static const unsigned char page00[256] = { data/clisp-2.49.20180218+really2.49.92/src/nls_cp865_ms.c:105:23: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. static const unsigned char page01[256] = { data/clisp-2.49.20180218+really2.49.92/src/nls_cp865_ms.c:140:23: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. static const unsigned char page03[256] = { data/clisp-2.49.20180218+really2.49.92/src/nls_cp865_ms.c:175:23: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. static const unsigned char page20[256] = { data/clisp-2.49.20180218+really2.49.92/src/nls_cp865_ms.c:210:23: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. static const unsigned char page22[256] = { data/clisp-2.49.20180218+really2.49.92/src/nls_cp865_ms.c:245:23: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. static const unsigned char page23[256] = { data/clisp-2.49.20180218+really2.49.92/src/nls_cp865_ms.c:280:23: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. static const unsigned char page25[256] = { data/clisp-2.49.20180218+really2.49.92/src/nls_cp865_ms.c:315:23: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. static const unsigned char * const uni2charset[256] = { data/clisp-2.49.20180218+really2.49.92/src/nls_cp866.c:68:23: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. static const unsigned char page00[256] = { data/clisp-2.49.20180218+really2.49.92/src/nls_cp866.c:103:23: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. static const unsigned char page04[256] = { data/clisp-2.49.20180218+really2.49.92/src/nls_cp866.c:138:23: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. static const unsigned char page21[256] = { data/clisp-2.49.20180218+really2.49.92/src/nls_cp866.c:173:23: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. static const unsigned char page22[256] = { data/clisp-2.49.20180218+really2.49.92/src/nls_cp866.c:208:23: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. static const unsigned char page25[256] = { data/clisp-2.49.20180218+really2.49.92/src/nls_cp866.c:243:23: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. static const unsigned char * const uni2charset[256] = { data/clisp-2.49.20180218+really2.49.92/src/nls_cp869_ibm.c:67:23: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. static const unsigned char page00[256] = { data/clisp-2.49.20180218+really2.49.92/src/nls_cp869_ibm.c:102:23: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. static const unsigned char page03[256] = { data/clisp-2.49.20180218+really2.49.92/src/nls_cp869_ibm.c:137:23: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. static const unsigned char page20[256] = { data/clisp-2.49.20180218+really2.49.92/src/nls_cp869_ibm.c:172:23: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. static const unsigned char page25[256] = { data/clisp-2.49.20180218+really2.49.92/src/nls_cp869_ibm.c:207:23: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. static const unsigned char * const uni2charset[256] = { data/clisp-2.49.20180218+really2.49.92/src/nls_cp869_ms.c:67:23: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. static const unsigned char page00[256] = { data/clisp-2.49.20180218+really2.49.92/src/nls_cp869_ms.c:102:23: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. static const unsigned char page03[256] = { data/clisp-2.49.20180218+really2.49.92/src/nls_cp869_ms.c:137:23: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. static const unsigned char page20[256] = { data/clisp-2.49.20180218+really2.49.92/src/nls_cp869_ms.c:172:23: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. static const unsigned char page25[256] = { data/clisp-2.49.20180218+really2.49.92/src/nls_cp869_ms.c:207:23: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. static const unsigned char * const uni2charset[256] = { data/clisp-2.49.20180218+really2.49.92/src/nls_cp874_ibm.c:66:23: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. static const unsigned char page00[256] = { data/clisp-2.49.20180218+really2.49.92/src/nls_cp874_ibm.c:101:23: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. static const unsigned char page0e[256] = { data/clisp-2.49.20180218+really2.49.92/src/nls_cp874_ibm.c:136:23: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. static const unsigned char page20[256] = { data/clisp-2.49.20180218+really2.49.92/src/nls_cp874_ibm.c:171:23: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. static const unsigned char * const uni2charset[256] = { data/clisp-2.49.20180218+really2.49.92/src/nls_cp874_ms.c:66:23: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. static const unsigned char page00[256] = { data/clisp-2.49.20180218+really2.49.92/src/nls_cp874_ms.c:101:23: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. static const unsigned char page0e[256] = { data/clisp-2.49.20180218+really2.49.92/src/nls_cp874_ms.c:136:23: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. static const unsigned char page20[256] = { data/clisp-2.49.20180218+really2.49.92/src/nls_cp874_ms.c:171:23: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. static const unsigned char * const uni2charset[256] = { data/clisp-2.49.20180218+really2.49.92/src/nls_hp_roman8.c:68:23: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. static const unsigned char page00[256] = { data/clisp-2.49.20180218+really2.49.92/src/nls_hp_roman8.c:103:23: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. static const unsigned char page01[256] = { data/clisp-2.49.20180218+really2.49.92/src/nls_hp_roman8.c:138:23: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. static const unsigned char page02[256] = { data/clisp-2.49.20180218+really2.49.92/src/nls_hp_roman8.c:173:23: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. static const unsigned char page20[256] = { data/clisp-2.49.20180218+really2.49.92/src/nls_hp_roman8.c:208:23: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. static const unsigned char page25[256] = { data/clisp-2.49.20180218+really2.49.92/src/nls_hp_roman8.c:243:23: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. static const unsigned char * const uni2charset[256] = { data/clisp-2.49.20180218+really2.49.92/src/nls_iso8859_1.c:64:23: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. static const unsigned char page00[256] = { data/clisp-2.49.20180218+really2.49.92/src/nls_iso8859_1.c:99:23: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. static const unsigned char * const uni2charset[256] = { data/clisp-2.49.20180218+really2.49.92/src/nls_iso8859_10.c:66:23: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. static const unsigned char page00[256] = { data/clisp-2.49.20180218+really2.49.92/src/nls_iso8859_10.c:101:23: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. static const unsigned char page01[256] = { data/clisp-2.49.20180218+really2.49.92/src/nls_iso8859_10.c:136:23: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. static const unsigned char page20[256] = { data/clisp-2.49.20180218+really2.49.92/src/nls_iso8859_10.c:171:23: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. static const unsigned char * const uni2charset[256] = { data/clisp-2.49.20180218+really2.49.92/src/nls_iso8859_13.c:66:23: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. static const unsigned char page00[256] = { data/clisp-2.49.20180218+really2.49.92/src/nls_iso8859_13.c:101:23: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. static const unsigned char page01[256] = { data/clisp-2.49.20180218+really2.49.92/src/nls_iso8859_13.c:136:23: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. static const unsigned char page20[256] = { data/clisp-2.49.20180218+really2.49.92/src/nls_iso8859_13.c:171:23: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. static const unsigned char * const uni2charset[256] = { data/clisp-2.49.20180218+really2.49.92/src/nls_iso8859_14.c:66:23: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. static const unsigned char page00[256] = { data/clisp-2.49.20180218+really2.49.92/src/nls_iso8859_14.c:101:23: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. static const unsigned char page01[256] = { data/clisp-2.49.20180218+really2.49.92/src/nls_iso8859_14.c:136:23: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. static const unsigned char page1e[256] = { data/clisp-2.49.20180218+really2.49.92/src/nls_iso8859_14.c:171:23: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. static const unsigned char * const uni2charset[256] = { data/clisp-2.49.20180218+really2.49.92/src/nls_iso8859_15.c:66:23: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. static const unsigned char page00[256] = { data/clisp-2.49.20180218+really2.49.92/src/nls_iso8859_15.c:101:23: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. static const unsigned char page01[256] = { data/clisp-2.49.20180218+really2.49.92/src/nls_iso8859_15.c:136:23: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. static const unsigned char page20[256] = { data/clisp-2.49.20180218+really2.49.92/src/nls_iso8859_15.c:171:23: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. static const unsigned char * const uni2charset[256] = { data/clisp-2.49.20180218+really2.49.92/src/nls_iso8859_16.c:67:23: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. static const unsigned char page00[256] = { data/clisp-2.49.20180218+really2.49.92/src/nls_iso8859_16.c:102:23: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. static const unsigned char page01[256] = { data/clisp-2.49.20180218+really2.49.92/src/nls_iso8859_16.c:137:23: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. static const unsigned char page02[256] = { data/clisp-2.49.20180218+really2.49.92/src/nls_iso8859_16.c:172:23: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. static const unsigned char page20[256] = { data/clisp-2.49.20180218+really2.49.92/src/nls_iso8859_16.c:207:23: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. static const unsigned char * const uni2charset[256] = { data/clisp-2.49.20180218+really2.49.92/src/nls_iso8859_2.c:66:23: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. static const unsigned char page00[256] = { data/clisp-2.49.20180218+really2.49.92/src/nls_iso8859_2.c:101:23: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. static const unsigned char page01[256] = { data/clisp-2.49.20180218+really2.49.92/src/nls_iso8859_2.c:136:23: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. static const unsigned char page02[256] = { data/clisp-2.49.20180218+really2.49.92/src/nls_iso8859_2.c:171:23: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. static const unsigned char * const uni2charset[256] = { data/clisp-2.49.20180218+really2.49.92/src/nls_iso8859_3.c:66:23: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. static const unsigned char page00[256] = { data/clisp-2.49.20180218+really2.49.92/src/nls_iso8859_3.c:101:23: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. static const unsigned char page01[256] = { data/clisp-2.49.20180218+really2.49.92/src/nls_iso8859_3.c:136:23: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. static const unsigned char page02[256] = { data/clisp-2.49.20180218+really2.49.92/src/nls_iso8859_3.c:171:23: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. static const unsigned char * const uni2charset[256] = { data/clisp-2.49.20180218+really2.49.92/src/nls_iso8859_4.c:66:23: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. static const unsigned char page00[256] = { data/clisp-2.49.20180218+really2.49.92/src/nls_iso8859_4.c:101:23: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. static const unsigned char page01[256] = { data/clisp-2.49.20180218+really2.49.92/src/nls_iso8859_4.c:136:23: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. static const unsigned char page02[256] = { data/clisp-2.49.20180218+really2.49.92/src/nls_iso8859_4.c:171:23: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. static const unsigned char * const uni2charset[256] = { data/clisp-2.49.20180218+really2.49.92/src/nls_iso8859_5.c:66:23: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. static const unsigned char page00[256] = { data/clisp-2.49.20180218+really2.49.92/src/nls_iso8859_5.c:101:23: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. static const unsigned char page04[256] = { data/clisp-2.49.20180218+really2.49.92/src/nls_iso8859_5.c:136:23: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. static const unsigned char page21[256] = { data/clisp-2.49.20180218+really2.49.92/src/nls_iso8859_5.c:171:23: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. static const unsigned char * const uni2charset[256] = { data/clisp-2.49.20180218+really2.49.92/src/nls_iso8859_6.c:65:23: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. static const unsigned char page00[256] = { data/clisp-2.49.20180218+really2.49.92/src/nls_iso8859_6.c:100:23: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. static const unsigned char page06[256] = { data/clisp-2.49.20180218+really2.49.92/src/nls_iso8859_6.c:135:23: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. static const unsigned char * const uni2charset[256] = { data/clisp-2.49.20180218+really2.49.92/src/nls_iso8859_7.c:66:23: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. static const unsigned char page00[256] = { data/clisp-2.49.20180218+really2.49.92/src/nls_iso8859_7.c:101:23: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. static const unsigned char page03[256] = { data/clisp-2.49.20180218+really2.49.92/src/nls_iso8859_7.c:136:23: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. static const unsigned char page20[256] = { data/clisp-2.49.20180218+really2.49.92/src/nls_iso8859_7.c:171:23: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. static const unsigned char * const uni2charset[256] = { data/clisp-2.49.20180218+really2.49.92/src/nls_iso8859_8.c:66:23: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. static const unsigned char page00[256] = { data/clisp-2.49.20180218+really2.49.92/src/nls_iso8859_8.c:101:23: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. static const unsigned char page05[256] = { data/clisp-2.49.20180218+really2.49.92/src/nls_iso8859_8.c:136:23: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. static const unsigned char page20[256] = { data/clisp-2.49.20180218+really2.49.92/src/nls_iso8859_8.c:171:23: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. static const unsigned char * const uni2charset[256] = { data/clisp-2.49.20180218+really2.49.92/src/nls_iso8859_9.c:65:23: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. static const unsigned char page00[256] = { data/clisp-2.49.20180218+really2.49.92/src/nls_iso8859_9.c:100:23: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. static const unsigned char page01[256] = { data/clisp-2.49.20180218+really2.49.92/src/nls_iso8859_9.c:135:23: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. static const unsigned char * const uni2charset[256] = { data/clisp-2.49.20180218+really2.49.92/src/nls_jisx0201.c:66:23: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. static const unsigned char page00[256] = { data/clisp-2.49.20180218+really2.49.92/src/nls_jisx0201.c:101:23: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. static const unsigned char page20[256] = { data/clisp-2.49.20180218+really2.49.92/src/nls_jisx0201.c:136:23: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. static const unsigned char pageff[256] = { data/clisp-2.49.20180218+really2.49.92/src/nls_jisx0201.c:171:23: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. static const unsigned char * const uni2charset[256] = { data/clisp-2.49.20180218+really2.49.92/src/nls_koi8_r.c:68:23: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. static const unsigned char page00[256] = { data/clisp-2.49.20180218+really2.49.92/src/nls_koi8_r.c:103:23: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. static const unsigned char page04[256] = { data/clisp-2.49.20180218+really2.49.92/src/nls_koi8_r.c:138:23: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. static const unsigned char page22[256] = { data/clisp-2.49.20180218+really2.49.92/src/nls_koi8_r.c:173:23: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. static const unsigned char page23[256] = { data/clisp-2.49.20180218+really2.49.92/src/nls_koi8_r.c:208:23: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. static const unsigned char page25[256] = { data/clisp-2.49.20180218+really2.49.92/src/nls_koi8_r.c:243:23: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. static const unsigned char * const uni2charset[256] = { data/clisp-2.49.20180218+really2.49.92/src/nls_koi8_u.c:68:23: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. static const unsigned char page00[256] = { data/clisp-2.49.20180218+really2.49.92/src/nls_koi8_u.c:103:23: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. static const unsigned char page04[256] = { data/clisp-2.49.20180218+really2.49.92/src/nls_koi8_u.c:138:23: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. static const unsigned char page22[256] = { data/clisp-2.49.20180218+really2.49.92/src/nls_koi8_u.c:173:23: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. static const unsigned char page23[256] = { data/clisp-2.49.20180218+really2.49.92/src/nls_koi8_u.c:208:23: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. static const unsigned char page25[256] = { data/clisp-2.49.20180218+really2.49.92/src/nls_koi8_u.c:243:23: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. static const unsigned char * const uni2charset[256] = { data/clisp-2.49.20180218+really2.49.92/src/nls_mac_arabic.c:66:23: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. static const unsigned char page00[256] = { data/clisp-2.49.20180218+really2.49.92/src/nls_mac_arabic.c:101:23: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. static const unsigned char page06[256] = { data/clisp-2.49.20180218+really2.49.92/src/nls_mac_arabic.c:136:23: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. static const unsigned char page20[256] = { data/clisp-2.49.20180218+really2.49.92/src/nls_mac_arabic.c:171:23: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. static const unsigned char * const uni2charset[256] = { data/clisp-2.49.20180218+really2.49.92/src/nls_mac_centraleurope.c:70:23: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. static const unsigned char page00[256] = { data/clisp-2.49.20180218+really2.49.92/src/nls_mac_centraleurope.c:105:23: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. static const unsigned char page01[256] = { data/clisp-2.49.20180218+really2.49.92/src/nls_mac_centraleurope.c:140:23: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. static const unsigned char page02[256] = { data/clisp-2.49.20180218+really2.49.92/src/nls_mac_centraleurope.c:175:23: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. static const unsigned char page20[256] = { data/clisp-2.49.20180218+really2.49.92/src/nls_mac_centraleurope.c:210:23: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. static const unsigned char page21[256] = { data/clisp-2.49.20180218+really2.49.92/src/nls_mac_centraleurope.c:245:23: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. static const unsigned char page22[256] = { data/clisp-2.49.20180218+really2.49.92/src/nls_mac_centraleurope.c:280:23: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. static const unsigned char page25[256] = { data/clisp-2.49.20180218+really2.49.92/src/nls_mac_centraleurope.c:315:23: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. static const unsigned char * const uni2charset[256] = { data/clisp-2.49.20180218+really2.49.92/src/nls_mac_croatian.c:71:23: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. static const unsigned char page00[256] = { data/clisp-2.49.20180218+really2.49.92/src/nls_mac_croatian.c:106:23: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. static const unsigned char page01[256] = { data/clisp-2.49.20180218+really2.49.92/src/nls_mac_croatian.c:141:23: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. static const unsigned char page02[256] = { data/clisp-2.49.20180218+really2.49.92/src/nls_mac_croatian.c:176:23: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. static const unsigned char page03[256] = { data/clisp-2.49.20180218+really2.49.92/src/nls_mac_croatian.c:211:23: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. static const unsigned char page20[256] = { data/clisp-2.49.20180218+really2.49.92/src/nls_mac_croatian.c:246:23: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. static const unsigned char page21[256] = { data/clisp-2.49.20180218+really2.49.92/src/nls_mac_croatian.c:281:23: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. static const unsigned char page22[256] = { data/clisp-2.49.20180218+really2.49.92/src/nls_mac_croatian.c:316:23: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. static const unsigned char page25[256] = { data/clisp-2.49.20180218+really2.49.92/src/nls_mac_croatian.c:351:23: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. static const unsigned char * const uni2charset[256] = { data/clisp-2.49.20180218+really2.49.92/src/nls_mac_cyrillic.c:69:23: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. static const unsigned char page00[256] = { data/clisp-2.49.20180218+really2.49.92/src/nls_mac_cyrillic.c:104:23: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. static const unsigned char page01[256] = { data/clisp-2.49.20180218+really2.49.92/src/nls_mac_cyrillic.c:139:23: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. static const unsigned char page04[256] = { data/clisp-2.49.20180218+really2.49.92/src/nls_mac_cyrillic.c:174:23: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. static const unsigned char page20[256] = { data/clisp-2.49.20180218+really2.49.92/src/nls_mac_cyrillic.c:209:23: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. static const unsigned char page21[256] = { data/clisp-2.49.20180218+really2.49.92/src/nls_mac_cyrillic.c:244:23: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. static const unsigned char page22[256] = { data/clisp-2.49.20180218+really2.49.92/src/nls_mac_cyrillic.c:279:23: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. static const unsigned char * const uni2charset[256] = { data/clisp-2.49.20180218+really2.49.92/src/nls_mac_dingbat.c:69:23: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. static const unsigned char page00[256] = { data/clisp-2.49.20180218+really2.49.92/src/nls_mac_dingbat.c:104:23: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. static const unsigned char page21[256] = { data/clisp-2.49.20180218+really2.49.92/src/nls_mac_dingbat.c:139:23: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. static const unsigned char page24[256] = { data/clisp-2.49.20180218+really2.49.92/src/nls_mac_dingbat.c:174:23: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. static const unsigned char page25[256] = { data/clisp-2.49.20180218+really2.49.92/src/nls_mac_dingbat.c:209:23: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. static const unsigned char page26[256] = { data/clisp-2.49.20180218+really2.49.92/src/nls_mac_dingbat.c:244:23: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. static const unsigned char page27[256] = { data/clisp-2.49.20180218+really2.49.92/src/nls_mac_dingbat.c:279:23: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. static const unsigned char * const uni2charset[256] = { data/clisp-2.49.20180218+really2.49.92/src/nls_mac_greek.c:69:23: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. static const unsigned char page00[256] = { data/clisp-2.49.20180218+really2.49.92/src/nls_mac_greek.c:104:23: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. static const unsigned char page01[256] = { data/clisp-2.49.20180218+really2.49.92/src/nls_mac_greek.c:139:23: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. static const unsigned char page03[256] = { data/clisp-2.49.20180218+really2.49.92/src/nls_mac_greek.c:174:23: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. static const unsigned char page20[256] = { data/clisp-2.49.20180218+really2.49.92/src/nls_mac_greek.c:209:23: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. static const unsigned char page21[256] = { data/clisp-2.49.20180218+really2.49.92/src/nls_mac_greek.c:244:23: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. static const unsigned char page22[256] = { data/clisp-2.49.20180218+really2.49.92/src/nls_mac_greek.c:279:23: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. static const unsigned char * const uni2charset[256] = { data/clisp-2.49.20180218+really2.49.92/src/nls_mac_hebrew.c:67:23: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. static const unsigned char page00[256] = { data/clisp-2.49.20180218+really2.49.92/src/nls_mac_hebrew.c:102:23: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. static const unsigned char page05[256] = { data/clisp-2.49.20180218+really2.49.92/src/nls_mac_hebrew.c:137:23: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. static const unsigned char page20[256] = { data/clisp-2.49.20180218+really2.49.92/src/nls_mac_hebrew.c:172:23: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. static const unsigned char pagefb[256] = { data/clisp-2.49.20180218+really2.49.92/src/nls_mac_hebrew.c:207:23: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. static const unsigned char * const uni2charset[256] = { data/clisp-2.49.20180218+really2.49.92/src/nls_mac_iceland.c:71:23: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. static const unsigned char page00[256] = { data/clisp-2.49.20180218+really2.49.92/src/nls_mac_iceland.c:106:23: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. static const unsigned char page01[256] = { data/clisp-2.49.20180218+really2.49.92/src/nls_mac_iceland.c:141:23: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. static const unsigned char page02[256] = { data/clisp-2.49.20180218+really2.49.92/src/nls_mac_iceland.c:176:23: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. static const unsigned char page03[256] = { data/clisp-2.49.20180218+really2.49.92/src/nls_mac_iceland.c:211:23: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. static const unsigned char page20[256] = { data/clisp-2.49.20180218+really2.49.92/src/nls_mac_iceland.c:246:23: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. static const unsigned char page21[256] = { data/clisp-2.49.20180218+really2.49.92/src/nls_mac_iceland.c:281:23: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. static const unsigned char page22[256] = { data/clisp-2.49.20180218+really2.49.92/src/nls_mac_iceland.c:316:23: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. static const unsigned char page25[256] = { data/clisp-2.49.20180218+really2.49.92/src/nls_mac_iceland.c:351:23: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. static const unsigned char * const uni2charset[256] = { data/clisp-2.49.20180218+really2.49.92/src/nls_mac_roman.c:72:23: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. static const unsigned char page00[256] = { data/clisp-2.49.20180218+really2.49.92/src/nls_mac_roman.c:107:23: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. static const unsigned char page01[256] = { data/clisp-2.49.20180218+really2.49.92/src/nls_mac_roman.c:142:23: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. static const unsigned char page02[256] = { data/clisp-2.49.20180218+really2.49.92/src/nls_mac_roman.c:177:23: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. static const unsigned char page03[256] = { data/clisp-2.49.20180218+really2.49.92/src/nls_mac_roman.c:212:23: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. static const unsigned char page20[256] = { data/clisp-2.49.20180218+really2.49.92/src/nls_mac_roman.c:247:23: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. static const unsigned char page21[256] = { data/clisp-2.49.20180218+really2.49.92/src/nls_mac_roman.c:282:23: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. static const unsigned char page22[256] = { data/clisp-2.49.20180218+really2.49.92/src/nls_mac_roman.c:317:23: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. static const unsigned char page25[256] = { data/clisp-2.49.20180218+really2.49.92/src/nls_mac_roman.c:352:23: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. static const unsigned char pagefb[256] = { data/clisp-2.49.20180218+really2.49.92/src/nls_mac_roman.c:387:23: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. static const unsigned char * const uni2charset[256] = { data/clisp-2.49.20180218+really2.49.92/src/nls_mac_romania.c:71:23: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. static const unsigned char page00[256] = { data/clisp-2.49.20180218+really2.49.92/src/nls_mac_romania.c:106:23: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. static const unsigned char page01[256] = { data/clisp-2.49.20180218+really2.49.92/src/nls_mac_romania.c:141:23: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. static const unsigned char page02[256] = { data/clisp-2.49.20180218+really2.49.92/src/nls_mac_romania.c:176:23: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. static const unsigned char page03[256] = { data/clisp-2.49.20180218+really2.49.92/src/nls_mac_romania.c:211:23: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. static const unsigned char page20[256] = { data/clisp-2.49.20180218+really2.49.92/src/nls_mac_romania.c:246:23: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. static const unsigned char page21[256] = { data/clisp-2.49.20180218+really2.49.92/src/nls_mac_romania.c:281:23: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. static const unsigned char page22[256] = { data/clisp-2.49.20180218+really2.49.92/src/nls_mac_romania.c:316:23: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. static const unsigned char page25[256] = { data/clisp-2.49.20180218+really2.49.92/src/nls_mac_romania.c:351:23: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. static const unsigned char * const uni2charset[256] = { data/clisp-2.49.20180218+really2.49.92/src/nls_mac_symbol.c:71:23: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. static const unsigned char page00[256] = { data/clisp-2.49.20180218+really2.49.92/src/nls_mac_symbol.c:106:23: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. static const unsigned char page01[256] = { data/clisp-2.49.20180218+really2.49.92/src/nls_mac_symbol.c:141:23: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. static const unsigned char page03[256] = { data/clisp-2.49.20180218+really2.49.92/src/nls_mac_symbol.c:176:23: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. static const unsigned char page20[256] = { data/clisp-2.49.20180218+really2.49.92/src/nls_mac_symbol.c:211:23: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. static const unsigned char page21[256] = { data/clisp-2.49.20180218+really2.49.92/src/nls_mac_symbol.c:246:23: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. static const unsigned char page22[256] = { data/clisp-2.49.20180218+really2.49.92/src/nls_mac_symbol.c:281:23: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. static const unsigned char page23[256] = { data/clisp-2.49.20180218+really2.49.92/src/nls_mac_symbol.c:316:23: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. static const unsigned char page26[256] = { data/clisp-2.49.20180218+really2.49.92/src/nls_mac_symbol.c:351:23: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. static const unsigned char * const uni2charset[256] = { data/clisp-2.49.20180218+really2.49.92/src/nls_mac_thai.c:69:23: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. static const unsigned char page00[256] = { data/clisp-2.49.20180218+really2.49.92/src/nls_mac_thai.c:104:23: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. static const unsigned char page0e[256] = { data/clisp-2.49.20180218+really2.49.92/src/nls_mac_thai.c:139:23: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. static const unsigned char page20[256] = { data/clisp-2.49.20180218+really2.49.92/src/nls_mac_thai.c:174:23: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. static const unsigned char page21[256] = { data/clisp-2.49.20180218+really2.49.92/src/nls_mac_thai.c:209:23: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. static const unsigned char pagef8[256] = { data/clisp-2.49.20180218+really2.49.92/src/nls_mac_thai.c:244:23: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. static const unsigned char pagefe[256] = { data/clisp-2.49.20180218+really2.49.92/src/nls_mac_thai.c:279:23: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. static const unsigned char * const uni2charset[256] = { data/clisp-2.49.20180218+really2.49.92/src/nls_mac_turkish.c:71:23: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. static const unsigned char page00[256] = { data/clisp-2.49.20180218+really2.49.92/src/nls_mac_turkish.c:106:23: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. static const unsigned char page01[256] = { data/clisp-2.49.20180218+really2.49.92/src/nls_mac_turkish.c:141:23: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. static const unsigned char page02[256] = { data/clisp-2.49.20180218+really2.49.92/src/nls_mac_turkish.c:176:23: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. static const unsigned char page03[256] = { data/clisp-2.49.20180218+really2.49.92/src/nls_mac_turkish.c:211:23: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. static const unsigned char page20[256] = { data/clisp-2.49.20180218+really2.49.92/src/nls_mac_turkish.c:246:23: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. static const unsigned char page21[256] = { data/clisp-2.49.20180218+really2.49.92/src/nls_mac_turkish.c:281:23: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. static const unsigned char page22[256] = { data/clisp-2.49.20180218+really2.49.92/src/nls_mac_turkish.c:316:23: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. static const unsigned char page25[256] = { data/clisp-2.49.20180218+really2.49.92/src/nls_mac_turkish.c:351:23: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. static const unsigned char * const uni2charset[256] = { data/clisp-2.49.20180218+really2.49.92/src/nls_mac_ukraine.c:69:23: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. static const unsigned char page00[256] = { data/clisp-2.49.20180218+really2.49.92/src/nls_mac_ukraine.c:104:23: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. static const unsigned char page01[256] = { data/clisp-2.49.20180218+really2.49.92/src/nls_mac_ukraine.c:139:23: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. static const unsigned char page04[256] = { data/clisp-2.49.20180218+really2.49.92/src/nls_mac_ukraine.c:174:23: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. static const unsigned char page20[256] = { data/clisp-2.49.20180218+really2.49.92/src/nls_mac_ukraine.c:209:23: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. static const unsigned char page21[256] = { data/clisp-2.49.20180218+really2.49.92/src/nls_mac_ukraine.c:244:23: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. static const unsigned char page22[256] = { data/clisp-2.49.20180218+really2.49.92/src/nls_mac_ukraine.c:279:23: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. static const unsigned char * const uni2charset[256] = { data/clisp-2.49.20180218+really2.49.92/src/w32shell.c:162:5: [2] (buffer) MultiByteToWideChar: Requires maximum length in CHARACTERS, not bytes (CWE-120). MultiByteToWideChar(CP_ACP, 0, filename, -1, wsz,MAX_PATH); data/clisp-2.49.20180218+really2.49.92/src/w32shell.c:230:3: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char pathname[_MAX_PATH]; data/clisp-2.49.20180218+really2.49.92/src/w32shell.c:231:3: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char pathname1[_MAX_PATH]; data/clisp-2.49.20180218+really2.49.92/src/w32shell.c:246:7: [2] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). Risk is low because the source is a constant string. strcpy(pathname+l,".lnk"); data/clisp-2.49.20180218+really2.49.92/src/w32shell.c:279:3: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char pathname[_MAX_PATH]; data/clisp-2.49.20180218+really2.49.92/src/w32shell.c:285:3: [2] (buffer) strcat: Does not check for buffer overflows when concatenating to destination [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or snprintf (warning: strncat is easily misused). Risk is low because the source is a constant string. strcat(pathname,".lnk"); data/clisp-2.49.20180218+really2.49.92/src/w32shell.c:325: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 drive[4] = "C:.", *name; data/clisp-2.49.20180218+really2.49.92/src/w32shell.c:376: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 saved[2]; data/clisp-2.49.20180218+really2.49.92/src/w32shell.c:409:13: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char saved[4]; data/clisp-2.49.20180218+really2.49.92/src/w32shell.c:410:13: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char resolved[MAX_PATH]; data/clisp-2.49.20180218+really2.49.92/unix/malloc.c:28: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). test_malloc(atol(argv[i])); data/clisp-2.49.20180218+really2.49.92/utils/ccmp2c.c:709:9: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf ((char *) main_line.data, "$ main%d (&curr);", func_number); data/clisp-2.49.20180218+really2.49.92/utils/ccmp2c.c:901: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. char temp[12]; data/clisp-2.49.20180218+really2.49.92/utils/ccmp2c.c:927:25: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf (params[param_count].temp, "&temp%04d", data/clisp-2.49.20180218+really2.49.92/utils/ccmp2c.c:1141: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). if ((infile = fopen (infilename, "r")) == NULL) data/clisp-2.49.20180218+really2.49.92/utils/ccmp2c.c:1257: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). if ((infile = fopen (infilename, "r")) == NULL) data/clisp-2.49.20180218+really2.49.92/utils/comment5.c:40:3: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char infilenamebuffer[1000]; data/clisp-2.49.20180218+really2.49.92/utils/comment5.c:41:3: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char outfilenamebuffer[1000] = "stdout"; data/clisp-2.49.20180218+really2.49.92/utils/comment5.c:52: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 filenamebuffer[1000]; data/clisp-2.49.20180218+really2.49.92/utils/comment5.c:81:17: [2] (misc) fopen: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). if ((infile = fopen(infilenamebuffer,fopen_read_ascii))==NULL) data/clisp-2.49.20180218+really2.49.92/utils/comment5.c:83:18: [2] (misc) fopen: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). if ((outfile = fopen(outfilenamebuffer,fopen_write_ascii))==NULL) data/clisp-2.49.20180218+really2.49.92/utils/comment5.c:87: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). if ((infile = fopen(infilenamebuffer,fopen_read_ascii))==NULL) data/clisp-2.49.20180218+really2.49.92/utils/gctrigger.c:101: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(result+0,str1,len1+1); data/clisp-2.49.20180218+really2.49.92/utils/gctrigger.c:112: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(result+0,str1,len1); data/clisp-2.49.20180218+really2.49.92/utils/gctrigger.c:113: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(result+len1,str2,len2+1); data/clisp-2.49.20180218+really2.49.92/utils/gctrigger.c:126: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(result+0,str1,len1); data/clisp-2.49.20180218+really2.49.92/utils/gctrigger.c:127: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(result+len1,str2,len2); data/clisp-2.49.20180218+really2.49.92/utils/gctrigger.c:128: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(result+len1+len2,str3,len3+1); data/clisp-2.49.20180218+really2.49.92/utils/gctrigger.c:142: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(result+0,str1,len1); data/clisp-2.49.20180218+really2.49.92/utils/gctrigger.c:143: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(result+len1,str2,len2); data/clisp-2.49.20180218+really2.49.92/utils/gctrigger.c:144: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(result+len1+len2,str3,len3); data/clisp-2.49.20180218+really2.49.92/utils/gctrigger.c:145: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(result+len1+len2+len3,str4,len4+1); data/clisp-2.49.20180218+really2.49.92/utils/gctrigger.c:158:18: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. if (len > 0) memcpy(result,str+index1,len); data/clisp-2.49.20180218+really2.49.92/utils/gctrigger.c:170: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(result,p1,length); data/clisp-2.49.20180218+really2.49.92/utils/gctrigger.c:245: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(sb->data+sb->index,s,s_len); data/clisp-2.49.20180218+really2.49.92/utils/gctrigger.c:255: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(s,sb->data,s_len); data/clisp-2.49.20180218+really2.49.92/utils/gctrigger.c:333: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(w->data,v->data,v->size * sizeof(const void*)); data/clisp-2.49.20180218+really2.49.92/utils/hardcode.c:92:15: [2] (misc) open: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). inputfd = open(input,O_RDONLY); data/clisp-2.49.20180218+really2.49.92/utils/txt2c.c:50: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 pathname[10240]; data/clisp-2.49.20180218+really2.49.92/utils/txt2c.c:70:26: [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 * ifp = fopen(pathname,"r"); data/clisp-2.49.20180218+really2.49.92/utils/unicode/gen-ctype.c:145:3: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char field0[FIELDLEN]; data/clisp-2.49.20180218+really2.49.92/utils/unicode/gen-ctype.c:146:3: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char field1[FIELDLEN]; data/clisp-2.49.20180218+really2.49.92/utils/unicode/gen-ctype.c:147:3: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char field2[FIELDLEN]; data/clisp-2.49.20180218+really2.49.92/utils/unicode/gen-ctype.c:148:3: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char field3[FIELDLEN]; data/clisp-2.49.20180218+really2.49.92/utils/unicode/gen-ctype.c:149:3: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char field4[FIELDLEN]; data/clisp-2.49.20180218+really2.49.92/utils/unicode/gen-ctype.c:150:3: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char field5[FIELDLEN]; data/clisp-2.49.20180218+really2.49.92/utils/unicode/gen-ctype.c:151:3: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char field6[FIELDLEN]; data/clisp-2.49.20180218+really2.49.92/utils/unicode/gen-ctype.c:152:3: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char field7[FIELDLEN]; data/clisp-2.49.20180218+really2.49.92/utils/unicode/gen-ctype.c:153:3: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char field8[FIELDLEN]; data/clisp-2.49.20180218+really2.49.92/utils/unicode/gen-ctype.c:154:3: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char field9[FIELDLEN]; data/clisp-2.49.20180218+really2.49.92/utils/unicode/gen-ctype.c:155:3: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char field10[FIELDLEN]; data/clisp-2.49.20180218+really2.49.92/utils/unicode/gen-ctype.c:156:3: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char field11[FIELDLEN]; data/clisp-2.49.20180218+really2.49.92/utils/unicode/gen-ctype.c:157:3: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char field12[FIELDLEN]; data/clisp-2.49.20180218+really2.49.92/utils/unicode/gen-ctype.c:158:3: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char field13[FIELDLEN]; data/clisp-2.49.20180218+really2.49.92/utils/unicode/gen-ctype.c:159:3: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char field14[FIELDLEN]; data/clisp-2.49.20180218+really2.49.92/utils/unicode/gen-ctype.c:165:12: [2] (misc) fopen: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). stream = fopen (unicodedata_filename, "r"); data/clisp-2.49.20180218+really2.49.92/utils/unicode/gen-ctype.c:349:12: [2] (misc) fopen: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). stream = fopen (filename, "w"); data/clisp-2.49.20180218+really2.49.92/utils/unicode/gen-ctype.c:493: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 attribute[0x110000]; data/clisp-2.49.20180218+really2.49.92/utils/unicode/gen-ctype.c:494: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 attribute_packed[0x44000]; data/clisp-2.49.20180218+really2.49.92/utils/unicode/gen-ctype.c:520:12: [2] (misc) fopen: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). stream = fopen (filename, "w"); data/clisp-2.49.20180218+really2.49.92/utils/unicode/nls_table.c:64:11: [2] (misc) fopen: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). f = fopen(fname,"w"); data/clisp-2.49.20180218+really2.49.92/utils/varbrace.c:118: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(result+0,str1,len1+1); data/clisp-2.49.20180218+really2.49.92/utils/varbrace.c:128: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(result+0,str1,len1); data/clisp-2.49.20180218+really2.49.92/utils/varbrace.c:129: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(result+len1,str2,len2+1); data/clisp-2.49.20180218+really2.49.92/utils/varbrace.c:140: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(result+0,str1,len1); data/clisp-2.49.20180218+really2.49.92/utils/varbrace.c:141: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(result+len1,str2,len2); data/clisp-2.49.20180218+really2.49.92/utils/varbrace.c:142: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(result+len1+len2,str3,len3+1); data/clisp-2.49.20180218+really2.49.92/utils/varbrace.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(result+0,str1,len1); data/clisp-2.49.20180218+really2.49.92/utils/varbrace.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(result+len1,str2,len2); data/clisp-2.49.20180218+really2.49.92/utils/varbrace.c:157: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(result+len1+len2,str3,len3); data/clisp-2.49.20180218+really2.49.92/utils/varbrace.c:158: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(result+len1+len2+len3,str4,len4+1); data/clisp-2.49.20180218+really2.49.92/utils/varbrace.c:170:18: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. if (len > 0) memcpy(result,str+index1,len); data/clisp-2.49.20180218+really2.49.92/utils/varbrace.c:181: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(result,p1,length); data/clisp-2.49.20180218+really2.49.92/utils/varbrace.c:278:3: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy(w->data,v->data,v->size * sizeof(const void*)); data/clisp-2.49.20180218+really2.49.92/utils/varbrace.c:1138: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[20]; data/clisp-2.49.20180218+really2.49.92/utils/varbrace.c:1139: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,"#line %ld",input_line); data/clisp-2.49.20180218+really2.49.92/utils/varbrace.c:1147: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[20]; data/clisp-2.49.20180218+really2.49.92/utils/varbrace.c:1148: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,"#line %ld",input_line); data/clisp-2.49.20180218+really2.49.92/utils/varbrace.c:1310: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(q+2, p, q-p); data/clisp-2.49.20180218+really2.49.92/utils/varbrace.c:1573: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(last_ident_buf,&out.buffer[token.startindex],last_ident_len); data/clisp-2.49.20180218+really2.49.92/utils/varbrace.c:1614: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). infile = fopen(infilename,"r"); data/clisp-2.49.20180218+really2.49.92/modules/berkeley-db/bdb.c:158: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). int len = strlen(error_message); data/clisp-2.49.20180218+really2.49.92/modules/berkeley-db/bdb.c:159:60: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). error_message = (char*)clisp_realloc(error_message,3 + strlen(msg) + len); data/clisp-2.49.20180218+really2.49.92/modules/berkeley-db/bdb.c:164:27: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). int offset = errpfx ? strlen(errpfx)+4 : 0; data/clisp-2.49.20180218+really2.49.92/modules/berkeley-db/bdb.c:165:61: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). data = error_message = (char*)clisp_malloc(1 + offset + strlen(msg)); data/clisp-2.49.20180218+really2.49.92/modules/berkeley-db/bdb.c:256: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). int len = strlen(msg); data/clisp-2.49.20180218+really2.49.92/modules/berkeley-db/bdb.c:1773:54: [1] (buffer) equal: Function does not check the second iterator for over-read conditions (CWE-126). This function is often discouraged by most C++ coding standards in favor of its safer alternatives provided since C++14. Consider using a form of this function that checks the second iterator before potentially overflowing it. pushSTACK(c_double_to_DF((dfloatjanus*)&(key_range.equal))); data/clisp-2.49.20180218+really2.49.92/modules/dirkey/dirkey.c:276:5: [1] (buffer) strncpy: Easily used incorrectly; doesn't always \0-terminate or check for invalid pointers [MS-banned] (CWE-120). strncpy(host,path,len); data/clisp-2.49.20180218+really2.49.92/modules/dirkey/dirkey.c:284: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). len = strlen(path); data/clisp-2.49.20180218+really2.49.92/modules/dirkey/dirkey.c:826: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). (BYTE*)valz,strlen(valz))); data/clisp-2.49.20180218+really2.49.92/modules/oracle/orafns.c:160: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). printf("%-30s %4d %4d ", col->name, col->indicator, strlen(col->data)); data/clisp-2.49.20180218+really2.49.92/modules/oracle/orafns.c:740: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). status = OCIStmtPrepare(db->stmt, db->err, sql, strlen(sql), OCI_NTV_SYNTAX, OCI_DEFAULT); data/clisp-2.49.20180218+really2.49.92/modules/oracle/orafns.c:777: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). (sb4) strlen(pname), /* Param len */ data/clisp-2.49.20180218+really2.49.92/modules/oracle/orafns.c:779: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). (sb4) strlen(data) + 1, /* Data len */ data/clisp-2.49.20180218+really2.49.92/modules/oracle/orafns.c:819:14: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). int plen = strlen(pdata); data/clisp-2.49.20180218+really2.49.92/modules/oracle/orafns.c:950:27: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). user, strlen(user), password, strlen(password), sid, strlen(sid)); data/clisp-2.49.20180218+really2.49.92/modules/oracle/orafns.c:950: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). user, strlen(user), password, strlen(password), sid, strlen(sid)); data/clisp-2.49.20180218+really2.49.92/modules/oracle/orafns.c:950:74: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). user, strlen(user), password, strlen(password), sid, strlen(sid)); data/clisp-2.49.20180218+really2.49.92/modules/oracle/orafns.c:1065:35: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). if ( 0 == strncmp(buf, leading, strlen(leading)) ) { data/clisp-2.49.20180218+really2.49.92/modules/oracle/orafns.c:1100:7: [1] (buffer) strncat: Easily used incorrectly (e.g., incorrectly computing the correct maximum size to add) [MS-banned] (CWE-120). Consider strcat_s, strlcat, snprintf, or automatically resizing strings. strncat(db->errmsg, sql, err_offset); data/clisp-2.49.20180218+really2.49.92/modules/rawsock/rawsock.c:59:16: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). # define READ read data/clisp-2.49.20180218+really2.49.92/modules/rawsock/rawsock.c:1150:3: [1] (buffer) strncpy: Easily used incorrectly; doesn't always \0-terminate or check for invalid pointers [MS-banned] (CWE-120). strncpy(ifrequest.ifr_name, ifname, IFNAMSIZ); data/clisp-2.49.20180218+really2.49.92/modules/rawsock/rawsock.c:1159:3: [1] (buffer) strncpy: Easily used incorrectly; doesn't always \0-terminate or check for invalid pointers [MS-banned] (CWE-120). strncpy(ifrequest.ifr_name, ifname, IFNAMSIZ); data/clisp-2.49.20180218+really2.49.92/modules/syscalls/calls.c:497:50: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). log_ident = (char*)clisp_realloc(log_ident,strlen(ident)+1); data/clisp-2.49.20180218+really2.49.92/modules/syscalls/calls.c:1645:9: [1] (buffer) strncpy: Easily used incorrectly; doesn't always \0-terminate or check for invalid pointers [MS-banned] (CWE-120). strncpy(proto_buf,protocolz,15); data/clisp-2.49.20180218+really2.49.92/modules/syscalls/calls.c:2325:11: [1] (access) umask: Ensure that umask is given most restrictive possible setting (e.g., 066 or 077) (CWE-732). cmask = umask(cmask); data/clisp-2.49.20180218+really2.49.92/modules/syscalls/calls.c:2654: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 name_len = strlen(name) + 1; data/clisp-2.49.20180218+really2.49.92/modules/syscalls/calls.c:2709:19: [1] (buffer) strncpy: Easily used incorrectly; doesn't always \0-terminate or check for invalid pointers [MS-banned] (CWE-120). strncpy(buf1, s, buf1size); data/clisp-2.49.20180218+really2.49.92/modules/syscalls/calls.c:2715:27: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). int len = strlen(buf2); data/clisp-2.49.20180218+really2.49.92/modules/syscalls/calls.c:2931: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). int len = strlen(new_pathstring) - 1; data/clisp-2.49.20180218+really2.49.92/modules/syscalls/calls.c:3833:34: [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). wcslen(pvar->pwszVal)*2, data/clisp-2.49.20180218+really2.49.92/modules/syscalls/calls.c:4564:35: [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). DYNAMIC_ARRAY(buf, WCHAR, wcslen(wstr) + 1); data/clisp-2.49.20180218+really2.49.92/modules/syscalls/calls.c:4567:53: [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). VALUES1(n_char_to_string((const char *)buf, wcslen(buf) * sizeof(WCHAR), data/clisp-2.49.20180218+really2.49.92/modules/syscalls/calls.c:4579: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). DYNAMIC_ARRAY(buf, char, strlen(str) + 1); data/clisp-2.49.20180218+really2.49.92/modules/syscalls/calls.c:4735:42: [1] (buffer) fgetc: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). DEFUN(POSIX::%FGETC, fp) { FILE_FUNCTION(fgetc,VALUES1(sint_to_I(ret))); } data/clisp-2.49.20180218+really2.49.92/src/_clisp.c:75:47: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). # define LISPLIBDIR &room_for_lisplibdir[7 + strlen("LISPLIBDIR") + 1] data/clisp-2.49.20180218+really2.49.92/src/_clisp.c:79: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). # define LOCALEDIR &room_for_localedir[7 + strlen("LOCALEDIR") + 1] data/clisp-2.49.20180218+really2.49.92/src/_clisp.c:135: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). for (p = executable_name + strlen(executable_name);; p--) { data/clisp-2.49.20180218+really2.49.92/src/_clisp.c:323:36: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). if (argv_linkingset == NULL || strlen(argv_linkingset)==0) { data/clisp-2.49.20180218+really2.49.92/src/_clisp.c:329: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). (char*)malloc(strlen(lisplibdir)+1+strlen(argv_linkingset)+1); data/clisp-2.49.20180218+really2.49.92/src/_clisp.c:329:44: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). (char*)malloc(strlen(lisplibdir)+1+strlen(argv_linkingset)+1); data/clisp-2.49.20180218+really2.49.92/src/_clisp.c:332: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(linkingsetdir, "/"); data/clisp-2.49.20180218+really2.49.92/src/_clisp.c:341:34: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). executable = (char*)malloc(strlen(linkingsetdir)+1+strlen(execname)+1); data/clisp-2.49.20180218+really2.49.92/src/_clisp.c:341: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). executable = (char*)malloc(strlen(linkingsetdir)+1+strlen(execname)+1); data/clisp-2.49.20180218+really2.49.92/src/_clisp.c:344: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(executable, "/"); data/clisp-2.49.20180218+really2.49.92/src/_clisp.c:361: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). (char*)malloc(strlen(linkingsetdir)+1+strlen(filename)+1); data/clisp-2.49.20180218+really2.49.92/src/_clisp.c:361: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). (char*)malloc(strlen(linkingsetdir)+1+strlen(filename)+1); data/clisp-2.49.20180218+really2.49.92/src/_clisp.c:364:9: [1] (buffer) strcat: Does not check for buffer overflows when concatenating to destination [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or snprintf (warning: strncat is easily misused). Risk is low because the source is a constant character. strcat(argv_memfile, "/"); data/clisp-2.49.20180218+really2.49.92/src/_clisp.c:401:57: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). for (argv = new_argv; *argv; argv++) cmd_len += 2*strlen(*argv)+3; data/clisp-2.49.20180218+really2.49.92/src/execname.c:72:37: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). executable_name = (char*)malloc(strlen(execname)+1); data/clisp-2.49.20180218+really2.49.92/src/execname.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). (char*) malloc(p_len + strlen(program_name) + 2); data/clisp-2.49.20180218+really2.49.92/src/execname.c:144: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). int len = strlen(executable_name); data/clisp-2.49.20180218+really2.49.92/src/gllib/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/clisp-2.49.20180218+really2.49.92/src/gllib/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/clisp-2.49.20180218+really2.49.92/src/gllib/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/clisp-2.49.20180218+really2.49.92/src/gllib/gethostname.c:55:3: [1] (buffer) strncpy: Easily used incorrectly; doesn't always \0-terminate or check for invalid pointers [MS-banned] (CWE-120). strncpy (name, uts.nodename, len); data/clisp-2.49.20180218+really2.49.92/src/gllib/gethostname.c:57:3: [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 (name, ""); /* Hardcode your system name if you want. */ data/clisp-2.49.20180218+really2.49.92/src/gllib/getloadavg.c:589:11: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). count = read (fd, ldavgbuf, sizeof ldavgbuf - 1); data/clisp-2.49.20180218+really2.49.92/src/gllib/getloadavg.c:905:7: [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 (name_list[1].n_name, ""); data/clisp-2.49.20180218+really2.49.92/src/gllib/getloadavg.c:985:14: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). || read (channel, (char *) load_ave, sizeof (load_ave)) data/clisp-2.49.20180218+really2.49.92/src/gllib/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/clisp-2.49.20180218+really2.49.92/src/gllib/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/clisp-2.49.20180218+really2.49.92/src/gllib/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/clisp-2.49.20180218+really2.49.92/src/gllib/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/clisp-2.49.20180218+really2.49.92/src/gllib/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/clisp-2.49.20180218+really2.49.92/src/gllib/localcharset.c:105:9: [1] (buffer) getc: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). # undef getc data/clisp-2.49.20180218+really2.49.92/src/gllib/localcharset.c:106:10: [1] (buffer) getc: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). # define getc getc_unlocked data/clisp-2.49.20180218+really2.49.92/src/gllib/localcharset.c:146: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 dir_len = strlen (dir); data/clisp-2.49.20180218+really2.49.92/src/gllib/localcharset.c:147:27: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). size_t base_len = strlen (base); data/clisp-2.49.20180218+really2.49.92/src/gllib/localcharset.c:205:27: [1] (buffer) getc: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). c = getc (fp); data/clisp-2.49.20180218+really2.49.92/src/gllib/localcharset.c:214:33: [1] (buffer) getc: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). c = getc (fp); data/clisp-2.49.20180218+really2.49.92/src/gllib/localcharset.c:221:27: [1] (buffer) fscanf: It's unclear if the %s limit in the format string is small enough (CWE-120). Check that the limit is sufficiently small, or use a different input function. if (fscanf (fp, "%50s %50s", buf1, buf2) < 2) data/clisp-2.49.20180218+really2.49.92/src/gllib/localcharset.c:223:28: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). l1 = strlen (buf1); data/clisp-2.49.20180218+really2.49.92/src/gllib/localcharset.c:224:28: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). l2 = strlen (buf2); data/clisp-2.49.20180218+really2.49.92/src/gllib/localcharset.c:514: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/clisp-2.49.20180218+really2.49.92/src/gllib/localcharset.c:595: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). aliases += strlen (aliases) + 1, aliases += strlen (aliases) + 1) data/clisp-2.49.20180218+really2.49.92/src/gllib/localcharset.c:595:52: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). aliases += strlen (aliases) + 1, aliases += strlen (aliases) + 1) data/clisp-2.49.20180218+really2.49.92/src/gllib/localcharset.c:599: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). codeset = aliases + strlen (aliases) + 1; data/clisp-2.49.20180218+really2.49.92/src/gllib/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/clisp-2.49.20180218+really2.49.92/src/gllib/mkfifo.c:47: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/clisp-2.49.20180218+really2.49.92/src/gllib/mknod.c:55: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 (name); data/clisp-2.49.20180218+really2.49.92/src/gllib/nl_langinfo.c:73: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/clisp-2.49.20180218+really2.49.92/src/gllib/nstrftime.c:97: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/clisp-2.49.20180218+really2.49.92/src/gllib/nstrftime.c:629: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). format_end = f + strlen (f) + 1; data/clisp-2.49.20180218+really2.49.92/src/gllib/nstrftime.c:641:28: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). len += strlen (f + len); data/clisp-2.49.20180218+really2.49.92/src/gllib/nstrftime.c:920: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 len = strlen (era->era_name); data/clisp-2.49.20180218+really2.49.92/src/gllib/nstrftime.c:1393: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). cpy (strlen (zone), zone); data/clisp-2.49.20180218+really2.49.92/src/gllib/readlink.c:57: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/clisp-2.49.20180218+really2.49.92/src/gllib/regcomp.c:497:45: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). ret = re_compile_internal (preg, pattern, strlen (pattern), syntax); data/clisp-2.49.20180218+really2.49.92/src/gllib/regcomp.c:544:14: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). msg_size = strlen (msg) + 1; /* Includes the null. */ data/clisp-2.49.20180218+really2.49.92/src/gllib/regcomp.c:716:47: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). ret = re_compile_internal (&re_comp_buf, s, strlen (s), re_syntax_options); data/clisp-2.49.20180218+really2.49.92/src/gllib/regcomp.c:784:3: [1] (buffer) strncpy: Easily used incorrectly; doesn't always \0-terminate or check for invalid pointers [MS-banned] (CWE-120). strncpy (dfa->re_str, pattern, length + 1); data/clisp-2.49.20180218+really2.49.92/src/gllib/regcomp.c:2733:8: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). && strlen ((char *) start_elem->opr.name) > 1) data/clisp-2.49.20180218+really2.49.92/src/gllib/regcomp.c:2735:11: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). && strlen ((char *) end_elem->opr.name) > 1), 0)) data/clisp-2.49.20180218+really2.49.92/src/gllib/regcomp.c:2841:21: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). size_t name_len = strlen ((const char *) name); data/clisp-2.49.20180218+really2.49.92/src/gllib/regcomp.c:2922:26: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). size_t sym_name_len = strlen ((char *) br_elem->opr.name); data/clisp-2.49.20180218+really2.49.92/src/gllib/regcomp.c:3053:25: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). size_t name_len = strlen ((const char *) name); data/clisp-2.49.20180218+really2.49.92/src/gllib/regcomp.c:3571:15: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). if (BE (strlen ((const char *) name) != 1, 0)) data/clisp-2.49.20180218+really2.49.92/src/gllib/regexec.c:210:16: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). length = strlen (string); data/clisp-2.49.20180218+really2.49.92/src/gllib/select.c:119:8: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). BOOL read, write, except; data/clisp-2.49.20180218+really2.49.92/src/gllib/select.c:226: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/clisp-2.49.20180218+really2.49.92/src/gllib/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/clisp-2.49.20180218+really2.49.92/src/gllib/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/clisp-2.49.20180218+really2.49.92/src/gllib/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/clisp-2.49.20180218+really2.49.92/src/gllib/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/clisp-2.49.20180218+really2.49.92/src/gllib/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/clisp-2.49.20180218+really2.49.92/src/gllib/strdup.c:41:16: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). size_t len = strlen (s) + 1; data/clisp-2.49.20180218+really2.49.92/src/gllib/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/clisp-2.49.20180218+really2.49.92/src/gllib/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/clisp-2.49.20180218+really2.49.92/src/gllib/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/clisp-2.49.20180218+really2.49.92/src/gllib/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/clisp-2.49.20180218+really2.49.92/src/gllib/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/clisp-2.49.20180218+really2.49.92/src/gllib/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/clisp-2.49.20180218+really2.49.92/src/gllib/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/clisp-2.49.20180218+really2.49.92/src/gllib/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/clisp-2.49.20180218+really2.49.92/src/gllib/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/clisp-2.49.20180218+really2.49.92/src/gllib/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/clisp-2.49.20180218+really2.49.92/src/gllib/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/clisp-2.49.20180218+really2.49.92/src/gllib/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/clisp-2.49.20180218+really2.49.92/src/gllib/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/clisp-2.49.20180218+really2.49.92/src/gllib/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/clisp-2.49.20180218+really2.49.92/src/gllib/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/clisp-2.49.20180218+really2.49.92/src/gllib/tempname.c:131:14: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). plen = strlen (pfx); data/clisp-2.49.20180218+really2.49.92/src/gllib/tempname.c:159: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). dlen = strlen (dir); data/clisp-2.49.20180218+really2.49.92/src/gllib/tempname.c:207: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 (tmpl); data/clisp-2.49.20180218+really2.49.92/src/gllib/time_rz.c:97:29: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). size_t name_size = name ? strlen (name) + 1 : 0; data/clisp-2.49.20180218+really2.49.92/src/gllib/time_rz.c:153: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). size_t zone_size = strlen (zone) + 1; data/clisp-2.49.20180218+really2.49.92/src/gllib/time_rz.c:173: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). zone_copy += strlen (zone_copy) + 1; data/clisp-2.49.20180218+really2.49.92/src/gllib/uniname/uniname.c:360:22: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). unsigned int len = strlen (name); data/clisp-2.49.20180218+really2.49.92/src/gllib/unistd.in.h:1267:11: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). # undef read data/clisp-2.49.20180218+really2.49.92/src/gllib/unistd.in.h:1268:12: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). # define read rpl_read data/clisp-2.49.20180218+really2.49.92/src/gllib/unistd.in.h:1270: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/clisp-2.49.20180218+really2.49.92/src/gllib/unistd.in.h:1272: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/clisp-2.49.20180218+really2.49.92/src/gllib/unistd.in.h:1277: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/clisp-2.49.20180218+really2.49.92/src/gllib/unistd.in.h:1279:19: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). _GL_CXXALIASWARN (read); data/clisp-2.49.20180218+really2.49.92/src/gllib/unistd.in.h:1592: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/clisp-2.49.20180218+really2.49.92/src/gllib/unistd.in.h:1593: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/clisp-2.49.20180218+really2.49.92/src/gllib/unistd.in.h:1595: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/clisp-2.49.20180218+really2.49.92/src/gllib/unistd.in.h:1596: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/clisp-2.49.20180218+really2.49.92/src/gllib/unistd.in.h:1599: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/clisp-2.49.20180218+really2.49.92/src/gllib/unistd.in.h:1601: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/clisp-2.49.20180218+really2.49.92/src/gllib/unistd.in.h:1603: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/clisp-2.49.20180218+really2.49.92/src/gllib/unistd.in.h:1605: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/clisp-2.49.20180218+really2.49.92/src/gllib/unistd.in.h:1607: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/clisp-2.49.20180218+really2.49.92/src/gllib/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/clisp-2.49.20180218+really2.49.92/src/gllib/vma-iter.c:188:19: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). int n = read (fd, rof->buffer, size); data/clisp-2.49.20180218+really2.49.92/src/gllib/vma-iter.c:207:27: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). n = read (fd, rof->buffer + rof->filled, size - rof->filled); data/clisp-2.49.20180218+really2.49.92/src/gllib/vma-iter.c:1207:24: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). size_t nread = read (fd, ptr, remaining); data/clisp-2.49.20180218+really2.49.92/src/gllib/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/clisp-2.49.20180218+really2.49.92/src/gllib/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/clisp-2.49.20180218+really2.49.92/src/gllib/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/clisp-2.49.20180218+really2.49.92/src/gllib/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/clisp-2.49.20180218+really2.49.92/src/gllib/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/clisp-2.49.20180218+really2.49.92/src/gllib/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/clisp-2.49.20180218+really2.49.92/src/gllib/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/clisp-2.49.20180218+really2.49.92/src/gllib/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/clisp-2.49.20180218+really2.49.92/src/gllib/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/clisp-2.49.20180218+really2.49.92/src/gllib/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/clisp-2.49.20180218+really2.49.92/src/gllib/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/clisp-2.49.20180218+really2.49.92/src/gllib/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/clisp-2.49.20180218+really2.49.92/src/gllib/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/clisp-2.49.20180218+really2.49.92/src/gllib/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/clisp-2.49.20180218+really2.49.92/src/gllib/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/clisp-2.49.20180218+really2.49.92/src/gmalloc.c:125:16: [1] (free) memalign: On some systems (though not Linux-based systems) an attempt to free() results from memalign() may fail. This may, on a few systems, be exploitable. Also note that memalign() may not check that the boundary parameter is correct (CWE-676). Use posix_memalign instead (defined in POSIX's 1003.1d). Don't switch to valloc(); it is marked as obsolete in BSD 4.3, as legacy in SUSv2, and is no longer defined in SUSv3. In some cases, malloc()'s alignment may be sufficient. extern __ptr_t memalign PP ((__malloc_size_t __alignment, data/clisp-2.49.20180218+really2.49.92/src/gmalloc.c:1769:1: [1] (free) memalign: On some systems (though not Linux-based systems) an attempt to free() results from memalign() may fail. This may, on a few systems, be exploitable. Also note that memalign() may not check that the boundary parameter is correct (CWE-676). Use posix_memalign instead (defined in POSIX's 1003.1d). Don't switch to valloc(); it is marked as obsolete in BSD 4.3, as legacy in SUSv2, and is no longer defined in SUSv3. In some cases, malloc()'s alignment may be sufficient. memalign (alignment, size) data/clisp-2.49.20180218+really2.49.92/src/gmalloc.c:1864:9: [1] (free) memalign: On some systems (though not Linux-based systems) an attempt to free() results from memalign() may fail. This may, on a few systems, be exploitable. Also note that memalign() may not check that the boundary parameter is correct (CWE-676). Use posix_memalign instead (defined in POSIX's 1003.1d). Don't switch to valloc(); it is marked as obsolete in BSD 4.3, as legacy in SUSv2, and is no longer defined in SUSv3. In some cases, malloc()'s alignment may be sufficient. mem = memalign (alignment, size); data/clisp-2.49.20180218+really2.49.92/src/gmalloc.c:1932:10: [1] (free) memalign: On some systems (though not Linux-based systems) an attempt to free() results from memalign() may fail. This may, on a few systems, be exploitable. Also note that memalign() may not check that the boundary parameter is correct (CWE-676). Use posix_memalign instead (defined in POSIX's 1003.1d). Don't switch to valloc(); it is marked as obsolete in BSD 4.3, as legacy in SUSv2, and is no longer defined in SUSv3. In some cases, malloc()'s alignment may be sufficient. return memalign (pagesize, size); data/clisp-2.49.20180218+really2.49.92/src/w32shell.c:204:14: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). int fl = strlen(filename); data/clisp-2.49.20180218+really2.49.92/src/w32shell.c:205:14: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). int pl = strlen(pathname); data/clisp-2.49.20180218+really2.49.92/src/w32shell.c:239: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). l=strlen(pathname); data/clisp-2.49.20180218+really2.49.92/src/w32shell.c:259:17: [1] (buffer) strcat: Does not check for buffer overflows when concatenating to destination [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or snprintf (warning: strncat is easily misused). Risk is low because the source is a constant character. if (dirp) strcat(resolved,"\\"); data/clisp-2.49.20180218+really2.49.92/src/w32shell.c:310: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 ((name_len = strlen(namein)) >= MAX_PATH) return FALSE; data/clisp-2.49.20180218+really2.49.92/src/w32shell.c:329:31: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). || (default_len = strlen(nameout)) + name_len data/clisp-2.49.20180218+really2.49.92/src/w32shell.c:391:25: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). int l = strlen(wfd.cFileName), data/clisp-2.49.20180218+really2.49.92/src/w32shell.c:401:13: [1] (buffer) strncpy: Easily used incorrectly; doesn't always \0-terminate or check for invalid pointers [MS-banned] (CWE-120). strncpy(nametocheck,wfd.cFileName,l); data/clisp-2.49.20180218+really2.49.92/src/w32shell.c:414:13: [1] (buffer) strncpy: Easily used incorrectly; doesn't always \0-terminate or check for invalid pointers [MS-banned] (CWE-120). strncpy(saved,nametocheck_end+1,4); data/clisp-2.49.20180218+really2.49.92/src/w32shell.c:415:13: [1] (buffer) strncpy: Easily used incorrectly; doesn't always \0-terminate or check for invalid pointers [MS-banned] (CWE-120). Risk is low because the source is a constant string. strncpy(nametocheck_end,".lnk",5); data/clisp-2.49.20180218+really2.49.92/src/w32shell.c:417:13: [1] (buffer) strncpy: Easily used incorrectly; doesn't always \0-terminate or check for invalid pointers [MS-banned] (CWE-120). strncpy(nametocheck_end+1,saved,4); data/clisp-2.49.20180218+really2.49.92/src/w32shell.c:425:28: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). resolved_len = strlen(resolved); data/clisp-2.49.20180218+really2.49.92/src/w32shell.c:430:15: [1] (buffer) strncpy: Easily used incorrectly; doesn't always \0-terminate or check for invalid pointers [MS-banned] (CWE-120). strncpy(resolved + resolved_len, nametocheck_end + 1, l2); data/clisp-2.49.20180218+really2.49.92/utils/ccmp2c.c:174:15: [1] (buffer) fgetc: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). int c = fgetc (fp); data/clisp-2.49.20180218+really2.49.92/utils/ccmp2c.c:710:28: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). main_line.length = strlen ((char *) main_line.data); data/clisp-2.49.20180218+really2.49.92/utils/ccpaux.c:34:7: [1] (buffer) getchar: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). c = getchar(); if (c==EOF) { n_spaces(spacecount); goto eof; } data/clisp-2.49.20180218+really2.49.92/utils/ccpaux.c:49:7: [1] (buffer) getchar: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). c = getchar(); if (c==EOF) { goto eof; } data/clisp-2.49.20180218+really2.49.92/utils/comment5.c:37:9: [1] (buffer) fgetc: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). #define fgetc getc data/clisp-2.49.20180218+really2.49.92/utils/comment5.c:37:16: [1] (buffer) getc: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). #define fgetc getc data/clisp-2.49.20180218+really2.49.92/utils/comment5.c:103:14: [1] (buffer) fgetc: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). c = fgetc(infile) ; data/clisp-2.49.20180218+really2.49.92/utils/comment5.c:107:14: [1] (buffer) fgetc: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). c = fgetc(infile) ; data/clisp-2.49.20180218+really2.49.92/utils/comment5.c:112:14: [1] (buffer) fgetc: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). c = fgetc(infile) ; data/clisp-2.49.20180218+really2.49.92/utils/comment5.c:117:14: [1] (buffer) fgetc: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). c = fgetc(infile) ; data/clisp-2.49.20180218+really2.49.92/utils/comment5.c:125:14: [1] (buffer) fgetc: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). c = fgetc(infile) ; data/clisp-2.49.20180218+really2.49.92/utils/comment5.c:130:14: [1] (buffer) fgetc: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). c = fgetc(infile) ; data/clisp-2.49.20180218+really2.49.92/utils/comment5.c:136:14: [1] (buffer) fgetc: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). c = fgetc(infile) ; data/clisp-2.49.20180218+really2.49.92/utils/deema.c:17:9: [1] (buffer) getchar: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). c = getchar(); if (c==EOF) break; data/clisp-2.49.20180218+really2.49.92/utils/gctrigger.c:99: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). uintL len1 = strlen(str1); data/clisp-2.49.20180218+really2.49.92/utils/gctrigger.c:109: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). uintL len1 = strlen(str1); data/clisp-2.49.20180218+really2.49.92/utils/gctrigger.c:110: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). uintL len2 = strlen(str2); data/clisp-2.49.20180218+really2.49.92/utils/gctrigger.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). uintL len1 = strlen(str1); data/clisp-2.49.20180218+really2.49.92/utils/gctrigger.c:123: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). uintL len2 = strlen(str2); data/clisp-2.49.20180218+really2.49.92/utils/gctrigger.c:124: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). uintL len3 = strlen(str3); data/clisp-2.49.20180218+really2.49.92/utils/gctrigger.c:137: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). uintL len1 = strlen(str1); data/clisp-2.49.20180218+really2.49.92/utils/gctrigger.c:138: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). uintL len2 = strlen(str2); data/clisp-2.49.20180218+really2.49.92/utils/gctrigger.c:139: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). uintL len3 = strlen(str3); data/clisp-2.49.20180218+really2.49.92/utils/gctrigger.c:140: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). uintL len4 = strlen(str4); data/clisp-2.49.20180218+really2.49.92/utils/gctrigger.c:155: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 (!(index2 <= strlen(str))) abort(); data/clisp-2.49.20180218+really2.49.92/utils/gctrigger.c:236: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). uintL s_len = strlen(s); data/clisp-2.49.20180218+really2.49.92/utils/gctrigger.c:457:11: [1] (buffer) getc: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). int c = getc(infile); data/clisp-2.49.20180218+really2.49.92/utils/gctrigger.c:465:11: [1] (buffer) getc: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). int c = getc(infile); data/clisp-2.49.20180218+really2.49.92/utils/hardcode.c:111:17: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). int n = read(inputfd,buf+count,buflen-count); data/clisp-2.49.20180218+really2.49.92/utils/txt2c.c:27:9: [1] (buffer) getc: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). c = getc(fp); if (c==EOF) { free(line); return (unsigned char *) 0; } data/clisp-2.49.20180218+really2.49.92/utils/txt2c.c:41:9: [1] (buffer) getc: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). c = getc(fp); if (c==EOF) goto eof; data/clisp-2.49.20180218+really2.49.92/utils/txt2c.c:43:11: [1] (buffer) getc: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). c = getc(fp); if (c==EOF) { putchar('#'); goto eof; } data/clisp-2.49.20180218+really2.49.92/utils/txt2c.c:87:19: [1] (buffer) getc: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). c = getc(fp); data/clisp-2.49.20180218+really2.49.92/utils/txt2c.c:112:11: [1] (buffer) getc: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). c = getc(fp); if (c==EOF) { printf("\");\n"); goto eof; } data/clisp-2.49.20180218+really2.49.92/utils/unicode/gen-ctype.c:115:15: [1] (buffer) getc: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). for (; (c = getc (stream)), (c != EOF && c != delim); ) data/clisp-2.49.20180218+really2.49.92/utils/unicode/gen-ctype.c:202:7: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). && strlen (field1) >= 9 data/clisp-2.49.20180218+really2.49.92/utils/unicode/gen-ctype.c:203: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). && !strcmp (field1 + strlen(field1) - 8, ", First>")) data/clisp-2.49.20180218+really2.49.92/utils/unicode/gen-ctype.c:229:6: [1] (buffer) strlen: Does not handle 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 (field1) >= 8 data/clisp-2.49.20180218+really2.49.92/utils/unicode/gen-ctype.c:230: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). && !strcmp (field1 + strlen (field1) - 7, ", Last>"))) data/clisp-2.49.20180218+really2.49.92/utils/unicode/gen-ctype.c:236: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). field1[strlen (field1) - 7] = '\0'; data/clisp-2.49.20180218+really2.49.92/utils/unicode/nls_table.c:33:11: [1] (buffer) getc: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). c = getc(stdin); data/clisp-2.49.20180218+really2.49.92/utils/unicode/nls_table.c:39:18: [1] (buffer) getc: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). do { c = getc(stdin); } while (!(c == EOF || c == '\n')); data/clisp-2.49.20180218+really2.49.92/utils/unicode/nls_table.c:45:16: [1] (buffer) getc: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). do { c = getc(stdin); } while (c == ' ' || c == '\t'); data/clisp-2.49.20180218+really2.49.92/utils/unicode/nls_table.c:62:28: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). char* fname = malloc(strlen(directory)+strlen(filename)+1); data/clisp-2.49.20180218+really2.49.92/utils/unicode/nls_table.c:62:46: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). char* fname = malloc(strlen(directory)+strlen(filename)+1); data/clisp-2.49.20180218+really2.49.92/utils/unicode/nls_table.c:70: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). for (i = 0; i < strlen(c_charsetname); i++) data/clisp-2.49.20180218+really2.49.92/utils/varbrace.c:116: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). uintL len1 = strlen(str1); data/clisp-2.49.20180218+really2.49.92/utils/varbrace.c:125: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). uintL len1 = strlen(str1); data/clisp-2.49.20180218+really2.49.92/utils/varbrace.c:126: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). uintL len2 = strlen(str2); data/clisp-2.49.20180218+really2.49.92/utils/varbrace.c:136: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). uintL len1 = strlen(str1); data/clisp-2.49.20180218+really2.49.92/utils/varbrace.c:137: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). uintL len2 = strlen(str2); data/clisp-2.49.20180218+really2.49.92/utils/varbrace.c:138: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). uintL len3 = strlen(str3); data/clisp-2.49.20180218+really2.49.92/utils/varbrace.c:150: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). uintL len1 = strlen(str1); data/clisp-2.49.20180218+really2.49.92/utils/varbrace.c:151: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). uintL len2 = strlen(str2); data/clisp-2.49.20180218+really2.49.92/utils/varbrace.c:152: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). uintL len3 = strlen(str3); data/clisp-2.49.20180218+really2.49.92/utils/varbrace.c:153: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). uintL len4 = strlen(str4); data/clisp-2.49.20180218+really2.49.92/utils/varbrace.c:167: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 (!(index2 <= strlen(str))) abort(); data/clisp-2.49.20180218+really2.49.92/utils/varbrace.c:615: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). uintL n = strlen(line); data/clisp-2.49.20180218+really2.49.92/utils/varbrace.c:685: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). uintL n = strlen(line); data/clisp-2.49.20180218+really2.49.92/utils/varbrace.c:744: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). uintL n = strlen(line); data/clisp-2.49.20180218+really2.49.92/utils/varbrace.c:769: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). uintL n = strlen(line); data/clisp-2.49.20180218+really2.49.92/utils/varbrace.c:797: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). uintL n = strlen(line); data/clisp-2.49.20180218+really2.49.92/utils/varbrace.c:908:13: [1] (buffer) getc: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). int c = getc(fp); data/clisp-2.49.20180218+really2.49.92/utils/varbrace.c:933:11: [1] (buffer) getc: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). int c = getc(infile); data/clisp-2.49.20180218+really2.49.92/utils/varbrace.c:941:11: [1] (buffer) getc: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). int c = getc(infile); data/clisp-2.49.20180218+really2.49.92/utils/varbrace.c:953: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). uintL n = strlen(line); data/clisp-2.49.20180218+really2.49.92/utils/varbrace.c:1224:22: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). if (line[strlen(line)-1] == '\\') { data/clisp-2.49.20180218+really2.49.92/utils/varbrace.c:1245: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). line[strlen(line)-1] = '\0'; data/clisp-2.49.20180218+really2.49.92/utils/varbrace.c:1283:32: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). strlen("var object "))==0 data/clisp-2.49.20180218+really2.49.92/utils/varbrace.c:1285:35: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). strlen("var chart "))==0) data/clisp-2.49.20180218+really2.49.92/utils/varbrace.c:1288: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). strlen("var object "))==0) data/clisp-2.49.20180218+really2.49.92/utils/varbrace.c:1289:28: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). p += strlen("var object "); data/clisp-2.49.20180218+really2.49.92/utils/varbrace.c:1291:38: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). strlen("var chart "))==0) data/clisp-2.49.20180218+really2.49.92/utils/varbrace.c:1292:28: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). p += strlen("var chart "); ANALYSIS SUMMARY: Hits = 1258 Lines analyzed = 208923 in approximately 6.72 seconds (31085 lines/second) Physical Source Lines of Code (SLOC) = 185151 Hits@level = [0] 542 [1] 253 [2] 813 [3] 68 [4] 95 [5] 29 Hits@level+ = [0+] 1800 [1+] 1258 [2+] 1005 [3+] 192 [4+] 124 [5+] 29 Hits/KSLOC@level+ = [0+] 9.72179 [1+] 6.79445 [2+] 5.428 [3+] 1.03699 [4+] 0.669724 [5+] 0.156629 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.