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/libguestfs-1.42.0/cat/log.c
Examining data/libguestfs-1.42.0/cat/cat.c
Examining data/libguestfs-1.42.0/cat/ls.c
Examining data/libguestfs-1.42.0/cat/tail.c
Examining data/libguestfs-1.42.0/cat/filesystems.c
Examining data/libguestfs-1.42.0/gobject/include/guestfs-gobject.h
Examining data/libguestfs-1.42.0/gobject/include/guestfs-gobject/optargs-inspect_get_icon.h
Examining data/libguestfs-1.42.0/gobject/include/guestfs-gobject/struct-version.h
Examining data/libguestfs-1.42.0/gobject/include/guestfs-gobject/struct-btrfssubvolume.h
Examining data/libguestfs-1.42.0/gobject/include/guestfs-gobject/optargs-mount_9p.h
Examining data/libguestfs-1.42.0/gobject/include/guestfs-gobject/optargs-is_socket.h
Examining data/libguestfs-1.42.0/gobject/include/guestfs-gobject/optargs-add_drive.h
Examining data/libguestfs-1.42.0/gobject/include/guestfs-gobject/optargs-is_file.h
Examining data/libguestfs-1.42.0/gobject/include/guestfs-gobject/struct-utsname.h
Examining data/libguestfs-1.42.0/gobject/include/guestfs-gobject/struct-application2.h
Examining data/libguestfs-1.42.0/gobject/include/guestfs-gobject/optargs-umount.h
Examining data/libguestfs-1.42.0/gobject/include/guestfs-gobject/struct-xfsinfo.h
Examining data/libguestfs-1.42.0/gobject/include/guestfs-gobject/tristate.h
Examining data/libguestfs-1.42.0/gobject/include/guestfs-gobject/optargs-mkswap.h
Examining data/libguestfs-1.42.0/gobject/include/guestfs-gobject/optargs-tune2fs.h
Examining data/libguestfs-1.42.0/gobject/include/guestfs-gobject/session.h
Examining data/libguestfs-1.42.0/gobject/include/guestfs-gobject/optargs-ntfsresize.h
Examining data/libguestfs-1.42.0/gobject/include/guestfs-gobject/struct-lvm_pv.h
Examining data/libguestfs-1.42.0/gobject/include/guestfs-gobject/optargs-fstrim.h
Examining data/libguestfs-1.42.0/gobject/include/guestfs-gobject/optargs-rsync_in.h
Examining data/libguestfs-1.42.0/gobject/include/guestfs-gobject/struct-lvm_lv.h
Examining data/libguestfs-1.42.0/gobject/include/guestfs-gobject/optargs-grep.h
Examining data/libguestfs-1.42.0/gobject/include/guestfs-gobject/optargs-download_blocks.h
Examining data/libguestfs-1.42.0/gobject/include/guestfs-gobject/optargs-internal_test_only_optargs.h
Examining data/libguestfs-1.42.0/gobject/include/guestfs-gobject/optargs-mksquashfs.h
Examining data/libguestfs-1.42.0/gobject/include/guestfs-gobject/optargs-rsync_out.h
Examining data/libguestfs-1.42.0/gobject/include/guestfs-gobject/optargs-ntfsclone_out.h
Examining data/libguestfs-1.42.0/gobject/include/guestfs-gobject/optargs-glob_expand.h
Examining data/libguestfs-1.42.0/gobject/include/guestfs-gobject/optargs-btrfs_subvolume_snapshot.h
Examining data/libguestfs-1.42.0/gobject/include/guestfs-gobject/struct-stat.h
Examining data/libguestfs-1.42.0/gobject/include/guestfs-gobject/optargs-cpio_out.h
Examining data/libguestfs-1.42.0/gobject/include/guestfs-gobject/struct-partition.h
Examining data/libguestfs-1.42.0/gobject/include/guestfs-gobject/struct-tsk_dirent.h
Examining data/libguestfs-1.42.0/gobject/include/guestfs-gobject/optargs-copy_device_to_file.h
Examining data/libguestfs-1.42.0/gobject/include/guestfs-gobject/struct-btrfsqgroup.h
Examining data/libguestfs-1.42.0/gobject/include/guestfs-gobject/optargs-xfs_growfs.h
Examining data/libguestfs-1.42.0/gobject/include/guestfs-gobject/struct-btrfsbalance.h
Examining data/libguestfs-1.42.0/gobject/include/guestfs-gobject/optargs-btrfs_filesystem_defragment.h
Examining data/libguestfs-1.42.0/gobject/include/guestfs-gobject/optargs-btrfs_fsck.h
Examining data/libguestfs-1.42.0/gobject/include/guestfs-gobject/optargs-compress_out.h
Examining data/libguestfs-1.42.0/gobject/include/guestfs-gobject/optargs-is_chardev.h
Examining data/libguestfs-1.42.0/gobject/include/guestfs-gobject/optargs-xfs_admin.h
Examining data/libguestfs-1.42.0/gobject/include/guestfs-gobject/optargs-ntfsfix.h
Examining data/libguestfs-1.42.0/gobject/include/guestfs-gobject/struct-xattr.h
Examining data/libguestfs-1.42.0/gobject/include/guestfs-gobject/struct-btrfsscrub.h
Examining data/libguestfs-1.42.0/gobject/include/guestfs-gobject/optargs-internal_test.h
Examining data/libguestfs-1.42.0/gobject/include/guestfs-gobject/struct-hivex_node.h
Examining data/libguestfs-1.42.0/gobject/include/guestfs-gobject/struct-inotify_event.h
Examining data/libguestfs-1.42.0/gobject/include/guestfs-gobject/optargs-internal_test_63_optargs.h
Examining data/libguestfs-1.42.0/gobject/include/guestfs-gobject/optargs-is_dir.h
Examining data/libguestfs-1.42.0/gobject/include/guestfs-gobject/optargs-btrfs_filesystem_resize.h
Examining data/libguestfs-1.42.0/gobject/include/guestfs-gobject/optargs-mke2fs.h
Examining data/libguestfs-1.42.0/gobject/include/guestfs-gobject/optargs-add_drive_scratch.h
Examining data/libguestfs-1.42.0/gobject/include/guestfs-gobject/struct-mdstat.h
Examining data/libguestfs-1.42.0/gobject/include/guestfs-gobject/optargs-disk_create.h
Examining data/libguestfs-1.42.0/gobject/include/guestfs-gobject/optargs-btrfs_subvolume_create.h
Examining data/libguestfs-1.42.0/gobject/include/guestfs-gobject/optargs-mkfs.h
Examining data/libguestfs-1.42.0/gobject/include/guestfs-gobject/optargs-selinux_relabel.h
Examining data/libguestfs-1.42.0/gobject/include/guestfs-gobject/struct-int_bool.h
Examining data/libguestfs-1.42.0/gobject/include/guestfs-gobject/struct-statns.h
Examining data/libguestfs-1.42.0/gobject/include/guestfs-gobject/struct-isoinfo.h
Examining data/libguestfs-1.42.0/gobject/include/guestfs-gobject/optargs-hivex_open.h
Examining data/libguestfs-1.42.0/gobject/include/guestfs-gobject/optargs-set_e2attrs.h
Examining data/libguestfs-1.42.0/gobject/include/guestfs-gobject/optargs-tar_in.h
Examining data/libguestfs-1.42.0/gobject/include/guestfs-gobject/optargs-add_libvirt_dom.h
Examining data/libguestfs-1.42.0/gobject/include/guestfs-gobject/optargs-md_create.h
Examining data/libguestfs-1.42.0/gobject/include/guestfs-gobject/optargs-rsync.h
Examining data/libguestfs-1.42.0/gobject/include/guestfs-gobject/optargs-copy_file_to_device.h
Examining data/libguestfs-1.42.0/gobject/include/guestfs-gobject/struct-hivex_value.h
Examining data/libguestfs-1.42.0/gobject/include/guestfs-gobject/optargs-tar_out.h
Examining data/libguestfs-1.42.0/gobject/include/guestfs-gobject/optargs-btrfs_image.h
Examining data/libguestfs-1.42.0/gobject/include/guestfs-gobject/optargs-aug_transform.h
Examining data/libguestfs-1.42.0/gobject/include/guestfs-gobject/optargs-is_blockdev.h
Examining data/libguestfs-1.42.0/gobject/include/guestfs-gobject/optargs-mount_local.h
Examining data/libguestfs-1.42.0/gobject/include/guestfs-gobject/optargs-syslinux.h
Examining data/libguestfs-1.42.0/gobject/include/guestfs-gobject/optargs-copy_file_to_file.h
Examining data/libguestfs-1.42.0/gobject/include/guestfs-gobject/optargs-is_fifo.h
Examining data/libguestfs-1.42.0/gobject/include/guestfs-gobject/optargs-xfs_repair.h
Examining data/libguestfs-1.42.0/gobject/include/guestfs-gobject/optargs-add_domain.h
Examining data/libguestfs-1.42.0/gobject/include/guestfs-gobject/optargs-mktemp.h
Examining data/libguestfs-1.42.0/gobject/include/guestfs-gobject/optargs-compress_device_out.h
Examining data/libguestfs-1.42.0/gobject/include/guestfs-gobject/optargs-mkfs_btrfs.h
Examining data/libguestfs-1.42.0/gobject/include/guestfs-gobject/optargs-copy_attributes.h
Examining data/libguestfs-1.42.0/gobject/include/guestfs-gobject/struct-lvm_vg.h
Examining data/libguestfs-1.42.0/gobject/include/guestfs-gobject/struct-application.h
Examining data/libguestfs-1.42.0/gobject/include/guestfs-gobject/optargs-umount_local.h
Examining data/libguestfs-1.42.0/gobject/include/guestfs-gobject/optargs-remount.h
Examining data/libguestfs-1.42.0/gobject/include/guestfs-gobject/struct-yara_detection.h
Examining data/libguestfs-1.42.0/gobject/include/guestfs-gobject/struct-statvfs.h
Examining data/libguestfs-1.42.0/gobject/include/guestfs-gobject/optargs-e2fsck.h
Examining data/libguestfs-1.42.0/gobject/include/guestfs-gobject/struct-dirent.h
Examining data/libguestfs-1.42.0/gobject/include/guestfs-gobject/optargs-copy_device_to_device.h
Examining data/libguestfs-1.42.0/gobject/src/optargs-glob_expand.c
Examining data/libguestfs-1.42.0/gobject/src/optargs-mktemp.c
Examining data/libguestfs-1.42.0/gobject/src/optargs-mkfs_btrfs.c
Examining data/libguestfs-1.42.0/gobject/src/optargs-copy_device_to_device.c
Examining data/libguestfs-1.42.0/gobject/src/struct-btrfssubvolume.c
Examining data/libguestfs-1.42.0/gobject/src/optargs-copy_device_to_file.c
Examining data/libguestfs-1.42.0/gobject/src/struct-btrfsscrub.c
Examining data/libguestfs-1.42.0/gobject/src/optargs-xfs_growfs.c
Examining data/libguestfs-1.42.0/gobject/src/optargs-btrfs_filesystem_resize.c
Examining data/libguestfs-1.42.0/gobject/src/optargs-md_create.c
Examining data/libguestfs-1.42.0/gobject/src/optargs-rsync_out.c
Examining data/libguestfs-1.42.0/gobject/src/optargs-disk_create.c
Examining data/libguestfs-1.42.0/gobject/src/optargs-mount_9p.c
Examining data/libguestfs-1.42.0/gobject/src/optargs-set_e2attrs.c
Examining data/libguestfs-1.42.0/gobject/src/optargs-mkswap.c
Examining data/libguestfs-1.42.0/gobject/src/struct-int_bool.c
Examining data/libguestfs-1.42.0/gobject/src/optargs-tune2fs.c
Examining data/libguestfs-1.42.0/gobject/src/struct-application2.c
Examining data/libguestfs-1.42.0/gobject/src/optargs-copy_attributes.c
Examining data/libguestfs-1.42.0/gobject/src/optargs-copy_file_to_device.c
Examining data/libguestfs-1.42.0/gobject/src/optargs-is_dir.c
Examining data/libguestfs-1.42.0/gobject/src/optargs-ntfsclone_out.c
Examining data/libguestfs-1.42.0/gobject/src/struct-yara_detection.c
Examining data/libguestfs-1.42.0/gobject/src/struct-statvfs.c
Examining data/libguestfs-1.42.0/gobject/src/optargs-compress_device_out.c
Examining data/libguestfs-1.42.0/gobject/src/optargs-ntfsresize.c
Examining data/libguestfs-1.42.0/gobject/src/optargs-download_blocks.c
Examining data/libguestfs-1.42.0/gobject/src/optargs-is_fifo.c
Examining data/libguestfs-1.42.0/gobject/src/optargs-btrfs_fsck.c
Examining data/libguestfs-1.42.0/gobject/src/struct-inotify_event.c
Examining data/libguestfs-1.42.0/gobject/src/tristate.c
Examining data/libguestfs-1.42.0/gobject/src/optargs-selinux_relabel.c
Examining data/libguestfs-1.42.0/gobject/src/optargs-is_blockdev.c
Examining data/libguestfs-1.42.0/gobject/src/optargs-btrfs_image.c
Examining data/libguestfs-1.42.0/gobject/src/optargs-add_drive_scratch.c
Examining data/libguestfs-1.42.0/gobject/src/optargs-rsync.c
Examining data/libguestfs-1.42.0/gobject/src/struct-dirent.c
Examining data/libguestfs-1.42.0/gobject/src/optargs-is_socket.c
Examining data/libguestfs-1.42.0/gobject/src/optargs-rsync_in.c
Examining data/libguestfs-1.42.0/gobject/src/session.c
Examining data/libguestfs-1.42.0/gobject/src/optargs-umount_local.c
Examining data/libguestfs-1.42.0/gobject/src/optargs-inspect_get_icon.c
Examining data/libguestfs-1.42.0/gobject/src/optargs-btrfs_subvolume_create.c
Examining data/libguestfs-1.42.0/gobject/src/optargs-copy_file_to_file.c
Examining data/libguestfs-1.42.0/gobject/src/struct-mdstat.c
Examining data/libguestfs-1.42.0/gobject/src/struct-version.c
Examining data/libguestfs-1.42.0/gobject/src/optargs-is_chardev.c
Examining data/libguestfs-1.42.0/gobject/src/struct-partition.c
Examining data/libguestfs-1.42.0/gobject/src/struct-hivex_node.c
Examining data/libguestfs-1.42.0/gobject/src/optargs-mke2fs.c
Examining data/libguestfs-1.42.0/gobject/src/optargs-umount.c
Examining data/libguestfs-1.42.0/gobject/src/optargs-fstrim.c
Examining data/libguestfs-1.42.0/gobject/src/optargs-add_drive.c
Examining data/libguestfs-1.42.0/gobject/src/struct-lvm_lv.c
Examining data/libguestfs-1.42.0/gobject/src/optargs-cpio_out.c
Examining data/libguestfs-1.42.0/gobject/src/optargs-is_file.c
Examining data/libguestfs-1.42.0/gobject/src/optargs-grep.c
Examining data/libguestfs-1.42.0/gobject/src/struct-xfsinfo.c
Examining data/libguestfs-1.42.0/gobject/src/optargs-xfs_admin.c
Examining data/libguestfs-1.42.0/gobject/src/struct-utsname.c
Examining data/libguestfs-1.42.0/gobject/src/optargs-internal_test_63_optargs.c
Examining data/libguestfs-1.42.0/gobject/src/optargs-compress_out.c
Examining data/libguestfs-1.42.0/gobject/src/struct-lvm_vg.c
Examining data/libguestfs-1.42.0/gobject/src/optargs-mount_local.c
Examining data/libguestfs-1.42.0/gobject/src/optargs-tar_out.c
Examining data/libguestfs-1.42.0/gobject/src/optargs-internal_test.c
Examining data/libguestfs-1.42.0/gobject/src/optargs-xfs_repair.c
Examining data/libguestfs-1.42.0/gobject/src/struct-btrfsqgroup.c
Examining data/libguestfs-1.42.0/gobject/src/struct-statns.c
Examining data/libguestfs-1.42.0/gobject/src/optargs-btrfs_subvolume_snapshot.c
Examining data/libguestfs-1.42.0/gobject/src/struct-isoinfo.c
Examining data/libguestfs-1.42.0/gobject/src/struct-tsk_dirent.c
Examining data/libguestfs-1.42.0/gobject/src/optargs-remount.c
Examining data/libguestfs-1.42.0/gobject/src/optargs-mkfs.c
Examining data/libguestfs-1.42.0/gobject/src/struct-lvm_pv.c
Examining data/libguestfs-1.42.0/gobject/src/struct-hivex_value.c
Examining data/libguestfs-1.42.0/gobject/src/optargs-add_domain.c
Examining data/libguestfs-1.42.0/gobject/src/optargs-add_libvirt_dom.c
Examining data/libguestfs-1.42.0/gobject/src/struct-application.c
Examining data/libguestfs-1.42.0/gobject/src/struct-xattr.c
Examining data/libguestfs-1.42.0/gobject/src/optargs-tar_in.c
Examining data/libguestfs-1.42.0/gobject/src/struct-stat.c
Examining data/libguestfs-1.42.0/gobject/src/optargs-syslinux.c
Examining data/libguestfs-1.42.0/gobject/src/optargs-internal_test_only_optargs.c
Examining data/libguestfs-1.42.0/gobject/src/optargs-ntfsfix.c
Examining data/libguestfs-1.42.0/gobject/src/optargs-mksquashfs.c
Examining data/libguestfs-1.42.0/gobject/src/optargs-hivex_open.c
Examining data/libguestfs-1.42.0/gobject/src/optargs-aug_transform.c
Examining data/libguestfs-1.42.0/gobject/src/optargs-e2fsck.c
Examining data/libguestfs-1.42.0/gobject/src/struct-btrfsbalance.c
Examining data/libguestfs-1.42.0/gobject/src/optargs-btrfs_filesystem_defragment.c
Examining data/libguestfs-1.42.0/test-tool/test-tool.c
Examining data/libguestfs-1.42.0/php/extension/guestfs_php.c
Examining data/libguestfs-1.42.0/php/extension/php_guestfs_php.h
Examining data/libguestfs-1.42.0/make-fs/make-fs.c
Examining data/libguestfs-1.42.0/bundled/ocaml-augeas/augeas-c.c
Examining data/libguestfs-1.42.0/resize/dummy.c
Examining data/libguestfs-1.42.0/get-kernel/dummy.c
Examining data/libguestfs-1.42.0/dib/dummy.c
Examining data/libguestfs-1.42.0/gnulib/tests/test-perror.c
Examining data/libguestfs-1.42.0/gnulib/tests/test-hard-locale.c
Examining data/libguestfs-1.42.0/gnulib/tests/test-nonblocking-reader.h
Examining data/libguestfs-1.42.0/gnulib/tests/test-setenv.c
Examining data/libguestfs-1.42.0/gnulib/tests/test-strnlen.c
Examining data/libguestfs-1.42.0/gnulib/tests/test-wchar.c
Examining data/libguestfs-1.42.0/gnulib/tests/uinttostr.c
Examining data/libguestfs-1.42.0/gnulib/tests/test-fcntl-h.c
Examining data/libguestfs-1.42.0/gnulib/tests/test-utime-h.c
Examining data/libguestfs-1.42.0/gnulib/tests/getopt.c
Examining data/libguestfs-1.42.0/gnulib/tests/test-rmdir.h
Examining data/libguestfs-1.42.0/gnulib/tests/test-environ.c
Examining data/libguestfs-1.42.0/gnulib/tests/test-snprintf.c
Examining data/libguestfs-1.42.0/gnulib/tests/spawn_faction_addopen.c
Examining data/libguestfs-1.42.0/gnulib/tests/test-select.h
Examining data/libguestfs-1.42.0/gnulib/tests/test-c-strcasecmp.c
Examining data/libguestfs-1.42.0/gnulib/tests/utimecmp.h
Examining data/libguestfs-1.42.0/gnulib/tests/bind.c
Examining data/libguestfs-1.42.0/gnulib/tests/test-string.c
Examining data/libguestfs-1.42.0/gnulib/tests/test-setlocale_null.c
Examining data/libguestfs-1.42.0/gnulib/tests/test-vsnprintf.c
Examining data/libguestfs-1.42.0/gnulib/tests/test-read.c
Examining data/libguestfs-1.42.0/gnulib/tests/inttostr.h
Examining data/libguestfs-1.42.0/gnulib/tests/spawnp.c
Examining data/libguestfs-1.42.0/gnulib/tests/unlinkdir.h
Examining data/libguestfs-1.42.0/gnulib/tests/ctype.in.h
Examining data/libguestfs-1.42.0/gnulib/tests/test-ftruncate.c
Examining data/libguestfs-1.42.0/gnulib/tests/socket-client.h
Examining data/libguestfs-1.42.0/gnulib/tests/test-vasprintf.c
Examining data/libguestfs-1.42.0/gnulib/tests/netinet_in.in.h
Examining data/libguestfs-1.42.0/gnulib/tests/test-utimens-common.h
Examining data/libguestfs-1.42.0/gnulib/tests/wait-process.c
Examining data/libguestfs-1.42.0/gnulib/tests/locale.c
Examining data/libguestfs-1.42.0/gnulib/tests/test-posix_spawn_file_actions_adddup2.c
Examining data/libguestfs-1.42.0/gnulib/tests/test-strerror.c
Examining data/libguestfs-1.42.0/gnulib/tests/dtotimespec.c
Examining data/libguestfs-1.42.0/gnulib/tests/test-setlocale_null-mt-all.c
Examining data/libguestfs-1.42.0/gnulib/tests/arpa_inet.in.h
Examining data/libguestfs-1.42.0/gnulib/tests/test-getsockname.c
Examining data/libguestfs-1.42.0/gnulib/tests/test-btowc.c
Examining data/libguestfs-1.42.0/gnulib/tests/test-symlink.c
Examining data/libguestfs-1.42.0/gnulib/tests/test-mkdir.c
Examining data/libguestfs-1.42.0/gnulib/tests/test-sys_select.c
Examining data/libguestfs-1.42.0/gnulib/tests/test-getopt_long.h
Examining data/libguestfs-1.42.0/gnulib/tests/test-locale.c
Examining data/libguestfs-1.42.0/gnulib/tests/test-mbsinit.c
Examining data/libguestfs-1.42.0/gnulib/tests/w32sock.h
Examining data/libguestfs-1.42.0/gnulib/tests/test-c-strncasecmp.c
Examining data/libguestfs-1.42.0/gnulib/tests/unlinkdir.c
Examining data/libguestfs-1.42.0/gnulib/tests/spawnattr_destroy.c
Examining data/libguestfs-1.42.0/gnulib/tests/test-fpending.c
Examining data/libguestfs-1.42.0/gnulib/tests/test-sigaction.c
Examining data/libguestfs-1.42.0/gnulib/tests/pipe.c
Examining data/libguestfs-1.42.0/gnulib/tests/warn-on-use.h
Examining data/libguestfs-1.42.0/gnulib/tests/test-lseek.c
Examining data/libguestfs-1.42.0/gnulib/tests/test-utimens.h
Examining data/libguestfs-1.42.0/gnulib/tests/test-malloca.c
Examining data/libguestfs-1.42.0/gnulib/tests/spawnattr_init.c
Examining data/libguestfs-1.42.0/gnulib/tests/fdopen.c
Examining data/libguestfs-1.42.0/gnulib/tests/test-localeconv.c
Examining data/libguestfs-1.42.0/gnulib/tests/test-ctype.c
Examining data/libguestfs-1.42.0/gnulib/tests/test-sys_socket.c
Examining data/libguestfs-1.42.0/gnulib/tests/setsockopt.c
Examining data/libguestfs-1.42.0/gnulib/tests/wait-process.h
Examining data/libguestfs-1.42.0/gnulib/tests/test-once.c
Examining data/libguestfs-1.42.0/gnulib/tests/btowc.c
Examining data/libguestfs-1.42.0/gnulib/tests/c++defs.h
Examining data/libguestfs-1.42.0/gnulib/tests/test-posix_spawn2.c
Examining data/libguestfs-1.42.0/gnulib/tests/test-cloexec.c
Examining data/libguestfs-1.42.0/gnulib/tests/test-setlocale2.c
Examining data/libguestfs-1.42.0/gnulib/tests/test-memmem.c
Examining data/libguestfs-1.42.0/gnulib/tests/test-pathmax.c
Examining data/libguestfs-1.42.0/gnulib/tests/test-getopt-main.h
Examining data/libguestfs-1.42.0/gnulib/tests/test-setsockopt.c
Examining data/libguestfs-1.42.0/gnulib/tests/test-dirent.c
Examining data/libguestfs-1.42.0/gnulib/tests/test-xvasprintf.c
Examining data/libguestfs-1.42.0/gnulib/tests/spawnattr_setflags.c
Examining data/libguestfs-1.42.0/gnulib/tests/test-inttostr.c
Examining data/libguestfs-1.42.0/gnulib/tests/test-pipe2.c
Examining data/libguestfs-1.42.0/gnulib/tests/nanosleep.c
Examining data/libguestfs-1.42.0/gnulib/tests/test-fputc.c
Examining data/libguestfs-1.42.0/gnulib/tests/test-futimens.c
Examining data/libguestfs-1.42.0/gnulib/tests/_Noreturn.h
Examining data/libguestfs-1.42.0/gnulib/tests/test-areadlink.c
Examining data/libguestfs-1.42.0/gnulib/tests/test-utimensat.c
Examining data/libguestfs-1.42.0/gnulib/tests/test-verify-try.c
Examining data/libguestfs-1.42.0/gnulib/tests/spawnattr_setsigmask.c
Examining data/libguestfs-1.42.0/gnulib/tests/test-sys_stat.c
Examining data/libguestfs-1.42.0/gnulib/tests/test-ignore-value.c
Examining data/libguestfs-1.42.0/gnulib/tests/test-readlink.c
Examining data/libguestfs-1.42.0/gnulib/tests/test-wcrtomb.c
Examining data/libguestfs-1.42.0/gnulib/tests/xstrtol-error.h
Examining data/libguestfs-1.42.0/gnulib/tests/test-unlinkat.c
Examining data/libguestfs-1.42.0/gnulib/tests/test-stdalign.c
Examining data/libguestfs-1.42.0/gnulib/tests/snprintf.c
Examining data/libguestfs-1.42.0/gnulib/tests/test-pread.c
Examining data/libguestfs-1.42.0/gnulib/tests/test-listen.c
Examining data/libguestfs-1.42.0/gnulib/tests/test-unsetenv.c
Examining data/libguestfs-1.42.0/gnulib/tests/test-vasnprintf.c
Examining data/libguestfs-1.42.0/gnulib/tests/test-time.c
Examining data/libguestfs-1.42.0/gnulib/tests/test-stat-time.c
Examining data/libguestfs-1.42.0/gnulib/tests/root-uid.h
Examining data/libguestfs-1.42.0/gnulib/tests/test-posix_spawn1.c
Examining data/libguestfs-1.42.0/gnulib/tests/xstrtol-error.c
Examining data/libguestfs-1.42.0/gnulib/tests/test-alloca-opt.c
Examining data/libguestfs-1.42.0/gnulib/tests/test-nonblocking-misc.h
Examining data/libguestfs-1.42.0/gnulib/tests/test-thread_self.c
Examining data/libguestfs-1.42.0/gnulib/tests/symlinkat.c
Examining data/libguestfs-1.42.0/gnulib/tests/test-stdint.c
Examining data/libguestfs-1.42.0/gnulib/tests/test-setlocale_null-mt-one.c
Examining data/libguestfs-1.42.0/gnulib/tests/test-open.c
Examining data/libguestfs-1.42.0/gnulib/tests/test-float.c
Examining data/libguestfs-1.42.0/gnulib/tests/test-posix_spawn_file_actions_addopen.c
Examining data/libguestfs-1.42.0/gnulib/tests/test-thread_create.c
Examining data/libguestfs-1.42.0/gnulib/tests/test-nonblocking.c
Examining data/libguestfs-1.42.0/gnulib/tests/getsockopt.c
Examining data/libguestfs-1.42.0/gnulib/tests/glthread/thread.c
Examining data/libguestfs-1.42.0/gnulib/tests/glthread/yield.h
Examining data/libguestfs-1.42.0/gnulib/tests/glthread/thread.h
Examining data/libguestfs-1.42.0/gnulib/tests/listen.c
Examining data/libguestfs-1.42.0/gnulib/tests/test-arpa_inet.c
Examining data/libguestfs-1.42.0/gnulib/tests/test-openat.c
Examining data/libguestfs-1.42.0/gnulib/tests/test-utime.c
Examining data/libguestfs-1.42.0/gnulib/tests/test-xstrtoul.c
Examining data/libguestfs-1.42.0/gnulib/tests/test-nonblocking-socket-child.c
Examining data/libguestfs-1.42.0/gnulib/tests/test-quotearg-simple.c
Examining data/libguestfs-1.42.0/gnulib/tests/ftruncate.c
Examining data/libguestfs-1.42.0/gnulib/tests/test-bitrotate.c
Examining data/libguestfs-1.42.0/gnulib/tests/usleep.c
Examining data/libguestfs-1.42.0/gnulib/tests/test-fstat.c
Examining data/libguestfs-1.42.0/gnulib/tests/statat.c
Examining data/libguestfs-1.42.0/gnulib/tests/spawn_faction_addclose.c
Examining data/libguestfs-1.42.0/gnulib/tests/test-inttypes.c
Examining data/libguestfs-1.42.0/gnulib/tests/test-byteswap.c
Examining data/libguestfs-1.42.0/gnulib/tests/test-pthread_sigmask1.c
Examining data/libguestfs-1.42.0/gnulib/tests/test-select-stdin.c
Examining data/libguestfs-1.42.0/gnulib/tests/mbtowc.c
Examining data/libguestfs-1.42.0/gnulib/tests/inet_pton.c
Examining data/libguestfs-1.42.0/gnulib/tests/timespec-add.c
Examining data/libguestfs-1.42.0/gnulib/tests/test-mbsrtowcs.c
Examining data/libguestfs-1.42.0/gnulib/tests/test-usleep.c
Examining data/libguestfs-1.42.0/gnulib/tests/test-lstat.h
Examining data/libguestfs-1.42.0/gnulib/tests/pthread.in.h
Examining data/libguestfs-1.42.0/gnulib/tests/test-unlink.h
Examining data/libguestfs-1.42.0/gnulib/tests/test-c-ctype.c
Examining data/libguestfs-1.42.0/gnulib/tests/test-errno.c
Examining data/libguestfs-1.42.0/gnulib/tests/test-nonblocking-socket.h
Examining data/libguestfs-1.42.0/gnulib/tests/spawni.c
Examining data/libguestfs-1.42.0/gnulib/tests/test-binary-io.c
Examining data/libguestfs-1.42.0/gnulib/tests/isblank.c
Examining data/libguestfs-1.42.0/gnulib/tests/test-areadlink.h
Examining data/libguestfs-1.42.0/gnulib/tests/test-unistd.c
Examining data/libguestfs-1.42.0/gnulib/tests/setlocale.c
Examining data/libguestfs-1.42.0/gnulib/tests/getopt-ext.h
Examining data/libguestfs-1.42.0/gnulib/tests/test-fcntl.c
Examining data/libguestfs-1.42.0/gnulib/tests/test-wctype-h.c
Examining data/libguestfs-1.42.0/gnulib/tests/test-hash.c
Examining data/libguestfs-1.42.0/gnulib/tests/test-fstatat.c
Examining data/libguestfs-1.42.0/gnulib/tests/test-strtoll.c
Examining data/libguestfs-1.42.0/gnulib/tests/wctomb.c
Examining data/libguestfs-1.42.0/gnulib/tests/sigaction.c
Examining data/libguestfs-1.42.0/gnulib/tests/test-base64.c
Examining data/libguestfs-1.42.0/gnulib/tests/test-fdopen.c
Examining data/libguestfs-1.42.0/gnulib/tests/test-fwrite.c
Examining data/libguestfs-1.42.0/gnulib/tests/spawn_faction_init.c
Examining data/libguestfs-1.42.0/gnulib/tests/at-func.c
Examining data/libguestfs-1.42.0/gnulib/tests/macros.h
Examining data/libguestfs-1.42.0/gnulib/tests/test-readlinkat.c
Examining data/libguestfs-1.42.0/gnulib/tests/test-netinet_in.c
Examining data/libguestfs-1.42.0/gnulib/tests/getpagesize.c
Examining data/libguestfs-1.42.0/gnulib/tests/test-getopt.h
Examining data/libguestfs-1.42.0/gnulib/tests/getopt-cdefs.in.h
Examining data/libguestfs-1.42.0/gnulib/tests/arg-nonnull.h
Examining data/libguestfs-1.42.0/gnulib/tests/inttostr.c
Examining data/libguestfs-1.42.0/gnulib/tests/test-fgetc.c
Examining data/libguestfs-1.42.0/gnulib/tests/test-posix_spawn_file_actions_addclose.c
Examining data/libguestfs-1.42.0/gnulib/tests/test-connect.c
Examining data/libguestfs-1.42.0/gnulib/tests/test-symlink.h
Examining data/libguestfs-1.42.0/gnulib/tests/test-sys_time.c
Examining data/libguestfs-1.42.0/gnulib/tests/test-nonblocking-socket-main.c
Examining data/libguestfs-1.42.0/gnulib/tests/test-timespec.c
Examining data/libguestfs-1.42.0/gnulib/tests/utimecmp.c
Examining data/libguestfs-1.42.0/gnulib/tests/test-gettimeofday.c
Examining data/libguestfs-1.42.0/gnulib/tests/test-ioctl.c
Examining data/libguestfs-1.42.0/gnulib/tests/test-xstrtoll.c
Examining data/libguestfs-1.42.0/gnulib/tests/test-getdtablesize.c
Examining data/libguestfs-1.42.0/gnulib/tests/test-mkdir.h
Examining data/libguestfs-1.42.0/gnulib/tests/same-inode.h
Examining data/libguestfs-1.42.0/gnulib/tests/test-nanosleep.c
Examining data/libguestfs-1.42.0/gnulib/tests/test-isblank.c
Examining data/libguestfs-1.42.0/gnulib/tests/test-priv-set.c
Examining data/libguestfs-1.42.0/gnulib/tests/priv-set.h
Examining data/libguestfs-1.42.0/gnulib/tests/test-raise.c
Examining data/libguestfs-1.42.0/gnulib/tests/offtostr.c
Examining data/libguestfs-1.42.0/gnulib/tests/test-unlink.c
Examining data/libguestfs-1.42.0/gnulib/tests/test-bind.c
Examining data/libguestfs-1.42.0/gnulib/tests/test-inet_pton.c
Examining data/libguestfs-1.42.0/gnulib/tests/test-sys_wait.c
Examining data/libguestfs-1.42.0/gnulib/tests/test-lock.c
Examining data/libguestfs-1.42.0/gnulib/tests/windows-thread.c
Examining data/libguestfs-1.42.0/gnulib/tests/test-strerror_r.c
Examining data/libguestfs-1.42.0/gnulib/tests/wctomb-impl.h
Examining data/libguestfs-1.42.0/gnulib/tests/test-getdelim.c
Examining data/libguestfs-1.42.0/gnulib/tests/test-sched.c
Examining data/libguestfs-1.42.0/gnulib/tests/langinfo.in.h
Examining data/libguestfs-1.42.0/gnulib/tests/rmdir.c
Examining data/libguestfs-1.42.0/gnulib/tests/test-sys_wait.h
Examining data/libguestfs-1.42.0/gnulib/tests/zerosize-ptr.h
Examining data/libguestfs-1.42.0/gnulib/tests/test-fnmatch-h.c
Examining data/libguestfs-1.42.0/gnulib/tests/test-stddef.c
Examining data/libguestfs-1.42.0/gnulib/tests/sigprocmask.c
Examining data/libguestfs-1.42.0/gnulib/tests/test-accept.c
Examining data/libguestfs-1.42.0/gnulib/tests/spawn_faction_destroy.c
Examining data/libguestfs-1.42.0/gnulib/tests/test-rwlock1.c
Examining data/libguestfs-1.42.0/gnulib/tests/getopt-core.h
Examining data/libguestfs-1.42.0/gnulib/tests/test-areadlinkat.c
Examining data/libguestfs-1.42.0/gnulib/tests/test-open.h
Examining data/libguestfs-1.42.0/gnulib/tests/test-sleep.c
Examining data/libguestfs-1.42.0/gnulib/tests/test-dup.c
Examining data/libguestfs-1.42.0/gnulib/tests/timespec-sub.c
Examining data/libguestfs-1.42.0/gnulib/tests/anytostr.c
Examining data/libguestfs-1.42.0/gnulib/tests/unlink.c
Examining data/libguestfs-1.42.0/gnulib/tests/test-pipe.c
Examining data/libguestfs-1.42.0/gnulib/tests/test-verify.c
Examining data/libguestfs-1.42.0/gnulib/tests/fatal-signal.h
Examining data/libguestfs-1.42.0/gnulib/tests/test-accept4.c
Examining data/libguestfs-1.42.0/gnulib/tests/pthread_sigmask.c
Examining data/libguestfs-1.42.0/gnulib/tests/test-pthread_sigmask2.c
Examining data/libguestfs-1.42.0/gnulib/tests/test-memchr.c
Examining data/libguestfs-1.42.0/gnulib/tests/dup.c
Examining data/libguestfs-1.42.0/gnulib/tests/test-dup2.c
Examining data/libguestfs-1.42.0/gnulib/tests/test-fchdir.c
Examining data/libguestfs-1.42.0/gnulib/tests/test-argmatch.c
Examining data/libguestfs-1.42.0/gnulib/tests/test-utimens.c
Examining data/libguestfs-1.42.0/gnulib/tests/test-chdir.c
Examining data/libguestfs-1.42.0/gnulib/tests/signature.h
Examining data/libguestfs-1.42.0/gnulib/tests/socket-server.h
Examining data/libguestfs-1.42.0/gnulib/tests/test-tls.c
Examining data/libguestfs-1.42.0/gnulib/tests/spawn_faction_adddup2.c
Examining data/libguestfs-1.42.0/gnulib/tests/test-select.c
Examining data/libguestfs-1.42.0/gnulib/tests/test-futimens.h
Examining data/libguestfs-1.42.0/gnulib/tests/test-xstrtol.c
Examining data/libguestfs-1.42.0/gnulib/tests/waitpid.c
Examining data/libguestfs-1.42.0/gnulib/tests/test-signal-h.c
Examining data/libguestfs-1.42.0/gnulib/tests/test-mbrtowc.c
Examining data/libguestfs-1.42.0/gnulib/tests/test-glob.c
Examining data/libguestfs-1.42.0/gnulib/tests/test-sys_types.c
Examining data/libguestfs-1.42.0/gnulib/tests/test-localename.c
Examining data/libguestfs-1.42.0/gnulib/tests/test-strchrnul.c
Examining data/libguestfs-1.42.0/gnulib/tests/test-nonblocking-pipe-main.c
Examining data/libguestfs-1.42.0/gnulib/tests/test-quotearg.h
Examining data/libguestfs-1.42.0/gnulib/tests/test-limits-h.c
Examining data/libguestfs-1.42.0/gnulib/tests/spawn_int.h
Examining data/libguestfs-1.42.0/gnulib/tests/test-wcrtomb-w32.c
Examining data/libguestfs-1.42.0/gnulib/tests/nap.h
Examining data/libguestfs-1.42.0/gnulib/tests/test-getsockopt.c
Examining data/libguestfs-1.42.0/gnulib/tests/test-sys_uio.c
Examining data/libguestfs-1.42.0/gnulib/tests/test-lutimens.h
Examining data/libguestfs-1.42.0/gnulib/tests/test-symlinkat.c
Examining data/libguestfs-1.42.0/gnulib/tests/test-sockets.c
Examining data/libguestfs-1.42.0/gnulib/tests/test-mbrtowc-w32.c
Examining data/libguestfs-1.42.0/gnulib/tests/fpucw.h
Examining data/libguestfs-1.42.0/gnulib/tests/sig-handler.h
Examining data/libguestfs-1.42.0/gnulib/tests/getopt-pfx-ext.h
Examining data/libguestfs-1.42.0/gnulib/tests/priv-set.c
Examining data/libguestfs-1.42.0/gnulib/tests/getsockname.c
Examining data/libguestfs-1.42.0/gnulib/tests/test-nonblocking-pipe-child.c
Examining data/libguestfs-1.42.0/gnulib/tests/umaxtostr.c
Examining data/libguestfs-1.42.0/gnulib/tests/test-glob-h.c
Examining data/libguestfs-1.42.0/gnulib/tests/test-dup-safer.c
Examining data/libguestfs-1.42.0/gnulib/tests/test-getprogname.c
Examining data/libguestfs-1.42.0/gnulib/tests/windows-thread.h
Examining data/libguestfs-1.42.0/gnulib/tests/sched.in.h
Examining data/libguestfs-1.42.0/gnulib/tests/spawn.in.h
Examining data/libguestfs-1.42.0/gnulib/tests/test-perror2.c
Examining data/libguestfs-1.42.0/gnulib/tests/putenv.c
Examining data/libguestfs-1.42.0/gnulib/tests/test-pthread.c
Examining data/libguestfs-1.42.0/gnulib/tests/test-getline.c
Examining data/libguestfs-1.42.0/gnulib/tests/test-lstat.c
Examining data/libguestfs-1.42.0/gnulib/tests/test-stat.h
Examining data/libguestfs-1.42.0/gnulib/tests/test-rmdir.c
Examining data/libguestfs-1.42.0/gnulib/tests/vsnprintf.c
Examining data/libguestfs-1.42.0/gnulib/tests/localename.h
Examining data/libguestfs-1.42.0/gnulib/tests/utimensat.c
Examining data/libguestfs-1.42.0/gnulib/tests/pthread-thread.c
Examining data/libguestfs-1.42.0/gnulib/tests/wctob.c
Examining data/libguestfs-1.42.0/gnulib/tests/localename-table.c
Examining data/libguestfs-1.42.0/gnulib/tests/getopt.in.h
Examining data/libguestfs-1.42.0/gnulib/tests/unlinkat.c
Examining data/libguestfs-1.42.0/gnulib/tests/test-select-fd.c
Examining data/libguestfs-1.42.0/gnulib/tests/localename-table.h
Examining data/libguestfs-1.42.0/gnulib/tests/getopt1.c
Examining data/libguestfs-1.42.0/gnulib/tests/test-spawn.c
Examining data/libguestfs-1.42.0/gnulib/tests/localename.c
Examining data/libguestfs-1.42.0/gnulib/tests/test-stdbool.c
Examining data/libguestfs-1.42.0/gnulib/tests/mbtowc-impl.h
Examining data/libguestfs-1.42.0/gnulib/tests/test-stdio.c
Examining data/libguestfs-1.42.0/gnulib/tests/test-intprops.c
Examining data/libguestfs-1.42.0/gnulib/tests/imaxtostr.c
Examining data/libguestfs-1.42.0/gnulib/tests/test-strtoumax.c
Examining data/libguestfs-1.42.0/gnulib/tests/test-getopt-posix.c
Examining data/libguestfs-1.42.0/gnulib/tests/test-nonblocking-pipe.h
Examining data/libguestfs-1.42.0/gnulib/tests/test-getcwd-lgpl.c
Examining data/libguestfs-1.42.0/gnulib/tests/getopt_int.h
Examining data/libguestfs-1.42.0/gnulib/tests/test-getopt-gnu.c
Examining data/libguestfs-1.42.0/gnulib/tests/test-fnmatch.c
Examining data/libguestfs-1.42.0/gnulib/tests/wcrtomb.c
Examining data/libguestfs-1.42.0/gnulib/tests/test-xstrtoumax.c
Examining data/libguestfs-1.42.0/gnulib/tests/test-write.c
Examining data/libguestfs-1.42.0/gnulib/tests/test-xalloc-die.c
Examining data/libguestfs-1.42.0/gnulib/tests/test-close.c
Examining data/libguestfs-1.42.0/gnulib/tests/fatal-signal.c
Examining data/libguestfs-1.42.0/gnulib/tests/test-strtoull.c
Examining data/libguestfs-1.42.0/gnulib/tests/test-nonblocking-writer.h
Examining data/libguestfs-1.42.0/gnulib/tests/test-fread.c
Examining data/libguestfs-1.42.0/gnulib/tests/test-langinfo.c
Examining data/libguestfs-1.42.0/gnulib/tests/test-readlink.h
Examining data/libguestfs-1.42.0/gnulib/tests/unsetenv.c
Examining data/libguestfs-1.42.0/gnulib/tests/test-scratch-buffer.c
Examining data/libguestfs-1.42.0/gnulib/tests/test-localcharset.c
Examining data/libguestfs-1.42.0/gnulib/tests/test-pthread-thread.c
Examining data/libguestfs-1.42.0/gnulib/tests/test-stat.c
Examining data/libguestfs-1.42.0/gnulib/tests/getopt-pfx-core.h
Examining data/libguestfs-1.42.0/gnulib/tests/test-setlocale1.c
Examining data/libguestfs-1.42.0/gnulib/tests/symlink.c
Examining data/libguestfs-1.42.0/gnulib/tests/test-stdlib.c
Examining data/libguestfs-1.42.0/gnulib/tests/test-statat.c
Examining data/libguestfs-1.42.0/gnulib/tests/test-sys_ioctl.c
Examining data/libguestfs-1.42.0/gnulib/tests/test-xstrtoull.c
Examining data/libguestfs-1.42.0/gnulib/tests/test-netdb.c
Examining data/libguestfs-1.42.0/gnulib/tests/test-sigprocmask.c
Examining data/libguestfs-1.42.0/gnulib/tests/test-rawmemchr.c
Examining data/libguestfs-1.42.0/gnulib/tests/sig-handler.c
Examining data/libguestfs-1.42.0/gnulib/tests/test-memrchr.c
Examining data/libguestfs-1.42.0/gnulib/lib/filenamecat.h
Examining data/libguestfs-1.42.0/gnulib/lib/quote.h
Examining data/libguestfs-1.42.0/gnulib/lib/accept4.c
Examining data/libguestfs-1.42.0/gnulib/lib/setlocale_null.c
Examining data/libguestfs-1.42.0/gnulib/lib/allocator.c
Examining data/libguestfs-1.42.0/gnulib/lib/strndup.c
Examining data/libguestfs-1.42.0/gnulib/lib/glob.in.h
Examining data/libguestfs-1.42.0/gnulib/lib/full-write.c
Examining data/libguestfs-1.42.0/gnulib/lib/alloca.c
Examining data/libguestfs-1.42.0/gnulib/lib/getline.c
Examining data/libguestfs-1.42.0/gnulib/lib/unistd.c
Examining data/libguestfs-1.42.0/gnulib/lib/getlogin_r.c
Examining data/libguestfs-1.42.0/gnulib/lib/getdelim.c
Examining data/libguestfs-1.42.0/gnulib/lib/tempname.c
Examining data/libguestfs-1.42.0/gnulib/lib/malloca.h
Examining data/libguestfs-1.42.0/gnulib/lib/localeconv.c
Examining data/libguestfs-1.42.0/gnulib/lib/cloexec.h
Examining data/libguestfs-1.42.0/gnulib/lib/safe-read.h
Examining data/libguestfs-1.42.0/gnulib/lib/windows-rwlock.h
Examining data/libguestfs-1.42.0/gnulib/lib/stat-w32.h
Examining data/libguestfs-1.42.0/gnulib/lib/mbrtowc-impl-utf8.h
Examining data/libguestfs-1.42.0/gnulib/lib/bitrotate.c
Examining data/libguestfs-1.42.0/gnulib/lib/wctype-h.c
Examining data/libguestfs-1.42.0/gnulib/lib/accept.c
Examining data/libguestfs-1.42.0/gnulib/lib/utime.in.h
Examining data/libguestfs-1.42.0/gnulib/lib/base64.h
Examining data/libguestfs-1.42.0/gnulib/lib/base64.c
Examining data/libguestfs-1.42.0/gnulib/lib/windows-tls.h
Examining data/libguestfs-1.42.0/gnulib/lib/stdio-write.c
Examining data/libguestfs-1.42.0/gnulib/lib/pread.c
Examining data/libguestfs-1.42.0/gnulib/lib/dosname.h
Examining data/libguestfs-1.42.0/gnulib/lib/printf-parse.c
Examining data/libguestfs-1.42.0/gnulib/lib/connect.c
Examining data/libguestfs-1.42.0/gnulib/lib/chdir-long.c
Examining data/libguestfs-1.42.0/gnulib/lib/msvc-inval.h
Examining data/libguestfs-1.42.0/gnulib/lib/areadlink.h
Examining data/libguestfs-1.42.0/gnulib/lib/malloc.c
Examining data/libguestfs-1.42.0/gnulib/lib/stat-w32.c
Examining data/libguestfs-1.42.0/gnulib/lib/vasprintf.c
Examining data/libguestfs-1.42.0/gnulib/lib/lseek.c
Examining data/libguestfs-1.42.0/gnulib/lib/asprintf.c
Examining data/libguestfs-1.42.0/gnulib/lib/tempname.h
Examining data/libguestfs-1.42.0/gnulib/lib/xmalloc.c
Examining data/libguestfs-1.42.0/gnulib/lib/strnlen1.c
Examining data/libguestfs-1.42.0/gnulib/lib/safe-write.h
Examining data/libguestfs-1.42.0/gnulib/lib/windows-once.h
Examining data/libguestfs-1.42.0/gnulib/lib/mbsrtowcs-state.c
Examining data/libguestfs-1.42.0/gnulib/lib/getprogname.c
Examining data/libguestfs-1.42.0/gnulib/lib/time.in.h
Examining data/libguestfs-1.42.0/gnulib/lib/w32sock.h
Examining data/libguestfs-1.42.0/gnulib/lib/ignore-value.h
Examining data/libguestfs-1.42.0/gnulib/lib/areadlinkat.c
Examining data/libguestfs-1.42.0/gnulib/lib/fd-hook.h
Examining data/libguestfs-1.42.0/gnulib/lib/write.c
Examining data/libguestfs-1.42.0/gnulib/lib/strerror_r.c
Examining data/libguestfs-1.42.0/gnulib/lib/raise.c
Examining data/libguestfs-1.42.0/gnulib/lib/windows-mutex.c
Examining data/libguestfs-1.42.0/gnulib/lib/warn-on-use.h
Examining data/libguestfs-1.42.0/gnulib/lib/careadlinkat.h
Examining data/libguestfs-1.42.0/gnulib/lib/closedir.c
Examining data/libguestfs-1.42.0/gnulib/lib/human.h
Examining data/libguestfs-1.42.0/gnulib/lib/stdalign.in.h
Examining data/libguestfs-1.42.0/gnulib/lib/stdio-impl.h
Examining data/libguestfs-1.42.0/gnulib/lib/mbrtowc-impl.h
Examining data/libguestfs-1.42.0/gnulib/lib/cdefs.h
Examining data/libguestfs-1.42.0/gnulib/lib/read.c
Examining data/libguestfs-1.42.0/gnulib/lib/stdio-read.c
Examining data/libguestfs-1.42.0/gnulib/lib/alloca.in.h
Examining data/libguestfs-1.42.0/gnulib/lib/c++defs.h
Examining data/libguestfs-1.42.0/gnulib/lib/fpending.h
Examining data/libguestfs-1.42.0/gnulib/lib/mkstemps.c
Examining data/libguestfs-1.42.0/gnulib/lib/locale.in.h
Examining data/libguestfs-1.42.0/gnulib/lib/dup-safer.c
Examining data/libguestfs-1.42.0/gnulib/lib/sys_socket.c
Examining data/libguestfs-1.42.0/gnulib/lib/sys_wait.in.h
Examining data/libguestfs-1.42.0/gnulib/lib/filenamecat-lgpl.c
Examining data/libguestfs-1.42.0/gnulib/lib/rawmemchr.c
Examining data/libguestfs-1.42.0/gnulib/lib/strtoimax.c
Examining data/libguestfs-1.42.0/gnulib/lib/windows-rwlock.c
Examining data/libguestfs-1.42.0/gnulib/lib/utime.c
Examining data/libguestfs-1.42.0/gnulib/lib/sockets.h
Examining data/libguestfs-1.42.0/gnulib/lib/unistd--.h
Examining data/libguestfs-1.42.0/gnulib/lib/realloc.c
Examining data/libguestfs-1.42.0/gnulib/lib/flexmember.h
Examining data/libguestfs-1.42.0/gnulib/lib/areadlink.c
Examining data/libguestfs-1.42.0/gnulib/lib/_Noreturn.h
Examining data/libguestfs-1.42.0/gnulib/lib/hash.h
Examining data/libguestfs-1.42.0/gnulib/lib/full-read.c
Examining data/libguestfs-1.42.0/gnulib/lib/msvc-nothrow.c
Examining data/libguestfs-1.42.0/gnulib/lib/setlocale-lock.c
Examining data/libguestfs-1.42.0/gnulib/lib/str-two-way.h
Examining data/libguestfs-1.42.0/gnulib/lib/hash.c
Examining data/libguestfs-1.42.0/gnulib/lib/careadlinkat.c
Examining data/libguestfs-1.42.0/gnulib/lib/stdio.in.h
Examining data/libguestfs-1.42.0/gnulib/lib/close-stream.c
Examining data/libguestfs-1.42.0/gnulib/lib/filename.h
Examining data/libguestfs-1.42.0/gnulib/lib/glob_pattern_p.c
Examining data/libguestfs-1.42.0/gnulib/lib/xsize.h
Examining data/libguestfs-1.42.0/gnulib/lib/localtime-buffer.c
Examining data/libguestfs-1.42.0/gnulib/lib/openat-proc.c
Examining data/libguestfs-1.42.0/gnulib/lib/closeout.c
Examining data/libguestfs-1.42.0/gnulib/lib/strtoumax.c
Examining data/libguestfs-1.42.0/gnulib/lib/localcharset.c
Examining data/libguestfs-1.42.0/gnulib/lib/mbsinit.c
Examining data/libguestfs-1.42.0/gnulib/lib/verify.h
Examining data/libguestfs-1.42.0/gnulib/lib/stddef.in.h
Examining data/libguestfs-1.42.0/gnulib/lib/strtoll.c
Examining data/libguestfs-1.42.0/gnulib/lib/malloc/scratch_buffer.h
Examining data/libguestfs-1.42.0/gnulib/lib/malloc/scratch_buffer_grow_preserve.c
Examining data/libguestfs-1.42.0/gnulib/lib/malloc/scratch_buffer_grow.c
Examining data/libguestfs-1.42.0/gnulib/lib/malloc/scratch_buffer_set_array_size.c
Examining data/libguestfs-1.42.0/gnulib/lib/gettext.h
Examining data/libguestfs-1.42.0/gnulib/lib/glob-libc.h
Examining data/libguestfs-1.42.0/gnulib/lib/sys_ioctl.in.h
Examining data/libguestfs-1.42.0/gnulib/lib/allocator.h
Examining data/libguestfs-1.42.0/gnulib/lib/libc-config.h
Examining data/libguestfs-1.42.0/gnulib/lib/scratch_buffer.h
Examining data/libguestfs-1.42.0/gnulib/lib/glthread/threadlib.c
Examining data/libguestfs-1.42.0/gnulib/lib/glthread/tls.h
Examining data/libguestfs-1.42.0/gnulib/lib/glthread/lock.h
Examining data/libguestfs-1.42.0/gnulib/lib/glthread/lock.c
Examining data/libguestfs-1.42.0/gnulib/lib/glthread/tls.c
Examining data/libguestfs-1.42.0/gnulib/lib/getdtablesize.c
Examining data/libguestfs-1.42.0/gnulib/lib/mbtowc-lock.h
Examining data/libguestfs-1.42.0/gnulib/lib/nonblocking.c
Examining data/libguestfs-1.42.0/gnulib/lib/errno.in.h
Examining data/libguestfs-1.42.0/gnulib/lib/localtime-buffer.h
Examining data/libguestfs-1.42.0/gnulib/lib/socket.c
Examining data/libguestfs-1.42.0/gnulib/lib/assure.h
Examining data/libguestfs-1.42.0/gnulib/lib/exitfail.h
Examining data/libguestfs-1.42.0/gnulib/lib/memchr.c
Examining data/libguestfs-1.42.0/gnulib/lib/openat-priv.h
Examining data/libguestfs-1.42.0/gnulib/lib/size_max.h
Examining data/libguestfs-1.42.0/gnulib/lib/glob.c
Examining data/libguestfs-1.42.0/gnulib/lib/memmem.c
Examining data/libguestfs-1.42.0/gnulib/lib/error.c
Examining data/libguestfs-1.42.0/gnulib/lib/printf-parse.h
Examining data/libguestfs-1.42.0/gnulib/lib/sys_select.in.h
Examining data/libguestfs-1.42.0/gnulib/lib/hard-locale.c
Examining data/libguestfs-1.42.0/gnulib/lib/signal.in.h
Examining data/libguestfs-1.42.0/gnulib/lib/fd-safer.c
Examining data/libguestfs-1.42.0/gnulib/lib/gettimeofday.c
Examining data/libguestfs-1.42.0/gnulib/lib/glob_internal.h
Examining data/libguestfs-1.42.0/gnulib/lib/float+.h
Examining data/libguestfs-1.42.0/gnulib/lib/fcntl.c
Examining data/libguestfs-1.42.0/gnulib/lib/msvc-nothrow.h
Examining data/libguestfs-1.42.0/gnulib/lib/lc-charset-dispatch.h
Examining data/libguestfs-1.42.0/gnulib/lib/limits.in.h
Examining data/libguestfs-1.42.0/gnulib/lib/getcwd-lgpl.c
Examining data/libguestfs-1.42.0/gnulib/lib/xasprintf.c
Examining data/libguestfs-1.42.0/gnulib/lib/fstatat.c
Examining data/libguestfs-1.42.0/gnulib/lib/stripslash.c
Examining data/libguestfs-1.42.0/gnulib/lib/mbtowc-lock.c
Examining data/libguestfs-1.42.0/gnulib/lib/strnlen1.h
Examining data/libguestfs-1.42.0/gnulib/lib/windows-once.c
Examining data/libguestfs-1.42.0/gnulib/lib/mbrtowc.c
Examining data/libguestfs-1.42.0/gnulib/lib/dirent.in.h
Examining data/libguestfs-1.42.0/gnulib/lib/timespec.h
Examining data/libguestfs-1.42.0/gnulib/lib/at-func.c
Examining data/libguestfs-1.42.0/gnulib/lib/byteswap.in.h
Examining data/libguestfs-1.42.0/gnulib/lib/readlink.c
Examining data/libguestfs-1.42.0/gnulib/lib/human.c
Examining data/libguestfs-1.42.0/gnulib/lib/c-strcase.h
Examining data/libguestfs-1.42.0/gnulib/lib/full-read.h
Examining data/libguestfs-1.42.0/gnulib/lib/xalloc-die.c
Examining data/libguestfs-1.42.0/gnulib/lib/strtol.c
Examining data/libguestfs-1.42.0/gnulib/lib/readlinkat.c
Examining data/libguestfs-1.42.0/gnulib/lib/localcharset.h
Examining data/libguestfs-1.42.0/gnulib/lib/perror.c
Examining data/libguestfs-1.42.0/gnulib/lib/arg-nonnull.h
Examining data/libguestfs-1.42.0/gnulib/lib/strnlen.c
Examining data/libguestfs-1.42.0/gnulib/lib/opendir.c
Examining data/libguestfs-1.42.0/gnulib/lib/sleep.c
Examining data/libguestfs-1.42.0/gnulib/lib/strerror-override.c
Examining data/libguestfs-1.42.0/gnulib/lib/stdint.in.h
Examining data/libguestfs-1.42.0/gnulib/lib/sockets.c
Examining data/libguestfs-1.42.0/gnulib/lib/printf-args.c
Examining data/libguestfs-1.42.0/gnulib/lib/readdir.c
Examining data/libguestfs-1.42.0/gnulib/lib/streq.h
Examining data/libguestfs-1.42.0/gnulib/lib/ioctl.c
Examining data/libguestfs-1.42.0/gnulib/lib/printf-args.h
Examining data/libguestfs-1.42.0/gnulib/lib/xstrtoul.c
Examining data/libguestfs-1.42.0/gnulib/lib/sys_stat.in.h
Examining data/libguestfs-1.42.0/gnulib/lib/msvc-inval.c
Examining data/libguestfs-1.42.0/gnulib/lib/dirname.h
Examining data/libguestfs-1.42.0/gnulib/lib/c-strcasecmp.c
Examining data/libguestfs-1.42.0/gnulib/lib/itold.c
Examining data/libguestfs-1.42.0/gnulib/lib/quotearg.h
Examining data/libguestfs-1.42.0/gnulib/lib/memrchr.c
Examining data/libguestfs-1.42.0/gnulib/lib/pipe-safer.c
Examining data/libguestfs-1.42.0/gnulib/lib/vasnprintf.c
Examining data/libguestfs-1.42.0/gnulib/lib/setlocale_null.h
Examining data/libguestfs-1.42.0/gnulib/lib/float.c
Examining data/libguestfs-1.42.0/gnulib/lib/xstrtol.h
Examining data/libguestfs-1.42.0/gnulib/lib/gettime.c
Examining data/libguestfs-1.42.0/gnulib/lib/open.c
Examining data/libguestfs-1.42.0/gnulib/lib/fpending.c
Examining data/libguestfs-1.42.0/gnulib/lib/strerror-override.h
Examining data/libguestfs-1.42.0/gnulib/lib/argmatch.h
Examining data/libguestfs-1.42.0/gnulib/lib/windows-mutex.h
Examining data/libguestfs-1.42.0/gnulib/lib/dup2.c
Examining data/libguestfs-1.42.0/gnulib/lib/sys_time.in.h
Examining data/libguestfs-1.42.0/gnulib/lib/stdlib.in.h
Examining data/libguestfs-1.42.0/gnulib/lib/cloexec.c
Examining data/libguestfs-1.42.0/gnulib/lib/fd-safer-flag.c
Examining data/libguestfs-1.42.0/gnulib/lib/strtoull.c
Examining data/libguestfs-1.42.0/gnulib/lib/stdbool.in.h
Examining data/libguestfs-1.42.0/gnulib/lib/stat-time.c
Examining data/libguestfs-1.42.0/gnulib/lib/save-cwd.c
Examining data/libguestfs-1.42.0/gnulib/lib/exitfail.c
Examining data/libguestfs-1.42.0/gnulib/lib/mempcpy.c
Examining data/libguestfs-1.42.0/gnulib/lib/c-strncasecmp.c
Examining data/libguestfs-1.42.0/gnulib/lib/dirname-lgpl.c
Examining data/libguestfs-1.42.0/gnulib/lib/windows-tls.c
Examining data/libguestfs-1.42.0/gnulib/lib/argmatch.c
Examining data/libguestfs-1.42.0/gnulib/lib/float.in.h
Examining data/libguestfs-1.42.0/gnulib/lib/fchdir.c
Examining data/libguestfs-1.42.0/gnulib/lib/binary-io.c
Examining data/libguestfs-1.42.0/gnulib/lib/xvasprintf.c
Examining data/libguestfs-1.42.0/gnulib/lib/xstrtoumax.c
Examining data/libguestfs-1.42.0/gnulib/lib/openat.c
Examining data/libguestfs-1.42.0/gnulib/lib/safe-write.c
Examining data/libguestfs-1.42.0/gnulib/lib/futimens.c
Examining data/libguestfs-1.42.0/gnulib/lib/error.h
Examining data/libguestfs-1.42.0/gnulib/lib/c-ctype.c
Examining data/libguestfs-1.42.0/gnulib/lib/sys_socket.in.h
Examining data/libguestfs-1.42.0/gnulib/lib/full-write.h
Examining data/libguestfs-1.42.0/gnulib/lib/windows-initguard.h
Examining data/libguestfs-1.42.0/gnulib/lib/mbsrtowcs.c
Examining data/libguestfs-1.42.0/gnulib/lib/mkdtemp.c
Examining data/libguestfs-1.42.0/gnulib/lib/openat-die.c
Examining data/libguestfs-1.42.0/gnulib/lib/stdarg.in.h
Examining data/libguestfs-1.42.0/gnulib/lib/netdb.in.h
Examining data/libguestfs-1.42.0/gnulib/lib/dup-safer-flag.c
Examining data/libguestfs-1.42.0/gnulib/lib/c-ctype.h
Examining data/libguestfs-1.42.0/gnulib/lib/wctype.in.h
Examining data/libguestfs-1.42.0/gnulib/lib/chdir-long.h
Examining data/libguestfs-1.42.0/gnulib/lib/fcntl.in.h
Examining data/libguestfs-1.42.0/gnulib/lib/windows-recmutex.h
Examining data/libguestfs-1.42.0/gnulib/lib/lc-charset-dispatch.c
Examining data/libguestfs-1.42.0/gnulib/lib/timespec.c
Examining data/libguestfs-1.42.0/gnulib/lib/basename-lgpl.c
Examining data/libguestfs-1.42.0/gnulib/lib/openat.h
Examining data/libguestfs-1.42.0/gnulib/lib/wchar.in.h
Examining data/libguestfs-1.42.0/gnulib/lib/safe-read.c
Examining data/libguestfs-1.42.0/gnulib/lib/xalloc.h
Examining data/libguestfs-1.42.0/gnulib/lib/bitrotate.h
Examining data/libguestfs-1.42.0/gnulib/lib/string.in.h
Examining data/libguestfs-1.42.0/gnulib/lib/xsize.c
Examining data/libguestfs-1.42.0/gnulib/lib/asnprintf.c
Examining data/libguestfs-1.42.0/gnulib/lib/sys-limits.h
Examining data/libguestfs-1.42.0/gnulib/lib/mbsrtowcs-impl.h
Examining data/libguestfs-1.42.0/gnulib/lib/globfree.c
Examining data/libguestfs-1.42.0/gnulib/lib/c-strcaseeq.h
Examining data/libguestfs-1.42.0/gnulib/lib/fnmatch.c
Examining data/libguestfs-1.42.0/gnulib/lib/pathmax.h
Examining data/libguestfs-1.42.0/gnulib/lib/dirfd.c
Examining data/libguestfs-1.42.0/gnulib/lib/utimens.c
Examining data/libguestfs-1.42.0/gnulib/lib/fnmatch.in.h
Examining data/libguestfs-1.42.0/gnulib/lib/fnmatch_loop.c
Examining data/libguestfs-1.42.0/gnulib/lib/getprogname.h
Examining data/libguestfs-1.42.0/gnulib/lib/mkdir.c
Examining data/libguestfs-1.42.0/gnulib/lib/hash-pjw.h
Examining data/libguestfs-1.42.0/gnulib/lib/malloca.c
Examining data/libguestfs-1.42.0/gnulib/lib/strchrnul.c
Examining data/libguestfs-1.42.0/gnulib/lib/close.c
Examining data/libguestfs-1.42.0/gnulib/lib/lstat.c
Examining data/libguestfs-1.42.0/gnulib/lib/stat.c
Examining data/libguestfs-1.42.0/gnulib/lib/xalloc-oversized.h
Examining data/libguestfs-1.42.0/gnulib/lib/fstat.c
Examining data/libguestfs-1.42.0/gnulib/lib/xvasprintf.h
Examining data/libguestfs-1.42.0/gnulib/lib/close-stream.h
Examining data/libguestfs-1.42.0/gnulib/lib/setenv.c
Examining data/libguestfs-1.42.0/gnulib/lib/utimens.h
Examining data/libguestfs-1.42.0/gnulib/lib/hard-locale.h
Examining data/libguestfs-1.42.0/gnulib/lib/xstrtoull.c
Examining data/libguestfs-1.42.0/gnulib/lib/fd-hook.c
Examining data/libguestfs-1.42.0/gnulib/lib/minmax.h
Examining data/libguestfs-1.42.0/gnulib/lib/unistd-safer.h
Examining data/libguestfs-1.42.0/gnulib/lib/quotearg.c
Examining data/libguestfs-1.42.0/gnulib/lib/windows-recmutex.c
Examining data/libguestfs-1.42.0/gnulib/lib/xstrtoll.c
Examining data/libguestfs-1.42.0/gnulib/lib/closeout.h
Examining data/libguestfs-1.42.0/gnulib/lib/stat-time.h
Examining data/libguestfs-1.42.0/gnulib/lib/xstrtol.c
Examining data/libguestfs-1.42.0/gnulib/lib/dirent-private.h
Examining data/libguestfs-1.42.0/gnulib/lib/strtoul.c
Examining data/libguestfs-1.42.0/gnulib/lib/sys_uio.in.h
Examining data/libguestfs-1.42.0/gnulib/lib/save-cwd.h
Examining data/libguestfs-1.42.0/gnulib/lib/binary-io.h
Examining data/libguestfs-1.42.0/gnulib/lib/hash-pjw.c
Examining data/libguestfs-1.42.0/gnulib/lib/pipe2.c
Examining data/libguestfs-1.42.0/gnulib/lib/nonblocking.h
Examining data/libguestfs-1.42.0/gnulib/lib/sys_types.in.h
Examining data/libguestfs-1.42.0/gnulib/lib/strdup.c
Examining data/libguestfs-1.42.0/gnulib/lib/inttypes.in.h
Examining data/libguestfs-1.42.0/gnulib/lib/vasnprintf.h
Examining data/libguestfs-1.42.0/gnulib/lib/unistd.in.h
Examining data/libguestfs-1.42.0/gnulib/lib/intprops.h
Examining data/libguestfs-1.42.0/gnulib/lib/select.c
Examining data/libguestfs-1.42.0/gnulib/lib/strerror.c
Examining data/libguestfs-1.42.0/edit/edit.c
Examining data/libguestfs-1.42.0/python/structs.c
Examining data/libguestfs-1.42.0/python/module.c
Examining data/libguestfs-1.42.0/python/actions-4.c
Examining data/libguestfs-1.42.0/python/actions-6.c
Examining data/libguestfs-1.42.0/python/actions-5.c
Examining data/libguestfs-1.42.0/python/actions-1.c
Examining data/libguestfs-1.42.0/python/actions-2.c
Examining data/libguestfs-1.42.0/python/handle.c
Examining data/libguestfs-1.42.0/python/actions.h
Examining data/libguestfs-1.42.0/python/actions-0.c
Examining data/libguestfs-1.42.0/python/actions-3.c
Examining data/libguestfs-1.42.0/fish/prep-disk.c
Examining data/libguestfs-1.42.0/fish/event-names.c
Examining data/libguestfs-1.42.0/fish/completion.c
Examining data/libguestfs-1.42.0/fish/prep-lv.c
Examining data/libguestfs-1.42.0/fish/lcd.c
Examining data/libguestfs-1.42.0/fish/entries-0.c
Examining data/libguestfs-1.42.0/fish/run-3.c
Examining data/libguestfs-1.42.0/fish/hexedit.c
Examining data/libguestfs-1.42.0/fish/rc_protocol.c
Examining data/libguestfs-1.42.0/fish/run-0.c
Examining data/libguestfs-1.42.0/fish/alloc.c
Examining data/libguestfs-1.42.0/fish/rc_protocol.h
Examining data/libguestfs-1.42.0/fish/tilde.c
Examining data/libguestfs-1.42.0/fish/run-4.c
Examining data/libguestfs-1.42.0/fish/more.c
Examining data/libguestfs-1.42.0/fish/run-5.c
Examining data/libguestfs-1.42.0/fish/fish.h
Examining data/libguestfs-1.42.0/fish/entries-5.c
Examining data/libguestfs-1.42.0/fish/cmds.c
Examining data/libguestfs-1.42.0/fish/run-6.c
Examining data/libguestfs-1.42.0/fish/display.c
Examining data/libguestfs-1.42.0/fish/entries-1.c
Examining data/libguestfs-1.42.0/fish/prep-fs.c
Examining data/libguestfs-1.42.0/fish/rc.c
Examining data/libguestfs-1.42.0/fish/prepopts.c
Examining data/libguestfs-1.42.0/fish/glob.c
Examining data/libguestfs-1.42.0/fish/man.c
Examining data/libguestfs-1.42.0/fish/edit.c
Examining data/libguestfs-1.42.0/fish/events.c
Examining data/libguestfs-1.42.0/fish/entries-4.c
Examining data/libguestfs-1.42.0/fish/echo.c
Examining data/libguestfs-1.42.0/fish/prep-boot.c
Examining data/libguestfs-1.42.0/fish/prepopts.h
Examining data/libguestfs-1.42.0/fish/prep.c
Examining data/libguestfs-1.42.0/fish/reopen.c
Examining data/libguestfs-1.42.0/fish/fish-cmds.h
Examining data/libguestfs-1.42.0/fish/fish.c
Examining data/libguestfs-1.42.0/fish/cmds-gperf.c
Examining data/libguestfs-1.42.0/fish/entries-2.c
Examining data/libguestfs-1.42.0/fish/supported.c
Examining data/libguestfs-1.42.0/fish/run-1.c
Examining data/libguestfs-1.42.0/fish/run.h
Examining data/libguestfs-1.42.0/fish/cmds-gperf.h
Examining data/libguestfs-1.42.0/fish/time.c
Examining data/libguestfs-1.42.0/fish/copy.c
Examining data/libguestfs-1.42.0/fish/help.c
Examining data/libguestfs-1.42.0/fish/setenv.c
Examining data/libguestfs-1.42.0/fish/prep-part.c
Examining data/libguestfs-1.42.0/fish/entries-3.c
Examining data/libguestfs-1.42.0/fish/destpaths.c
Examining data/libguestfs-1.42.0/fish/entries-6.c
Examining data/libguestfs-1.42.0/fish/run-2.c
Examining data/libguestfs-1.42.0/daemon/structs-cleanups.c
Examining data/libguestfs-1.42.0/daemon/hotplug.c
Examining data/libguestfs-1.42.0/daemon/stubs-3.c
Examining data/libguestfs-1.42.0/daemon/dir.c
Examining data/libguestfs-1.42.0/daemon/lvm-filter.c
Examining data/libguestfs-1.42.0/daemon/structs-cleanups.h
Examining data/libguestfs-1.42.0/daemon/headtail.c
Examining data/libguestfs-1.42.0/daemon/base64.c
Examining data/libguestfs-1.42.0/daemon/find.c
Examining data/libguestfs-1.42.0/daemon/sysroot-c.c
Examining data/libguestfs-1.42.0/daemon/sfdisk.c
Examining data/libguestfs-1.42.0/daemon/available.c
Examining data/libguestfs-1.42.0/daemon/daemon-c.h
Examining data/libguestfs-1.42.0/daemon/format.c
Examining data/libguestfs-1.42.0/daemon/xfs.c
Examining data/libguestfs-1.42.0/daemon/stubs-1.c
Examining data/libguestfs-1.42.0/daemon/cap.c
Examining data/libguestfs-1.42.0/daemon/ldm.c
Examining data/libguestfs-1.42.0/daemon/stubs-6.c
Examining data/libguestfs-1.42.0/daemon/dmesg.c
Examining data/libguestfs-1.42.0/daemon/stubs.h
Examining data/libguestfs-1.42.0/daemon/internal.c
Examining data/libguestfs-1.42.0/daemon/journal.c
Examining data/libguestfs-1.42.0/daemon/mknod.c
Examining data/libguestfs-1.42.0/daemon/compress.c
Examining data/libguestfs-1.42.0/daemon/sync.c
Examining data/libguestfs-1.42.0/daemon/fstrim.c
Examining data/libguestfs-1.42.0/daemon/proto.c
Examining data/libguestfs-1.42.0/daemon/selinux.c
Examining data/libguestfs-1.42.0/daemon/optgroups.c
Examining data/libguestfs-1.42.0/daemon/initrd.c
Examining data/libguestfs-1.42.0/daemon/isoinfo.c
Examining data/libguestfs-1.42.0/daemon/du.c
Examining data/libguestfs-1.42.0/daemon/xattr.c
Examining data/libguestfs-1.42.0/daemon/mount.c
Examining data/libguestfs-1.42.0/daemon/sh.c
Examining data/libguestfs-1.42.0/daemon/selinux-relabel.c
Examining data/libguestfs-1.42.0/daemon/parted.c
Examining data/libguestfs-1.42.0/daemon/mktemp.c
Examining data/libguestfs-1.42.0/daemon/fallocate.c
Examining data/libguestfs-1.42.0/daemon/labels.c
Examining data/libguestfs-1.42.0/daemon/augeas.c
Examining data/libguestfs-1.42.0/daemon/squashfs.c
Examining data/libguestfs-1.42.0/daemon/9p.c
Examining data/libguestfs-1.42.0/daemon/glob.c
Examining data/libguestfs-1.42.0/daemon/dropcaches.c
Examining data/libguestfs-1.42.0/daemon/tar.c
Examining data/libguestfs-1.42.0/daemon/fill.c
Examining data/libguestfs-1.42.0/daemon/stubs-5.c
Examining data/libguestfs-1.42.0/daemon/devsparts.c
Examining data/libguestfs-1.42.0/daemon/upload.c
Examining data/libguestfs-1.42.0/daemon/f2fs.c
Examining data/libguestfs-1.42.0/daemon/stubs-0.c
Examining data/libguestfs-1.42.0/daemon/scrub.c
Examining data/libguestfs-1.42.0/daemon/blockdev.c
Examining data/libguestfs-1.42.0/daemon/file.c
Examining data/libguestfs-1.42.0/daemon/sleuthkit.c
Examining data/libguestfs-1.42.0/daemon/mkfs.c
Examining data/libguestfs-1.42.0/daemon/daemon-utils-tests-stubs.c
Examining data/libguestfs-1.42.0/daemon/rsync.c
Examining data/libguestfs-1.42.0/daemon/utsname.c
Examining data/libguestfs-1.42.0/daemon/debug.c
Examining data/libguestfs-1.42.0/daemon/stubs-macros.h
Examining data/libguestfs-1.42.0/daemon/ntfsclone.c
Examining data/libguestfs-1.42.0/daemon/guestfsd.c
Examining data/libguestfs-1.42.0/daemon/fsck.c
Examining data/libguestfs-1.42.0/daemon/command.c
Examining data/libguestfs-1.42.0/daemon/blkid.c
Examining data/libguestfs-1.42.0/daemon/sleep.c
Examining data/libguestfs-1.42.0/daemon/ext2.c
Examining data/libguestfs-1.42.0/daemon/fs-min-size.c
Examining data/libguestfs-1.42.0/daemon/checksum.c
Examining data/libguestfs-1.42.0/daemon/readdir.c
Examining data/libguestfs-1.42.0/daemon/ls.c
Examining data/libguestfs-1.42.0/daemon/link.c
Examining data/libguestfs-1.42.0/daemon/names.c
Examining data/libguestfs-1.42.0/daemon/luks.c
Examining data/libguestfs-1.42.0/daemon/htonl.c
Examining data/libguestfs-1.42.0/daemon/actions.h
Examining data/libguestfs-1.42.0/daemon/utils-c.c
Examining data/libguestfs-1.42.0/daemon/pingdaemon.c
Examining data/libguestfs-1.42.0/daemon/uuids.c
Examining data/libguestfs-1.42.0/daemon/stubs-4.c
Examining data/libguestfs-1.42.0/daemon/wc.c
Examining data/libguestfs-1.42.0/daemon/grep.c
Examining data/libguestfs-1.42.0/daemon/df.c
Examining data/libguestfs-1.42.0/daemon/optgroups.h
Examining data/libguestfs-1.42.0/daemon/zerofree.c
Examining data/libguestfs-1.42.0/daemon/tsk.c
Examining data/libguestfs-1.42.0/daemon/stubs-2.c
Examining data/libguestfs-1.42.0/daemon/debug-bmap.c
Examining data/libguestfs-1.42.0/daemon/cpmv.c
Examining data/libguestfs-1.42.0/daemon/zero.c
Examining data/libguestfs-1.42.0/daemon/acl.c
Examining data/libguestfs-1.42.0/daemon/btrfs.c
Examining data/libguestfs-1.42.0/daemon/grub.c
Examining data/libguestfs-1.42.0/daemon/lvm-tokenization.c
Examining data/libguestfs-1.42.0/daemon/cmp.c
Examining data/libguestfs-1.42.0/daemon/dispatch.c
Examining data/libguestfs-1.42.0/daemon/mountable.c
Examining data/libguestfs-1.42.0/daemon/rename.c
Examining data/libguestfs-1.42.0/daemon/md.c
Examining data/libguestfs-1.42.0/daemon/caml-stubs.c
Examining data/libguestfs-1.42.0/daemon/syslinux.c
Examining data/libguestfs-1.42.0/daemon/command.h
Examining data/libguestfs-1.42.0/daemon/utils.c
Examining data/libguestfs-1.42.0/daemon/inotify.c
Examining data/libguestfs-1.42.0/daemon/strings.c
Examining data/libguestfs-1.42.0/daemon/cpio.c
Examining data/libguestfs-1.42.0/daemon/truncate.c
Examining data/libguestfs-1.42.0/daemon/hivex.c
Examining data/libguestfs-1.42.0/daemon/dd.c
Examining data/libguestfs-1.42.0/daemon/copy.c
Examining data/libguestfs-1.42.0/daemon/utimens.c
Examining data/libguestfs-1.42.0/daemon/device-name-translation.c
Examining data/libguestfs-1.42.0/daemon/hexdump.c
Examining data/libguestfs-1.42.0/daemon/blkdiscard.c
Examining data/libguestfs-1.42.0/daemon/ntfs.c
Examining data/libguestfs-1.42.0/daemon/lvm.c
Examining data/libguestfs-1.42.0/daemon/stat.c
Examining data/libguestfs-1.42.0/daemon/daemon.h
Examining data/libguestfs-1.42.0/daemon/cleanups.c
Examining data/libguestfs-1.42.0/daemon/daemon-c.c
Examining data/libguestfs-1.42.0/daemon/swap.c
Examining data/libguestfs-1.42.0/daemon/is.c
Examining data/libguestfs-1.42.0/daemon/umask.c
Examining data/libguestfs-1.42.0/daemon/echo-daemon.c
Examining data/libguestfs-1.42.0/daemon/modprobe.c
Examining data/libguestfs-1.42.0/daemon/yara.c
Examining data/libguestfs-1.42.0/diff/diff.c
Examining data/libguestfs-1.42.0/tests/charsets/test-charset-fidelity.c
Examining data/libguestfs-1.42.0/tests/regressions/test-big-heap.c
Examining data/libguestfs-1.42.0/tests/regressions/rhbz790721.c
Examining data/libguestfs-1.42.0/tests/regressions/rhbz501893.c
Examining data/libguestfs-1.42.0/tests/regressions/rhbz1055452.c
Examining data/libguestfs-1.42.0/tests/regressions/rhbz914931.c
Examining data/libguestfs-1.42.0/tests/mountable/test-internal-parse-mountable.c
Examining data/libguestfs-1.42.0/tests/parallel/test-parallel.c
Examining data/libguestfs-1.42.0/tests/mount-local/test-parallel-mount-local.c
Examining data/libguestfs-1.42.0/tests/events/test-libvirt-auth-callbacks.c
Examining data/libguestfs-1.42.0/tests/protocol/test-error-messages.c
Examining data/libguestfs-1.42.0/tests/c-api/test-create-handle.c
Examining data/libguestfs-1.42.0/tests/c-api/test-debug-to-file.c
Examining data/libguestfs-1.42.0/tests/c-api/test-backend-settings.c
Examining data/libguestfs-1.42.0/tests/c-api/test-event-string.c
Examining data/libguestfs-1.42.0/tests/c-api/test-environment.c
Examining data/libguestfs-1.42.0/tests/c-api/tests.c
Examining data/libguestfs-1.42.0/tests/c-api/test-pwd.c
Examining data/libguestfs-1.42.0/tests/c-api/test-user-cancel.c
Examining data/libguestfs-1.42.0/tests/c-api/test-dlopen.c
Examining data/libguestfs-1.42.0/tests/c-api/test-private-data.c
Examining data/libguestfs-1.42.0/tests/c-api/test-config.c
Examining data/libguestfs-1.42.0/tests/c-api/test-last-errno.c
Examining data/libguestfs-1.42.0/tests/c-api/test-just-header.c
Examining data/libguestfs-1.42.0/tests/c-api/test-add-libvirt-dom.c
Examining data/libguestfs-1.42.0/tests/c-api/test-add-drive-opts.c
Examining data/libguestfs-1.42.0/tests/c-api/test-command.c
Examining data/libguestfs-1.42.0/tests/c-api/test-just-header-cxx.cpp
Examining data/libguestfs-1.42.0/tests/c-api/tests-main.c
Examining data/libguestfs-1.42.0/tests/c-api/tests.h
Examining data/libguestfs-1.42.0/tests/c-api/test-threads.c
Examining data/libguestfs-1.42.0/tests/xml/fake-libvirt-xml.c
Examining data/libguestfs-1.42.0/tests/disks/test-add-disks.c
Examining data/libguestfs-1.42.0/erlang/structs.c
Examining data/libguestfs-1.42.0/erlang/actions-4.c
Examining data/libguestfs-1.42.0/erlang/actions-6.c
Examining data/libguestfs-1.42.0/erlang/actions-5.c
Examining data/libguestfs-1.42.0/erlang/main.c
Examining data/libguestfs-1.42.0/erlang/actions-1.c
Examining data/libguestfs-1.42.0/erlang/actions-2.c
Examining data/libguestfs-1.42.0/erlang/actions.h
Examining data/libguestfs-1.42.0/erlang/dispatch.c
Examining data/libguestfs-1.42.0/erlang/actions-0.c
Examining data/libguestfs-1.42.0/erlang/actions-3.c
Examining data/libguestfs-1.42.0/ocaml/guestfs-c-actions.c
Examining data/libguestfs-1.42.0/ocaml/guestfs-c-errnos.c
Examining data/libguestfs-1.42.0/ocaml/guestfs-c.c
Examining data/libguestfs-1.42.0/ocaml/guestfs-c.h
Examining data/libguestfs-1.42.0/align/scan.c
Examining data/libguestfs-1.42.0/customize/dummy.c
Examining data/libguestfs-1.42.0/customize/crypt-c.c
Examining data/libguestfs-1.42.0/customize/perl_edit-c.c
Examining data/libguestfs-1.42.0/common/utils/stringlists-utils.c
Examining data/libguestfs-1.42.0/common/utils/gnulib-cleanups.c
Examining data/libguestfs-1.42.0/common/utils/guestfs-utils.h
Examining data/libguestfs-1.42.0/common/utils/utils.c
Examining data/libguestfs-1.42.0/common/utils/cleanups.h
Examining data/libguestfs-1.42.0/common/utils/libxml2-writer-macros.h
Examining data/libguestfs-1.42.0/common/utils/guestfs-stringlists-utils.h
Examining data/libguestfs-1.42.0/common/utils/cleanups.c
Examining data/libguestfs-1.42.0/common/utils/libxml2-cleanups.c
Examining data/libguestfs-1.42.0/common/mltools/dummy.c
Examining data/libguestfs-1.42.0/common/mltools/tools_utils-c.c
Examining data/libguestfs-1.42.0/common/mltools/getopt-c.c
Examining data/libguestfs-1.42.0/common/mltools/uri-c.c
Examining data/libguestfs-1.42.0/common/mltools/JSON_parser-c.c
Examining data/libguestfs-1.42.0/common/structs/structs-cleanups.c
Examining data/libguestfs-1.42.0/common/structs/structs-cleanups.h
Examining data/libguestfs-1.42.0/common/structs/structs-print.c
Examining data/libguestfs-1.42.0/common/structs/structs-print.h
Examining data/libguestfs-1.42.0/common/visit/visit.c
Examining data/libguestfs-1.42.0/common/visit/visit.h
Examining data/libguestfs-1.42.0/common/options/decrypt.c
Examining data/libguestfs-1.42.0/common/options/inspect.c
Examining data/libguestfs-1.42.0/common/options/config.c
Examining data/libguestfs-1.42.0/common/options/uri.h
Examining data/libguestfs-1.42.0/common/options/keys.c
Examining data/libguestfs-1.42.0/common/options/options.c
Examining data/libguestfs-1.42.0/common/options/options.h
Examining data/libguestfs-1.42.0/common/options/display-options.c
Examining data/libguestfs-1.42.0/common/options/domain.c
Examining data/libguestfs-1.42.0/common/options/display-options.h
Examining data/libguestfs-1.42.0/common/options/uri.c
Examining data/libguestfs-1.42.0/common/mlpcre/dummy.c
Examining data/libguestfs-1.42.0/common/mlpcre/pcre-c.c
Examining data/libguestfs-1.42.0/common/mlgettext/dummy.c
Examining data/libguestfs-1.42.0/common/qemuopts/qemuopts.h
Examining data/libguestfs-1.42.0/common/qemuopts/qemuopts.c
Examining data/libguestfs-1.42.0/common/qemuopts/qemuopts-tests.c
Examining data/libguestfs-1.42.0/common/parallel/parallel.c
Examining data/libguestfs-1.42.0/common/parallel/domains.h
Examining data/libguestfs-1.42.0/common/parallel/estimate-max-threads.h
Examining data/libguestfs-1.42.0/common/parallel/parallel.h
Examining data/libguestfs-1.42.0/common/parallel/domains.c
Examining data/libguestfs-1.42.0/common/parallel/estimate-max-threads.c
Examining data/libguestfs-1.42.0/common/edit/file-edit.c
Examining data/libguestfs-1.42.0/common/edit/file-edit.h
Examining data/libguestfs-1.42.0/common/mlstdutils/dummy.c
Examining data/libguestfs-1.42.0/common/mlprogress/progress-c.c
Examining data/libguestfs-1.42.0/common/mlcustomize/dummy.c
Examining data/libguestfs-1.42.0/common/windows/windows.h
Examining data/libguestfs-1.42.0/common/windows/windows.c
Examining data/libguestfs-1.42.0/common/mlvisit/dummy.c
Examining data/libguestfs-1.42.0/common/mlvisit/visit-c.c
Examining data/libguestfs-1.42.0/common/progress/progress.c
Examining data/libguestfs-1.42.0/common/progress/progress.h
Examining data/libguestfs-1.42.0/common/protocol/guestfs_protocol.h
Examining data/libguestfs-1.42.0/common/protocol/guestfs_protocol.c
Examining data/libguestfs-1.42.0/common/mlxml/xml-c.c
Examining data/libguestfs-1.42.0/common/mlutils/dummy.c
Examining data/libguestfs-1.42.0/common/mlutils/c_utils-c.c
Examining data/libguestfs-1.42.0/common/mlutils/unix_utils-c.c
Examining data/libguestfs-1.42.0/common/errnostring/errnostring-gperf.c
Examining data/libguestfs-1.42.0/common/errnostring/errnostring.c
Examining data/libguestfs-1.42.0/common/errnostring/errnostring.h
Examining data/libguestfs-1.42.0/inspector/inspector.c
Examining data/libguestfs-1.42.0/sysprep/dummy.c
Examining data/libguestfs-1.42.0/rescue/suggest.c
Examining data/libguestfs-1.42.0/rescue/rescue.h
Examining data/libguestfs-1.42.0/rescue/escape.c
Examining data/libguestfs-1.42.0/rescue/rescue.c
Examining data/libguestfs-1.42.0/format/format.c
Examining data/libguestfs-1.42.0/lua/lua-guestfs.c
Examining data/libguestfs-1.42.0/lib/libvirt-domain.c
Examining data/libguestfs-1.42.0/lib/stringsbuf.c
Examining data/libguestfs-1.42.0/lib/wait.c
Examining data/libguestfs-1.42.0/lib/qemu.c
Examining data/libguestfs-1.42.0/lib/launch-uml.c
Examining data/libguestfs-1.42.0/lib/match.c
Examining data/libguestfs-1.42.0/lib/info.c
Examining data/libguestfs-1.42.0/lib/available.c
Examining data/libguestfs-1.42.0/lib/alloc.c
Examining data/libguestfs-1.42.0/lib/actions-4.c
Examining data/libguestfs-1.42.0/lib/actions-6.c
Examining data/libguestfs-1.42.0/lib/journal.c
Examining data/libguestfs-1.42.0/lib/proto.c
Examining data/libguestfs-1.42.0/lib/structs-free.c
Examining data/libguestfs-1.42.0/lib/actions-5.c
Examining data/libguestfs-1.42.0/lib/uefi.c
Examining data/libguestfs-1.42.0/lib/canonical-name.c
Examining data/libguestfs-1.42.0/lib/launch-direct.c
Examining data/libguestfs-1.42.0/lib/guestfs-internal-all.h
Examining data/libguestfs-1.42.0/lib/dbdump.c
Examining data/libguestfs-1.42.0/lib/structs-compare.c
Examining data/libguestfs-1.42.0/lib/whole-file.c
Examining data/libguestfs-1.42.0/lib/event-string.c
Examining data/libguestfs-1.42.0/lib/events.c
Examining data/libguestfs-1.42.0/lib/errors.c
Examining data/libguestfs-1.42.0/lib/unit-tests.c
Examining data/libguestfs-1.42.0/lib/appliance-uefi.c
Examining data/libguestfs-1.42.0/lib/actions-1.c
Examining data/libguestfs-1.42.0/lib/file.c
Examining data/libguestfs-1.42.0/lib/rescue.c
Examining data/libguestfs-1.42.0/lib/actions-2.c
Examining data/libguestfs-1.42.0/lib/appliance-kcmdline.c
Examining data/libguestfs-1.42.0/lib/version.c
Examining data/libguestfs-1.42.0/lib/yara.c
Examining data/libguestfs-1.42.0/lib/bindtests.c
Examining data/libguestfs-1.42.0/lib/command.c
Examining data/libguestfs-1.42.0/lib/lpj.c
Examining data/libguestfs-1.42.0/lib/inspect-apps.c
Examining data/libguestfs-1.42.0/lib/handle.c
Examining data/libguestfs-1.42.0/lib/guestfs.h
Examining data/libguestfs-1.42.0/lib/guestfs-internal-actions.h
Examining data/libguestfs-1.42.0/lib/libvirt-is-version.c
Examining data/libguestfs-1.42.0/lib/libvirt-auth.c
Examining data/libguestfs-1.42.0/lib/appliance.c
Examining data/libguestfs-1.42.0/lib/tsk.c
Examining data/libguestfs-1.42.0/lib/mountable.c
Examining data/libguestfs-1.42.0/lib/copy-in-out.c
Examining data/libguestfs-1.42.0/lib/actions-0.c
Examining data/libguestfs-1.42.0/lib/structs-copy.c
Examining data/libguestfs-1.42.0/lib/private-data.c
Examining data/libguestfs-1.42.0/lib/actions-variants.c
Examining data/libguestfs-1.42.0/lib/appliance-cpu.c
Examining data/libguestfs-1.42.0/lib/create.c
Examining data/libguestfs-1.42.0/lib/inspect-icon.c
Examining data/libguestfs-1.42.0/lib/launch-unix.c
Examining data/libguestfs-1.42.0/lib/fuse.c
Examining data/libguestfs-1.42.0/lib/launch.c
Examining data/libguestfs-1.42.0/lib/inspect-osinfo.c
Examining data/libguestfs-1.42.0/lib/actions-support.c
Examining data/libguestfs-1.42.0/lib/launch-libvirt.c
Examining data/libguestfs-1.42.0/lib/guid.c
Examining data/libguestfs-1.42.0/lib/drives.c
Examining data/libguestfs-1.42.0/lib/conn-socket.c
Examining data/libguestfs-1.42.0/lib/actions-3.c
Examining data/libguestfs-1.42.0/lib/tmpdirs.c
Examining data/libguestfs-1.42.0/lib/umask.c
Examining data/libguestfs-1.42.0/lib/guestfs-internal.h
Examining data/libguestfs-1.42.0/df/main.c
Examining data/libguestfs-1.42.0/df/output.c
Examining data/libguestfs-1.42.0/df/virt-df.h
Examining data/libguestfs-1.42.0/df/df.c
Examining data/libguestfs-1.42.0/sparsify/dummy.c
Examining data/libguestfs-1.42.0/fuse/test-guestunmount-fd.c
Examining data/libguestfs-1.42.0/fuse/guestmount.c
Examining data/libguestfs-1.42.0/fuse/test-guestmount-fd.c
Examining data/libguestfs-1.42.0/fuse/guestunmount.c
Examining data/libguestfs-1.42.0/fuse/test-fuse.c
Examining data/libguestfs-1.42.0/builder/setlocale-c.c
Examining data/libguestfs-1.42.0/builder/index-validate.c
Examining data/libguestfs-1.42.0/builder/index-parser-c.c
Examining data/libguestfs-1.42.0/builder/index-struct.c
Examining data/libguestfs-1.42.0/builder/pxzcat-c.c
Examining data/libguestfs-1.42.0/builder/index-struct.h
Examining data/libguestfs-1.42.0/examples/copy-over.c
Examining data/libguestfs-1.42.0/examples/debug-logging.c
Examining data/libguestfs-1.42.0/examples/mount-local.c
Examining data/libguestfs-1.42.0/examples/inspect-vm.c
Examining data/libguestfs-1.42.0/examples/create-disk.c
Examining data/libguestfs-1.42.0/examples/libvirt-auth.c
Examining data/libguestfs-1.42.0/examples/virt-dhcp-address.c
Examining data/libguestfs-1.42.0/examples/display-icon.c
Examining data/libguestfs-1.42.0/ruby/ext/guestfs/module.c
Examining data/libguestfs-1.42.0/ruby/ext/guestfs/actions-4.c
Examining data/libguestfs-1.42.0/ruby/ext/guestfs/actions-6.c
Examining data/libguestfs-1.42.0/ruby/ext/guestfs/actions-5.c
Examining data/libguestfs-1.42.0/ruby/ext/guestfs/actions-1.c
Examining data/libguestfs-1.42.0/ruby/ext/guestfs/actions-2.c
Examining data/libguestfs-1.42.0/ruby/ext/guestfs/handle.c
Examining data/libguestfs-1.42.0/ruby/ext/guestfs/actions.h
Examining data/libguestfs-1.42.0/ruby/ext/guestfs/actions-0.c
Examining data/libguestfs-1.42.0/ruby/ext/guestfs/actions-3.c
Examining data/libguestfs-1.42.0/java/com_redhat_et_libguestfs_GuestFS.h
Examining data/libguestfs-1.42.0/java/actions-4.c
Examining data/libguestfs-1.42.0/java/actions-6.c
Examining data/libguestfs-1.42.0/java/actions-5.c
Examining data/libguestfs-1.42.0/java/actions-1.c
Examining data/libguestfs-1.42.0/java/actions-2.c
Examining data/libguestfs-1.42.0/java/handle.c
Examining data/libguestfs-1.42.0/java/actions-0.c
Examining data/libguestfs-1.42.0/java/actions-3.c

FINAL RESULTS:

data/libguestfs-1.42.0/daemon/debug.c:194:11:  [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.
      r = readlink (fname, link, sizeof link - 1);
data/libguestfs-1.42.0/daemon/file.c:135:7:  [5] (race) chmod:
  This accepts filename arguments; if an attacker can move those files, a
  race condition results. (CWE-362). Use fchmod( ) instead.
  r = chmod (path, mode);
data/libguestfs-1.42.0/daemon/file.c:152:7:  [5] (race) chown:
  This accepts filename arguments; if an attacker can move those files, a
  race condition results. (CWE-362). Use fchown( ) instead.
  r = chown (path, owner, group);
data/libguestfs-1.42.0/daemon/file.c:558:9:  [5] (race) chmod:
  This accepts filename arguments; if an attacker can move those files, a
  race condition results. (CWE-362). Use fchmod( ) instead.
    r = chmod (dest, (srcstat.st_mode & file_mask));
data/libguestfs-1.42.0/daemon/file.c:570:9:  [5] (race) chown:
  This accepts filename arguments; if an attacker can move those files, a
  race condition results. (CWE-362). Use fchown( ) instead.
    r = chown (dest, srcstat.st_uid, srcstat.st_gid);
data/libguestfs-1.42.0/fuse/test-fuse.c:383:7:  [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.
  r = readlink ("symlink", buf, sizeof buf);
data/libguestfs-1.42.0/fuse/test-fuse.c:503: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 ("new", u) == -1) {
data/libguestfs-1.42.0/gnulib/lib/areadlink.c:43: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 (filename, buffer, buffer_size);
data/libguestfs-1.42.0/gnulib/lib/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/libguestfs-1.42.0/gnulib/lib/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/libguestfs-1.42.0/gnulib/lib/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/libguestfs-1.42.0/gnulib/lib/readlinkat.c:71:21:  [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 AT_FUNC_F1 readlink
data/libguestfs-1.42.0/gnulib/lib/stdio.in.h:820:8:  [5] (buffer) gets:
  Does not check for buffer overflows (CWE-120, CWE-20). Use fgets() instead.
#undef gets
data/libguestfs-1.42.0/gnulib/lib/stdio.in.h:822:18:  [5] (buffer) gets:
  Does not check for buffer overflows (CWE-120, CWE-20). Use fgets() instead.
_GL_WARN_ON_USE (gets, "gets is a security hole - use fgets instead");
data/libguestfs-1.42.0/gnulib/lib/unistd.in.h:287: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/libguestfs-1.42.0/gnulib/lib/unistd.in.h:301: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/libguestfs-1.42.0/gnulib/lib/unistd.in.h:302: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/libguestfs-1.42.0/gnulib/lib/unistd.in.h:304: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/libguestfs-1.42.0/gnulib/lib/unistd.in.h:306: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/libguestfs-1.42.0/gnulib/lib/unistd.in.h:309: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/libguestfs-1.42.0/gnulib/lib/unistd.in.h:312: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/libguestfs-1.42.0/gnulib/lib/unistd.in.h:314: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/libguestfs-1.42.0/gnulib/lib/unistd.in.h:316: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/libguestfs-1.42.0/gnulib/lib/unistd.in.h:318: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/libguestfs-1.42.0/gnulib/lib/unistd.in.h:1370: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/libguestfs-1.42.0/gnulib/lib/unistd.in.h:1372: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/libguestfs-1.42.0/gnulib/lib/unistd.in.h:1376: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/libguestfs-1.42.0/gnulib/lib/unistd.in.h:1381: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/libguestfs-1.42.0/gnulib/lib/unistd.in.h:1386: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/libguestfs-1.42.0/gnulib/lib/unistd.in.h:1390: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/libguestfs-1.42.0/gnulib/lib/unistd.in.h:1392: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/libguestfs-1.42.0/gnulib/lib/unistd.in.h:1394: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/libguestfs-1.42.0/gnulib/tests/test-readlink.c:24: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.
SIGNATURE_CHECK (readlink, ssize_t, (char const *, char *, size_t));
data/libguestfs-1.42.0/gnulib/tests/test-readlink.c:47:25:  [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 test_readlink (readlink, true);
data/libguestfs-1.42.0/gnulib/tests/test-readlink.h:94:14:  [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.
    result = readlink (BASE "link", buf, 1);
data/libguestfs-1.42.0/gnulib/tests/test-stat-time.c:63:3:  [5] (race) chmod:
  This accepts filename arguments; if an attacker can move those files, a
  race condition results. (CWE-362). Use fchmod( ) instead.
  chmod (filename, 0600);
data/libguestfs-1.42.0/gnulib/tests/test-stat-time.c:118:11:  [5] (race) chmod:
  This accepts filename arguments; if an attacker can move those files, a
  race condition results. (CWE-362). Use fchmod( ) instead.
  ASSERT (chmod (filename_testfile, 0400) == 0);
data/libguestfs-1.42.0/lib/launch-libvirt.c:587: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 (data->guestfsd_path, 0660) == -1) {
data/libguestfs-1.42.0/lib/launch-libvirt.c:592: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 (data->console_path, 0660) == -1) {
data/libguestfs-1.42.0/lib/launch-libvirt.c:599:11:  [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 (data->guestfsd_path, 0, grp->gr_gid) == -1) {
data/libguestfs-1.42.0/lib/launch-libvirt.c:603:11:  [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 (data->console_path, 0, grp->gr_gid) == -1) {
data/libguestfs-1.42.0/lib/tmpdirs.c:208:28:  [5] (race) chmod:
  This accepts filename arguments; if an attacker can move those files, a
  race condition results. (CWE-362). Use fchmod( ) instead.
    if (geteuid () == 0 && chmod (tmppath, 0755) == -1) {
data/libguestfs-1.42.0/lib/tmpdirs.c:276:17:  [5] (race) chmod:
  This accepts filename arguments; if an attacker can move those files, a
  race condition results. (CWE-362). Use fchmod( ) instead.
  ignore_value (chmod (ret, 0755)); /* RHBZ#921292 */
data/libguestfs-1.42.0/builder/pxzcat-c.c:114:5:  [4] (shell) execlp:
  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.
    execlp (XZCAT, XZCAT, String_val (inputfilev), NULL);
data/libguestfs-1.42.0/cat/cat.c:205:11:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
          access (argv[optind], F_OK) == 0) { /* simulate -a option */
data/libguestfs-1.42.0/cat/filesystems.c:922:9:  [4] (format) snprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
        snprintf (num, sizeof num, "%" PRIi64, size);
data/libguestfs-1.42.0/cat/log.c:444:7:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
  if (system ("evtxdump.py -h >/dev/null 2>&1") != 0) {
data/libguestfs-1.42.0/cat/log.c:493:12:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
  status = system (cmd);
data/libguestfs-1.42.0/cat/ls.c:315:11:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
          access (argv[optind], F_OK) == 0) { /* simulate -a option */
data/libguestfs-1.42.0/cat/ls.c:667:7:  [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.
  if (printf ("%" PRIi64, i) < 0)
data/libguestfs-1.42.0/cat/ls.c:683:11:  [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.
      r = printf ("%10" PRIi64, size);
data/libguestfs-1.42.0/cat/ls.c:690:11:  [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.
      r = printf ("%" PRIi64, size);
data/libguestfs-1.42.0/cat/ls.c:705:7:  [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.
  if (printf ("%04" PRIo64, (uint64_t) i) < 0)
data/libguestfs-1.42.0/cat/ls.c:720:11:  [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.
      r = printf ("%10" PRIi64, secs);
data/libguestfs-1.42.0/cat/ls.c:723:11:  [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.
      r = printf ("%8" PRIi64, now - secs);
data/libguestfs-1.42.0/cat/ls.c:727:11:  [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.
      r = printf ("%3" PRIi64, (now - secs) / 86400);
data/libguestfs-1.42.0/cat/ls.c:755:7:  [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.
  if (printf ("%4" PRIi64, i) < 0)
data/libguestfs-1.42.0/common/edit/file-edit.c:121:7:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
  r = system (cmd);
data/libguestfs-1.42.0/common/edit/file-edit.c:196:7:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
  r = system (cmd);
data/libguestfs-1.42.0/common/edit/file-edit.c:316: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 (ret, filename);
data/libguestfs-1.42.0/common/options/options.c:67:9:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
    if (access (uri.path, R_OK) != 0)
data/libguestfs-1.42.0/common/options/options.h:276:7:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
      fprintf (stderr,                                                  \
data/libguestfs-1.42.0/common/options/options.h:286:7:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
      fprintf (stderr,                                                  \
data/libguestfs-1.42.0/common/parallel/estimate-max-threads.c:72:8:  [4] (shell) popen:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
  pp = popen (cmd, "r");
data/libguestfs-1.42.0/common/qemuopts/qemuopts.h:32:123:  [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.
extern int qemuopts_add_arg_format (struct qemuopts *qopts, const char *flag, const char *fs, ...) __attribute__((format (printf,3,4)));
data/libguestfs-1.42.0/common/qemuopts/qemuopts.h:36:113:  [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.
extern int qemuopts_append_arg_list_format (struct qemuopts *qopts, const char *fs, ...) __attribute__((format (printf,2,3)));
data/libguestfs-1.42.0/common/utils/utils.c:86: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 (&ret[n], s2);
data/libguestfs-1.42.0/customize/crypt-c.c:48:7:  [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.
  r = crypt (String_val (keyv), String_val (saltv));
data/libguestfs-1.42.0/daemon/augeas.c:41:7:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
      fprintf (stderr, fs ": %s%s%s%s%s", ##__VA_ARGS__,                \
data/libguestfs-1.42.0/daemon/base64.c:60:8:  [4] (shell) popen:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
  fp = popen (cmd, "w");
data/libguestfs-1.42.0/daemon/base64.c:141:8:  [4] (shell) popen:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
  fp = popen (cmd, "r");
data/libguestfs-1.42.0/daemon/blockdev.c:80:9:  [4] (buffer) sscanf:
  The scanf() family's %s operation, without a limit specification, permits
  buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a
  different input function. If the scanf format is influenceable by an
  attacker, it's exploitable.
    if (sscanf (out, "%" SCNi64, &rv) != 1) {
data/libguestfs-1.42.0/daemon/btrfs.c:111:5:  [4] (format) snprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
    snprintf (size_str, sizeof size_str, "%" PRIi64, size);
data/libguestfs-1.42.0/daemon/btrfs.c:168:5:  [4] (format) snprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
    snprintf (allocstart_s, sizeof allocstart_s, "%" PRIi64, allocstart);
data/libguestfs-1.42.0/daemon/btrfs.c:178:5:  [4] (format) snprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
    snprintf (bytecount_s, sizeof bytecount_s, "%" PRIi64, bytecount);
data/libguestfs-1.42.0/daemon/btrfs.c:484:3:  [4] (format) snprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
  snprintf (buf, sizeof buf, "%" PRIi64, id);
data/libguestfs-1.42.0/daemon/btrfs.c:798:5:  [4] (format) snprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
    snprintf (super_s, sizeof super_s, "%" PRIi64, superblock);
data/libguestfs-1.42.0/daemon/btrfs.c:1100:3:  [4] (format) snprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
  snprintf (size_str, sizeof size_str, "%" PRIi64, size);
data/libguestfs-1.42.0/daemon/btrfs.c:1275:9:  [4] (buffer) sscanf:
  The scanf() family's %s operation, without a limit specification, permits
  buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a
  different input function. If the scanf format is influenceable by an
  attacker, it's exploitable.
    if (sscanf (line, "%m[0-9/] %" SCNu64 " %" SCNu64,
data/libguestfs-1.42.0/daemon/btrfs.c:1844:14:  [4] (buffer) sscanf:
  The scanf() family's %s operation, without a limit specification, permits
  buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a
  different input function. If the scanf format is influenceable by an
  attacker, it's exploitable.
    else if (sscanf (lines[i], "\tdata_extents_scrubbed: %" SCNu64,
data/libguestfs-1.42.0/daemon/btrfs.c:1847:14:  [4] (buffer) sscanf:
  The scanf() family's %s operation, without a limit specification, permits
  buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a
  different input function. If the scanf format is influenceable by an
  attacker, it's exploitable.
    else if (sscanf (lines[i], "\ttree_extents_scrubbed: %" SCNu64,
data/libguestfs-1.42.0/daemon/btrfs.c:1850:14:  [4] (buffer) sscanf:
  The scanf() family's %s operation, without a limit specification, permits
  buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a
  different input function. If the scanf format is influenceable by an
  attacker, it's exploitable.
    else if (sscanf (lines[i], "\tdata_bytes_scrubbed: %" SCNu64,
data/libguestfs-1.42.0/daemon/btrfs.c:1853:14:  [4] (buffer) sscanf:
  The scanf() family's %s operation, without a limit specification, permits
  buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a
  different input function. If the scanf format is influenceable by an
  attacker, it's exploitable.
    else if (sscanf (lines[i], "\ttree_bytes_scrubbed: %" SCNu64,
data/libguestfs-1.42.0/daemon/btrfs.c:1856:14:  [4] (buffer) sscanf:
  The scanf() family's %s operation, without a limit specification, permits
  buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a
  different input function. If the scanf format is influenceable by an
  attacker, it's exploitable.
    else if (sscanf (lines[i], "\tread_errors: %" SCNu64,
data/libguestfs-1.42.0/daemon/btrfs.c:1859:14:  [4] (buffer) sscanf:
  The scanf() family's %s operation, without a limit specification, permits
  buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a
  different input function. If the scanf format is influenceable by an
  attacker, it's exploitable.
    else if (sscanf (lines[i], "\tcsum_errors: %" SCNu64,
data/libguestfs-1.42.0/daemon/btrfs.c:1862:14:  [4] (buffer) sscanf:
  The scanf() family's %s operation, without a limit specification, permits
  buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a
  different input function. If the scanf format is influenceable by an
  attacker, it's exploitable.
    else if (sscanf (lines[i], "\tverify_errors: %" SCNu64,
data/libguestfs-1.42.0/daemon/btrfs.c:1865:14:  [4] (buffer) sscanf:
  The scanf() family's %s operation, without a limit specification, permits
  buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a
  different input function. If the scanf format is influenceable by an
  attacker, it's exploitable.
    else if (sscanf (lines[i], "\tno_csum: %" SCNu64,
data/libguestfs-1.42.0/daemon/btrfs.c:1868:14:  [4] (buffer) sscanf:
  The scanf() family's %s operation, without a limit specification, permits
  buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a
  different input function. If the scanf format is influenceable by an
  attacker, it's exploitable.
    else if (sscanf (lines[i], "\tcsum_discards: %" SCNu64,
data/libguestfs-1.42.0/daemon/btrfs.c:1871:14:  [4] (buffer) sscanf:
  The scanf() family's %s operation, without a limit specification, permits
  buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a
  different input function. If the scanf format is influenceable by an
  attacker, it's exploitable.
    else if (sscanf (lines[i], "\tsuper_errors: %" SCNu64,
data/libguestfs-1.42.0/daemon/btrfs.c:1874:14:  [4] (buffer) sscanf:
  The scanf() family's %s operation, without a limit specification, permits
  buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a
  different input function. If the scanf format is influenceable by an
  attacker, it's exploitable.
    else if (sscanf (lines[i], "\tmalloc_errors: %" SCNu64,
data/libguestfs-1.42.0/daemon/btrfs.c:1877:14:  [4] (buffer) sscanf:
  The scanf() family's %s operation, without a limit specification, permits
  buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a
  different input function. If the scanf format is influenceable by an
  attacker, it's exploitable.
    else if (sscanf (lines[i], "\tuncorrectable_errors: %" SCNu64,
data/libguestfs-1.42.0/daemon/btrfs.c:1880:14:  [4] (buffer) sscanf:
  The scanf() family's %s operation, without a limit specification, permits
  buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a
  different input function. If the scanf format is influenceable by an
  attacker, it's exploitable.
    else if (sscanf (lines[i], "\tunverified_errors: %" SCNu64,
data/libguestfs-1.42.0/daemon/btrfs.c:1883:14:  [4] (buffer) sscanf:
  The scanf() family's %s operation, without a limit specification, permits
  buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a
  different input function. If the scanf format is influenceable by an
  attacker, it's exploitable.
    else if (sscanf (lines[i], "\tcorrected_errors: %" SCNu64,
data/libguestfs-1.42.0/daemon/btrfs.c:1886:14:  [4] (buffer) sscanf:
  The scanf() family's %s operation, without a limit specification, permits
  buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a
  different input function. If the scanf format is influenceable by an
  attacker, it's exploitable.
    else if (sscanf (lines[i], "\tlast_physical: %" SCNu64,
data/libguestfs-1.42.0/daemon/checksum.c:167:8:  [4] (shell) popen:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
  fp = popen (cmd, "r");
data/libguestfs-1.42.0/daemon/command.c:331:5:  [4] (shell) execvp:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
    execvp (argv[0], (void *) argv);
data/libguestfs-1.42.0/daemon/compress.c:71:8:  [4] (shell) popen:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
  fp = popen (cmd, "r");
data/libguestfs-1.42.0/daemon/cpio.c:90:8:  [4] (shell) popen:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
  fp = popen (cmd, "r");
data/libguestfs-1.42.0/daemon/daemon.h:135:26:  [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.
  __attribute__((format (printf,2,3)));
data/libguestfs-1.42.0/daemon/daemon.h:155:26:  [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.
  __attribute__((format (printf,2,3)));
data/libguestfs-1.42.0/daemon/daemon.h:157:26:  [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.
  __attribute__((format (printf,2,3)));
data/libguestfs-1.42.0/daemon/debug.c:138: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 (r, cmds[i].cmd);
data/libguestfs-1.42.0/daemon/debug.c:265: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 ("/sys/block/sda", F_OK) == 0)
data/libguestfs-1.42.0/daemon/debug.c:267:12:  [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.
  else if (access ("/sys/block/hda", F_OK) == 0)
data/libguestfs-1.42.0/daemon/debug.c:269:12:  [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.
  else if (access ("/sys/block/ubda", F_OK) == 0)
data/libguestfs-1.42.0/daemon/debug.c:271:12:  [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.
  else if (access ("/sys/block/vda", F_OK) == 0)
data/libguestfs-1.42.0/daemon/debug.c:425: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 (ret, err);
data/libguestfs-1.42.0/daemon/debug.c:534:7:  [4] (buffer) sscanf:
  The scanf() family's %s operation, without a limit specification, permits
  buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a
  different input function. If the scanf format is influenceable by an
  attacker, it's exploitable.
  if (sscanf (argv[0], "%" SCNu64, &secs) != 1)
data/libguestfs-1.42.0/daemon/debug.c:542:9:  [4] (buffer) sscanf:
  The scanf() family's %s operation, without a limit specification, permits
  buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a
  different input function. If the scanf format is influenceable by an
  attacker, it's exploitable.
    if (sscanf (argv[1], "%" SCNu64, &rate) != 1)
data/libguestfs-1.42.0/daemon/device-name-translation.c:176: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 (dev, start);
data/libguestfs-1.42.0/daemon/du.c:54:7:  [4] (buffer) sscanf:
  The scanf() family's %s operation, without a limit specification, permits
  buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a
  different input function. If the scanf format is influenceable by an
  attacker, it's exploitable.
  if (sscanf (out, "%"SCNi64, &rv) != 1) {
data/libguestfs-1.42.0/daemon/ext2.c:660:5:  [4] (format) snprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
    snprintf (group_s, sizeof group_s, "%" PRIi64, group);
data/libguestfs-1.42.0/daemon/ext2.c:704:5:  [4] (format) snprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
    snprintf (reservedblockscount_s, sizeof reservedblockscount_s,
data/libguestfs-1.42.0/daemon/ext2.c:715:5:  [4] (format) snprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
    snprintf (user_s, sizeof user_s, "%" PRIi64, user);
data/libguestfs-1.42.0/daemon/ext2.c:873:7:  [4] (buffer) sscanf:
  The scanf() family's %s operation, without a limit specification, permits
  buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a
  different input function. If the scanf format is influenceable by an
  attacker, it's exploitable.
  if (sscanf (out, "%" SCNi64, &ret) != 1) {
data/libguestfs-1.42.0/daemon/ext2.c:900:3:  [4] (format) snprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
  snprintf (generation_str, sizeof generation_str,
data/libguestfs-1.42.0/daemon/ext2.c:981:5:  [4] (format) snprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
    snprintf (blocksize_s, sizeof blocksize_s, "%" PRIi64, blocksize);
data/libguestfs-1.42.0/daemon/ext2.c:990:5:  [4] (format) snprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
    snprintf (fragsize_s, sizeof fragsize_s, "%" PRIi64, fragsize);
data/libguestfs-1.42.0/daemon/ext2.c:1003:5:  [4] (format) snprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
    snprintf (blockspergroup_s, sizeof blockspergroup_s,
data/libguestfs-1.42.0/daemon/ext2.c:1013:5:  [4] (format) snprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
    snprintf (numberofgroups_s, sizeof numberofgroups_s,
data/libguestfs-1.42.0/daemon/ext2.c:1023:5:  [4] (format) snprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
    snprintf (bytesperinode_s, sizeof bytesperinode_s, "%" PRIi64, bytesperinode);
data/libguestfs-1.42.0/daemon/ext2.c:1032:5:  [4] (format) snprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
    snprintf (inodesize_s, sizeof inodesize_s, "%" PRIi64, inodesize);
data/libguestfs-1.42.0/daemon/ext2.c:1041:5:  [4] (format) snprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
    snprintf (journalsize_s, sizeof journalsize_s,
data/libguestfs-1.42.0/daemon/ext2.c:1069:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        sprintf (journaldevice_s, "device=%s", journaldevice_translated);
data/libguestfs-1.42.0/daemon/ext2.c:1078:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        sprintf (journaldevice_s, "device=%s", journaldevice);
data/libguestfs-1.42.0/daemon/ext2.c:1096:5:  [4] (format) snprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
    snprintf (reservedblockspercentage_s, sizeof reservedblockspercentage_s,
data/libguestfs-1.42.0/daemon/ext2.c:1112:5:  [4] (format) snprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
    snprintf (numberofinodes_s, sizeof numberofinodes_s,
data/libguestfs-1.42.0/daemon/ext2.c:1155:5:  [4] (format) snprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
    snprintf (mmpupdateinterval_s, sizeof mmpupdateinterval_s,
data/libguestfs-1.42.0/daemon/ext2.c:1165:5:  [4] (format) snprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
    snprintf (stridesize_s, sizeof stridesize_s,
data/libguestfs-1.42.0/daemon/ext2.c:1175:5:  [4] (format) snprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
    snprintf (stripewidth_s, sizeof stripewidth_s,
data/libguestfs-1.42.0/daemon/ext2.c:1185:5:  [4] (format) snprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
    snprintf (maxonlineresize_s, sizeof maxonlineresize_s,
data/libguestfs-1.42.0/daemon/ext2.c:1296:5:  [4] (format) snprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
    snprintf (blockscount_s, sizeof blockscount_s, "%" PRIi64, blockscount);
data/libguestfs-1.42.0/daemon/ext2.c:1324:7:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
  r = system (cmd);
data/libguestfs-1.42.0/daemon/file.c:475:8:  [4] (shell) popen:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
  fp = popen (cmd, "r");
data/libguestfs-1.42.0/daemon/find.c:96:8:  [4] (shell) popen:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
  fp = popen (cmd, "r");
data/libguestfs-1.42.0/daemon/fstrim.c:64:5:  [4] (format) snprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
    snprintf (offset_s, sizeof offset_s, "%" PRIi64, offset);
data/libguestfs-1.42.0/daemon/fstrim.c:75:5:  [4] (format) snprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
    snprintf (length_s, sizeof length_s, "%" PRIi64, length);
data/libguestfs-1.42.0/daemon/fstrim.c:86:5:  [4] (format) snprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
    snprintf (mfe_s, sizeof mfe_s, "%" PRIi64, minimumfreeextent);
data/libguestfs-1.42.0/daemon/guestfsd.c:281: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 (addr.sun_path, channel);
data/libguestfs-1.42.0/daemon/hotplug.c:65:9:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
    r = access (path, F_OK);
data/libguestfs-1.42.0/daemon/hotplug.c:143:9:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
    r = access (path, F_OK);
data/libguestfs-1.42.0/daemon/initrd.c:54:8:  [4] (shell) popen:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
  fp = popen (cmd, "r");
data/libguestfs-1.42.0/daemon/initrd.c:118:7:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
  r = system (cmd);
data/libguestfs-1.42.0/daemon/inotify.c:331:8:  [4] (shell) popen:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
  fp = popen (cmd, "w");
data/libguestfs-1.42.0/daemon/isoinfo.c:38:7:  [4] (buffer) sscanf:
  The scanf() family's %s operation, without a limit specification, permits
  buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a
  different input function. If the scanf format is influenceable by an
  attacker, it's exploitable.
  if (sscanf (str, "%" SCNu32, &r) != 1) {
data/libguestfs-1.42.0/daemon/luks.c:97: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 (devmapper, F_OK) == 0) {
data/libguestfs-1.42.0/daemon/lvm-filter.c:165:19:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
    ignore_value (system ("lvm config"));
data/libguestfs-1.42.0/daemon/lvm-tokenization.c:104:7:  [4] (buffer) sscanf:
  The scanf() family's %s operation, without a limit specification, permits
  buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a
  different input function. If the scanf format is influenceable by an
  attacker, it's exploitable.
  if (sscanf (tok, "%" SCNi64, &r->pv_size) != 1) {
data/libguestfs-1.42.0/daemon/lvm-tokenization.c:116:7:  [4] (buffer) sscanf:
  The scanf() family's %s operation, without a limit specification, permits
  buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a
  different input function. If the scanf format is influenceable by an
  attacker, it's exploitable.
  if (sscanf (tok, "%" SCNi64, &r->dev_size) != 1) {
data/libguestfs-1.42.0/daemon/lvm-tokenization.c:128:7:  [4] (buffer) sscanf:
  The scanf() family's %s operation, without a limit specification, permits
  buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a
  different input function. If the scanf format is influenceable by an
  attacker, it's exploitable.
  if (sscanf (tok, "%" SCNi64, &r->pv_free) != 1) {
data/libguestfs-1.42.0/daemon/lvm-tokenization.c:140:7:  [4] (buffer) sscanf:
  The scanf() family's %s operation, without a limit specification, permits
  buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a
  different input function. If the scanf format is influenceable by an
  attacker, it's exploitable.
  if (sscanf (tok, "%" SCNi64, &r->pv_used) != 1) {
data/libguestfs-1.42.0/daemon/lvm-tokenization.c:165:7:  [4] (buffer) sscanf:
  The scanf() family's %s operation, without a limit specification, permits
  buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a
  different input function. If the scanf format is influenceable by an
  attacker, it's exploitable.
  if (sscanf (tok, "%" SCNi64, &r->pv_pe_count) != 1) {
data/libguestfs-1.42.0/daemon/lvm-tokenization.c:177:7:  [4] (buffer) sscanf:
  The scanf() family's %s operation, without a limit specification, permits
  buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a
  different input function. If the scanf format is influenceable by an
  attacker, it's exploitable.
  if (sscanf (tok, "%" SCNi64, &r->pv_pe_alloc_count) != 1) {
data/libguestfs-1.42.0/daemon/lvm-tokenization.c:202:7:  [4] (buffer) sscanf:
  The scanf() family's %s operation, without a limit specification, permits
  buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a
  different input function. If the scanf format is influenceable by an
  attacker, it's exploitable.
  if (sscanf (tok, "%" SCNi64, &r->pe_start) != 1) {
data/libguestfs-1.42.0/daemon/lvm-tokenization.c:214:7:  [4] (buffer) sscanf:
  The scanf() family's %s operation, without a limit specification, permits
  buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a
  different input function. If the scanf format is influenceable by an
  attacker, it's exploitable.
  if (sscanf (tok, "%" SCNi64, &r->pv_mda_count) != 1) {
data/libguestfs-1.42.0/daemon/lvm-tokenization.c:226:7:  [4] (buffer) sscanf:
  The scanf() family's %s operation, without a limit specification, permits
  buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a
  different input function. If the scanf format is influenceable by an
  attacker, it's exploitable.
  if (sscanf (tok, "%" SCNi64, &r->pv_mda_free) != 1) {
data/libguestfs-1.42.0/daemon/lvm-tokenization.c:396:7:  [4] (buffer) sscanf:
  The scanf() family's %s operation, without a limit specification, permits
  buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a
  different input function. If the scanf format is influenceable by an
  attacker, it's exploitable.
  if (sscanf (tok, "%" SCNi64, &r->vg_size) != 1) {
data/libguestfs-1.42.0/daemon/lvm-tokenization.c:408:7:  [4] (buffer) sscanf:
  The scanf() family's %s operation, without a limit specification, permits
  buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a
  different input function. If the scanf format is influenceable by an
  attacker, it's exploitable.
  if (sscanf (tok, "%" SCNi64, &r->vg_free) != 1) {
data/libguestfs-1.42.0/daemon/lvm-tokenization.c:433:7:  [4] (buffer) sscanf:
  The scanf() family's %s operation, without a limit specification, permits
  buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a
  different input function. If the scanf format is influenceable by an
  attacker, it's exploitable.
  if (sscanf (tok, "%" SCNi64, &r->vg_extent_size) != 1) {
data/libguestfs-1.42.0/daemon/lvm-tokenization.c:445:7:  [4] (buffer) sscanf:
  The scanf() family's %s operation, without a limit specification, permits
  buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a
  different input function. If the scanf format is influenceable by an
  attacker, it's exploitable.
  if (sscanf (tok, "%" SCNi64, &r->vg_extent_count) != 1) {
data/libguestfs-1.42.0/daemon/lvm-tokenization.c:457:7:  [4] (buffer) sscanf:
  The scanf() family's %s operation, without a limit specification, permits
  buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a
  different input function. If the scanf format is influenceable by an
  attacker, it's exploitable.
  if (sscanf (tok, "%" SCNi64, &r->vg_free_count) != 1) {
data/libguestfs-1.42.0/daemon/lvm-tokenization.c:469:7:  [4] (buffer) sscanf:
  The scanf() family's %s operation, without a limit specification, permits
  buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a
  different input function. If the scanf format is influenceable by an
  attacker, it's exploitable.
  if (sscanf (tok, "%" SCNi64, &r->max_lv) != 1) {
data/libguestfs-1.42.0/daemon/lvm-tokenization.c:481:7:  [4] (buffer) sscanf:
  The scanf() family's %s operation, without a limit specification, permits
  buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a
  different input function. If the scanf format is influenceable by an
  attacker, it's exploitable.
  if (sscanf (tok, "%" SCNi64, &r->max_pv) != 1) {
data/libguestfs-1.42.0/daemon/lvm-tokenization.c:493:7:  [4] (buffer) sscanf:
  The scanf() family's %s operation, without a limit specification, permits
  buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a
  different input function. If the scanf format is influenceable by an
  attacker, it's exploitable.
  if (sscanf (tok, "%" SCNi64, &r->pv_count) != 1) {
data/libguestfs-1.42.0/daemon/lvm-tokenization.c:505:7:  [4] (buffer) sscanf:
  The scanf() family's %s operation, without a limit specification, permits
  buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a
  different input function. If the scanf format is influenceable by an
  attacker, it's exploitable.
  if (sscanf (tok, "%" SCNi64, &r->lv_count) != 1) {
data/libguestfs-1.42.0/daemon/lvm-tokenization.c:517:7:  [4] (buffer) sscanf:
  The scanf() family's %s operation, without a limit specification, permits
  buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a
  different input function. If the scanf format is influenceable by an
  attacker, it's exploitable.
  if (sscanf (tok, "%" SCNi64, &r->snap_count) != 1) {
data/libguestfs-1.42.0/daemon/lvm-tokenization.c:529:7:  [4] (buffer) sscanf:
  The scanf() family's %s operation, without a limit specification, permits
  buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a
  different input function. If the scanf format is influenceable by an
  attacker, it's exploitable.
  if (sscanf (tok, "%" SCNi64, &r->vg_seqno) != 1) {
data/libguestfs-1.42.0/daemon/lvm-tokenization.c:554:7:  [4] (buffer) sscanf:
  The scanf() family's %s operation, without a limit specification, permits
  buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a
  different input function. If the scanf format is influenceable by an
  attacker, it's exploitable.
  if (sscanf (tok, "%" SCNi64, &r->vg_mda_count) != 1) {
data/libguestfs-1.42.0/daemon/lvm-tokenization.c:566:7:  [4] (buffer) sscanf:
  The scanf() family's %s operation, without a limit specification, permits
  buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a
  different input function. If the scanf format is influenceable by an
  attacker, it's exploitable.
  if (sscanf (tok, "%" SCNi64, &r->vg_mda_free) != 1) {
data/libguestfs-1.42.0/daemon/lvm-tokenization.c:723:7:  [4] (buffer) sscanf:
  The scanf() family's %s operation, without a limit specification, permits
  buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a
  different input function. If the scanf format is influenceable by an
  attacker, it's exploitable.
  if (sscanf (tok, "%" SCNi64, &r->lv_major) != 1) {
data/libguestfs-1.42.0/daemon/lvm-tokenization.c:735:7:  [4] (buffer) sscanf:
  The scanf() family's %s operation, without a limit specification, permits
  buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a
  different input function. If the scanf format is influenceable by an
  attacker, it's exploitable.
  if (sscanf (tok, "%" SCNi64, &r->lv_minor) != 1) {
data/libguestfs-1.42.0/daemon/lvm-tokenization.c:747:7:  [4] (buffer) sscanf:
  The scanf() family's %s operation, without a limit specification, permits
  buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a
  different input function. If the scanf format is influenceable by an
  attacker, it's exploitable.
  if (sscanf (tok, "%" SCNi64, &r->lv_kernel_major) != 1) {
data/libguestfs-1.42.0/daemon/lvm-tokenization.c:759:7:  [4] (buffer) sscanf:
  The scanf() family's %s operation, without a limit specification, permits
  buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a
  different input function. If the scanf format is influenceable by an
  attacker, it's exploitable.
  if (sscanf (tok, "%" SCNi64, &r->lv_kernel_minor) != 1) {
data/libguestfs-1.42.0/daemon/lvm-tokenization.c:771:7:  [4] (buffer) sscanf:
  The scanf() family's %s operation, without a limit specification, permits
  buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a
  different input function. If the scanf format is influenceable by an
  attacker, it's exploitable.
  if (sscanf (tok, "%" SCNi64, &r->lv_size) != 1) {
data/libguestfs-1.42.0/daemon/lvm-tokenization.c:783:7:  [4] (buffer) sscanf:
  The scanf() family's %s operation, without a limit specification, permits
  buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a
  different input function. If the scanf format is influenceable by an
  attacker, it's exploitable.
  if (sscanf (tok, "%" SCNi64, &r->seg_count) != 1) {
data/libguestfs-1.42.0/daemon/md.c:186:5:  [4] (format) snprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
    snprintf (chunk_s, sizeof chunk_s, "%" PRIi64, chunk / 1024);
data/libguestfs-1.42.0/daemon/md.c:316:9:  [4] (buffer) sscanf:
  The scanf() family's %s operation, without a limit specification, permits
  buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a
  different input function. If the scanf format is influenceable by an
  attacker, it's exploitable.
    if (sscanf (line, "%" SCNi32, &t->mdstat_index) != 1) {
data/libguestfs-1.42.0/daemon/modprobe.c:37: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 ("/proc/modules", R_OK) == -1 && errno == ENOENT)
data/libguestfs-1.42.0/daemon/ntfs.c:125:5:  [4] (format) snprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
    snprintf (size_str, sizeof size_str, "%" PRIi64, size);
data/libguestfs-1.42.0/daemon/ntfs.c:191:13:  [4] (buffer) sscanf:
  The scanf() family's %s operation, without a limit specification, permits
  buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a
  different input function. If the scanf format is influenceable by an
  attacker, it's exploitable.
        if (sscanf (lines[i] + strlen (cluster_size_pattern),
data/libguestfs-1.42.0/daemon/ntfs.c:295:8:  [4] (shell) popen:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
  fp = popen (cmd, "r");
data/libguestfs-1.42.0/daemon/ntfsclone.c:94:8:  [4] (shell) popen:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
  fp = popen (cmd, "w");
data/libguestfs-1.42.0/daemon/ntfsclone.c:174:8:  [4] (shell) popen:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
  fp = popen (cmd, "r");
data/libguestfs-1.42.0/daemon/sfdisk.c:60:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf (buf + strlen (buf), " %s", extra_flag);
data/libguestfs-1.42.0/daemon/sfdisk.c:67:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
  sprintf (buf + strlen (buf), " %s", device);
data/libguestfs-1.42.0/daemon/sfdisk.c:72:8:  [4] (shell) popen:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
  fp = popen (buf, "w");
data/libguestfs-1.42.0/daemon/sleuthkit.c:113:8:  [4] (shell) popen:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
  fp = popen (cmd, "r");
data/libguestfs-1.42.0/daemon/tar.c:204:8:  [4] (shell) popen:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
  fp = popen (cmd, "w");
data/libguestfs-1.42.0/daemon/tar.c:358:8:  [4] (shell) popen:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
  fp = popen (cmd, "r");
data/libguestfs-1.42.0/daemon/utils.c:632: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 (path, pathc);
data/libguestfs-1.42.0/daemon/utils.c:640:9:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
    if (access (testprog, X_OK) == 0)
data/libguestfs-1.42.0/daemon/xfs.c:64:7:  [4] (buffer) sscanf:
  The scanf() family's %s operation, without a limit specification, permits
  buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a
  different input function. If the scanf format is influenceable by an
  attacker, it's exploitable.
  if (sscanf (str, "%" SCNu32, &r) != 1) {
data/libguestfs-1.42.0/daemon/xfs.c:78:7:  [4] (buffer) sscanf:
  The scanf() family's %s operation, without a limit specification, permits
  buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a
  different input function. If the scanf format is influenceable by an
  attacker, it's exploitable.
  if (sscanf (str, "%" SCNu64, &r) != 1) {
data/libguestfs-1.42.0/daemon/xfs.c:395:5:  [4] (format) snprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
    snprintf (datasize_s, sizeof datasize_s, "%" PRIi64, datasize);
data/libguestfs-1.42.0/daemon/xfs.c:405:5:  [4] (format) snprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
    snprintf (logsize_s, sizeof logsize_s, "%" PRIi64, logsize);
data/libguestfs-1.42.0/daemon/xfs.c:415:5:  [4] (format) snprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
    snprintf (rtsize_s, sizeof rtsize_s, "%" PRIi64, rtsize);
data/libguestfs-1.42.0/daemon/xfs.c:425:5:  [4] (format) snprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
    snprintf (rtextsize_s, sizeof rtextsize_s, "%" PRIi64, rtextsize);
data/libguestfs-1.42.0/daemon/xfs.c:435:5:  [4] (format) snprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
    snprintf (maxpct_s, sizeof maxpct_s, "%" PRIi32, maxpct);
data/libguestfs-1.42.0/daemon/xfs.c:588:5:  [4] (format) snprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
    snprintf (maxmem_s, sizeof maxmem_s, "%" PRIi64, maxmem);
data/libguestfs-1.42.0/daemon/xfs.c:598:5:  [4] (format) snprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
    snprintf (ihashsize_s, sizeof ihashsize_s, "ihash=" "%" PRIi64, ihashsize);
data/libguestfs-1.42.0/daemon/xfs.c:608:5:  [4] (format) snprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
    snprintf (bhashsize_s, sizeof bhashsize_s, "bhash=" "%" PRIi64, bhashsize);
data/libguestfs-1.42.0/daemon/xfs.c:618:5:  [4] (format) snprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
    snprintf (agstride_s, sizeof agstride_s, "ag_stride=" "%" PRIi64, agstride);
data/libguestfs-1.42.0/df/main.c:224:11:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
          access (argv[optind], F_OK) == 0) { /* simulate -a option */
data/libguestfs-1.42.0/df/output.c:129:7:  [4] (format) snprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
      snprintf (buf[0], MAX_LEN, "%" PRIi64, v);
data/libguestfs-1.42.0/df/output.c:132:7:  [4] (format) snprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
      snprintf (buf[1], MAX_LEN, "%" PRIi64, v);
data/libguestfs-1.42.0/df/output.c:135:7:  [4] (format) snprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
      snprintf (buf[2], MAX_LEN, "%" PRIi64, v);
data/libguestfs-1.42.0/df/output.c:155:5:  [4] (format) snprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
    snprintf (buf[0], MAX_LEN, "%" PRIi64, stat->files);
data/libguestfs-1.42.0/df/output.c:157:5:  [4] (format) snprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
    snprintf (buf[1], MAX_LEN, "%" PRIi64, stat->files - stat->ffree);
data/libguestfs-1.42.0/df/output.c:159:5:  [4] (format) snprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
    snprintf (buf[2], MAX_LEN, "%" PRIi64, stat->ffree);
data/libguestfs-1.42.0/diff/diff.c:767:7:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
  r = system (cmd);
data/libguestfs-1.42.0/diff/diff.c:1009:7:  [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.
  if (printf ("%" PRIi64, i) < 0)
data/libguestfs-1.42.0/diff/diff.c:1025:11:  [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.
      r = printf ("%10" PRIi64, size);
data/libguestfs-1.42.0/diff/diff.c:1032:11:  [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.
      r = printf ("%" PRIi64, size);
data/libguestfs-1.42.0/diff/diff.c:1047:7:  [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.
  if (printf ("%04" PRIo64, (uint64_t) i) < 0)
data/libguestfs-1.42.0/diff/diff.c:1062:11:  [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.
      r = printf ("%10" PRIi64, secs);
data/libguestfs-1.42.0/diff/diff.c:1065:11:  [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.
      r = printf ("%8" PRIi64, now - secs);
data/libguestfs-1.42.0/diff/diff.c:1069:11:  [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.
      r = printf ("%3" PRIi64, (now - secs) / 86400);
data/libguestfs-1.42.0/diff/diff.c:1097:7:  [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.
  if (printf (csv ? "%" PRIi64 : "%4" PRIi64, i) < 0)
data/libguestfs-1.42.0/edit/edit.c:230:11:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
          access (argv[optind], F_OK) == 0) { /* simulate -a option */
data/libguestfs-1.42.0/examples/display-icon.c:109:12:  [4] (shell) popen:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
      fp = popen ("display -", "w");
data/libguestfs-1.42.0/examples/libvirt-auth.c:155:14:  [4] (misc) getpass:
  This function is obsolete and not portable. It was in SUSv2 but removed by
  POSIX.2. What it does exactly varies considerably between systems,
  particularly in where its prompt is displayed and where it gets its data
  (e.g., /dev/tty, stdin, stderr, etc.). In addition, some implementations
  overflow buffers. (CWE-676, CWE-120, CWE-20). Make the specific calls to do
  exactly what you want. If you continue to use it, or write your own, be
  sure to zero the password as soon as possible to avoid leaving the
  cleartext password visible in the process' address space.
      pass = getpass ("");
data/libguestfs-1.42.0/examples/mount-local.c:139:11:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
      r = system ("/bin/sh");
data/libguestfs-1.42.0/examples/mount-local.c:153:13:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
        r = system (buf);
data/libguestfs-1.42.0/examples/mount-local.c:156:13:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
        r = system (shell);
data/libguestfs-1.42.0/fish/display.c:91:7:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
  r = system (buf);
data/libguestfs-1.42.0/fish/events.c:161:5:  [4] (shell) execvp:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
    execvp (argv[0], (void *) argv);
data/libguestfs-1.42.0/fish/fish.c:453:11:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
          access (argv[optind], F_OK) == 0) { /* simulate -a option */
data/libguestfs-1.42.0/fish/fish.c:675:15:  [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.
  if (prompt) printf (FISH);
data/libguestfs-1.42.0/fish/fish.c:808:9:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
    r = system (buf+1);
data/libguestfs-1.42.0/fish/fish.c:1039:8:  [4] (shell) popen:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
  pp = popen (cmd, "r");
data/libguestfs-1.42.0/fish/fish.c:1157:11:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
      r = system (pipecmd);
data/libguestfs-1.42.0/fish/fish.h:93:118:  [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.
extern void prep_error (prep_data *data, const char *filename, const char *fs, ...) __attribute__((noreturn, format (printf,3,4)));
data/libguestfs-1.42.0/fish/hexedit.c:153:7:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
  r = system (editcmd);
data/libguestfs-1.42.0/fish/man.c:49:11:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
  int r = system ("man 1 guestfish");
data/libguestfs-1.42.0/fish/more.c:92:7:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
  r = system (buf);
data/libguestfs-1.42.0/fish/prep.c:167:3:  [4] (format) vfprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
  vfprintf (stderr, fs, args);
data/libguestfs-1.42.0/fish/rc.c:60:3:  [4] (format) snprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
  snprintf (dir, sizeof dir, SOCKET_DIR, (uintmax_t) euid);
data/libguestfs-1.42.0/fish/rc.c:83:3:  [4] (format) snprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
  snprintf (sockpath, len, SOCKET_PATH, (uintmax_t) euid, (uintmax_t) pid);
data/libguestfs-1.42.0/fish/rc.c:86: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 (addr->sun_path, sockpath);
data/libguestfs-1.42.0/fish/tilde.c:72: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 (str, home);
data/libguestfs-1.42.0/fish/tilde.c:73: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 (str, rest);
data/libguestfs-1.42.0/fish/tilde.c:107: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 (str, home);
data/libguestfs-1.42.0/fish/tilde.c:109: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 (str, append);
data/libguestfs-1.42.0/fuse/guestunmount.c:260:5:  [4] (shell) execlp:
  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.
    execlp ("fusermount", "fusermount", "-u", mountpoint, NULL);
data/libguestfs-1.42.0/fuse/guestunmount.c:263:5:  [4] (shell) execlp:
  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.
    execlp ("umount", "umount", mountpoint, NULL);
data/libguestfs-1.42.0/fuse/guestunmount.c:339:5:  [4] (shell) execlp:
  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.
    execlp (FUSER, "fuser", "-v", "-m", mountpoint, NULL);
data/libguestfs-1.42.0/fuse/guestunmount.c:341:5:  [4] (shell) execlp:
  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.
    execlp (FUSER, "fuser", "-c", mountpoint, NULL);
data/libguestfs-1.42.0/fuse/test-fuse.c:87: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 ("/dev/fuse", W_OK) == -1)
data/libguestfs-1.42.0/fuse/test-fuse.c:146:19:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
    ignore_value (system (cmd));
data/libguestfs-1.42.0/fuse/test-fuse.c:152:9:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
    r = system (cmd);
data/libguestfs-1.42.0/fuse/test-fuse.c:256: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 ("empty", F_OK) == -1) {
data/libguestfs-1.42.0/fuse/test-fuse.c:260: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 ("hello.txt", F_OK) == -1) {
data/libguestfs-1.42.0/fuse/test-fuse.c:264: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 ("world.txt", F_OK) == -1) {
data/libguestfs-1.42.0/fuse/test-fuse.c:481: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 ("new", F_OK) == -1) {
data/libguestfs-1.42.0/fuse/test-fuse.c:485: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 ("old", F_OK) == 0) {
data/libguestfs-1.42.0/fuse/test-guestmount-fd.c:63: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 (TEST_IMAGE, R_OK) == -1)
data/libguestfs-1.42.0/fuse/test-guestmount-fd.c:69: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 ("/dev/fuse", W_OK) == -1)
data/libguestfs-1.42.0/fuse/test-guestmount-fd.c:93:5:  [4] (shell) execlp:
  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.
    execlp (GUESTMOUNT_BINARY,
data/libguestfs-1.42.0/fuse/test-guestmount-fd.c:119: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 (TEST_FILE, R_OK) == -1) {
data/libguestfs-1.42.0/fuse/test-guestmount-fd.c:127:7:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
  r = system (GUESTUNMOUNT_BINARY " " MOUNTPOINT);
data/libguestfs-1.42.0/fuse/test-guestunmount-fd.c:74:5:  [4] (shell) execlp:
  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.
    execlp ("guestunmount", "guestunmount", "--fd", fd_str, "/", NULL);
data/libguestfs-1.42.0/gnulib/lib/chdir-long.c:249:7:  [4] (shell) execlp:
  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.
      execlp (cmd, (char *) NULL);
data/libguestfs-1.42.0/gnulib/lib/error.c:274:5:  [4] (format) vfprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
    vfprintf (stderr, message, args);
data/libguestfs-1.42.0/gnulib/lib/error.c:389:3:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
  fprintf (stderr, file_name != NULL ? "%s:%u: " : " ",
data/libguestfs-1.42.0/gnulib/lib/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/libguestfs-1.42.0/gnulib/lib/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/libguestfs-1.42.0/gnulib/lib/getlogin_r.c:35:14:  [4] (misc) getlogin:
  It's often easy to fool getlogin. Sometimes it does not work at all,
  because some program messed up the utmp file. Often, it gives only the
  first 8 characters of the login name. The user currently logged in on the
  controlling tty of our program need not be the user who started it. Avoid
  getlogin() for security-related purposes (CWE-807). Use getpwuid(geteuid())
  and extract the desired information instead.
extern char *getlogin (void);
data/libguestfs-1.42.0/gnulib/lib/getlogin_r.c:96:7:  [4] (misc) getlogin:
  It's often easy to fool getlogin. Sometimes it does not work at all,
  because some program messed up the utmp file. Often, it gives only the
  first 8 characters of the login name. The user currently logged in on the
  controlling tty of our program need not be the user who started it. Avoid
  getlogin() for security-related purposes (CWE-807). Use getpwuid(geteuid())
  and extract the desired information instead.
  n = getlogin ();
data/libguestfs-1.42.0/gnulib/lib/localcharset.c:905: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 (resultbuf, buf);
data/libguestfs-1.42.0/gnulib/lib/localcharset.c:929: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/libguestfs-1.42.0/gnulib/lib/localcharset.c:947: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 (resultbuf, buf);
data/libguestfs-1.42.0/gnulib/lib/localcharset.c:1007: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 (resultbuf, buf);
data/libguestfs-1.42.0/gnulib/lib/openat-proc.c:88:13:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
            sprintf (dotdot_buf, PROC_SELF_FD_FORMAT "../fd", proc_self_fd);
data/libguestfs-1.42.0/gnulib/lib/openat-proc.c:89:27:  [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.
            proc_status = access (dotdot_buf, F_OK) ? -1 : 1;
data/libguestfs-1.42.0/gnulib/lib/openat-proc.c:106:18:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
        dirlen = sprintf (result, PROC_SELF_FD_FORMAT, fd);
data/libguestfs-1.42.0/gnulib/lib/openat-proc.c:127: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 (result, dir);
data/libguestfs-1.42.0/gnulib/lib/openat-proc.c:132:3:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
  strcpy (result + dirlen, file);
data/libguestfs-1.42.0/gnulib/lib/opendir.c:151:3:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
  strcpy (dirp->dir_name_mask, dir_name_mask);
data/libguestfs-1.42.0/gnulib/lib/perror.c:30:8:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
#undef fprintf
data/libguestfs-1.42.0/gnulib/lib/setlocale_null.c:327: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 (resultbuf, buf);
data/libguestfs-1.42.0/gnulib/lib/setlocale_null.c:406: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 (resultbuf[i], buf);
data/libguestfs-1.42.0/gnulib/lib/stdio-read.c:83:1:  [4] (buffer) scanf:
  The scanf() family's %s operation, without a limit specification, permits
  buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a
  different input function. If the scanf format is influenceable by an
  attacker, it's exploitable.
scanf (const char *format, ...)
data/libguestfs-1.42.0/gnulib/lib/stdio-read.c:89:12:  [4] (buffer) vfscanf:
  The scanf() family's %s operation, without a limit specification, permits
  buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a
  different input function. If the scanf format is influenceable by an
  attacker, it's exploitable.
  retval = vfscanf (stdin, format, args);
data/libguestfs-1.42.0/gnulib/lib/stdio-read.c:100:1:  [4] (buffer) fscanf:
  The scanf() family's %s operation, without a limit specification, permits
  buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a
  different input function. If the scanf format is influenceable by an
  attacker, it's exploitable.
fscanf (FILE *stream, const char *format, ...)
data/libguestfs-1.42.0/gnulib/lib/stdio-read.c:106:12:  [4] (buffer) vfscanf:
  The scanf() family's %s operation, without a limit specification, permits
  buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a
  different input function. If the scanf format is influenceable by an
  attacker, it's exploitable.
  retval = vfscanf (stream, format, args);
data/libguestfs-1.42.0/gnulib/lib/stdio-read.c:117:1:  [4] (buffer) vscanf:
  The scanf() family's %s operation, without a limit specification, permits
  buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a
  different input function. If the scanf format is influenceable by an
  attacker, it's exploitable.
vscanf (const char *format, va_list args)
data/libguestfs-1.42.0/gnulib/lib/stdio-read.c:119:10:  [4] (buffer) vfscanf:
  The scanf() family's %s operation, without a limit specification, permits
  buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a
  different input function. If the scanf format is influenceable by an
  attacker, it's exploitable.
  return vfscanf (stdin, format, args);
data/libguestfs-1.42.0/gnulib/lib/stdio-read.c:127:1:  [4] (buffer) vfscanf:
  The scanf() family's %s operation, without a limit specification, permits
  buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a
  different input function. If the scanf format is influenceable by an
  attacker, it's exploitable.
vfscanf (FILE *stream, const char *format, va_list args)
data/libguestfs-1.42.0/gnulib/lib/stdio-read.c:128:8:  [4] (buffer) vfscanf:
  The scanf() family's %s operation, without a limit specification, permits
  buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a
  different input function.
#undef vfscanf
data/libguestfs-1.42.0/gnulib/lib/stdio-read.c:130:29:  [4] (buffer) vfscanf:
  The scanf() family's %s operation, without a limit specification, permits
  buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a
  different input function. If the scanf format is influenceable by an
  attacker, it's exploitable.
  CALL_WITH_ERRNO_FIX (int, vfscanf (stream, format, args), ret == EOF)
data/libguestfs-1.42.0/gnulib/lib/stdio-write.c:121:1:  [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.
printf (const char *format, ...)
data/libguestfs-1.42.0/gnulib/lib/stdio-write.c:127:12:  [4] (format) vfprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
  retval = vfprintf (stdout, format, args);
data/libguestfs-1.42.0/gnulib/lib/stdio-write.c:136:1:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
fprintf (FILE *stream, const char *format, ...)
data/libguestfs-1.42.0/gnulib/lib/stdio-write.c:142:12:  [4] (format) vfprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
  retval = vfprintf (stream, format, args);
data/libguestfs-1.42.0/gnulib/lib/stdio-write.c:151:1:  [4] (format) vprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
vprintf (const char *format, va_list args)
data/libguestfs-1.42.0/gnulib/lib/stdio-write.c:153:10:  [4] (format) vfprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
  return vfprintf (stdout, format, args);
data/libguestfs-1.42.0/gnulib/lib/stdio-write.c:159:1:  [4] (format) vfprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
vfprintf (FILE *stream, const char *format, va_list args)
data/libguestfs-1.42.0/gnulib/lib/stdio-write.c:160:8:  [4] (format) vfprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
#undef vfprintf
data/libguestfs-1.42.0/gnulib/lib/stdio-write.c:162:37:  [4] (format) vfprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
  CALL_WITH_SIGPIPE_EMULATION (int, vfprintf (stream, format, args), ret == EOF)
data/libguestfs-1.42.0/gnulib/lib/stdio.in.h:327:12:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
#   define fprintf rpl_fprintf
data/libguestfs-1.42.0/gnulib/lib/stdio.in.h:331:19:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
_GL_FUNCDECL_RPL (fprintf, int,
data/libguestfs-1.42.0/gnulib/lib/stdio.in.h:336:19:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
_GL_FUNCDECL_RPL (fprintf, int,
data/libguestfs-1.42.0/gnulib/lib/stdio.in.h:341:19:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
_GL_CXXALIAS_RPL (fprintf, int,
data/libguestfs-1.42.0/gnulib/lib/stdio.in.h:344:19:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
_GL_CXXALIAS_SYS (fprintf, int,
data/libguestfs-1.42.0/gnulib/lib/stdio.in.h:348:19:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
_GL_CXXALIASWARN (fprintf);
data/libguestfs-1.42.0/gnulib/lib/stdio.in.h:353:10:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
#  undef fprintf
data/libguestfs-1.42.0/gnulib/lib/stdio.in.h:356:18:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
_GL_WARN_ON_USE (fprintf, "fprintf is not always POSIX compliant - "
data/libguestfs-1.42.0/gnulib/lib/stdio.in.h:480:11:  [4] (buffer) fscanf:
  The scanf() family's %s operation, without a limit specification, permits
  buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a
  different input function.
#   undef fscanf
data/libguestfs-1.42.0/gnulib/lib/stdio.in.h:481:12:  [4] (buffer) fscanf:
  The scanf() family's %s operation, without a limit specification, permits
  buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a
  different input function.
#   define fscanf rpl_fscanf
data/libguestfs-1.42.0/gnulib/lib/stdio.in.h:483:19:  [4] (buffer) fscanf:
  The scanf() family's %s operation, without a limit specification, permits
  buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a
  different input function.
_GL_FUNCDECL_RPL (fscanf, int,
data/libguestfs-1.42.0/gnulib/lib/stdio.in.h:487:19:  [4] (buffer) fscanf:
  The scanf() family's %s operation, without a limit specification, permits
  buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a
  different input function.
_GL_CXXALIAS_RPL (fscanf, int,
data/libguestfs-1.42.0/gnulib/lib/stdio.in.h:490:19:  [4] (buffer) fscanf:
  The scanf() family's %s operation, without a limit specification, permits
  buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a
  different input function.
_GL_CXXALIAS_SYS (fscanf, int,
data/libguestfs-1.42.0/gnulib/lib/stdio.in.h:494:19:  [4] (buffer) fscanf:
  The scanf() family's %s operation, without a limit specification, permits
  buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a
  different input function.
_GL_CXXALIASWARN (fscanf);
data/libguestfs-1.42.0/gnulib/lib/stdio.in.h:916:11:  [4] (shell) popen:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
#   undef popen
data/libguestfs-1.42.0/gnulib/lib/stdio.in.h:917:12:  [4] (shell) popen:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
#   define popen rpl_popen
data/libguestfs-1.42.0/gnulib/lib/stdio.in.h:919:19:  [4] (shell) popen:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
_GL_FUNCDECL_RPL (popen, FILE *, (const char *cmd, const char *mode)
data/libguestfs-1.42.0/gnulib/lib/stdio.in.h:921:19:  [4] (shell) popen:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
_GL_CXXALIAS_RPL (popen, FILE *, (const char *cmd, const char *mode));
data/libguestfs-1.42.0/gnulib/lib/stdio.in.h:924:19:  [4] (shell) popen:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
_GL_FUNCDECL_SYS (popen, FILE *, (const char *cmd, const char *mode)
data/libguestfs-1.42.0/gnulib/lib/stdio.in.h:927:19:  [4] (shell) popen:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
_GL_CXXALIAS_SYS (popen, FILE *, (const char *cmd, const char *mode));
data/libguestfs-1.42.0/gnulib/lib/stdio.in.h:929:19:  [4] (shell) popen:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
_GL_CXXALIASWARN (popen);
data/libguestfs-1.42.0/gnulib/lib/stdio.in.h:931:9:  [4] (shell) popen:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
# undef popen
data/libguestfs-1.42.0/gnulib/lib/stdio.in.h:933:18:  [4] (shell) popen:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
_GL_WARN_ON_USE (popen, "popen is buggy on some platforms - "
data/libguestfs-1.42.0/gnulib/lib/stdio.in.h:944:13:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
#    define printf __printf__
data/libguestfs-1.42.0/gnulib/lib/stdio.in.h:961:21:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
_GL_CXXALIAS_RPL_1 (printf, __printf__, int, (const char *format, ...));
data/libguestfs-1.42.0/gnulib/lib/stdio.in.h:964:13:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
#    define printf rpl_printf
data/libguestfs-1.42.0/gnulib/lib/stdio.in.h:966:19:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
_GL_FUNCDECL_RPL (printf, int,
data/libguestfs-1.42.0/gnulib/lib/stdio.in.h:970:19:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
_GL_CXXALIAS_RPL (printf, int, (const char *restrict format, ...));
data/libguestfs-1.42.0/gnulib/lib/stdio.in.h:974:19:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
_GL_CXXALIAS_SYS (printf, int, (const char *restrict format, ...));
data/libguestfs-1.42.0/gnulib/lib/stdio.in.h:977:19:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
_GL_CXXALIASWARN (printf);
data/libguestfs-1.42.0/gnulib/lib/stdio.in.h:982:10:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
#  undef printf
data/libguestfs-1.42.0/gnulib/lib/stdio.in.h:985:18:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
_GL_WARN_ON_USE (printf, "printf is not always POSIX compliant - "
data/libguestfs-1.42.0/gnulib/lib/stdio.in.h:1117:12:  [4] (buffer) scanf:
  The scanf() family's %s operation, without a limit specification, permits
  buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a
  different input function.
#    undef scanf
data/libguestfs-1.42.0/gnulib/lib/stdio.in.h:1119:13:  [4] (buffer) scanf:
  The scanf() family's %s operation, without a limit specification, permits
  buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a
  different input function.
#    define scanf __scanf__
data/libguestfs-1.42.0/gnulib/lib/stdio.in.h:1127:21:  [4] (buffer) scanf:
  The scanf() family's %s operation, without a limit specification, permits
  buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a
  different input function.
_GL_CXXALIAS_RPL_1 (scanf, __scanf__, int, (const char *restrict format, ...));
data/libguestfs-1.42.0/gnulib/lib/stdio.in.h:1130:12:  [4] (buffer) scanf:
  The scanf() family's %s operation, without a limit specification, permits
  buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a
  different input function.
#    undef scanf
data/libguestfs-1.42.0/gnulib/lib/stdio.in.h:1131:13:  [4] (buffer) scanf:
  The scanf() family's %s operation, without a limit specification, permits
  buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a
  different input function.
#    define scanf rpl_scanf
data/libguestfs-1.42.0/gnulib/lib/stdio.in.h:1133:19:  [4] (buffer) scanf:
  The scanf() family's %s operation, without a limit specification, permits
  buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a
  different input function.
_GL_FUNCDECL_RPL (scanf, int, (const char *restrict format, ...)
data/libguestfs-1.42.0/gnulib/lib/stdio.in.h:1136:19:  [4] (buffer) scanf:
  The scanf() family's %s operation, without a limit specification, permits
  buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a
  different input function.
_GL_CXXALIAS_RPL (scanf, int, (const char *restrict format, ...));
data/libguestfs-1.42.0/gnulib/lib/stdio.in.h:1139:19:  [4] (buffer) scanf:
  The scanf() family's %s operation, without a limit specification, permits
  buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a
  different input function.
_GL_CXXALIAS_SYS (scanf, int, (const char *restrict format, ...));
data/libguestfs-1.42.0/gnulib/lib/stdio.in.h:1142:19:  [4] (buffer) scanf:
  The scanf() family's %s operation, without a limit specification, permits
  buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a
  different input function.
_GL_CXXALIASWARN (scanf);
data/libguestfs-1.42.0/gnulib/lib/stdio.in.h:1149:12:  [4] (format) snprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
#   define snprintf rpl_snprintf
data/libguestfs-1.42.0/gnulib/lib/stdio.in.h:1151:19:  [4] (format) snprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
_GL_FUNCDECL_RPL (snprintf, int,
data/libguestfs-1.42.0/gnulib/lib/stdio.in.h:1156:19:  [4] (format) snprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
_GL_CXXALIAS_RPL (snprintf, int,
data/libguestfs-1.42.0/gnulib/lib/stdio.in.h:1161:19:  [4] (format) snprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
_GL_FUNCDECL_SYS (snprintf, int,
data/libguestfs-1.42.0/gnulib/lib/stdio.in.h:1167:19:  [4] (format) snprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
_GL_CXXALIAS_SYS (snprintf, int,
data/libguestfs-1.42.0/gnulib/lib/stdio.in.h:1171:19:  [4] (format) snprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
_GL_CXXALIASWARN (snprintf);
data/libguestfs-1.42.0/gnulib/lib/stdio.in.h:1173:9:  [4] (format) snprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
# undef snprintf
data/libguestfs-1.42.0/gnulib/lib/stdio.in.h:1175:18:  [4] (format) snprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
_GL_WARN_ON_USE (snprintf, "snprintf is unportable - "
data/libguestfs-1.42.0/gnulib/lib/stdio.in.h:1192:12:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
#   define sprintf rpl_sprintf
data/libguestfs-1.42.0/gnulib/lib/stdio.in.h:1194:19:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
_GL_FUNCDECL_RPL (sprintf, int,
data/libguestfs-1.42.0/gnulib/lib/stdio.in.h:1198:19:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
_GL_CXXALIAS_RPL (sprintf, int,
data/libguestfs-1.42.0/gnulib/lib/stdio.in.h:1201:19:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
_GL_CXXALIAS_SYS (sprintf, int,
data/libguestfs-1.42.0/gnulib/lib/stdio.in.h:1205:19:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
_GL_CXXALIASWARN (sprintf);
data/libguestfs-1.42.0/gnulib/lib/stdio.in.h:1208:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
# undef sprintf
data/libguestfs-1.42.0/gnulib/lib/stdio.in.h:1210:18:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
_GL_WARN_ON_USE (sprintf, "sprintf is not always POSIX compliant - "
data/libguestfs-1.42.0/gnulib/lib/stdio.in.h:1323:12:  [4] (format) vfprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
#   define vfprintf rpl_vfprintf
data/libguestfs-1.42.0/gnulib/lib/stdio.in.h:1327:19:  [4] (format) vfprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
_GL_FUNCDECL_RPL (vfprintf, int,
data/libguestfs-1.42.0/gnulib/lib/stdio.in.h:1333:19:  [4] (format) vfprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
_GL_FUNCDECL_RPL (vfprintf, int,
data/libguestfs-1.42.0/gnulib/lib/stdio.in.h:1339:19:  [4] (format) vfprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
_GL_CXXALIAS_RPL (vfprintf, int,
data/libguestfs-1.42.0/gnulib/lib/stdio.in.h:1346:24:  [4] (format) vfprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
_GL_CXXALIAS_SYS_CAST (vfprintf, int,
data/libguestfs-1.42.0/gnulib/lib/stdio.in.h:1351:19:  [4] (format) vfprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
_GL_CXXALIASWARN (vfprintf);
data/libguestfs-1.42.0/gnulib/lib/stdio.in.h:1356:10:  [4] (format) vfprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
#  undef vfprintf
data/libguestfs-1.42.0/gnulib/lib/stdio.in.h:1359:18:  [4] (format) vfprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
_GL_WARN_ON_USE (vfprintf, "vfprintf is not always POSIX compliant - "
data/libguestfs-1.42.0/gnulib/lib/stdio.in.h:1367:11:  [4] (buffer) vfscanf:
  The scanf() family's %s operation, without a limit specification, permits
  buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a
  different input function.
#   undef vfscanf
data/libguestfs-1.42.0/gnulib/lib/stdio.in.h:1368:12:  [4] (buffer) vfscanf:
  The scanf() family's %s operation, without a limit specification, permits
  buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a
  different input function.
#   define vfscanf rpl_vfscanf
data/libguestfs-1.42.0/gnulib/lib/stdio.in.h:1370:19:  [4] (buffer) vfscanf:
  The scanf() family's %s operation, without a limit specification, permits
  buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a
  different input function.
_GL_FUNCDECL_RPL (vfscanf, int,
data/libguestfs-1.42.0/gnulib/lib/stdio.in.h:1375:19:  [4] (buffer) vfscanf:
  The scanf() family's %s operation, without a limit specification, permits
  buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a
  different input function.
_GL_CXXALIAS_RPL (vfscanf, int,
data/libguestfs-1.42.0/gnulib/lib/stdio.in.h:1379:19:  [4] (buffer) vfscanf:
  The scanf() family's %s operation, without a limit specification, permits
  buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a
  different input function.
_GL_CXXALIAS_SYS (vfscanf, int,
data/libguestfs-1.42.0/gnulib/lib/stdio.in.h:1383:19:  [4] (buffer) vfscanf:
  The scanf() family's %s operation, without a limit specification, permits
  buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a
  different input function.
_GL_CXXALIASWARN (vfscanf);
data/libguestfs-1.42.0/gnulib/lib/stdio.in.h:1390:12:  [4] (format) vprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
#   define vprintf rpl_vprintf
data/libguestfs-1.42.0/gnulib/lib/stdio.in.h:1394:19:  [4] (format) vprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
_GL_FUNCDECL_RPL (vprintf, int, (const char *restrict format, va_list args)
data/libguestfs-1.42.0/gnulib/lib/stdio.in.h:1398:19:  [4] (format) vprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
_GL_FUNCDECL_RPL (vprintf, int, (const char *restrict format, va_list args)
data/libguestfs-1.42.0/gnulib/lib/stdio.in.h:1402:19:  [4] (format) vprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
_GL_CXXALIAS_RPL (vprintf, int, (const char *restrict format, va_list args));
data/libguestfs-1.42.0/gnulib/lib/stdio.in.h:1407:24:  [4] (format) vprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
_GL_CXXALIAS_SYS_CAST (vprintf, int,
data/libguestfs-1.42.0/gnulib/lib/stdio.in.h:1411:19:  [4] (format) vprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
_GL_CXXALIASWARN (vprintf);
data/libguestfs-1.42.0/gnulib/lib/stdio.in.h:1416:10:  [4] (format) vprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
#  undef vprintf
data/libguestfs-1.42.0/gnulib/lib/stdio.in.h:1419:18:  [4] (format) vprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
_GL_WARN_ON_USE (vprintf, "vprintf is not always POSIX compliant - "
data/libguestfs-1.42.0/gnulib/lib/stdio.in.h:1427:11:  [4] (buffer) vscanf:
  The scanf() family's %s operation, without a limit specification, permits
  buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a
  different input function.
#   undef vscanf
data/libguestfs-1.42.0/gnulib/lib/stdio.in.h:1428:12:  [4] (buffer) vscanf:
  The scanf() family's %s operation, without a limit specification, permits
  buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a
  different input function.
#   define vscanf rpl_vscanf
data/libguestfs-1.42.0/gnulib/lib/stdio.in.h:1430:19:  [4] (buffer) vscanf:
  The scanf() family's %s operation, without a limit specification, permits
  buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a
  different input function.
_GL_FUNCDECL_RPL (vscanf, int, (const char *restrict format, va_list args)
data/libguestfs-1.42.0/gnulib/lib/stdio.in.h:1433:19:  [4] (buffer) vscanf:
  The scanf() family's %s operation, without a limit specification, permits
  buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a
  different input function.
_GL_CXXALIAS_RPL (vscanf, int, (const char *restrict format, va_list args));
data/libguestfs-1.42.0/gnulib/lib/stdio.in.h:1435:19:  [4] (buffer) vscanf:
  The scanf() family's %s operation, without a limit specification, permits
  buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a
  different input function.
_GL_CXXALIAS_SYS (vscanf, int, (const char *restrict format, va_list args));
data/libguestfs-1.42.0/gnulib/lib/stdio.in.h:1437:19:  [4] (buffer) vscanf:
  The scanf() family's %s operation, without a limit specification, permits
  buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a
  different input function.
_GL_CXXALIASWARN (vscanf);
data/libguestfs-1.42.0/gnulib/lib/stdio.in.h:1443:12:  [4] (format) vsnprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
#   define vsnprintf rpl_vsnprintf
data/libguestfs-1.42.0/gnulib/lib/stdio.in.h:1445:19:  [4] (format) vsnprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
_GL_FUNCDECL_RPL (vsnprintf, int,
data/libguestfs-1.42.0/gnulib/lib/stdio.in.h:1450:19:  [4] (format) vsnprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
_GL_CXXALIAS_RPL (vsnprintf, int,
data/libguestfs-1.42.0/gnulib/lib/stdio.in.h:1455:19:  [4] (format) vsnprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
_GL_FUNCDECL_SYS (vsnprintf, int,
data/libguestfs-1.42.0/gnulib/lib/stdio.in.h:1461:19:  [4] (format) vsnprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
_GL_CXXALIAS_SYS (vsnprintf, int,
data/libguestfs-1.42.0/gnulib/lib/stdio.in.h:1465:19:  [4] (format) vsnprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
_GL_CXXALIASWARN (vsnprintf);
data/libguestfs-1.42.0/gnulib/lib/stdio.in.h:1467:9:  [4] (format) vsnprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
# undef vsnprintf
data/libguestfs-1.42.0/gnulib/lib/stdio.in.h:1469:18:  [4] (format) vsnprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
_GL_WARN_ON_USE (vsnprintf, "vsnprintf is unportable - "
data/libguestfs-1.42.0/gnulib/lib/stdio.in.h:1477:12:  [4] (buffer) vsprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
#   define vsprintf rpl_vsprintf
data/libguestfs-1.42.0/gnulib/lib/stdio.in.h:1479:19:  [4] (buffer) vsprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
_GL_FUNCDECL_RPL (vsprintf, int,
data/libguestfs-1.42.0/gnulib/lib/stdio.in.h:1484:19:  [4] (buffer) vsprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
_GL_CXXALIAS_RPL (vsprintf, int,
data/libguestfs-1.42.0/gnulib/lib/stdio.in.h:1491:24:  [4] (buffer) vsprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
_GL_CXXALIAS_SYS_CAST (vsprintf, int,
data/libguestfs-1.42.0/gnulib/lib/stdio.in.h:1496:19:  [4] (buffer) vsprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
_GL_CXXALIASWARN (vsprintf);
data/libguestfs-1.42.0/gnulib/lib/stdio.in.h:1499:9:  [4] (buffer) vsprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
# undef vsprintf
data/libguestfs-1.42.0/gnulib/lib/stdio.in.h:1501:18:  [4] (buffer) vsprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
_GL_WARN_ON_USE (vsprintf, "vsprintf is not always POSIX compliant - "
data/libguestfs-1.42.0/gnulib/lib/strerror.c:33:8:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
#undef sprintf
data/libguestfs-1.42.0/gnulib/lib/strerror.c:59:7:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
      sprintf (buf, fmt, n);
data/libguestfs-1.42.0/gnulib/lib/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/libguestfs-1.42.0/gnulib/lib/unistd.in.h:259:11:  [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.
#   undef access
data/libguestfs-1.42.0/gnulib/lib/unistd.in.h:260:12:  [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.
#   define access rpl_access
data/libguestfs-1.42.0/gnulib/lib/unistd.in.h:262:19:  [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_FUNCDECL_RPL (access, int, (const char *file, int mode)
data/libguestfs-1.42.0/gnulib/lib/unistd.in.h:264:19:  [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_CXXALIAS_RPL (access, int, (const char *file, int mode));
data/libguestfs-1.42.0/gnulib/lib/unistd.in.h:266:19:  [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_CXXALIAS_SYS (access, int, (const char *file, int mode));
data/libguestfs-1.42.0/gnulib/lib/unistd.in.h:268:19:  [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_CXXALIASWARN (access);
data/libguestfs-1.42.0/gnulib/lib/unistd.in.h:270:9:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
# undef access
data/libguestfs-1.42.0/gnulib/lib/unistd.in.h:273: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, "access does not always support X_OK - "
data/libguestfs-1.42.0/gnulib/lib/unistd.in.h:846: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/libguestfs-1.42.0/gnulib/lib/unistd.in.h:848: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/libguestfs-1.42.0/gnulib/lib/unistd.in.h:849: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/libguestfs-1.42.0/gnulib/lib/unistd.in.h:851: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/libguestfs-1.42.0/gnulib/lib/unistd.in.h:853: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/libguestfs-1.42.0/gnulib/lib/unistd.in.h:994:11:  [4] (misc) getpass:
  This function is obsolete and not portable. It was in SUSv2 but removed by
  POSIX.2. What it does exactly varies considerably between systems,
  particularly in where its prompt is displayed and where it gets its data
  (e.g., /dev/tty, stdin, stderr, etc.). In addition, some implementations
  overflow buffers. (CWE-676, CWE-120, CWE-20). Make the specific calls to do
  exactly what you want. If you continue to use it, or write your own, be
  sure to zero the password as soon as possible to avoid leaving the
  cleartext password visible in the process' address space.
#   undef getpass
data/libguestfs-1.42.0/gnulib/lib/unistd.in.h:995:12:  [4] (misc) getpass:
  This function is obsolete and not portable. It was in SUSv2 but removed by
  POSIX.2. What it does exactly varies considerably between systems,
  particularly in where its prompt is displayed and where it gets its data
  (e.g., /dev/tty, stdin, stderr, etc.). In addition, some implementations
  overflow buffers. (CWE-676, CWE-120, CWE-20). Make the specific calls to do
  exactly what you want. If you continue to use it, or write your own, be
  sure to zero the password as soon as possible to avoid leaving the
  cleartext password visible in the process' address space.
#   define getpass rpl_getpass
data/libguestfs-1.42.0/gnulib/lib/unistd.in.h:997:19:  [4] (misc) getpass:
  This function is obsolete and not portable. It was in SUSv2 but removed by
  POSIX.2. What it does exactly varies considerably between systems,
  particularly in where its prompt is displayed and where it gets its data
  (e.g., /dev/tty, stdin, stderr, etc.). In addition, some implementations
  overflow buffers. (CWE-676, CWE-120, CWE-20). Make the specific calls to do
  exactly what you want. If you continue to use it, or write your own, be
  sure to zero the password as soon as possible to avoid leaving the
  cleartext password visible in the process' address space.
_GL_FUNCDECL_RPL (getpass, char *, (const char *prompt)
data/libguestfs-1.42.0/gnulib/lib/unistd.in.h:999:19:  [4] (misc) getpass:
  This function is obsolete and not portable. It was in SUSv2 but removed by
  POSIX.2. What it does exactly varies considerably between systems,
  particularly in where its prompt is displayed and where it gets its data
  (e.g., /dev/tty, stdin, stderr, etc.). In addition, some implementations
  overflow buffers. (CWE-676, CWE-120, CWE-20). Make the specific calls to do
  exactly what you want. If you continue to use it, or write your own, be
  sure to zero the password as soon as possible to avoid leaving the
  cleartext password visible in the process' address space.
_GL_CXXALIAS_RPL (getpass, char *, (const char *prompt));
data/libguestfs-1.42.0/gnulib/lib/unistd.in.h:1002:19:  [4] (misc) getpass:
  This function is obsolete and not portable. It was in SUSv2 but removed by
  POSIX.2. What it does exactly varies considerably between systems,
  particularly in where its prompt is displayed and where it gets its data
  (e.g., /dev/tty, stdin, stderr, etc.). In addition, some implementations
  overflow buffers. (CWE-676, CWE-120, CWE-20). Make the specific calls to do
  exactly what you want. If you continue to use it, or write your own, be
  sure to zero the password as soon as possible to avoid leaving the
  cleartext password visible in the process' address space.
_GL_FUNCDECL_SYS (getpass, char *, (const char *prompt)
data/libguestfs-1.42.0/gnulib/lib/unistd.in.h:1005:19:  [4] (misc) getpass:
  This function is obsolete and not portable. It was in SUSv2 but removed by
  POSIX.2. What it does exactly varies considerably between systems,
  particularly in where its prompt is displayed and where it gets its data
  (e.g., /dev/tty, stdin, stderr, etc.). In addition, some implementations
  overflow buffers. (CWE-676, CWE-120, CWE-20). Make the specific calls to do
  exactly what you want. If you continue to use it, or write your own, be
  sure to zero the password as soon as possible to avoid leaving the
  cleartext password visible in the process' address space.
_GL_CXXALIAS_SYS (getpass, char *, (const char *prompt));
data/libguestfs-1.42.0/gnulib/lib/unistd.in.h:1007:19:  [4] (misc) getpass:
  This function is obsolete and not portable. It was in SUSv2 but removed by
  POSIX.2. What it does exactly varies considerably between systems,
  particularly in where its prompt is displayed and where it gets its data
  (e.g., /dev/tty, stdin, stderr, etc.). In addition, some implementations
  overflow buffers. (CWE-676, CWE-120, CWE-20). Make the specific calls to do
  exactly what you want. If you continue to use it, or write your own, be
  sure to zero the password as soon as possible to avoid leaving the
  cleartext password visible in the process' address space.
_GL_CXXALIASWARN (getpass);
data/libguestfs-1.42.0/gnulib/lib/unistd.in.h:1009:9:  [4] (misc) getpass:
  This function is obsolete and not portable. It was in SUSv2 but removed by
  POSIX.2. What it does exactly varies considerably between systems,
  particularly in where its prompt is displayed and where it gets its data
  (e.g., /dev/tty, stdin, stderr, etc.). In addition, some implementations
  overflow buffers. (CWE-676, CWE-120, CWE-20). Make the specific calls to do
  exactly what you want. If you continue to use it, or write your own, be
  sure to zero the password as soon as possible to avoid leaving the
  cleartext password visible in the process' address space.
# undef getpass
data/libguestfs-1.42.0/gnulib/lib/unistd.in.h:1011:18:  [4] (misc) getpass:
  This function is obsolete and not portable. It was in SUSv2 but removed by
  POSIX.2. What it does exactly varies considerably between systems,
  particularly in where its prompt is displayed and where it gets its data
  (e.g., /dev/tty, stdin, stderr, etc.). In addition, some implementations
  overflow buffers. (CWE-676, CWE-120, CWE-20). Make the specific calls to do
  exactly what you want. If you continue to use it, or write your own, be
  sure to zero the password as soon as possible to avoid leaving the
  cleartext password visible in the process' address space.
_GL_WARN_ON_USE (getpass, "getpass is unportable - "
data/libguestfs-1.42.0/gnulib/lib/vasnprintf.c:171:20:  [4] (buffer) swprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
#  define SNPRINTF swprintf
data/libguestfs-1.42.0/gnulib/lib/vasnprintf.c:189:21:  [4] (format) snprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
#   define SNPRINTF snprintf
data/libguestfs-1.42.0/gnulib/lib/vasnprintf.c:191:11:  [4] (format) snprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
#   undef snprintf
data/libguestfs-1.42.0/gnulib/lib/vasnprintf.c:194:21:  [4] (format) _snprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
#   define SNPRINTF _snprintf
data/libguestfs-1.42.0/gnulib/lib/vasnprintf.c:199:20:  [4] (format) snprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
#  define SNPRINTF snprintf
data/libguestfs-1.42.0/gnulib/lib/vasnprintf.c:201:10:  [4] (format) snprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
#  undef snprintf
data/libguestfs-1.42.0/gnulib/lib/vasnprintf.c:205:8:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
#undef sprintf
data/libguestfs-1.42.0/gnulib/lib/vasnprintf.c:4258:39:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
                                      sprintf ((char *) p, decimal_format, exponent);
data/libguestfs-1.42.0/gnulib/lib/vasnprintf.c:4266:39:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
                                      sprintf (expbuf, decimal_format, exponent);
data/libguestfs-1.42.0/gnulib/lib/vasnprintf.c:4451:47:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
                                              sprintf ((char *) p, decimal_format, exponent);
data/libguestfs-1.42.0/gnulib/lib/vasnprintf.c:4459:47:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
                                              sprintf (expbuf, decimal_format, exponent);
data/libguestfs-1.42.0/gnulib/lib/vasnprintf.c:4988:33:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
                        count = sprintf (tmp, buf, arg);                    \
data/libguestfs-1.42.0/gnulib/lib/vasnprintf.c:4991:33:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
                        count = sprintf (tmp, buf, prefixes[0], arg);       \
data/libguestfs-1.42.0/gnulib/lib/vasnprintf.c:4994:33:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
                        count = sprintf (tmp, buf, prefixes[0], prefixes[1],\
data/libguestfs-1.42.0/gnulib/lib/wchar.in.h:681: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 *,
data/libguestfs-1.42.0/gnulib/lib/wchar.in.h:684: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 *,
data/libguestfs-1.42.0/gnulib/lib/wchar.in.h:687: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/libguestfs-1.42.0/gnulib/lib/wchar.in.h:690: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/libguestfs-1.42.0/gnulib/lib/wchar.in.h:692: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/libguestfs-1.42.0/gnulib/lib/wchar.in.h:762:19:  [4] (buffer) wcscat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120).
_GL_FUNCDECL_SYS (wcscat, wchar_t *,
data/libguestfs-1.42.0/gnulib/lib/wchar.in.h:765:19:  [4] (buffer) wcscat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120).
_GL_CXXALIAS_SYS (wcscat, wchar_t *,
data/libguestfs-1.42.0/gnulib/lib/wchar.in.h:768:19:  [4] (buffer) wcscat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120).
_GL_CXXALIASWARN (wcscat);
data/libguestfs-1.42.0/gnulib/lib/wchar.in.h:771:9:  [4] (buffer) wcscat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120).
# undef wcscat
data/libguestfs-1.42.0/gnulib/lib/wchar.in.h:773: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/libguestfs-1.42.0/gnulib/tests/getopt.c:40:10:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
# define fprintf __fxprintf_nocancel
data/libguestfs-1.42.0/gnulib/tests/localename.c:1400:11:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
          strcpy (name, legacy_table[i1].unixy);
data/libguestfs-1.42.0/gnulib/tests/localename.c:1424:11:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
          strcpy (name, langtag_table[i1].unixy);
data/libguestfs-1.42.0/gnulib/tests/localename.c:1444:11:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
          strcpy (name + 3, script_table[i1].unixy);
data/libguestfs-1.42.0/gnulib/tests/localename.c:2623:7:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
      strcpy (last_locale, locale_name);
data/libguestfs-1.42.0/gnulib/tests/setlocale.c:753:13:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
            strcpy (ll_buf + (underscore - llCC_buf), territory_end);
data/libguestfs-1.42.0/gnulib/tests/snprintf.c:37:1:  [4] (format) snprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
snprintf (char *str, size_t size, const char *format, ...)
data/libguestfs-1.42.0/gnulib/tests/test-areadlink.c:50:17:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
  ignore_value (system ("rm -rf " BASE "*"));
data/libguestfs-1.42.0/gnulib/tests/test-areadlinkat.c:54:17:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
  ignore_value (system ("rm -rf " BASE "*"));
data/libguestfs-1.42.0/gnulib/tests/test-fstatat.c:75:17:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
  ignore_value (system ("rm -rf " BASE "*"));
data/libguestfs-1.42.0/gnulib/tests/test-futimens.c:48:17:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
  ignore_value (system ("rm -rf " BASE "*"));
data/libguestfs-1.42.0/gnulib/tests/test-lock.c:129:20:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
# define dbgprintf printf
data/libguestfs-1.42.0/gnulib/tests/test-lock.c:131:27:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
# define dbgprintf if (0) printf
data/libguestfs-1.42.0/gnulib/tests/test-lstat.c:57:17:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
  ignore_value (system ("rm -rf " BASE "*"));
data/libguestfs-1.42.0/gnulib/tests/test-mbrtowc-w32.c:44:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf (name_with_codepage, "%s.%d", name, codepage);
data/libguestfs-1.42.0/gnulib/tests/test-mkdir.c:44:17:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
  ignore_value (system ("rm -rf " BASE "*"));
data/libguestfs-1.42.0/gnulib/tests/test-nonblocking-misc.h:65:9:  [4] (format) vsnprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
  ret = vsnprintf (line + line_len, sizeof (line) - line_len, format, args);
data/libguestfs-1.42.0/gnulib/tests/test-nonblocking-misc.h:80:35:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
# define dbgfprintf if (1) ; else fprintf
data/libguestfs-1.42.0/gnulib/tests/test-nonblocking-misc.h:91:7:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
      sprintf (buf, " %d %s", err, strerror (err));
data/libguestfs-1.42.0/gnulib/tests/test-pthread_sigmask1.c:63:11:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
  ASSERT (system (command) == 0);
data/libguestfs-1.42.0/gnulib/tests/test-readlink.c:45:17:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
  ignore_value (system ("rm -rf " BASE "*"));
data/libguestfs-1.42.0/gnulib/tests/test-readlinkat.c:60:17:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
  ignore_value (system ("rm -rf " BASE "*"));
data/libguestfs-1.42.0/gnulib/tests/test-rmdir.c:44:17:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
  ignore_value (system ("rm -rf " BASE "*"));
data/libguestfs-1.42.0/gnulib/tests/test-sigprocmask.c:70:11:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
  ASSERT (system (command) == 0);
data/libguestfs-1.42.0/gnulib/tests/test-snprintf.c:24:18:  [4] (format) snprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
SIGNATURE_CHECK (snprintf, int, (char *, size_t, char const *, ...));
data/libguestfs-1.42.0/gnulib/tests/test-symlink.c:44:17:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
  ignore_value (system ("rm -rf " BASE "*"));
data/libguestfs-1.42.0/gnulib/tests/test-symlinkat.c:59:17:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
  ignore_value (system ("rm -rf " BASE "*"));
data/libguestfs-1.42.0/gnulib/tests/test-tls.c:56:20:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
# define dbgprintf printf
data/libguestfs-1.42.0/gnulib/tests/test-tls.c:58:27:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
# define dbgprintf if (0) printf
data/libguestfs-1.42.0/gnulib/tests/test-unlink.c:46:17:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
  ignore_value (system ("rm -rf " BASE "*"));
data/libguestfs-1.42.0/gnulib/tests/test-unlinkat.c:66:17:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
  ignore_value (system ("rm -rf " BASE "*"));
data/libguestfs-1.42.0/gnulib/tests/test-utime.c:138:17:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
  ignore_value (system ("rm -rf " BASE "*"));
data/libguestfs-1.42.0/gnulib/tests/test-utimens.c:70:17:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
  ignore_value (system ("rm -rf " BASE "*"));
data/libguestfs-1.42.0/gnulib/tests/test-utimensat.c:70:17:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
  ignore_value (system ("rm -rf " BASE "*"));
data/libguestfs-1.42.0/gnulib/tests/test-vsnprintf.c:24:18:  [4] (format) vsnprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
SIGNATURE_CHECK (vsnprintf, int, (char *, size_t, char const *, va_list));
data/libguestfs-1.42.0/gnulib/tests/test-vsnprintf.c:38:9:  [4] (format) vsnprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
  ret = vsnprintf (buf, size, format, args);
data/libguestfs-1.42.0/gnulib/tests/test-wcrtomb-w32.c:42:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf (name_with_codepage, "%s.%d", name, codepage);
data/libguestfs-1.42.0/gnulib/tests/vsnprintf.c:39:1:  [4] (format) vsnprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
vsnprintf (char *str, size_t size, const char *format, va_list args)
data/libguestfs-1.42.0/inspector/inspector.c:230:11:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
          access (argv[optind], F_OK) == 0) { /* simulate -a option */
data/libguestfs-1.42.0/lib/actions-0.c:3076:5:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
    fprintf (trace_buffer.fp, " %" PRIi64, nodeh);
data/libguestfs-1.42.0/lib/actions-0.c:3142:5:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
    fprintf (trace_buffer.fp, "%" PRIi64, ret_v);
data/libguestfs-1.42.0/lib/actions-0.c:3184:5:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
    fprintf (trace_buffer.fp, " %" PRIi64, nodeh);
data/libguestfs-1.42.0/lib/actions-0.c:3186:5:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
    fprintf (trace_buffer.fp, " %" PRIi64, t);
data/libguestfs-1.42.0/lib/actions-0.c:3291:5:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
    fprintf (trace_buffer.fp, " %" PRIi64, valueh);
data/libguestfs-1.42.0/lib/actions-0.c:3383:5:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
    fprintf (trace_buffer.fp, " %" PRIi64, valueh);
data/libguestfs-1.42.0/lib/actions-0.c:3447:5:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
    fprintf (trace_buffer.fp, "%" PRIi64, ret_v);
data/libguestfs-1.42.0/lib/actions-0.c:4301:5:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
    fprintf (trace_buffer.fp, " %" PRIi64, inode);
data/libguestfs-1.42.0/lib/actions-0.c:4752:5:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
    fprintf (trace_buffer.fp, "%" PRIi64, ret_v);
data/libguestfs-1.42.0/lib/actions-0.c:7048:5:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
    fprintf (trace_buffer.fp, " %" PRIi64, offset);
data/libguestfs-1.42.0/lib/actions-1.c:763:7:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
      fprintf (trace_buffer.fp, "%" PRIi64, r);
data/libguestfs-1.42.0/lib/actions-1.c:2794:5:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
    fprintf (trace_buffer.fp, " %" PRIi64, inode);
data/libguestfs-1.42.0/lib/actions-1.c:3648:5:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
    fprintf (trace_buffer.fp, " %" PRIi64, nodeh);
data/libguestfs-1.42.0/lib/actions-1.c:3712:5:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
    fprintf (trace_buffer.fp, "%" PRIi64, ret_v);
data/libguestfs-1.42.0/lib/actions-1.c:3799:5:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
    fprintf (trace_buffer.fp, "%" PRIi64, ret_v);
data/libguestfs-1.42.0/lib/actions-1.c:3827:5:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
    fprintf (trace_buffer.fp, " %" PRIi64, valueh);
data/libguestfs-1.42.0/lib/actions-1.c:3920:5:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
    fprintf (trace_buffer.fp, " %" PRIi64, valueh);
data/libguestfs-1.42.0/lib/actions-1.c:6583:5:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
    fprintf (trace_buffer.fp, " %" PRIi64, endsect);
data/libguestfs-1.42.0/lib/actions-1.c:6893:5:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
    fprintf (trace_buffer.fp, " %" PRIi64, offset);
data/libguestfs-1.42.0/lib/actions-2.c:246:5:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
    fprintf (trace_buffer.fp, " %" PRIi64, size);
data/libguestfs-1.42.0/lib/actions-2.c:1218:5:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
    fprintf (trace_buffer.fp, "%" PRIi64, ret_v);
data/libguestfs-1.42.0/lib/actions-2.c:1543:5:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
    fprintf (trace_buffer.fp, " %" PRIi64, size);
data/libguestfs-1.42.0/lib/actions-2.c:3003:5:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
    fprintf (trace_buffer.fp, "%" PRIi64, ret_v);
data/libguestfs-1.42.0/lib/actions-2.c:3275:5:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
    fprintf (trace_buffer.fp, " %" PRIi64, parent);
data/libguestfs-1.42.0/lib/actions-2.c:3341:5:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
    fprintf (trace_buffer.fp, "%" PRIi64, ret_v);
data/libguestfs-1.42.0/lib/actions-2.c:3376:5:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
    fprintf (trace_buffer.fp, " %" PRIi64, nodeh);
data/libguestfs-1.42.0/lib/actions-2.c:3442:5:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
    fprintf (trace_buffer.fp, "%" PRIi64, ret_v);
data/libguestfs-1.42.0/lib/actions-2.c:5205:5:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
    fprintf (trace_buffer.fp, " %" PRIi64, inode);
data/libguestfs-1.42.0/lib/actions-2.c:5625:5:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
    fprintf (trace_buffer.fp, " %" PRIi64, attributes);
data/libguestfs-1.42.0/lib/actions-2.c:6142:5:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
    fprintf (trace_buffer.fp, " %" PRIi64, offset);
data/libguestfs-1.42.0/lib/actions-2.c:7390:5:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
    fprintf (trace_buffer.fp, " %" PRIi64, offset);
data/libguestfs-1.42.0/lib/actions-3.c:211:5:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
    fprintf (trace_buffer.fp, " %" PRIi64, size);
data/libguestfs-1.42.0/lib/actions-3.c:1800:5:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
    fprintf (trace_buffer.fp, "%" PRIi64, ret_v);
data/libguestfs-1.42.0/lib/actions-3.c:3440:5:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
    fprintf (trace_buffer.fp, " %" PRIi64, start);
data/libguestfs-1.42.0/lib/actions-3.c:3441:5:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
    fprintf (trace_buffer.fp, " %" PRIi64, stop);
data/libguestfs-1.42.0/lib/actions-3.c:3620:5:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
    fprintf (trace_buffer.fp, "%" PRIi64, ret_v);
data/libguestfs-1.42.0/lib/actions-3.c:4608:5:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
    fprintf (trace_buffer.fp, " %" PRIi64, valueh);
data/libguestfs-1.42.0/lib/actions-3.c:4773:5:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
    fprintf (trace_buffer.fp, "%" PRIi64, ret_v);
data/libguestfs-1.42.0/lib/actions-3.c:5775:5:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
    fprintf (trace_buffer.fp, "%" PRIi64, ret_v);
data/libguestfs-1.42.0/lib/actions-3.c:5802:5:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
    fprintf (trace_buffer.fp, " %" PRIi64, threshold);
data/libguestfs-1.42.0/lib/actions-3.c:7792:5:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
    fprintf (trace_buffer.fp, " %" PRIi64, size);
data/libguestfs-1.42.0/lib/actions-3.c:9699:5:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
    fprintf (trace_buffer.fp, " %" PRIi64, atsecs);
data/libguestfs-1.42.0/lib/actions-3.c:9700:5:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
    fprintf (trace_buffer.fp, " %" PRIi64, atnsecs);
data/libguestfs-1.42.0/lib/actions-3.c:9701:5:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
    fprintf (trace_buffer.fp, " %" PRIi64, mtsecs);
data/libguestfs-1.42.0/lib/actions-3.c:9702:5:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
    fprintf (trace_buffer.fp, " %" PRIi64, mtnsecs);
data/libguestfs-1.42.0/lib/actions-3.c:9867:5:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
    fprintf (trace_buffer.fp, "%" PRIi64, ret_v);
data/libguestfs-1.42.0/lib/actions-4.c:263:5:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
    fprintf (trace_buffer.fp, " %" PRIi64, inode);
data/libguestfs-1.42.0/lib/actions-4.c:1910:5:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
    fprintf (trace_buffer.fp, " %" PRIi64, id);
data/libguestfs-1.42.0/lib/actions-4.c:2254:5:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
    fprintf (trace_buffer.fp, " %" PRIi64, size);
data/libguestfs-1.42.0/lib/actions-4.c:2486:5:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
    fprintf (trace_buffer.fp, " %" PRIi64, offset);
data/libguestfs-1.42.0/lib/actions-4.c:2487:5:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
    fprintf (trace_buffer.fp, " %" PRIi64, size);
data/libguestfs-1.42.0/lib/actions-4.c:3134:5:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
    fprintf (trace_buffer.fp, " %" PRIi64, nodeh);
data/libguestfs-1.42.0/lib/actions-4.c:5514:5:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
    fprintf (trace_buffer.fp, " %" PRIi64, startsect);
data/libguestfs-1.42.0/lib/actions-4.c:5515:5:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
    fprintf (trace_buffer.fp, " %" PRIi64, endsect);
data/libguestfs-1.42.0/lib/actions-5.c:121:7:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
      fprintf (trace_buffer.fp, "%" PRIi64, r);
data/libguestfs-1.42.0/lib/actions-5.c:164:7:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
      fprintf (trace_buffer.fp, "%" PRIi64, r);
data/libguestfs-1.42.0/lib/actions-5.c:460:5:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
    fprintf (trace_buffer.fp, " %" PRIi64, integer64);
data/libguestfs-1.42.0/lib/actions-5.c:2265:5:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
    fprintf (trace_buffer.fp, "%" PRIi64, ret_v);
data/libguestfs-1.42.0/lib/actions-5.c:3481:5:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
    fprintf (trace_buffer.fp, " %" PRIi64, nodeh);
data/libguestfs-1.42.0/lib/actions-5.c:4756:5:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
    fprintf (trace_buffer.fp, " %" PRIi64, skip);
data/libguestfs-1.42.0/lib/actions-5.c:4820:5:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
    fprintf (trace_buffer.fp, "%" PRIi64, ret_v);
data/libguestfs-1.42.0/lib/actions-5.c:6886:5:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
    fprintf (trace_buffer.fp, "%" PRIi64, ret_v);
data/libguestfs-1.42.0/lib/actions-5.c:8189:5:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
    fprintf (trace_buffer.fp, " %" PRIi64, size);
data/libguestfs-1.42.0/lib/actions-6.c:361:7:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
      fprintf (trace_buffer.fp, "%" PRIi64, r);
data/libguestfs-1.42.0/lib/actions-6.c:1808:5:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
    fprintf (trace_buffer.fp, " %" PRIi64, len);
data/libguestfs-1.42.0/lib/actions-6.c:2188:5:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
    fprintf (trace_buffer.fp, "%" PRIi64, ret_v);
data/libguestfs-1.42.0/lib/actions-6.c:2528:5:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
    fprintf (trace_buffer.fp, " %" PRIi64, nodeh);
data/libguestfs-1.42.0/lib/actions-6.c:2620:5:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
    fprintf (trace_buffer.fp, " %" PRIi64, nodeh);
data/libguestfs-1.42.0/lib/actions-6.c:5288:5:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
    fprintf (trace_buffer.fp, " %" PRIi64, offset);
data/libguestfs-1.42.0/lib/actions-6.c:5583:5:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
    fprintf (trace_buffer.fp, " %" PRIi64, size);
data/libguestfs-1.42.0/lib/actions-6.c:5903:5:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
    fprintf (trace_buffer.fp, " %" PRIi64, size);
data/libguestfs-1.42.0/lib/actions-6.c:6231:5:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
    fprintf (trace_buffer.fp, " %" PRIi64, generation);
data/libguestfs-1.42.0/lib/appliance-uefi.c:90:9:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
    if (access (codefile, R_OK) == 0 && access (varsfile, R_OK) == 0) {
data/libguestfs-1.42.0/lib/appliance-uefi.c:90:41:  [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 (codefile, R_OK) == 0 && access (varsfile, R_OK) == 0) {
data/libguestfs-1.42.0/lib/appliance-uefi.c:114:44:  [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 (g->verbose && code_debug_file && access (code_debug_file, R_OK) == 0)
data/libguestfs-1.42.0/lib/appliance.c:366:10:  [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.
  return access (path, F_OK) == 0;
data/libguestfs-1.42.0/lib/bindtests.c:626:7:  [4] (buffer) sscanf:
  The scanf() family's %s operation, without a limit specification, permits
  buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a
  different input function. If the scanf format is influenceable by an
  attacker, it's exploitable.
  if (sscanf (val, "%" SCNi64, &r) != 1) {
data/libguestfs-1.42.0/lib/bindtests.c:759:7:  [4] (buffer) sscanf:
  The scanf() family's %s operation, without a limit specification, permits
  buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a
  different input function. If the scanf format is influenceable by an
  attacker, it's exploitable.
  if (sscanf (val, "%" SCNu32, &len) != 1) {
data/libguestfs-1.42.0/lib/command.c:616:5:  [4] (shell) execvp:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
    execvp (cmd->argv.argv[0], cmd->argv.argv);
data/libguestfs-1.42.0/lib/command.c:625:9:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
    r = system (cmd->string.str);
data/libguestfs-1.42.0/lib/copy-in-out.c:249: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, path);
data/libguestfs-1.42.0/lib/drives.c:851:11:  [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) == -1) {
data/libguestfs-1.42.0/lib/errors.c:337: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 (msg, buf);
data/libguestfs-1.42.0/lib/guestfs-internal.h:549:26:  [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.
  __attribute__((format (printf,2,3)));
data/libguestfs-1.42.0/lib/guestfs-internal.h:563:26:  [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.
  __attribute__((format (printf,3,4)));
data/libguestfs-1.42.0/lib/guestfs-internal.h:565:26:  [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.
  __attribute__((format (printf,2,3)));
data/libguestfs-1.42.0/lib/guestfs-internal.h:568:26:  [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.
  __attribute__((format (printf,2,3)));
data/libguestfs-1.42.0/lib/guestfs-internal.h:570:26:  [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.
  __attribute__((format (printf,2,3)));
data/libguestfs-1.42.0/lib/guestfs-internal.h:572:26:  [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.
  __attribute__((format (printf,2,3)));
data/libguestfs-1.42.0/lib/guestfs-internal.h:635:26:  [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.
  __attribute__((format (printf,3,4)));
data/libguestfs-1.42.0/lib/guestfs-internal.h:749:26:  [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.
  __attribute__((format (printf,2,3)));
data/libguestfs-1.42.0/lib/inspect-apps.c:490: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 (*continuation_field + continuation_field_len + 1, &line[1]);
data/libguestfs-1.42.0/lib/inspect-apps.c:619:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf (fname, "/var/lib/pacman/local/%s/desc", curr->name);
data/libguestfs-1.42.0/lib/launch-direct.c:782: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 (g->hv, argv);        /* Run qemu. */
data/libguestfs-1.42.0/lib/launch-libvirt.c:174:86:  [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.
static void libvirt_error (guestfs_h *g, const char *fs, ...) __attribute__((format (printf,2,3)));
data/libguestfs-1.42.0/lib/launch-libvirt.c:175:86:  [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.
static void libvirt_debug (guestfs_h *g, const char *fs, ...) __attribute__((format (printf,2,3)));
data/libguestfs-1.42.0/lib/launch-uml.c:343: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 (g->hv, cmdline.argv); /* Run vmlinux. */
data/libguestfs-1.42.0/lib/lpj.c:114: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 (FILE1, R_OK) == 0) {
data/libguestfs-1.42.0/lib/lpj.c:118: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 (FILE2, R_OK) == 0) {
data/libguestfs-1.42.0/lib/qemu.c:395:7:  [4] (buffer) fscanf:
  The scanf() family's %s operation, without a limit specification, permits
  buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a
  different input function. If the scanf format is influenceable by an
  attacker, it's exploitable.
  if (fscanf (fp, "%d %" SCNu64 " %" SCNu64,
data/libguestfs-1.42.0/lib/qemu.c:517: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) == -1 && errno == ENOENT)
data/libguestfs-1.42.0/lua/lua-guestfs.c:15979:9:  [4] (buffer) sscanf:
  The scanf() family's %s operation, without a limit specification, permits
  buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a
  different input function. If the scanf format is influenceable by an
  attacker, it's exploitable.
    if (sscanf (s, "%" SCNi64, &r) != 1)
data/libguestfs-1.42.0/lua/lua-guestfs.c:15996:3:  [4] (format) snprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
  snprintf (s, sizeof s, "%" PRIi64, i64);
data/libguestfs-1.42.0/make-fs/make-fs.c:280:3:  [4] (shell) execvp:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
  execvp (argv[0], argv);
data/libguestfs-1.42.0/make-fs/make-fs.c:340:3:  [4] (shell) execvp:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
  execvp (argv[0], argv);
data/libguestfs-1.42.0/make-fs/make-fs.c:378:3:  [4] (shell) execvp:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
  execvp (argv[0], argv);
data/libguestfs-1.42.0/make-fs/make-fs.c:452:9:  [4] (buffer) sscanf:
  The scanf() family's %s operation, without a limit specification, permits
  buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a
  different input function. If the scanf format is influenceable by an
  attacker, it's exploitable.
    if (sscanf (line, "%" SCNu64, estimate_rtn) != 1) {
data/libguestfs-1.42.0/rescue/rescue.c:296:11:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
          access (argv[optind], F_OK) == 0) { /* simulate -a option */
data/libguestfs-1.42.0/test-tool/test-tool.c:210:17:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
  ignore_value (system ("getenforce"));
data/libguestfs-1.42.0/test-tool/test-tool.c:321:9:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
    if (access (path, X_OK) == -1)
data/libguestfs-1.42.0/tests/c-api/test-dlopen.c:64: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 (LIBRARY, X_OK) == -1)
data/libguestfs-1.42.0/tests/c-api/tests-main.c:271:14:  [4] (shell) popen:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
  FILE *pp = popen (cmd, "r");
data/libguestfs-1.42.0/tests/c-api/tests.h:48:89:  [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.
extern void skipped (const char *test_name, const char *fs, ...) __attribute__((format (printf,2,3)));
data/libguestfs-1.42.0/tests/mount-local/test-parallel-mount-local.c:104: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 ("/dev/fuse", W_OK) == -1) {
data/libguestfs-1.42.0/tests/mount-local/test-parallel-mount-local.c:223:7:  [4] (shell) execlp:
  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.
      execlp ("./test-parallel-mount-local",
data/libguestfs-1.42.0/tests/mount-local/test-parallel-mount-local.c:372:12:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
  status = system (cmd);
data/libguestfs-1.42.0/align/scan.c:150:9:  [3] (buffer) getopt_long:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
    c = getopt_long (argc, argv, options, long_options, &option_index);
data/libguestfs-1.42.0/builder/index-validate.c:77:9:  [3] (buffer) getopt_long:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
    c = getopt_long (argc, argv, options, long_options, &option_index);
data/libguestfs-1.42.0/cat/cat.c:136:9:  [3] (buffer) getopt_long:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
    c = getopt_long (argc, argv, options, long_options, &option_index);
data/libguestfs-1.42.0/cat/filesystems.c:203:9:  [3] (buffer) getopt_long:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
    c = getopt_long (argc, argv, options, long_options, &option_index);
data/libguestfs-1.42.0/cat/log.c:139:9:  [3] (buffer) getopt_long:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
    c = getopt_long (argc, argv, options, long_options, &option_index);
data/libguestfs-1.42.0/cat/ls.c:206:9:  [3] (buffer) getopt_long:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
    c = getopt_long (argc, argv, options, long_options, &option_index);
data/libguestfs-1.42.0/cat/tail.c:144:9:  [3] (buffer) getopt_long:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
    c = getopt_long (argc, argv, options, long_options, &option_index);
data/libguestfs-1.42.0/common/edit/file-edit.c:80:14:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
    editor = getenv ("EDITOR");
data/libguestfs-1.42.0/common/mlutils/unix_utils-c.c:224:7:  [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.
  r = realpath (String_val (pathv), NULL);
data/libguestfs-1.42.0/common/options/config.c:98:15:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
    xdg_env = getenv ("XDG_CONFIG_DIRS");
data/libguestfs-1.42.0/common/options/config.c:114: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.
  home = getenv ("HOME");
data/libguestfs-1.42.0/common/options/config.c:135:17:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
      xdg_env = getenv ("XDG_CONFIG_HOME");
data/libguestfs-1.42.0/common/progress/progress.c:133: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.
    term = getenv ("TERM");
data/libguestfs-1.42.0/daemon/command.c:320:11:  [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.
      if (chroot (sysroot) == -1) {
data/libguestfs-1.42.0/daemon/daemon.h:345:11:  [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.
      if (chroot (sysroot) == -1)               \
data/libguestfs-1.42.0/daemon/daemon.h:354:11:  [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.
      if (chroot (".") == -1)			\
data/libguestfs-1.42.0/daemon/device-name-translation.c:80:16:  [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.
      device = realpath (full, NULL);
data/libguestfs-1.42.0/daemon/devsparts.c:71:14:  [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.
    rawdev = realpath (path, NULL);
data/libguestfs-1.42.0/daemon/guestfsd.c:147:9:  [3] (buffer) getopt_long:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
    c = getopt_long (argc, argv, options, long_options, NULL);
data/libguestfs-1.42.0/daemon/ls.c:106:11:  [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.
  rpath = realpath (path, NULL);
data/libguestfs-1.42.0/daemon/ls.c:139:11:  [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.
  rpath = realpath (path, NULL);
data/libguestfs-1.42.0/daemon/lvm-filter.c:53:7:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  p = getenv ("LVM_SYSTEM_DIR");
data/libguestfs-1.42.0/daemon/utils.c:213:8:  [3] (buffer) realpath:
  This function does not protect against buffer overflows, and some
  implementations can overflow internally (CWE-120/CWE-785!). Ensure that the
  destination buffer is at least of size MAXPATHLEN, andto protect against
  implementation problems, the input argument should also be checked to
  ensure it is no larger than MAXPATHLEN.
  rp = realpath (path, NULL);
data/libguestfs-1.42.0/daemon/utils.c:622:23:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  const char *pathc = getenv ("PATH");
data/libguestfs-1.42.0/df/main.c:148:9:  [3] (buffer) getopt_long:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
    c = getopt_long (argc, argv, options, long_options, &option_index);
data/libguestfs-1.42.0/diff/diff.c:225:9:  [3] (buffer) getopt_long:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
    c = getopt_long (argc, argv, options, long_options, &option_index);
data/libguestfs-1.42.0/edit/edit.c:149:9:  [3] (buffer) getopt_long:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
    c = getopt_long (argc, argv, options, long_options, &option_index);
data/libguestfs-1.42.0/examples/mount-local.c:137: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.
    shell = getenv ("SHELL");
data/libguestfs-1.42.0/fish/display.c:53: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.
  display = getenv ("GUESTFISH_DISPLAY_IMAGE");
data/libguestfs-1.42.0/fish/events.c:130: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.
    shell = getenv ("SHELL");
data/libguestfs-1.42.0/fish/fish.c:258:9:  [3] (buffer) getopt_long:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
    c = getopt_long (argc, argv, options, long_options, &option_index);
data/libguestfs-1.42.0/fish/fish.c:275:15:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
          p = getenv ("GUESTFISH_PID");
data/libguestfs-1.42.0/fish/fish.c:1490:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("HOME");
data/libguestfs-1.42.0/fish/fish.c:1498:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("GUESTFISH_PS1");
data/libguestfs-1.42.0/fish/fish.c:1506:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("GUESTFISH_OUTPUT");
data/libguestfs-1.42.0/fish/fish.c:1514:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("GUESTFISH_INIT");
data/libguestfs-1.42.0/fish/hexedit.c:123: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.
  editor = getenv ("HEXEDITOR");
data/libguestfs-1.42.0/fish/more.c:54: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.
    pager = getenv ("PAGER");
data/libguestfs-1.42.0/fish/tilde.c:92: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.
  home = getenv ("HOME");
data/libguestfs-1.42.0/format/format.c:145:9:  [3] (buffer) getopt_long:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
    c = getopt_long (argc, argv, options, long_options, &option_index);
data/libguestfs-1.42.0/fuse/guestmount.c:226:9:  [3] (buffer) getopt_long:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
    c = getopt_long (argc, argv, options, long_options, &option_index);
data/libguestfs-1.42.0/fuse/guestunmount.c:109:9:  [3] (buffer) getopt_long:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
    c = getopt_long (argc, argv, options, long_options, &option_index);
data/libguestfs-1.42.0/fuse/test-fuse.c:80:7:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  s = getenv ("SKIP_TEST_FUSE_SH");
data/libguestfs-1.42.0/fuse/test-guestmount-fd.c:54: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.
  skip = getenv ("SKIP_TEST_FUSE_SH");
data/libguestfs-1.42.0/fuse/test-guestmount-fd.c:58: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.
  skip = getenv ("SKIP_TEST_GUESTMOUNT_FD");
data/libguestfs-1.42.0/fuse/test-guestunmount-fd.c:50: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.
  skip = getenv ("SKIP_TEST_FUSE_SH");
data/libguestfs-1.42.0/fuse/test-guestunmount-fd.c:54: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.
  skip = getenv ("SKIP_TEST_GUESTUNMOUNT_FD");
data/libguestfs-1.42.0/gnulib/lib/argmatch.c:260: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.
  if ((cp = getenv ("VERSION_CONTROL")))
data/libguestfs-1.42.0/gnulib/lib/argmatch.h:281:30:  [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 int screen_width = getenv ("HELP2MAN") ? INT_MAX : 80;        \
data/libguestfs-1.42.0/gnulib/lib/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/libguestfs-1.42.0/gnulib/lib/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/libguestfs-1.42.0/gnulib/lib/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/libguestfs-1.42.0/gnulib/lib/gettimeofday.c:48:22:  [3] (misc) LoadLibrary:
  Ensure that the full path to the library is specified, or current directory
  may be used (CWE-829, CWE-20). Use registry entry or GetWindowsDirectory to
  find library path, if you aren't already.
  HMODULE kernel32 = LoadLibrary ("kernel32.dll");
data/libguestfs-1.42.0/gnulib/lib/glob.c:624:28:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
          char *home_dir = getenv ("HOME");
data/libguestfs-1.42.0/gnulib/lib/glob.c:631:40:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
              const char *home_drive = getenv ("HOMEDRIVE");
data/libguestfs-1.42.0/gnulib/lib/glob.c:632:39:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
              const char *home_path = getenv ("HOMEPATH");
data/libguestfs-1.42.0/gnulib/lib/human.c:408: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 ("POSIXLY_CORRECT") ? 512 : DEFAULT_BLOCK_SIZE;
data/libguestfs-1.42.0/gnulib/lib/human.c:418: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.
      && ! (spec = getenv ("BLOCK_SIZE"))
data/libguestfs-1.42.0/gnulib/lib/human.c:419: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.
      && ! (spec = getenv ("BLOCKSIZE")))
data/libguestfs-1.42.0/gnulib/lib/localcharset.c:858: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/libguestfs-1.42.0/gnulib/lib/localcharset.c:861: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/libguestfs-1.42.0/gnulib/lib/localcharset.c:863: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/libguestfs-1.42.0/gnulib/lib/localcharset.c:962: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/libguestfs-1.42.0/gnulib/lib/localcharset.c:965: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/libguestfs-1.42.0/gnulib/lib/localcharset.c:967: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/libguestfs-1.42.0/gnulib/lib/localcharset.c:1090: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/libguestfs-1.42.0/gnulib/lib/localcharset.c:1093: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/libguestfs-1.42.0/gnulib/lib/localcharset.c:1095: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/libguestfs-1.42.0/gnulib/lib/mbtowc-lock.c:76:11:  [3] (misc) InitializeCriticalSection:
  Exceptions can be thrown in low-memory situations. Use
  InitializeCriticalSectionAndSpinCount instead.
          InitializeCriticalSection (&lock);
data/libguestfs-1.42.0/gnulib/lib/mbtowc-lock.h:45:3:  [3] (misc) EnterCriticalSection:
  On some versions of Windows, exceptions can be thrown in low-memory
  situations. Use InitializeCriticalSectionAndSpinCount instead.
  EnterCriticalSection (lock);
data/libguestfs-1.42.0/gnulib/lib/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/libguestfs-1.42.0/gnulib/lib/setlocale-lock.c:76:11:  [3] (misc) InitializeCriticalSection:
  Exceptions can be thrown in low-memory situations. Use
  InitializeCriticalSectionAndSpinCount instead.
          InitializeCriticalSection (&lock);
data/libguestfs-1.42.0/gnulib/lib/setlocale_null.c:194:3:  [3] (misc) EnterCriticalSection:
  On some versions of Windows, exceptions can be thrown in low-memory
  situations. Use InitializeCriticalSectionAndSpinCount instead.
  EnterCriticalSection (lock);
data/libguestfs-1.42.0/gnulib/lib/stat-w32.c:64:22:  [3] (misc) LoadLibrary:
  Ensure that the full path to the library is specified, or current directory
  may be used (CWE-829, CWE-20). Use registry entry or GetWindowsDirectory to
  find library path, if you aren't already.
  HMODULE kernel32 = LoadLibrary ("kernel32.dll");
data/libguestfs-1.42.0/gnulib/lib/stdlib.in.h:604:11:  [3] (random) random:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
#   undef random
data/libguestfs-1.42.0/gnulib/lib/stdlib.in.h:605:12:  [3] (random) random:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
#   define random rpl_random
data/libguestfs-1.42.0/gnulib/lib/stdlib.in.h:607:19:  [3] (random) random:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
_GL_FUNCDECL_RPL (random, long, (void));
data/libguestfs-1.42.0/gnulib/lib/stdlib.in.h:608:19:  [3] (random) random:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
_GL_CXXALIAS_RPL (random, long, (void));
data/libguestfs-1.42.0/gnulib/lib/stdlib.in.h:611: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/libguestfs-1.42.0/gnulib/lib/stdlib.in.h:615:24:  [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_CAST (random, long, (void));
data/libguestfs-1.42.0/gnulib/lib/stdlib.in.h:617: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/libguestfs-1.42.0/gnulib/lib/stdlib.in.h:619: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/libguestfs-1.42.0/gnulib/lib/stdlib.in.h:621: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/libguestfs-1.42.0/gnulib/lib/stdlib.in.h:629:11:  [3] (random) srandom:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
#   undef srandom
data/libguestfs-1.42.0/gnulib/lib/stdlib.in.h:630:12:  [3] (random) srandom:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
#   define srandom rpl_srandom
data/libguestfs-1.42.0/gnulib/lib/stdlib.in.h:632:19:  [3] (random) srandom:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
_GL_FUNCDECL_RPL (srandom, void, (unsigned int seed));
data/libguestfs-1.42.0/gnulib/lib/stdlib.in.h:633:19:  [3] (random) srandom:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
_GL_CXXALIAS_RPL (srandom, void, (unsigned int seed));
data/libguestfs-1.42.0/gnulib/lib/stdlib.in.h:636: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/libguestfs-1.42.0/gnulib/lib/stdlib.in.h:640:24:  [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_CAST (srandom, void, (unsigned int seed));
data/libguestfs-1.42.0/gnulib/lib/stdlib.in.h:642: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/libguestfs-1.42.0/gnulib/lib/stdlib.in.h:644: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/libguestfs-1.42.0/gnulib/lib/stdlib.in.h:646: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/libguestfs-1.42.0/gnulib/lib/stdlib.in.h:685:11:  [3] (random) setstate:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
#   undef setstate
data/libguestfs-1.42.0/gnulib/lib/stdlib.in.h:686:12:  [3] (random) setstate:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
#   define setstate rpl_setstate
data/libguestfs-1.42.0/gnulib/lib/stdlib.in.h:688:19:  [3] (random) setstate:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
_GL_FUNCDECL_RPL (setstate, char *, (char *arg_state) _GL_ARG_NONNULL ((1)));
data/libguestfs-1.42.0/gnulib/lib/stdlib.in.h:689:19:  [3] (random) setstate:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
_GL_CXXALIAS_RPL (setstate, char *, (char *arg_state));
data/libguestfs-1.42.0/gnulib/lib/stdlib.in.h:692: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/libguestfs-1.42.0/gnulib/lib/stdlib.in.h:696:24:  [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_CAST (setstate, char *, (char *arg_state));
data/libguestfs-1.42.0/gnulib/lib/stdlib.in.h:698: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/libguestfs-1.42.0/gnulib/lib/stdlib.in.h:700: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/libguestfs-1.42.0/gnulib/lib/stdlib.in.h:702: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/libguestfs-1.42.0/gnulib/lib/stdlib.in.h:871: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/libguestfs-1.42.0/gnulib/lib/stdlib.in.h:873: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 *,
data/libguestfs-1.42.0/gnulib/lib/stdlib.in.h:876: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 *,
data/libguestfs-1.42.0/gnulib/lib/stdlib.in.h:880: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 *,
data/libguestfs-1.42.0/gnulib/lib/stdlib.in.h:884: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 *,
data/libguestfs-1.42.0/gnulib/lib/stdlib.in.h:887: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/libguestfs-1.42.0/gnulib/lib/stdlib.in.h:889: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/libguestfs-1.42.0/gnulib/lib/stdlib.in.h:891: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/libguestfs-1.42.0/gnulib/lib/windows-mutex.c:30:3:  [3] (misc) InitializeCriticalSection:
  Exceptions can be thrown in low-memory situations. Use
  InitializeCriticalSectionAndSpinCount instead.
  InitializeCriticalSection (&mutex->lock);
data/libguestfs-1.42.0/gnulib/lib/windows-mutex.c:52:3:  [3] (misc) EnterCriticalSection:
  On some versions of Windows, exceptions can be thrown in low-memory
  situations. Use InitializeCriticalSectionAndSpinCount instead.
  EnterCriticalSection (&mutex->lock);
data/libguestfs-1.42.0/gnulib/lib/windows-once.c:35:11:  [3] (misc) InitializeCriticalSection:
  Exceptions can be thrown in low-memory situations. Use
  InitializeCriticalSectionAndSpinCount instead.
          InitializeCriticalSection (&once_control->lock);
data/libguestfs-1.42.0/gnulib/lib/windows-once.c:36:11:  [3] (misc) EnterCriticalSection:
  On some versions of Windows, exceptions can be thrown in low-memory
  situations. Use InitializeCriticalSectionAndSpinCount instead.
          EnterCriticalSection (&once_control->lock);
data/libguestfs-1.42.0/gnulib/lib/windows-once.c:55:15:  [3] (misc) EnterCriticalSection:
  On some versions of Windows, exceptions can be thrown in low-memory
  situations. Use InitializeCriticalSectionAndSpinCount instead.
              EnterCriticalSection (&once_control->lock);
data/libguestfs-1.42.0/gnulib/lib/windows-recmutex.c:32:3:  [3] (misc) InitializeCriticalSection:
  Exceptions can be thrown in low-memory situations. Use
  InitializeCriticalSectionAndSpinCount instead.
  InitializeCriticalSection (&mutex->lock);
data/libguestfs-1.42.0/gnulib/lib/windows-recmutex.c:58:9:  [3] (misc) EnterCriticalSection:
  On some versions of Windows, exceptions can be thrown in low-memory
  situations. Use InitializeCriticalSectionAndSpinCount instead.
        EnterCriticalSection (&mutex->lock);
data/libguestfs-1.42.0/gnulib/lib/windows-rwlock.c:122:3:  [3] (misc) InitializeCriticalSection:
  Exceptions can be thrown in low-memory situations. Use
  InitializeCriticalSectionAndSpinCount instead.
  InitializeCriticalSection (&lock->lock);
data/libguestfs-1.42.0/gnulib/lib/windows-rwlock.c:147:3:  [3] (misc) EnterCriticalSection:
  On some versions of Windows, exceptions can be thrown in low-memory
  situations. Use InitializeCriticalSectionAndSpinCount instead.
  EnterCriticalSection (&lock->lock);
data/libguestfs-1.42.0/gnulib/lib/windows-rwlock.c:179:15:  [3] (misc) EnterCriticalSection:
  On some versions of Windows, exceptions can be thrown in low-memory
  situations. Use InitializeCriticalSectionAndSpinCount instead.
              EnterCriticalSection (&lock->lock);
data/libguestfs-1.42.0/gnulib/lib/windows-rwlock.c:207:3:  [3] (misc) EnterCriticalSection:
  On some versions of Windows, exceptions can be thrown in low-memory
  situations. Use InitializeCriticalSectionAndSpinCount instead.
  EnterCriticalSection (&lock->lock);
data/libguestfs-1.42.0/gnulib/lib/windows-rwlock.c:236:15:  [3] (misc) EnterCriticalSection:
  On some versions of Windows, exceptions can be thrown in low-memory
  situations. Use InitializeCriticalSectionAndSpinCount instead.
              EnterCriticalSection (&lock->lock);
data/libguestfs-1.42.0/gnulib/lib/windows-rwlock.c:266:3:  [3] (misc) EnterCriticalSection:
  On some versions of Windows, exceptions can be thrown in low-memory
  situations. Use InitializeCriticalSectionAndSpinCount instead.
  EnterCriticalSection (&lock->lock);
data/libguestfs-1.42.0/gnulib/lib/windows-rwlock.c:302:3:  [3] (misc) EnterCriticalSection:
  On some versions of Windows, exceptions can be thrown in low-memory
  situations. Use InitializeCriticalSectionAndSpinCount instead.
  EnterCriticalSection (&lock->lock);
data/libguestfs-1.42.0/gnulib/lib/windows-rwlock.c:320:3:  [3] (misc) EnterCriticalSection:
  On some versions of Windows, exceptions can be thrown in low-memory
  situations. Use InitializeCriticalSectionAndSpinCount instead.
  EnterCriticalSection (&lock->lock);
data/libguestfs-1.42.0/gnulib/lib/windows-tls.c:68:3:  [3] (misc) InitializeCriticalSection:
  Exceptions can be thrown in low-memory situations. Use
  InitializeCriticalSectionAndSpinCount instead.
  InitializeCriticalSection (&dtor_table_lock);
data/libguestfs-1.42.0/gnulib/lib/windows-tls.c:135:3:  [3] (misc) EnterCriticalSection:
  On some versions of Windows, exceptions can be thrown in low-memory
  situations. Use InitializeCriticalSectionAndSpinCount instead.
  EnterCriticalSection (&dtor_table_lock);
data/libguestfs-1.42.0/gnulib/lib/windows-tls.c:175:19:  [3] (misc) EnterCriticalSection:
  On some versions of Windows, exceptions can be thrown in low-memory
  situations. Use InitializeCriticalSectionAndSpinCount instead.
                  EnterCriticalSection (&dtor_table_lock);
data/libguestfs-1.42.0/gnulib/lib/windows-tls.c:198:7:  [3] (misc) EnterCriticalSection:
  On some versions of Windows, exceptions can be thrown in low-memory
  situations. Use InitializeCriticalSectionAndSpinCount instead.
      EnterCriticalSection (&dtor_table_lock);
data/libguestfs-1.42.0/gnulib/lib/windows-tls.c:221:13:  [3] (misc) EnterCriticalSection:
  On some versions of Windows, exceptions can be thrown in low-memory
  situations. Use InitializeCriticalSectionAndSpinCount instead.
            EnterCriticalSection (&dtor_table_lock);
data/libguestfs-1.42.0/gnulib/lib/windows-tls.c:291:3:  [3] (misc) EnterCriticalSection:
  On some versions of Windows, exceptions can be thrown in low-memory
  situations. Use InitializeCriticalSectionAndSpinCount instead.
  EnterCriticalSection (&dtor_table_lock);
data/libguestfs-1.42.0/gnulib/tests/getopt-core.h:91:12:  [3] (buffer) getopt:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
extern int getopt (int ___argc, char *const *___argv, const char *__shortopts)
data/libguestfs-1.42.0/gnulib/tests/getopt-ext.h:66:12:  [3] (buffer) getopt_long:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
extern int getopt_long (int ___argc, char *__getopt_argv_const *___argv,
data/libguestfs-1.42.0/gnulib/tests/getopt-pfx-core.h:40:9:  [3] (buffer) getopt:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
# undef getopt
data/libguestfs-1.42.0/gnulib/tests/getopt-pfx-core.h:45:10:  [3] (buffer) getopt:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
# define getopt __GETOPT_ID (getopt)
data/libguestfs-1.42.0/gnulib/tests/getopt-pfx-core.h:45:30:  [3] (buffer) getopt:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
# define getopt __GETOPT_ID (getopt)
data/libguestfs-1.42.0/gnulib/tests/getopt-pfx-ext.h:40:9:  [3] (buffer) getopt_long:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
# undef getopt_long
data/libguestfs-1.42.0/gnulib/tests/getopt-pfx-ext.h:44:10:  [3] (buffer) getopt_long:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
# define getopt_long __GETOPT_ID (getopt_long)
data/libguestfs-1.42.0/gnulib/tests/getopt-pfx-ext.h:44:35:  [3] (buffer) getopt_long:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
# define getopt_long __GETOPT_ID (getopt_long)
data/libguestfs-1.42.0/gnulib/tests/getopt.c:405:33:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  else if (posixly_correct || !!getenv ("POSIXLY_CORRECT"))
data/libguestfs-1.42.0/gnulib/tests/getopt.c:736:14:  [3] (buffer) getopt:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
GETOPT_ENTRY(getopt, 0)
data/libguestfs-1.42.0/gnulib/tests/getopt.c:739:14:  [3] (buffer) getopt:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
GETOPT_ENTRY(getopt, 1)
data/libguestfs-1.42.0/gnulib/tests/getopt.c:758:11:  [3] (buffer) getopt:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
      c = getopt (argc, argv, "abc:d:0123456789");
data/libguestfs-1.42.0/gnulib/tests/getopt1.c:28:1:  [3] (buffer) getopt_long:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
getopt_long (int argc, char *__getopt_argv_const *argv, const char *options,
data/libguestfs-1.42.0/gnulib/tests/getopt1.c:94:11:  [3] (buffer) getopt_long:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
      c = getopt_long (argc, argv, "abc:d:0123456789",
data/libguestfs-1.42.0/gnulib/tests/locale.c:36:23:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  const char *value = getenv (variable);
data/libguestfs-1.42.0/gnulib/tests/localename.c:1504:7:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  if (getenv ("GETTEXT_MUI") != NULL)
data/libguestfs-1.42.0/gnulib/tests/localename.c:3316:12:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  retval = getenv ("LC_ALL");
data/libguestfs-1.42.0/gnulib/tests/localename.c:3320:12:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  retval = getenv (categoryname);
data/libguestfs-1.42.0/gnulib/tests/localename.c:3324:12:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  retval = getenv ("LANG");
data/libguestfs-1.42.0/gnulib/tests/setlocale.c:1597:47:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
                        const char *verbose = getenv ("SETLOCALE_VERBOSE");
data/libguestfs-1.42.0/gnulib/tests/spawni.c:316: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.
  path = getenv ("PATH");
data/libguestfs-1.42.0/gnulib/tests/test-getopt-gnu.c:36:18:  [3] (buffer) getopt_long:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
SIGNATURE_CHECK (getopt_long, int, (int, char *__getopt_argv_const *,
data/libguestfs-1.42.0/gnulib/tests/test-getopt-main.h:20:18:  [3] (buffer) getopt:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
SIGNATURE_CHECK (getopt, int, (int, char * const[], char const *));
data/libguestfs-1.42.0/gnulib/tests/test-getopt.h:43:15:  [3] (buffer) getopt:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
  while ((c = getopt (argc, (char **) argv, options)) != -1)
data/libguestfs-1.42.0/gnulib/tests/test-getopt.h:86: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.
  bool posixly = !!getenv ("POSIXLY_CORRECT");
data/libguestfs-1.42.0/gnulib/tests/test-getopt.h:1386:15:  [3] (buffer) getopt:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
      ASSERT (getopt (argc, (char **) argv, "W;") == 'W');
data/libguestfs-1.42.0/gnulib/tests/test-getopt_long.h:57:15:  [3] (buffer) getopt_long:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
  while ((c = getopt_long (argc, (char **) argv, options, long_options,
data/libguestfs-1.42.0/gnulib/tests/test-getopt_long.h:108:10:  [3] (buffer) getopt_long:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
  return getopt_long (argc, (char **) argv, shortopts, longopts, longind);
data/libguestfs-1.42.0/gnulib/tests/test-hash.c:106:7:  [3] (random) srand:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
      srand (seed);
data/libguestfs-1.42.0/gnulib/tests/test-setenv.c:38:19:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  ASSERT (strcmp (getenv ("a"), "==") == 0);
data/libguestfs-1.42.0/gnulib/tests/test-setlocale1.c:50:26:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  if (setlocale (LC_ALL, getenv ("LC_ALL")) == NULL)
data/libguestfs-1.42.0/gnulib/tests/test-setlocale2.c:35:18:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
                 getenv ("LC_ALL"));
data/libguestfs-1.42.0/gnulib/tests/test-setlocale2.c:45:26:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  if (setlocale (LC_ALL, getenv ("LC_ALL")) != NULL)
data/libguestfs-1.42.0/gnulib/tests/test-setlocale2.c:50:18:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
                 getenv ("LC_ALL"));
data/libguestfs-1.42.0/gnulib/tests/test-unsetenv.c:42:11:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  ASSERT (getenv ("a") == NULL);
data/libguestfs-1.42.0/gnulib/tests/unsetenv.c:119:10:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  while (getenv (name))
data/libguestfs-1.42.0/gnulib/tests/windows-thread.c:109:7:  [3] (misc) InitializeCriticalSection:
  Exceptions can be thrown in low-memory situations. Use
  InitializeCriticalSectionAndSpinCount instead.
      InitializeCriticalSection (&thread->handle_lock);
data/libguestfs-1.42.0/gnulib/tests/windows-thread.c:125:3:  [3] (misc) EnterCriticalSection:
  On some versions of Windows, exceptions can be thrown in low-memory
  situations. Use InitializeCriticalSectionAndSpinCount instead.
  EnterCriticalSection (&thread->handle_lock);
data/libguestfs-1.42.0/gnulib/tests/windows-thread.c:164:3:  [3] (misc) InitializeCriticalSection:
  Exceptions can be thrown in low-memory situations. Use
  InitializeCriticalSectionAndSpinCount instead.
  InitializeCriticalSection (&thread->handle_lock);
data/libguestfs-1.42.0/gnulib/tests/windows-thread.c:184:5:  [3] (misc) EnterCriticalSection:
  On some versions of Windows, exceptions can be thrown in low-memory
  situations. Use InitializeCriticalSectionAndSpinCount instead.
    EnterCriticalSection (&thread->handle_lock);
data/libguestfs-1.42.0/inspector/inspector.c:161:9:  [3] (buffer) getopt_long:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
    c = getopt_long (argc, argv, options, long_options, &option_index);
data/libguestfs-1.42.0/lib/appliance-kcmdline.c:128: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.
  char *term = getenv ("TERM");
data/libguestfs-1.42.0/lib/handle.c:299: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 (name);
data/libguestfs-1.42.0/lib/launch-libvirt.c:1476: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.
          path = realpath (drv->src.u.path, NULL);
data/libguestfs-1.42.0/lib/launch-libvirt.c:1733:41:  [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.
        CLEANUP_FREE char *abs_socket = realpath (socket, NULL);
data/libguestfs-1.42.0/lib/launch-uml.c:153: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.
  char *term = getenv ("TERM");
data/libguestfs-1.42.0/lib/qemu.c:814: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.
    path = realpath (src->u.path, NULL);
data/libguestfs-1.42.0/lib/tmpdirs.c:64: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.
  ret = realpath (tmpdir, NULL);
data/libguestfs-1.42.0/make-fs/make-fs.c:128:9:  [3] (buffer) getopt_long:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
    c = getopt_long (argc, argv, options, long_options, &option_index);
data/libguestfs-1.42.0/rescue/rescue.c:178:9:  [3] (buffer) getopt_long:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
    c = getopt_long (argc, argv, options, long_options, &option_index);
data/libguestfs-1.42.0/test-tool/test-tool.c:104:9:  [3] (buffer) getopt_long:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
    c = getopt_long (argc, argv, options, long_options, &option_index);
data/libguestfs-1.42.0/test-tool/test-tool.c:195:7:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  p = getenv ("TMPDIR");
data/libguestfs-1.42.0/test-tool/test-tool.c:198:7:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  p = getenv ("PATH");
data/libguestfs-1.42.0/test-tool/test-tool.c:201:7:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  p = getenv ("XDG_RUNTIME_DIR");
data/libguestfs-1.42.0/test-tool/test-tool.c:314:7:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  if (getenv ("LIBGUESTFS_QEMU") != NULL ||
data/libguestfs-1.42.0/test-tool/test-tool.c:315:7:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
      getenv ("LIBGUESTFS_HV") != NULL)
data/libguestfs-1.42.0/tests/c-api/test-user-cancel.c:309:15:  [3] (random) drand48:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
    x1 = 2. * drand48 () - 1.;
data/libguestfs-1.42.0/tests/c-api/test-user-cancel.c:310:15:  [3] (random) drand48:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
    x2 = 2. * drand48 () - 1.;
data/libguestfs-1.42.0/tests/c-api/tests-main.c:366:14:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
    srcdir = getenv ("srcdir");
data/libguestfs-1.42.0/tests/c-api/tests.c:402:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("TEST_ONLY");
data/libguestfs-1.42.0/tests/c-api/tests.c:405:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_ACL_DELETE_DEF_FILE_0");
data/libguestfs-1.42.0/tests/c-api/tests.c:407:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_ACL_DELETE_DEF_FILE");
data/libguestfs-1.42.0/tests/c-api/tests.c:441:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("TEST_ONLY");
data/libguestfs-1.42.0/tests/c-api/tests.c:444:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_ACL_DELETE_DEF_FILE_1");
data/libguestfs-1.42.0/tests/c-api/tests.c:446:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_ACL_DELETE_DEF_FILE");
data/libguestfs-1.42.0/tests/c-api/tests.c:504:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("TEST_ONLY");
data/libguestfs-1.42.0/tests/c-api/tests.c:507:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_ACL_SET_FILE_0");
data/libguestfs-1.42.0/tests/c-api/tests.c:509:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_ACL_SET_FILE");
data/libguestfs-1.42.0/tests/c-api/tests.c:568:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("TEST_ONLY");
data/libguestfs-1.42.0/tests/c-api/tests.c:571:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_ACL_SET_FILE_1");
data/libguestfs-1.42.0/tests/c-api/tests.c:573:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_ACL_SET_FILE");
data/libguestfs-1.42.0/tests/c-api/tests.c:626:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("TEST_ONLY");
data/libguestfs-1.42.0/tests/c-api/tests.c:629:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_ACL_SET_FILE_2");
data/libguestfs-1.42.0/tests/c-api/tests.c:631:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_ACL_SET_FILE");
data/libguestfs-1.42.0/tests/c-api/tests.c:686:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("TEST_ONLY");
data/libguestfs-1.42.0/tests/c-api/tests.c:689:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_ACL_SET_FILE_3");
data/libguestfs-1.42.0/tests/c-api/tests.c:691:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_ACL_SET_FILE");
data/libguestfs-1.42.0/tests/c-api/tests.c:746:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("TEST_ONLY");
data/libguestfs-1.42.0/tests/c-api/tests.c:749:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_ACL_SET_FILE_4");
data/libguestfs-1.42.0/tests/c-api/tests.c:751:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_ACL_SET_FILE");
data/libguestfs-1.42.0/tests/c-api/tests.c:806:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("TEST_ONLY");
data/libguestfs-1.42.0/tests/c-api/tests.c:809:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_ACL_SET_FILE_5");
data/libguestfs-1.42.0/tests/c-api/tests.c:811:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_ACL_SET_FILE");
data/libguestfs-1.42.0/tests/c-api/tests.c:864:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("TEST_ONLY");
data/libguestfs-1.42.0/tests/c-api/tests.c:867:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_AUG_INIT_0");
data/libguestfs-1.42.0/tests/c-api/tests.c:869:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_AUG_INIT");
data/libguestfs-1.42.0/tests/c-api/tests.c:947:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("TEST_ONLY");
data/libguestfs-1.42.0/tests/c-api/tests.c:950:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_AUG_INSERT_0");
data/libguestfs-1.42.0/tests/c-api/tests.c:952:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_AUG_INSERT");
data/libguestfs-1.42.0/tests/c-api/tests.c:1063:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("TEST_ONLY");
data/libguestfs-1.42.0/tests/c-api/tests.c:1066:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_AUG_LABEL_0");
data/libguestfs-1.42.0/tests/c-api/tests.c:1068:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_AUG_LABEL");
data/libguestfs-1.42.0/tests/c-api/tests.c:1146:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("TEST_ONLY");
data/libguestfs-1.42.0/tests/c-api/tests.c:1149:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_AUG_LS_0");
data/libguestfs-1.42.0/tests/c-api/tests.c:1151:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_AUG_LS");
data/libguestfs-1.42.0/tests/c-api/tests.c:1231:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("TEST_ONLY");
data/libguestfs-1.42.0/tests/c-api/tests.c:1234:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_AUG_SET_0");
data/libguestfs-1.42.0/tests/c-api/tests.c:1236:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_AUG_SET");
data/libguestfs-1.42.0/tests/c-api/tests.c:1320:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("TEST_ONLY");
data/libguestfs-1.42.0/tests/c-api/tests.c:1323:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_AUG_SETM_0");
data/libguestfs-1.42.0/tests/c-api/tests.c:1325:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_AUG_SETM");
data/libguestfs-1.42.0/tests/c-api/tests.c:1407:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("TEST_ONLY");
data/libguestfs-1.42.0/tests/c-api/tests.c:1410:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_AVAILABLE_0");
data/libguestfs-1.42.0/tests/c-api/tests.c:1412:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_AVAILABLE");
data/libguestfs-1.42.0/tests/c-api/tests.c:1451:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("TEST_ONLY");
data/libguestfs-1.42.0/tests/c-api/tests.c:1454:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_AVAILABLE_ALL_GROUPS_0");
data/libguestfs-1.42.0/tests/c-api/tests.c:1456:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_AVAILABLE_ALL_GROUPS");
data/libguestfs-1.42.0/tests/c-api/tests.c:1494:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("TEST_ONLY");
data/libguestfs-1.42.0/tests/c-api/tests.c:1497:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_BASE64_IN_0");
data/libguestfs-1.42.0/tests/c-api/tests.c:1499:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_BASE64_IN");
data/libguestfs-1.42.0/tests/c-api/tests.c:1549:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("TEST_ONLY");
data/libguestfs-1.42.0/tests/c-api/tests.c:1552:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_BLKID_0");
data/libguestfs-1.42.0/tests/c-api/tests.c:1554:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_BLKID");
data/libguestfs-1.42.0/tests/c-api/tests.c:1600:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("TEST_ONLY");
data/libguestfs-1.42.0/tests/c-api/tests.c:1603:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_BLOCKDEV_FLUSHBUFS_0");
data/libguestfs-1.42.0/tests/c-api/tests.c:1605:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_BLOCKDEV_FLUSHBUFS");
data/libguestfs-1.42.0/tests/c-api/tests.c:1644:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("TEST_ONLY");
data/libguestfs-1.42.0/tests/c-api/tests.c:1647:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_BLOCKDEV_GETRO_0");
data/libguestfs-1.42.0/tests/c-api/tests.c:1649:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_BLOCKDEV_GETRO");
data/libguestfs-1.42.0/tests/c-api/tests.c:1698:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("TEST_ONLY");
data/libguestfs-1.42.0/tests/c-api/tests.c:1701:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_BLOCKDEV_GETSIZE64_0");
data/libguestfs-1.42.0/tests/c-api/tests.c:1703:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_BLOCKDEV_GETSIZE64");
data/libguestfs-1.42.0/tests/c-api/tests.c:1749:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("TEST_ONLY");
data/libguestfs-1.42.0/tests/c-api/tests.c:1752:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_BLOCKDEV_GETSS_0");
data/libguestfs-1.42.0/tests/c-api/tests.c:1754:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_BLOCKDEV_GETSS");
data/libguestfs-1.42.0/tests/c-api/tests.c:1800:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("TEST_ONLY");
data/libguestfs-1.42.0/tests/c-api/tests.c:1803:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_BLOCKDEV_GETSZ_0");
data/libguestfs-1.42.0/tests/c-api/tests.c:1805:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_BLOCKDEV_GETSZ");
data/libguestfs-1.42.0/tests/c-api/tests.c:1851:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("TEST_ONLY");
data/libguestfs-1.42.0/tests/c-api/tests.c:1854:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_BLOCKDEV_REREADPT_0");
data/libguestfs-1.42.0/tests/c-api/tests.c:1856:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_BLOCKDEV_REREADPT");
data/libguestfs-1.42.0/tests/c-api/tests.c:1895:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("TEST_ONLY");
data/libguestfs-1.42.0/tests/c-api/tests.c:1898:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_BLOCKDEV_SETRA_0");
data/libguestfs-1.42.0/tests/c-api/tests.c:1900:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_BLOCKDEV_SETRA");
data/libguestfs-1.42.0/tests/c-api/tests.c:1939:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("TEST_ONLY");
data/libguestfs-1.42.0/tests/c-api/tests.c:1942:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_BLOCKDEV_SETRO_0");
data/libguestfs-1.42.0/tests/c-api/tests.c:1944:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_BLOCKDEV_SETRO");
data/libguestfs-1.42.0/tests/c-api/tests.c:1993:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("TEST_ONLY");
data/libguestfs-1.42.0/tests/c-api/tests.c:1996:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_BLOCKDEV_SETRW_0");
data/libguestfs-1.42.0/tests/c-api/tests.c:1998:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_BLOCKDEV_SETRW");
data/libguestfs-1.42.0/tests/c-api/tests.c:2054:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("TEST_ONLY");
data/libguestfs-1.42.0/tests/c-api/tests.c:2057:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_BTRFS_FILESYSTEM_DEFRAGMENT_0");
data/libguestfs-1.42.0/tests/c-api/tests.c:2059:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_BTRFS_FILESYSTEM_DEFRAGMENT");
data/libguestfs-1.42.0/tests/c-api/tests.c:2126:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("TEST_ONLY");
data/libguestfs-1.42.0/tests/c-api/tests.c:2129:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_BTRFS_FILESYSTEM_DEFRAGMENT_1");
data/libguestfs-1.42.0/tests/c-api/tests.c:2131:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_BTRFS_FILESYSTEM_DEFRAGMENT");
data/libguestfs-1.42.0/tests/c-api/tests.c:2202:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("TEST_ONLY");
data/libguestfs-1.42.0/tests/c-api/tests.c:2205:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_BTRFS_FILESYSTEM_SHOW_0");
data/libguestfs-1.42.0/tests/c-api/tests.c:2207:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_BTRFS_FILESYSTEM_SHOW");
data/libguestfs-1.42.0/tests/c-api/tests.c:2255:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("TEST_ONLY");
data/libguestfs-1.42.0/tests/c-api/tests.c:2258:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_BTRFS_FILESYSTEM_SHOW_1");
data/libguestfs-1.42.0/tests/c-api/tests.c:2260:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_BTRFS_FILESYSTEM_SHOW");
data/libguestfs-1.42.0/tests/c-api/tests.c:2324:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("TEST_ONLY");
data/libguestfs-1.42.0/tests/c-api/tests.c:2327:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_BTRFS_FILESYSTEM_SHOW_2");
data/libguestfs-1.42.0/tests/c-api/tests.c:2329:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_BTRFS_FILESYSTEM_SHOW");
data/libguestfs-1.42.0/tests/c-api/tests.c:2413:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("TEST_ONLY");
data/libguestfs-1.42.0/tests/c-api/tests.c:2416:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_BTRFS_FILESYSTEM_SYNC_0");
data/libguestfs-1.42.0/tests/c-api/tests.c:2418:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_BTRFS_FILESYSTEM_SYNC");
data/libguestfs-1.42.0/tests/c-api/tests.c:2493:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("TEST_ONLY");
data/libguestfs-1.42.0/tests/c-api/tests.c:2496:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_BTRFS_FSCK_0");
data/libguestfs-1.42.0/tests/c-api/tests.c:2498:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_BTRFS_FSCK");
data/libguestfs-1.42.0/tests/c-api/tests.c:2557:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("TEST_ONLY");
data/libguestfs-1.42.0/tests/c-api/tests.c:2560:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_BTRFS_IMAGE_0");
data/libguestfs-1.42.0/tests/c-api/tests.c:2562:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_BTRFS_IMAGE");
data/libguestfs-1.42.0/tests/c-api/tests.c:2674:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("TEST_ONLY");
data/libguestfs-1.42.0/tests/c-api/tests.c:2677:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_BTRFS_QGROUP_ASSIGN_0");
data/libguestfs-1.42.0/tests/c-api/tests.c:2679:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_BTRFS_QGROUP_ASSIGN");
data/libguestfs-1.42.0/tests/c-api/tests.c:2761:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("TEST_ONLY");
data/libguestfs-1.42.0/tests/c-api/tests.c:2764:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_BTRFS_QGROUP_CREATE_0");
data/libguestfs-1.42.0/tests/c-api/tests.c:2766:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_BTRFS_QGROUP_CREATE");
data/libguestfs-1.42.0/tests/c-api/tests.c:2842:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("TEST_ONLY");
data/libguestfs-1.42.0/tests/c-api/tests.c:2845:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_BTRFS_QGROUP_DESTROY_0");
data/libguestfs-1.42.0/tests/c-api/tests.c:2847:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_BTRFS_QGROUP_DESTROY");
data/libguestfs-1.42.0/tests/c-api/tests.c:2929:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("TEST_ONLY");
data/libguestfs-1.42.0/tests/c-api/tests.c:2932:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_BTRFS_QGROUP_LIMIT_0");
data/libguestfs-1.42.0/tests/c-api/tests.c:2934:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_BTRFS_QGROUP_LIMIT");
data/libguestfs-1.42.0/tests/c-api/tests.c:3002:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("TEST_ONLY");
data/libguestfs-1.42.0/tests/c-api/tests.c:3005:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_BTRFS_QGROUP_LIMIT_1");
data/libguestfs-1.42.0/tests/c-api/tests.c:3007:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_BTRFS_QGROUP_LIMIT");
data/libguestfs-1.42.0/tests/c-api/tests.c:3077:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("TEST_ONLY");
data/libguestfs-1.42.0/tests/c-api/tests.c:3080:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_BTRFS_QGROUP_REMOVE_0");
data/libguestfs-1.42.0/tests/c-api/tests.c:3082:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_BTRFS_QGROUP_REMOVE");
data/libguestfs-1.42.0/tests/c-api/tests.c:3171:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("TEST_ONLY");
data/libguestfs-1.42.0/tests/c-api/tests.c:3174:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_BTRFS_QGROUP_SHOW_0");
data/libguestfs-1.42.0/tests/c-api/tests.c:3176:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_BTRFS_QGROUP_SHOW");
data/libguestfs-1.42.0/tests/c-api/tests.c:3257:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("TEST_ONLY");
data/libguestfs-1.42.0/tests/c-api/tests.c:3260:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_BTRFS_QUOTA_ENABLE_0");
data/libguestfs-1.42.0/tests/c-api/tests.c:3262:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_BTRFS_QUOTA_ENABLE");
data/libguestfs-1.42.0/tests/c-api/tests.c:3319:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("TEST_ONLY");
data/libguestfs-1.42.0/tests/c-api/tests.c:3322:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_BTRFS_QUOTA_ENABLE_1");
data/libguestfs-1.42.0/tests/c-api/tests.c:3324:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_BTRFS_QUOTA_ENABLE");
data/libguestfs-1.42.0/tests/c-api/tests.c:3387:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("TEST_ONLY");
data/libguestfs-1.42.0/tests/c-api/tests.c:3390:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_BTRFS_QUOTA_ENABLE_2");
data/libguestfs-1.42.0/tests/c-api/tests.c:3392:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_BTRFS_QUOTA_ENABLE");
data/libguestfs-1.42.0/tests/c-api/tests.c:3449:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("TEST_ONLY");
data/libguestfs-1.42.0/tests/c-api/tests.c:3452:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_BTRFS_QUOTA_ENABLE_3");
data/libguestfs-1.42.0/tests/c-api/tests.c:3454:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_BTRFS_QUOTA_ENABLE");
data/libguestfs-1.42.0/tests/c-api/tests.c:3517:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("TEST_ONLY");
data/libguestfs-1.42.0/tests/c-api/tests.c:3520:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_BTRFS_QUOTA_RESCAN_0");
data/libguestfs-1.42.0/tests/c-api/tests.c:3522:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_BTRFS_QUOTA_RESCAN");
data/libguestfs-1.42.0/tests/c-api/tests.c:3584:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("TEST_ONLY");
data/libguestfs-1.42.0/tests/c-api/tests.c:3587:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_BTRFS_QUOTA_RESCAN_1");
data/libguestfs-1.42.0/tests/c-api/tests.c:3589:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_BTRFS_QUOTA_RESCAN");
data/libguestfs-1.42.0/tests/c-api/tests.c:3657:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("TEST_ONLY");
data/libguestfs-1.42.0/tests/c-api/tests.c:3660:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_BTRFS_RESCUE_CHUNK_RECOVER_0");
data/libguestfs-1.42.0/tests/c-api/tests.c:3662:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_BTRFS_RESCUE_CHUNK_RECOVER");
data/libguestfs-1.42.0/tests/c-api/tests.c:3719:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("TEST_ONLY");
data/libguestfs-1.42.0/tests/c-api/tests.c:3722:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_BTRFS_RESCUE_SUPER_RECOVER_0");
data/libguestfs-1.42.0/tests/c-api/tests.c:3724:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_BTRFS_RESCUE_SUPER_RECOVER");
data/libguestfs-1.42.0/tests/c-api/tests.c:3781:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("TEST_ONLY");
data/libguestfs-1.42.0/tests/c-api/tests.c:3784:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_BTRFS_SCRUB_START_0");
data/libguestfs-1.42.0/tests/c-api/tests.c:3786:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_BTRFS_SCRUB_START");
data/libguestfs-1.42.0/tests/c-api/tests.c:3849:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("TEST_ONLY");
data/libguestfs-1.42.0/tests/c-api/tests.c:3852:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_BTRFS_SCRUB_STATUS_0");
data/libguestfs-1.42.0/tests/c-api/tests.c:3854:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_BTRFS_SCRUB_STATUS");
data/libguestfs-1.42.0/tests/c-api/tests.c:3922:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("TEST_ONLY");
data/libguestfs-1.42.0/tests/c-api/tests.c:3925:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_BTRFS_SET_SEEDING_0");
data/libguestfs-1.42.0/tests/c-api/tests.c:3927:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_BTRFS_SET_SEEDING");
data/libguestfs-1.42.0/tests/c-api/tests.c:3989:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("TEST_ONLY");
data/libguestfs-1.42.0/tests/c-api/tests.c:3992:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_BTRFS_SUBVOLUME_DELETE_0");
data/libguestfs-1.42.0/tests/c-api/tests.c:3994:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_BTRFS_SUBVOLUME_DELETE");
data/libguestfs-1.42.0/tests/c-api/tests.c:4064:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("TEST_ONLY");
data/libguestfs-1.42.0/tests/c-api/tests.c:4067:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_BTRFS_SUBVOLUME_GET_DEFAULT_0");
data/libguestfs-1.42.0/tests/c-api/tests.c:4069:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_BTRFS_SUBVOLUME_GET_DEFAULT");
data/libguestfs-1.42.0/tests/c-api/tests.c:4133:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("TEST_ONLY");
data/libguestfs-1.42.0/tests/c-api/tests.c:4136:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_BTRFS_SUBVOLUME_GET_DEFAULT_1");
data/libguestfs-1.42.0/tests/c-api/tests.c:4138:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_BTRFS_SUBVOLUME_GET_DEFAULT");
data/libguestfs-1.42.0/tests/c-api/tests.c:4208:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("TEST_ONLY");
data/libguestfs-1.42.0/tests/c-api/tests.c:4211:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_BTRFS_SUBVOLUME_SHOW_0");
data/libguestfs-1.42.0/tests/c-api/tests.c:4213:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_BTRFS_SUBVOLUME_SHOW");
data/libguestfs-1.42.0/tests/c-api/tests.c:4283:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("TEST_ONLY");
data/libguestfs-1.42.0/tests/c-api/tests.c:4286:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_BTRFS_SUBVOLUME_SHOW_1");
data/libguestfs-1.42.0/tests/c-api/tests.c:4288:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_BTRFS_SUBVOLUME_SHOW");
data/libguestfs-1.42.0/tests/c-api/tests.c:4358:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("TEST_ONLY");
data/libguestfs-1.42.0/tests/c-api/tests.c:4361:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_BTRFS_SUBVOLUME_SNAPSHOT_0");
data/libguestfs-1.42.0/tests/c-api/tests.c:4363:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_BTRFS_SUBVOLUME_SNAPSHOT");
data/libguestfs-1.42.0/tests/c-api/tests.c:4465:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("TEST_ONLY");
data/libguestfs-1.42.0/tests/c-api/tests.c:4468:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_BTRFSTUNE_ENABLE_EXTENDED_INODE_REFS_0");
data/libguestfs-1.42.0/tests/c-api/tests.c:4470:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_BTRFSTUNE_ENABLE_EXTENDED_INODE_REFS");
data/libguestfs-1.42.0/tests/c-api/tests.c:4527:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("TEST_ONLY");
data/libguestfs-1.42.0/tests/c-api/tests.c:4530:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_BTRFSTUNE_ENABLE_SKINNY_METADATA_EXTENT_REFS_0");
data/libguestfs-1.42.0/tests/c-api/tests.c:4532:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_BTRFSTUNE_ENABLE_SKINNY_METADATA_EXTENT_REFS");
data/libguestfs-1.42.0/tests/c-api/tests.c:4589:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("TEST_ONLY");
data/libguestfs-1.42.0/tests/c-api/tests.c:4592:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_BTRFSTUNE_SEEDING_0");
data/libguestfs-1.42.0/tests/c-api/tests.c:4594:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_BTRFSTUNE_SEEDING");
data/libguestfs-1.42.0/tests/c-api/tests.c:4649:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("TEST_ONLY");
data/libguestfs-1.42.0/tests/c-api/tests.c:4652:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_C_POINTER_0");
data/libguestfs-1.42.0/tests/c-api/tests.c:4654:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_C_POINTER");
data/libguestfs-1.42.0/tests/c-api/tests.c:4692:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("TEST_ONLY");
data/libguestfs-1.42.0/tests/c-api/tests.c:4695:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_CANONICAL_DEVICE_NAME_0");
data/libguestfs-1.42.0/tests/c-api/tests.c:4697:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_CANONICAL_DEVICE_NAME");
data/libguestfs-1.42.0/tests/c-api/tests.c:4741:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("TEST_ONLY");
data/libguestfs-1.42.0/tests/c-api/tests.c:4744:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_CANONICAL_DEVICE_NAME_1");
data/libguestfs-1.42.0/tests/c-api/tests.c:4746:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_CANONICAL_DEVICE_NAME");
data/libguestfs-1.42.0/tests/c-api/tests.c:4790:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("TEST_ONLY");
data/libguestfs-1.42.0/tests/c-api/tests.c:4793:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_CANONICAL_DEVICE_NAME_2");
data/libguestfs-1.42.0/tests/c-api/tests.c:4795:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_CANONICAL_DEVICE_NAME");
data/libguestfs-1.42.0/tests/c-api/tests.c:4846:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("TEST_ONLY");
data/libguestfs-1.42.0/tests/c-api/tests.c:4849:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_CANONICAL_DEVICE_NAME_3");
data/libguestfs-1.42.0/tests/c-api/tests.c:4851:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_CANONICAL_DEVICE_NAME");
data/libguestfs-1.42.0/tests/c-api/tests.c:4895:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("TEST_ONLY");
data/libguestfs-1.42.0/tests/c-api/tests.c:4898:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_CANONICAL_DEVICE_NAME_4");
data/libguestfs-1.42.0/tests/c-api/tests.c:4900:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_CANONICAL_DEVICE_NAME");
data/libguestfs-1.42.0/tests/c-api/tests.c:4944:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("TEST_ONLY");
data/libguestfs-1.42.0/tests/c-api/tests.c:4947:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_CANONICAL_DEVICE_NAME_5");
data/libguestfs-1.42.0/tests/c-api/tests.c:4949:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_CANONICAL_DEVICE_NAME");
data/libguestfs-1.42.0/tests/c-api/tests.c:5000:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("TEST_ONLY");
data/libguestfs-1.42.0/tests/c-api/tests.c:5003:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_CAP_SET_FILE_0");
data/libguestfs-1.42.0/tests/c-api/tests.c:5005:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_CAP_SET_FILE");
data/libguestfs-1.42.0/tests/c-api/tests.c:5060:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("TEST_ONLY");
data/libguestfs-1.42.0/tests/c-api/tests.c:5063:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_CASE_SENSITIVE_PATH_0");
data/libguestfs-1.42.0/tests/c-api/tests.c:5065:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_CASE_SENSITIVE_PATH");
data/libguestfs-1.42.0/tests/c-api/tests.c:5109:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("TEST_ONLY");
data/libguestfs-1.42.0/tests/c-api/tests.c:5112:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_CASE_SENSITIVE_PATH_1");
data/libguestfs-1.42.0/tests/c-api/tests.c:5114:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_CASE_SENSITIVE_PATH");
data/libguestfs-1.42.0/tests/c-api/tests.c:5158:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("TEST_ONLY");
data/libguestfs-1.42.0/tests/c-api/tests.c:5161:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_CASE_SENSITIVE_PATH_2");
data/libguestfs-1.42.0/tests/c-api/tests.c:5163:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_CASE_SENSITIVE_PATH");
data/libguestfs-1.42.0/tests/c-api/tests.c:5207:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("TEST_ONLY");
data/libguestfs-1.42.0/tests/c-api/tests.c:5210:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_CASE_SENSITIVE_PATH_3");
data/libguestfs-1.42.0/tests/c-api/tests.c:5212:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_CASE_SENSITIVE_PATH");
data/libguestfs-1.42.0/tests/c-api/tests.c:5253:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("TEST_ONLY");
data/libguestfs-1.42.0/tests/c-api/tests.c:5256:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_CASE_SENSITIVE_PATH_4");
data/libguestfs-1.42.0/tests/c-api/tests.c:5258:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_CASE_SENSITIVE_PATH");
data/libguestfs-1.42.0/tests/c-api/tests.c:5317:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("TEST_ONLY");
data/libguestfs-1.42.0/tests/c-api/tests.c:5320:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_CASE_SENSITIVE_PATH_5");
data/libguestfs-1.42.0/tests/c-api/tests.c:5322:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_CASE_SENSITIVE_PATH");
data/libguestfs-1.42.0/tests/c-api/tests.c:5381:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("TEST_ONLY");
data/libguestfs-1.42.0/tests/c-api/tests.c:5384:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_CASE_SENSITIVE_PATH_6");
data/libguestfs-1.42.0/tests/c-api/tests.c:5386:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_CASE_SENSITIVE_PATH");
data/libguestfs-1.42.0/tests/c-api/tests.c:5442:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("TEST_ONLY");
data/libguestfs-1.42.0/tests/c-api/tests.c:5445:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_CASE_SENSITIVE_PATH_7");
data/libguestfs-1.42.0/tests/c-api/tests.c:5447:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_CASE_SENSITIVE_PATH");
data/libguestfs-1.42.0/tests/c-api/tests.c:5496:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("TEST_ONLY");
data/libguestfs-1.42.0/tests/c-api/tests.c:5499:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_CAT_0");
data/libguestfs-1.42.0/tests/c-api/tests.c:5501:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_CAT");
data/libguestfs-1.42.0/tests/c-api/tests.c:5545:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("TEST_ONLY");
data/libguestfs-1.42.0/tests/c-api/tests.c:5548:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_CHECKSUM_0");
data/libguestfs-1.42.0/tests/c-api/tests.c:5550:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_CHECKSUM");
data/libguestfs-1.42.0/tests/c-api/tests.c:5595:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("TEST_ONLY");
data/libguestfs-1.42.0/tests/c-api/tests.c:5598:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_CHECKSUM_1");
data/libguestfs-1.42.0/tests/c-api/tests.c:5600:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_CHECKSUM");
data/libguestfs-1.42.0/tests/c-api/tests.c:5642:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("TEST_ONLY");
data/libguestfs-1.42.0/tests/c-api/tests.c:5645:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_CHECKSUM_2");
data/libguestfs-1.42.0/tests/c-api/tests.c:5647:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_CHECKSUM");
data/libguestfs-1.42.0/tests/c-api/tests.c:5692:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("TEST_ONLY");
data/libguestfs-1.42.0/tests/c-api/tests.c:5695:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_CHECKSUM_3");
data/libguestfs-1.42.0/tests/c-api/tests.c:5697:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_CHECKSUM");
data/libguestfs-1.42.0/tests/c-api/tests.c:5742:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("TEST_ONLY");
data/libguestfs-1.42.0/tests/c-api/tests.c:5745:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_CHECKSUM_4");
data/libguestfs-1.42.0/tests/c-api/tests.c:5747:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_CHECKSUM");
data/libguestfs-1.42.0/tests/c-api/tests.c:5792:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("TEST_ONLY");
data/libguestfs-1.42.0/tests/c-api/tests.c:5795:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_CHECKSUM_5");
data/libguestfs-1.42.0/tests/c-api/tests.c:5797:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_CHECKSUM");
data/libguestfs-1.42.0/tests/c-api/tests.c:5842:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("TEST_ONLY");
data/libguestfs-1.42.0/tests/c-api/tests.c:5845:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_CHECKSUM_6");
data/libguestfs-1.42.0/tests/c-api/tests.c:5847:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_CHECKSUM");
data/libguestfs-1.42.0/tests/c-api/tests.c:5892:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("TEST_ONLY");
data/libguestfs-1.42.0/tests/c-api/tests.c:5895:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_CHECKSUM_7");
data/libguestfs-1.42.0/tests/c-api/tests.c:5897:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_CHECKSUM");
data/libguestfs-1.42.0/tests/c-api/tests.c:5942:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("TEST_ONLY");
data/libguestfs-1.42.0/tests/c-api/tests.c:5945:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_CHECKSUM_8");
data/libguestfs-1.42.0/tests/c-api/tests.c:5947:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_CHECKSUM");
data/libguestfs-1.42.0/tests/c-api/tests.c:5992:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("TEST_ONLY");
data/libguestfs-1.42.0/tests/c-api/tests.c:5995:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_CHECKSUM_DEVICE_0");
data/libguestfs-1.42.0/tests/c-api/tests.c:5997:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_CHECKSUM_DEVICE");
data/libguestfs-1.42.0/tests/c-api/tests.c:6049:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("TEST_ONLY");
data/libguestfs-1.42.0/tests/c-api/tests.c:6052:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_COMMAND_0");
data/libguestfs-1.42.0/tests/c-api/tests.c:6054:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_COMMAND");
data/libguestfs-1.42.0/tests/c-api/tests.c:6125:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("TEST_ONLY");
data/libguestfs-1.42.0/tests/c-api/tests.c:6128:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_COMMAND_1");
data/libguestfs-1.42.0/tests/c-api/tests.c:6130:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_COMMAND");
data/libguestfs-1.42.0/tests/c-api/tests.c:6201:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("TEST_ONLY");
data/libguestfs-1.42.0/tests/c-api/tests.c:6204:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_COMMAND_2");
data/libguestfs-1.42.0/tests/c-api/tests.c:6206:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_COMMAND");
data/libguestfs-1.42.0/tests/c-api/tests.c:6277:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("TEST_ONLY");
data/libguestfs-1.42.0/tests/c-api/tests.c:6280:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_COMMAND_3");
data/libguestfs-1.42.0/tests/c-api/tests.c:6282:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_COMMAND");
data/libguestfs-1.42.0/tests/c-api/tests.c:6353:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("TEST_ONLY");
data/libguestfs-1.42.0/tests/c-api/tests.c:6356:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_COMMAND_4");
data/libguestfs-1.42.0/tests/c-api/tests.c:6358:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_COMMAND");
data/libguestfs-1.42.0/tests/c-api/tests.c:6429:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("TEST_ONLY");
data/libguestfs-1.42.0/tests/c-api/tests.c:6432:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_COMMAND_5");
data/libguestfs-1.42.0/tests/c-api/tests.c:6434:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_COMMAND");
data/libguestfs-1.42.0/tests/c-api/tests.c:6505:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("TEST_ONLY");
data/libguestfs-1.42.0/tests/c-api/tests.c:6508:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_COMMAND_6");
data/libguestfs-1.42.0/tests/c-api/tests.c:6510:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_COMMAND");
data/libguestfs-1.42.0/tests/c-api/tests.c:6581:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("TEST_ONLY");
data/libguestfs-1.42.0/tests/c-api/tests.c:6584:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_COMMAND_7");
data/libguestfs-1.42.0/tests/c-api/tests.c:6586:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_COMMAND");
data/libguestfs-1.42.0/tests/c-api/tests.c:6657:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("TEST_ONLY");
data/libguestfs-1.42.0/tests/c-api/tests.c:6660:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_COMMAND_8");
data/libguestfs-1.42.0/tests/c-api/tests.c:6662:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_COMMAND");
data/libguestfs-1.42.0/tests/c-api/tests.c:6733:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("TEST_ONLY");
data/libguestfs-1.42.0/tests/c-api/tests.c:6736:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_COMMAND_9");
data/libguestfs-1.42.0/tests/c-api/tests.c:6738:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_COMMAND");
data/libguestfs-1.42.0/tests/c-api/tests.c:6809:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("TEST_ONLY");
data/libguestfs-1.42.0/tests/c-api/tests.c:6812:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_COMMAND_10");
data/libguestfs-1.42.0/tests/c-api/tests.c:6814:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_COMMAND");
data/libguestfs-1.42.0/tests/c-api/tests.c:6885:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("TEST_ONLY");
data/libguestfs-1.42.0/tests/c-api/tests.c:6888:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_COMMAND_11");
data/libguestfs-1.42.0/tests/c-api/tests.c:6890:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_COMMAND");
data/libguestfs-1.42.0/tests/c-api/tests.c:6956:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("TEST_ONLY");
data/libguestfs-1.42.0/tests/c-api/tests.c:6959:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_COMMAND_12");
data/libguestfs-1.42.0/tests/c-api/tests.c:6961:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_COMMAND");
data/libguestfs-1.42.0/tests/c-api/tests.c:7030:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("TEST_ONLY");
data/libguestfs-1.42.0/tests/c-api/tests.c:7033:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_COMMAND_LINES_0");
data/libguestfs-1.42.0/tests/c-api/tests.c:7035:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_COMMAND_LINES");
data/libguestfs-1.42.0/tests/c-api/tests.c:7108:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("TEST_ONLY");
data/libguestfs-1.42.0/tests/c-api/tests.c:7111:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_COMMAND_LINES_1");
data/libguestfs-1.42.0/tests/c-api/tests.c:7113:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_COMMAND_LINES");
data/libguestfs-1.42.0/tests/c-api/tests.c:7186:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("TEST_ONLY");
data/libguestfs-1.42.0/tests/c-api/tests.c:7189:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_COMMAND_LINES_2");
data/libguestfs-1.42.0/tests/c-api/tests.c:7191:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_COMMAND_LINES");
data/libguestfs-1.42.0/tests/c-api/tests.c:7264:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("TEST_ONLY");
data/libguestfs-1.42.0/tests/c-api/tests.c:7267:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_COMMAND_LINES_3");
data/libguestfs-1.42.0/tests/c-api/tests.c:7269:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_COMMAND_LINES");
data/libguestfs-1.42.0/tests/c-api/tests.c:7342:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("TEST_ONLY");
data/libguestfs-1.42.0/tests/c-api/tests.c:7345:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_COMMAND_LINES_4");
data/libguestfs-1.42.0/tests/c-api/tests.c:7347:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_COMMAND_LINES");
data/libguestfs-1.42.0/tests/c-api/tests.c:7420:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("TEST_ONLY");
data/libguestfs-1.42.0/tests/c-api/tests.c:7423:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_COMMAND_LINES_5");
data/libguestfs-1.42.0/tests/c-api/tests.c:7425:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_COMMAND_LINES");
data/libguestfs-1.42.0/tests/c-api/tests.c:7498:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("TEST_ONLY");
data/libguestfs-1.42.0/tests/c-api/tests.c:7501:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_COMMAND_LINES_6");
data/libguestfs-1.42.0/tests/c-api/tests.c:7503:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_COMMAND_LINES");
data/libguestfs-1.42.0/tests/c-api/tests.c:7576:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("TEST_ONLY");
data/libguestfs-1.42.0/tests/c-api/tests.c:7579:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_COMMAND_LINES_7");
data/libguestfs-1.42.0/tests/c-api/tests.c:7581:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_COMMAND_LINES");
data/libguestfs-1.42.0/tests/c-api/tests.c:7654:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("TEST_ONLY");
data/libguestfs-1.42.0/tests/c-api/tests.c:7657:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_COMMAND_LINES_8");
data/libguestfs-1.42.0/tests/c-api/tests.c:7659:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_COMMAND_LINES");
data/libguestfs-1.42.0/tests/c-api/tests.c:7732:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("TEST_ONLY");
data/libguestfs-1.42.0/tests/c-api/tests.c:7735:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_COMMAND_LINES_9");
data/libguestfs-1.42.0/tests/c-api/tests.c:7737:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_COMMAND_LINES");
data/libguestfs-1.42.0/tests/c-api/tests.c:7810:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("TEST_ONLY");
data/libguestfs-1.42.0/tests/c-api/tests.c:7813:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_COMMAND_LINES_10");
data/libguestfs-1.42.0/tests/c-api/tests.c:7815:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_COMMAND_LINES");
data/libguestfs-1.42.0/tests/c-api/tests.c:7883:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("TEST_ONLY");
data/libguestfs-1.42.0/tests/c-api/tests.c:7886:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_COPY_FILE_TO_FILE_0");
data/libguestfs-1.42.0/tests/c-api/tests.c:7888:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_COPY_FILE_TO_FILE");
data/libguestfs-1.42.0/tests/c-api/tests.c:7956:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("TEST_ONLY");
data/libguestfs-1.42.0/tests/c-api/tests.c:7959:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_COPY_FILE_TO_FILE_1");
data/libguestfs-1.42.0/tests/c-api/tests.c:7961:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_COPY_FILE_TO_FILE");
data/libguestfs-1.42.0/tests/c-api/tests.c:8035:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("TEST_ONLY");
data/libguestfs-1.42.0/tests/c-api/tests.c:8038:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_COPY_FILE_TO_FILE_2");
data/libguestfs-1.42.0/tests/c-api/tests.c:8040:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_COPY_FILE_TO_FILE");
data/libguestfs-1.42.0/tests/c-api/tests.c:8126:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("TEST_ONLY");
data/libguestfs-1.42.0/tests/c-api/tests.c:8129:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_COPY_SIZE_0");
data/libguestfs-1.42.0/tests/c-api/tests.c:8131:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_COPY_SIZE");
data/libguestfs-1.42.0/tests/c-api/tests.c:8196:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("TEST_ONLY");
data/libguestfs-1.42.0/tests/c-api/tests.c:8199:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_CP_0");
data/libguestfs-1.42.0/tests/c-api/tests.c:8201:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_CP");
data/libguestfs-1.42.0/tests/c-api/tests.c:8263:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("TEST_ONLY");
data/libguestfs-1.42.0/tests/c-api/tests.c:8266:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_CP_1");
data/libguestfs-1.42.0/tests/c-api/tests.c:8268:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_CP");
data/libguestfs-1.42.0/tests/c-api/tests.c:8332:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("TEST_ONLY");
data/libguestfs-1.42.0/tests/c-api/tests.c:8335:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_CP_2");
data/libguestfs-1.42.0/tests/c-api/tests.c:8337:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_CP");
data/libguestfs-1.42.0/tests/c-api/tests.c:8404:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("TEST_ONLY");
data/libguestfs-1.42.0/tests/c-api/tests.c:8407:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_CP_A_0");
data/libguestfs-1.42.0/tests/c-api/tests.c:8409:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_CP_A");
data/libguestfs-1.42.0/tests/c-api/tests.c:8476:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("TEST_ONLY");
data/libguestfs-1.42.0/tests/c-api/tests.c:8479:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_CP_R_0");
data/libguestfs-1.42.0/tests/c-api/tests.c:8481:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_CP_R");
data/libguestfs-1.42.0/tests/c-api/tests.c:8548:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("TEST_ONLY");
data/libguestfs-1.42.0/tests/c-api/tests.c:8551:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_DD_0");
data/libguestfs-1.42.0/tests/c-api/tests.c:8553:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_DD");
data/libguestfs-1.42.0/tests/c-api/tests.c:8618:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("TEST_ONLY");
data/libguestfs-1.42.0/tests/c-api/tests.c:8621:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_DEVICE_INDEX_0");
data/libguestfs-1.42.0/tests/c-api/tests.c:8623:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_DEVICE_INDEX");
data/libguestfs-1.42.0/tests/c-api/tests.c:8669:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("TEST_ONLY");
data/libguestfs-1.42.0/tests/c-api/tests.c:8672:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_DISK_FORMAT_0");
data/libguestfs-1.42.0/tests/c-api/tests.c:8674:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_DISK_FORMAT");
data/libguestfs-1.42.0/tests/c-api/tests.c:8718:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("TEST_ONLY");
data/libguestfs-1.42.0/tests/c-api/tests.c:8721:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_DISK_FORMAT_1");
data/libguestfs-1.42.0/tests/c-api/tests.c:8723:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_DISK_FORMAT");
data/libguestfs-1.42.0/tests/c-api/tests.c:8767:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("TEST_ONLY");
data/libguestfs-1.42.0/tests/c-api/tests.c:8770:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_DISK_FORMAT_2");
data/libguestfs-1.42.0/tests/c-api/tests.c:8772:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_DISK_FORMAT");
data/libguestfs-1.42.0/tests/c-api/tests.c:8816:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("TEST_ONLY");
data/libguestfs-1.42.0/tests/c-api/tests.c:8819:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_DISK_FORMAT_3");
data/libguestfs-1.42.0/tests/c-api/tests.c:8821:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_DISK_FORMAT");
data/libguestfs-1.42.0/tests/c-api/tests.c:8865:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("TEST_ONLY");
data/libguestfs-1.42.0/tests/c-api/tests.c:8868:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_DISK_FORMAT_4");
data/libguestfs-1.42.0/tests/c-api/tests.c:8870:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_DISK_FORMAT");
data/libguestfs-1.42.0/tests/c-api/tests.c:8914:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("TEST_ONLY");
data/libguestfs-1.42.0/tests/c-api/tests.c:8917:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_DISK_FORMAT_5");
data/libguestfs-1.42.0/tests/c-api/tests.c:8919:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_DISK_FORMAT");
data/libguestfs-1.42.0/tests/c-api/tests.c:8963:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("TEST_ONLY");
data/libguestfs-1.42.0/tests/c-api/tests.c:8966:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_DISK_FORMAT_6");
data/libguestfs-1.42.0/tests/c-api/tests.c:8968:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_DISK_FORMAT");
data/libguestfs-1.42.0/tests/c-api/tests.c:9012:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("TEST_ONLY");
data/libguestfs-1.42.0/tests/c-api/tests.c:9015:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_DISK_HAS_BACKING_FILE_0");
data/libguestfs-1.42.0/tests/c-api/tests.c:9017:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_DISK_HAS_BACKING_FILE");
data/libguestfs-1.42.0/tests/c-api/tests.c:9061:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("TEST_ONLY");
data/libguestfs-1.42.0/tests/c-api/tests.c:9064:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_DISK_HAS_BACKING_FILE_1");
data/libguestfs-1.42.0/tests/c-api/tests.c:9066:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_DISK_HAS_BACKING_FILE");
data/libguestfs-1.42.0/tests/c-api/tests.c:9110:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("TEST_ONLY");
data/libguestfs-1.42.0/tests/c-api/tests.c:9113:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_DISK_HAS_BACKING_FILE_2");
data/libguestfs-1.42.0/tests/c-api/tests.c:9115:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_DISK_HAS_BACKING_FILE");
data/libguestfs-1.42.0/tests/c-api/tests.c:9159:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("TEST_ONLY");
data/libguestfs-1.42.0/tests/c-api/tests.c:9162:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_DISK_HAS_BACKING_FILE_3");
data/libguestfs-1.42.0/tests/c-api/tests.c:9164:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_DISK_HAS_BACKING_FILE");
data/libguestfs-1.42.0/tests/c-api/tests.c:9208:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("TEST_ONLY");
data/libguestfs-1.42.0/tests/c-api/tests.c:9211:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_DISK_HAS_BACKING_FILE_4");
data/libguestfs-1.42.0/tests/c-api/tests.c:9213:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_DISK_HAS_BACKING_FILE");
data/libguestfs-1.42.0/tests/c-api/tests.c:9257:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("TEST_ONLY");
data/libguestfs-1.42.0/tests/c-api/tests.c:9260:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_DISK_HAS_BACKING_FILE_5");
data/libguestfs-1.42.0/tests/c-api/tests.c:9262:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_DISK_HAS_BACKING_FILE");
data/libguestfs-1.42.0/tests/c-api/tests.c:9306:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("TEST_ONLY");
data/libguestfs-1.42.0/tests/c-api/tests.c:9309:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_DISK_HAS_BACKING_FILE_6");
data/libguestfs-1.42.0/tests/c-api/tests.c:9311:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_DISK_HAS_BACKING_FILE");
data/libguestfs-1.42.0/tests/c-api/tests.c:9355:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("TEST_ONLY");
data/libguestfs-1.42.0/tests/c-api/tests.c:9358:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_DISK_VIRTUAL_SIZE_0");
data/libguestfs-1.42.0/tests/c-api/tests.c:9360:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_DISK_VIRTUAL_SIZE");
data/libguestfs-1.42.0/tests/c-api/tests.c:9406:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("TEST_ONLY");
data/libguestfs-1.42.0/tests/c-api/tests.c:9409:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_DISK_VIRTUAL_SIZE_1");
data/libguestfs-1.42.0/tests/c-api/tests.c:9411:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_DISK_VIRTUAL_SIZE");
data/libguestfs-1.42.0/tests/c-api/tests.c:9457:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("TEST_ONLY");
data/libguestfs-1.42.0/tests/c-api/tests.c:9460:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_DISK_VIRTUAL_SIZE_2");
data/libguestfs-1.42.0/tests/c-api/tests.c:9462:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_DISK_VIRTUAL_SIZE");
data/libguestfs-1.42.0/tests/c-api/tests.c:9508:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("TEST_ONLY");
data/libguestfs-1.42.0/tests/c-api/tests.c:9511:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_DISK_VIRTUAL_SIZE_3");
data/libguestfs-1.42.0/tests/c-api/tests.c:9513:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_DISK_VIRTUAL_SIZE");
data/libguestfs-1.42.0/tests/c-api/tests.c:9559:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("TEST_ONLY");
data/libguestfs-1.42.0/tests/c-api/tests.c:9562:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_DISK_VIRTUAL_SIZE_4");
data/libguestfs-1.42.0/tests/c-api/tests.c:9564:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_DISK_VIRTUAL_SIZE");
data/libguestfs-1.42.0/tests/c-api/tests.c:9610:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("TEST_ONLY");
data/libguestfs-1.42.0/tests/c-api/tests.c:9613:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_DISK_VIRTUAL_SIZE_5");
data/libguestfs-1.42.0/tests/c-api/tests.c:9615:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_DISK_VIRTUAL_SIZE");
data/libguestfs-1.42.0/tests/c-api/tests.c:9661:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("TEST_ONLY");
data/libguestfs-1.42.0/tests/c-api/tests.c:9664:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_DISK_VIRTUAL_SIZE_6");
data/libguestfs-1.42.0/tests/c-api/tests.c:9666:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_DISK_VIRTUAL_SIZE");
data/libguestfs-1.42.0/tests/c-api/tests.c:9712:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("TEST_ONLY");
data/libguestfs-1.42.0/tests/c-api/tests.c:9715:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_DMESG_0");
data/libguestfs-1.42.0/tests/c-api/tests.c:9717:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_DMESG");
data/libguestfs-1.42.0/tests/c-api/tests.c:9755:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("TEST_ONLY");
data/libguestfs-1.42.0/tests/c-api/tests.c:9758:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_DOWNLOAD_0");
data/libguestfs-1.42.0/tests/c-api/tests.c:9760:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_DOWNLOAD");
data/libguestfs-1.42.0/tests/c-api/tests.c:9827:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("TEST_ONLY");
data/libguestfs-1.42.0/tests/c-api/tests.c:9830:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_DOWNLOAD_OFFSET_0");
data/libguestfs-1.42.0/tests/c-api/tests.c:9832:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_DOWNLOAD_OFFSET");
data/libguestfs-1.42.0/tests/c-api/tests.c:9899:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("TEST_ONLY");
data/libguestfs-1.42.0/tests/c-api/tests.c:9902:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_DROP_CACHES_0");
data/libguestfs-1.42.0/tests/c-api/tests.c:9904:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_DROP_CACHES");
data/libguestfs-1.42.0/tests/c-api/tests.c:9942:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("TEST_ONLY");
data/libguestfs-1.42.0/tests/c-api/tests.c:9945:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_DU_0");
data/libguestfs-1.42.0/tests/c-api/tests.c:9947:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_DU");
data/libguestfs-1.42.0/tests/c-api/tests.c:9993:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("TEST_ONLY");
data/libguestfs-1.42.0/tests/c-api/tests.c:9996:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_ECHO_DAEMON_0");
data/libguestfs-1.42.0/tests/c-api/tests.c:9998:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_ECHO_DAEMON");
data/libguestfs-1.42.0/tests/c-api/tests.c:10052:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("TEST_ONLY");
data/libguestfs-1.42.0/tests/c-api/tests.c:10055:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_ECHO_DAEMON_1");
data/libguestfs-1.42.0/tests/c-api/tests.c:10057:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_ECHO_DAEMON");
data/libguestfs-1.42.0/tests/c-api/tests.c:10101:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("TEST_ONLY");
data/libguestfs-1.42.0/tests/c-api/tests.c:10104:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_EGREP_0");
data/libguestfs-1.42.0/tests/c-api/tests.c:10106:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_EGREP");
data/libguestfs-1.42.0/tests/c-api/tests.c:10153:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("TEST_ONLY");
data/libguestfs-1.42.0/tests/c-api/tests.c:10156:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_EGREPI_0");
data/libguestfs-1.42.0/tests/c-api/tests.c:10158:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_EGREPI");
data/libguestfs-1.42.0/tests/c-api/tests.c:10205:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("TEST_ONLY");
data/libguestfs-1.42.0/tests/c-api/tests.c:10208:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_EQUAL_0");
data/libguestfs-1.42.0/tests/c-api/tests.c:10210:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_EQUAL");
data/libguestfs-1.42.0/tests/c-api/tests.c:10273:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("TEST_ONLY");
data/libguestfs-1.42.0/tests/c-api/tests.c:10276:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_EQUAL_1");
data/libguestfs-1.42.0/tests/c-api/tests.c:10278:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_EQUAL");
data/libguestfs-1.42.0/tests/c-api/tests.c:10342:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("TEST_ONLY");
data/libguestfs-1.42.0/tests/c-api/tests.c:10345:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_EQUAL_2");
data/libguestfs-1.42.0/tests/c-api/tests.c:10347:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_EQUAL");
data/libguestfs-1.42.0/tests/c-api/tests.c:10394:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("TEST_ONLY");
data/libguestfs-1.42.0/tests/c-api/tests.c:10397:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_EXISTS_0");
data/libguestfs-1.42.0/tests/c-api/tests.c:10399:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_EXISTS");
data/libguestfs-1.42.0/tests/c-api/tests.c:10443:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("TEST_ONLY");
data/libguestfs-1.42.0/tests/c-api/tests.c:10446:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_EXISTS_1");
data/libguestfs-1.42.0/tests/c-api/tests.c:10448:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_EXISTS");
data/libguestfs-1.42.0/tests/c-api/tests.c:10492:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("TEST_ONLY");
data/libguestfs-1.42.0/tests/c-api/tests.c:10495:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_FALLOCATE_0");
data/libguestfs-1.42.0/tests/c-api/tests.c:10497:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_FALLOCATE");
data/libguestfs-1.42.0/tests/c-api/tests.c:10548:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("TEST_ONLY");
data/libguestfs-1.42.0/tests/c-api/tests.c:10551:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_FALLOCATE64_0");
data/libguestfs-1.42.0/tests/c-api/tests.c:10553:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_FALLOCATE64");
data/libguestfs-1.42.0/tests/c-api/tests.c:10604:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("TEST_ONLY");
data/libguestfs-1.42.0/tests/c-api/tests.c:10607:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_FEATURE_AVAILABLE_0");
data/libguestfs-1.42.0/tests/c-api/tests.c:10609:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_FEATURE_AVAILABLE");
data/libguestfs-1.42.0/tests/c-api/tests.c:10653:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("TEST_ONLY");
data/libguestfs-1.42.0/tests/c-api/tests.c:10656:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_FGREP_0");
data/libguestfs-1.42.0/tests/c-api/tests.c:10658:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_FGREP");
data/libguestfs-1.42.0/tests/c-api/tests.c:10705:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("TEST_ONLY");
data/libguestfs-1.42.0/tests/c-api/tests.c:10708:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_FGREPI_0");
data/libguestfs-1.42.0/tests/c-api/tests.c:10710:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_FGREPI");
data/libguestfs-1.42.0/tests/c-api/tests.c:10757:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("TEST_ONLY");
data/libguestfs-1.42.0/tests/c-api/tests.c:10760:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_FILE_0");
data/libguestfs-1.42.0/tests/c-api/tests.c:10762:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_FILE");
data/libguestfs-1.42.0/tests/c-api/tests.c:10806:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("TEST_ONLY");
data/libguestfs-1.42.0/tests/c-api/tests.c:10809:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_FILE_1");
data/libguestfs-1.42.0/tests/c-api/tests.c:10811:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_FILE");
data/libguestfs-1.42.0/tests/c-api/tests.c:10855:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("TEST_ONLY");
data/libguestfs-1.42.0/tests/c-api/tests.c:10858:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_FILE_2");
data/libguestfs-1.42.0/tests/c-api/tests.c:10860:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_FILE");
data/libguestfs-1.42.0/tests/c-api/tests.c:10901:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("TEST_ONLY");
data/libguestfs-1.42.0/tests/c-api/tests.c:10904:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_FILE_3");
data/libguestfs-1.42.0/tests/c-api/tests.c:10906:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_FILE");
data/libguestfs-1.42.0/tests/c-api/tests.c:10950:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("TEST_ONLY");
data/libguestfs-1.42.0/tests/c-api/tests.c:10953:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_FILE_4");
data/libguestfs-1.42.0/tests/c-api/tests.c:10955:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_FILE");
data/libguestfs-1.42.0/tests/c-api/tests.c:10999:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("TEST_ONLY");
data/libguestfs-1.42.0/tests/c-api/tests.c:11002:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_FILE_ARCHITECTURE_0");
data/libguestfs-1.42.0/tests/c-api/tests.c:11004:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_FILE_ARCHITECTURE");
data/libguestfs-1.42.0/tests/c-api/tests.c:11048:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("TEST_ONLY");
data/libguestfs-1.42.0/tests/c-api/tests.c:11051:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_FILE_ARCHITECTURE_1");
data/libguestfs-1.42.0/tests/c-api/tests.c:11053:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_FILE_ARCHITECTURE");
data/libguestfs-1.42.0/tests/c-api/tests.c:11097:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("TEST_ONLY");
data/libguestfs-1.42.0/tests/c-api/tests.c:11100:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_FILE_ARCHITECTURE_2");
data/libguestfs-1.42.0/tests/c-api/tests.c:11102:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_FILE_ARCHITECTURE");
data/libguestfs-1.42.0/tests/c-api/tests.c:11146:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("TEST_ONLY");
data/libguestfs-1.42.0/tests/c-api/tests.c:11149:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_FILE_ARCHITECTURE_3");
data/libguestfs-1.42.0/tests/c-api/tests.c:11151:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_FILE_ARCHITECTURE");
data/libguestfs-1.42.0/tests/c-api/tests.c:11195:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("TEST_ONLY");
data/libguestfs-1.42.0/tests/c-api/tests.c:11198:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_FILE_ARCHITECTURE_4");
data/libguestfs-1.42.0/tests/c-api/tests.c:11200:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_FILE_ARCHITECTURE");
data/libguestfs-1.42.0/tests/c-api/tests.c:11244:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("TEST_ONLY");
data/libguestfs-1.42.0/tests/c-api/tests.c:11247:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_FILE_ARCHITECTURE_5");
data/libguestfs-1.42.0/tests/c-api/tests.c:11249:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_FILE_ARCHITECTURE");
data/libguestfs-1.42.0/tests/c-api/tests.c:11293:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("TEST_ONLY");
data/libguestfs-1.42.0/tests/c-api/tests.c:11296:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_FILE_ARCHITECTURE_6");
data/libguestfs-1.42.0/tests/c-api/tests.c:11298:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_FILE_ARCHITECTURE");
data/libguestfs-1.42.0/tests/c-api/tests.c:11342:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("TEST_ONLY");
data/libguestfs-1.42.0/tests/c-api/tests.c:11345:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_FILE_ARCHITECTURE_7");
data/libguestfs-1.42.0/tests/c-api/tests.c:11347:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_FILE_ARCHITECTURE");
data/libguestfs-1.42.0/tests/c-api/tests.c:11391:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("TEST_ONLY");
data/libguestfs-1.42.0/tests/c-api/tests.c:11394:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_FILE_ARCHITECTURE_8");
data/libguestfs-1.42.0/tests/c-api/tests.c:11396:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_FILE_ARCHITECTURE");
data/libguestfs-1.42.0/tests/c-api/tests.c:11440:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("TEST_ONLY");
data/libguestfs-1.42.0/tests/c-api/tests.c:11443:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_FILE_ARCHITECTURE_9");
data/libguestfs-1.42.0/tests/c-api/tests.c:11445:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_FILE_ARCHITECTURE");
data/libguestfs-1.42.0/tests/c-api/tests.c:11489:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("TEST_ONLY");
data/libguestfs-1.42.0/tests/c-api/tests.c:11492:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_FILE_ARCHITECTURE_10");
data/libguestfs-1.42.0/tests/c-api/tests.c:11494:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_FILE_ARCHITECTURE");
data/libguestfs-1.42.0/tests/c-api/tests.c:11538:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("TEST_ONLY");
data/libguestfs-1.42.0/tests/c-api/tests.c:11541:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_FILE_ARCHITECTURE_11");
data/libguestfs-1.42.0/tests/c-api/tests.c:11543:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_FILE_ARCHITECTURE");
data/libguestfs-1.42.0/tests/c-api/tests.c:11587:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("TEST_ONLY");
data/libguestfs-1.42.0/tests/c-api/tests.c:11590:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_FILE_ARCHITECTURE_12");
data/libguestfs-1.42.0/tests/c-api/tests.c:11592:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_FILE_ARCHITECTURE");
data/libguestfs-1.42.0/tests/c-api/tests.c:11636:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("TEST_ONLY");
data/libguestfs-1.42.0/tests/c-api/tests.c:11639:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_FILE_ARCHITECTURE_13");
data/libguestfs-1.42.0/tests/c-api/tests.c:11641:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_FILE_ARCHITECTURE");
data/libguestfs-1.42.0/tests/c-api/tests.c:11685:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("TEST_ONLY");
data/libguestfs-1.42.0/tests/c-api/tests.c:11688:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_FILE_ARCHITECTURE_14");
data/libguestfs-1.42.0/tests/c-api/tests.c:11690:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_FILE_ARCHITECTURE");
data/libguestfs-1.42.0/tests/c-api/tests.c:11734:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("TEST_ONLY");
data/libguestfs-1.42.0/tests/c-api/tests.c:11737:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_FILE_ARCHITECTURE_15");
data/libguestfs-1.42.0/tests/c-api/tests.c:11739:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_FILE_ARCHITECTURE");
data/libguestfs-1.42.0/tests/c-api/tests.c:11783:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("TEST_ONLY");
data/libguestfs-1.42.0/tests/c-api/tests.c:11786:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_FILE_ARCHITECTURE_16");
data/libguestfs-1.42.0/tests/c-api/tests.c:11788:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_FILE_ARCHITECTURE");
data/libguestfs-1.42.0/tests/c-api/tests.c:11832:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("TEST_ONLY");
data/libguestfs-1.42.0/tests/c-api/tests.c:11835:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_FILE_ARCHITECTURE_17");
data/libguestfs-1.42.0/tests/c-api/tests.c:11837:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_FILE_ARCHITECTURE");
data/libguestfs-1.42.0/tests/c-api/tests.c:11881:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("TEST_ONLY");
data/libguestfs-1.42.0/tests/c-api/tests.c:11884:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_FILE_ARCHITECTURE_18");
data/libguestfs-1.42.0/tests/c-api/tests.c:11886:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_FILE_ARCHITECTURE");
data/libguestfs-1.42.0/tests/c-api/tests.c:11930:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("TEST_ONLY");
data/libguestfs-1.42.0/tests/c-api/tests.c:11933:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_FILE_ARCHITECTURE_19");
data/libguestfs-1.42.0/tests/c-api/tests.c:11935:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_FILE_ARCHITECTURE");
data/libguestfs-1.42.0/tests/c-api/tests.c:11979:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("TEST_ONLY");
data/libguestfs-1.42.0/tests/c-api/tests.c:11982:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_FILE_ARCHITECTURE_20");
data/libguestfs-1.42.0/tests/c-api/tests.c:11984:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_FILE_ARCHITECTURE");
data/libguestfs-1.42.0/tests/c-api/tests.c:12028:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("TEST_ONLY");
data/libguestfs-1.42.0/tests/c-api/tests.c:12031:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_FILE_ARCHITECTURE_21");
data/libguestfs-1.42.0/tests/c-api/tests.c:12033:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_FILE_ARCHITECTURE");
data/libguestfs-1.42.0/tests/c-api/tests.c:12077:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("TEST_ONLY");
data/libguestfs-1.42.0/tests/c-api/tests.c:12080:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_FILE_ARCHITECTURE_22");
data/libguestfs-1.42.0/tests/c-api/tests.c:12082:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_FILE_ARCHITECTURE");
data/libguestfs-1.42.0/tests/c-api/tests.c:12126:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("TEST_ONLY");
data/libguestfs-1.42.0/tests/c-api/tests.c:12129:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_FILE_ARCHITECTURE_23");
data/libguestfs-1.42.0/tests/c-api/tests.c:12131:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_FILE_ARCHITECTURE");
data/libguestfs-1.42.0/tests/c-api/tests.c:12175:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("TEST_ONLY");
data/libguestfs-1.42.0/tests/c-api/tests.c:12178:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_FILE_ARCHITECTURE_24");
data/libguestfs-1.42.0/tests/c-api/tests.c:12180:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_FILE_ARCHITECTURE");
data/libguestfs-1.42.0/tests/c-api/tests.c:12224:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("TEST_ONLY");
data/libguestfs-1.42.0/tests/c-api/tests.c:12227:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_FILE_ARCHITECTURE_25");
data/libguestfs-1.42.0/tests/c-api/tests.c:12229:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_FILE_ARCHITECTURE");
data/libguestfs-1.42.0/tests/c-api/tests.c:12273:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("TEST_ONLY");
data/libguestfs-1.42.0/tests/c-api/tests.c:12276:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_FILESIZE_0");
data/libguestfs-1.42.0/tests/c-api/tests.c:12278:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_FILESIZE");
data/libguestfs-1.42.0/tests/c-api/tests.c:12331:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("TEST_ONLY");
data/libguestfs-1.42.0/tests/c-api/tests.c:12334:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_FILL_0");
data/libguestfs-1.42.0/tests/c-api/tests.c:12336:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_FILL");
data/libguestfs-1.42.0/tests/c-api/tests.c:12388:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("TEST_ONLY");
data/libguestfs-1.42.0/tests/c-api/tests.c:12391:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_FILL_PATTERN_0");
data/libguestfs-1.42.0/tests/c-api/tests.c:12393:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_FILL_PATTERN");
data/libguestfs-1.42.0/tests/c-api/tests.c:12446:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("TEST_ONLY");
data/libguestfs-1.42.0/tests/c-api/tests.c:12449:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_FIND_0");
data/libguestfs-1.42.0/tests/c-api/tests.c:12451:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_FIND");
data/libguestfs-1.42.0/tests/c-api/tests.c:12497:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("TEST_ONLY");
data/libguestfs-1.42.0/tests/c-api/tests.c:12500:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_FIND_1");
data/libguestfs-1.42.0/tests/c-api/tests.c:12502:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_FIND");
data/libguestfs-1.42.0/tests/c-api/tests.c:12563:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("TEST_ONLY");
data/libguestfs-1.42.0/tests/c-api/tests.c:12566:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_FIND_2");
data/libguestfs-1.42.0/tests/c-api/tests.c:12568:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_FIND");
data/libguestfs-1.42.0/tests/c-api/tests.c:12624:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("TEST_ONLY");
data/libguestfs-1.42.0/tests/c-api/tests.c:12627:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_FSCK_0");
data/libguestfs-1.42.0/tests/c-api/tests.c:12629:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_FSCK");
data/libguestfs-1.42.0/tests/c-api/tests.c:12685:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("TEST_ONLY");
data/libguestfs-1.42.0/tests/c-api/tests.c:12688:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_FSCK_1");
data/libguestfs-1.42.0/tests/c-api/tests.c:12690:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_FSCK");
data/libguestfs-1.42.0/tests/c-api/tests.c:12751:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("TEST_ONLY");
data/libguestfs-1.42.0/tests/c-api/tests.c:12754:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_GET_ATTACH_METHOD_0");
data/libguestfs-1.42.0/tests/c-api/tests.c:12756:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_GET_ATTACH_METHOD");
data/libguestfs-1.42.0/tests/c-api/tests.c:12794:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("TEST_ONLY");
data/libguestfs-1.42.0/tests/c-api/tests.c:12797:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_GET_AUTOSYNC_0");
data/libguestfs-1.42.0/tests/c-api/tests.c:12799:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_GET_AUTOSYNC");
data/libguestfs-1.42.0/tests/c-api/tests.c:12842:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("TEST_ONLY");
data/libguestfs-1.42.0/tests/c-api/tests.c:12845:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_GET_BACKEND_0");
data/libguestfs-1.42.0/tests/c-api/tests.c:12847:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_GET_BACKEND");
data/libguestfs-1.42.0/tests/c-api/tests.c:12885:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("TEST_ONLY");
data/libguestfs-1.42.0/tests/c-api/tests.c:12888:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_GET_BACKEND_SETTINGS_0");
data/libguestfs-1.42.0/tests/c-api/tests.c:12890:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_GET_BACKEND_SETTINGS");
data/libguestfs-1.42.0/tests/c-api/tests.c:12928:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("TEST_ONLY");
data/libguestfs-1.42.0/tests/c-api/tests.c:12931:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_GET_E2ATTRS_0");
data/libguestfs-1.42.0/tests/c-api/tests.c:12933:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_GET_E2ATTRS");
data/libguestfs-1.42.0/tests/c-api/tests.c:12982:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("TEST_ONLY");
data/libguestfs-1.42.0/tests/c-api/tests.c:12985:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_GET_E2ATTRS_1");
data/libguestfs-1.42.0/tests/c-api/tests.c:12987:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_GET_E2ATTRS");
data/libguestfs-1.42.0/tests/c-api/tests.c:13045:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("TEST_ONLY");
data/libguestfs-1.42.0/tests/c-api/tests.c:13048:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_GET_E2ATTRS_2");
data/libguestfs-1.42.0/tests/c-api/tests.c:13050:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_GET_E2ATTRS");
data/libguestfs-1.42.0/tests/c-api/tests.c:13117:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("TEST_ONLY");
data/libguestfs-1.42.0/tests/c-api/tests.c:13120:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_GET_E2ATTRS_3");
data/libguestfs-1.42.0/tests/c-api/tests.c:13122:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_GET_E2ATTRS");
data/libguestfs-1.42.0/tests/c-api/tests.c:13225:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("TEST_ONLY");
data/libguestfs-1.42.0/tests/c-api/tests.c:13228:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_GET_E2ATTRS_4");
data/libguestfs-1.42.0/tests/c-api/tests.c:13230:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_GET_E2ATTRS");
data/libguestfs-1.42.0/tests/c-api/tests.c:13280:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("TEST_ONLY");
data/libguestfs-1.42.0/tests/c-api/tests.c:13283:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_GET_E2ATTRS_5");
data/libguestfs-1.42.0/tests/c-api/tests.c:13285:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_GET_E2ATTRS");
data/libguestfs-1.42.0/tests/c-api/tests.c:13335:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("TEST_ONLY");
data/libguestfs-1.42.0/tests/c-api/tests.c:13338:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_GET_E2ATTRS_6");
data/libguestfs-1.42.0/tests/c-api/tests.c:13340:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_GET_E2ATTRS");
data/libguestfs-1.42.0/tests/c-api/tests.c:13390:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("TEST_ONLY");
data/libguestfs-1.42.0/tests/c-api/tests.c:13393:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_GET_E2ATTRS_7");
data/libguestfs-1.42.0/tests/c-api/tests.c:13395:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_GET_E2ATTRS");
data/libguestfs-1.42.0/tests/c-api/tests.c:13445:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("TEST_ONLY");
data/libguestfs-1.42.0/tests/c-api/tests.c:13448:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_GET_E2GENERATION_0");
data/libguestfs-1.42.0/tests/c-api/tests.c:13450:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_GET_E2GENERATION");
data/libguestfs-1.42.0/tests/c-api/tests.c:13506:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("TEST_ONLY");
data/libguestfs-1.42.0/tests/c-api/tests.c:13509:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_GET_E2UUID_0");
data/libguestfs-1.42.0/tests/c-api/tests.c:13511:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_GET_E2UUID");
data/libguestfs-1.42.0/tests/c-api/tests.c:13555:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("TEST_ONLY");
data/libguestfs-1.42.0/tests/c-api/tests.c:13558:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_GET_HV_0");
data/libguestfs-1.42.0/tests/c-api/tests.c:13560:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_GET_HV");
data/libguestfs-1.42.0/tests/c-api/tests.c:13598:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("TEST_ONLY");
data/libguestfs-1.42.0/tests/c-api/tests.c:13601:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_GET_IDENTIFIER_0");
data/libguestfs-1.42.0/tests/c-api/tests.c:13603:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_GET_IDENTIFIER");
data/libguestfs-1.42.0/tests/c-api/tests.c:13641:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("TEST_ONLY");
data/libguestfs-1.42.0/tests/c-api/tests.c:13644:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_GET_MEMSIZE_0");
data/libguestfs-1.42.0/tests/c-api/tests.c:13646:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_GET_MEMSIZE");
data/libguestfs-1.42.0/tests/c-api/tests.c:13691:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("TEST_ONLY");
data/libguestfs-1.42.0/tests/c-api/tests.c:13694:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_GET_PATH_0");
data/libguestfs-1.42.0/tests/c-api/tests.c:13696:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_GET_PATH");
data/libguestfs-1.42.0/tests/c-api/tests.c:13734:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("TEST_ONLY");
data/libguestfs-1.42.0/tests/c-api/tests.c:13737:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_GET_PROGRAM_0");
data/libguestfs-1.42.0/tests/c-api/tests.c:13739:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_GET_PROGRAM");
data/libguestfs-1.42.0/tests/c-api/tests.c:13777:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("TEST_ONLY");
data/libguestfs-1.42.0/tests/c-api/tests.c:13780:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_GET_QEMU_0");
data/libguestfs-1.42.0/tests/c-api/tests.c:13782:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_GET_QEMU");
data/libguestfs-1.42.0/tests/c-api/tests.c:13820:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("TEST_ONLY");
data/libguestfs-1.42.0/tests/c-api/tests.c:13823:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_GET_UMASK_0");
data/libguestfs-1.42.0/tests/c-api/tests.c:13825:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_GET_UMASK");
data/libguestfs-1.42.0/tests/c-api/tests.c:13870:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("TEST_ONLY");
data/libguestfs-1.42.0/tests/c-api/tests.c:13873:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_GLOB_EXPAND_0");
data/libguestfs-1.42.0/tests/c-api/tests.c:13875:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_GLOB_EXPAND");
data/libguestfs-1.42.0/tests/c-api/tests.c:13938:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("TEST_ONLY");
data/libguestfs-1.42.0/tests/c-api/tests.c:13941:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_GLOB_EXPAND_1");
data/libguestfs-1.42.0/tests/c-api/tests.c:13943:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_GLOB_EXPAND");
data/libguestfs-1.42.0/tests/c-api/tests.c:14006:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("TEST_ONLY");
data/libguestfs-1.42.0/tests/c-api/tests.c:14009:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_GLOB_EXPAND_2");
data/libguestfs-1.42.0/tests/c-api/tests.c:14011:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_GLOB_EXPAND");
data/libguestfs-1.42.0/tests/c-api/tests.c:14074:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("TEST_ONLY");
data/libguestfs-1.42.0/tests/c-api/tests.c:14077:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_GLOB_EXPAND_3");
data/libguestfs-1.42.0/tests/c-api/tests.c:14079:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_GLOB_EXPAND");
data/libguestfs-1.42.0/tests/c-api/tests.c:14143:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("TEST_ONLY");
data/libguestfs-1.42.0/tests/c-api/tests.c:14146:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_GREP_0");
data/libguestfs-1.42.0/tests/c-api/tests.c:14148:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_GREP");
data/libguestfs-1.42.0/tests/c-api/tests.c:14197:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("TEST_ONLY");
data/libguestfs-1.42.0/tests/c-api/tests.c:14200:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_GREP_1");
data/libguestfs-1.42.0/tests/c-api/tests.c:14202:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_GREP");
data/libguestfs-1.42.0/tests/c-api/tests.c:14251:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("TEST_ONLY");
data/libguestfs-1.42.0/tests/c-api/tests.c:14254:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_GREP_2");
data/libguestfs-1.42.0/tests/c-api/tests.c:14256:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_GREP");
data/libguestfs-1.42.0/tests/c-api/tests.c:14305:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("TEST_ONLY");
data/libguestfs-1.42.0/tests/c-api/tests.c:14308:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_GREP_3");
data/libguestfs-1.42.0/tests/c-api/tests.c:14310:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_GREP");
data/libguestfs-1.42.0/tests/c-api/tests.c:14360:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("TEST_ONLY");
data/libguestfs-1.42.0/tests/c-api/tests.c:14363:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_GREP_4");
data/libguestfs-1.42.0/tests/c-api/tests.c:14365:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_GREP");
data/libguestfs-1.42.0/tests/c-api/tests.c:14415:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("TEST_ONLY");
data/libguestfs-1.42.0/tests/c-api/tests.c:14418:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_GREP_5");
data/libguestfs-1.42.0/tests/c-api/tests.c:14420:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_GREP");
data/libguestfs-1.42.0/tests/c-api/tests.c:14470:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("TEST_ONLY");
data/libguestfs-1.42.0/tests/c-api/tests.c:14473:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_GREP_6");
data/libguestfs-1.42.0/tests/c-api/tests.c:14475:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_GREP");
data/libguestfs-1.42.0/tests/c-api/tests.c:14526:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("TEST_ONLY");
data/libguestfs-1.42.0/tests/c-api/tests.c:14529:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_GREP_7");
data/libguestfs-1.42.0/tests/c-api/tests.c:14531:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_GREP");
data/libguestfs-1.42.0/tests/c-api/tests.c:14582:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("TEST_ONLY");
data/libguestfs-1.42.0/tests/c-api/tests.c:14585:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_GREP_8");
data/libguestfs-1.42.0/tests/c-api/tests.c:14587:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_GREP");
data/libguestfs-1.42.0/tests/c-api/tests.c:14637:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("TEST_ONLY");
data/libguestfs-1.42.0/tests/c-api/tests.c:14640:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_GREP_9");
data/libguestfs-1.42.0/tests/c-api/tests.c:14642:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_GREP");
data/libguestfs-1.42.0/tests/c-api/tests.c:14693:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("TEST_ONLY");
data/libguestfs-1.42.0/tests/c-api/tests.c:14696:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_GREP_10");
data/libguestfs-1.42.0/tests/c-api/tests.c:14698:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_GREP");
data/libguestfs-1.42.0/tests/c-api/tests.c:14749:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("TEST_ONLY");
data/libguestfs-1.42.0/tests/c-api/tests.c:14752:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_GREP_11");
data/libguestfs-1.42.0/tests/c-api/tests.c:14754:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_GREP");
data/libguestfs-1.42.0/tests/c-api/tests.c:14805:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("TEST_ONLY");
data/libguestfs-1.42.0/tests/c-api/tests.c:14808:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_GREP_12");
data/libguestfs-1.42.0/tests/c-api/tests.c:14810:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_GREP");
data/libguestfs-1.42.0/tests/c-api/tests.c:14862:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("TEST_ONLY");
data/libguestfs-1.42.0/tests/c-api/tests.c:14865:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_GREP_13");
data/libguestfs-1.42.0/tests/c-api/tests.c:14867:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_GREP");
data/libguestfs-1.42.0/tests/c-api/tests.c:14919:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("TEST_ONLY");
data/libguestfs-1.42.0/tests/c-api/tests.c:14922:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_GREPI_0");
data/libguestfs-1.42.0/tests/c-api/tests.c:14924:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_GREPI");
data/libguestfs-1.42.0/tests/c-api/tests.c:14978:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("TEST_ONLY");
data/libguestfs-1.42.0/tests/c-api/tests.c:14981:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_GRUB_INSTALL_0");
data/libguestfs-1.42.0/tests/c-api/tests.c:14983:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_GRUB_INSTALL");
data/libguestfs-1.42.0/tests/c-api/tests.c:15047:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("TEST_ONLY");
data/libguestfs-1.42.0/tests/c-api/tests.c:15050:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_HEAD_0");
data/libguestfs-1.42.0/tests/c-api/tests.c:15052:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_HEAD");
data/libguestfs-1.42.0/tests/c-api/tests.c:15098:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("TEST_ONLY");
data/libguestfs-1.42.0/tests/c-api/tests.c:15101:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_HEAD_1");
data/libguestfs-1.42.0/tests/c-api/tests.c:15103:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_HEAD");
data/libguestfs-1.42.0/tests/c-api/tests.c:15149:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("TEST_ONLY");
data/libguestfs-1.42.0/tests/c-api/tests.c:15152:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_HEAD_N_0");
data/libguestfs-1.42.0/tests/c-api/tests.c:15154:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_HEAD_N");
data/libguestfs-1.42.0/tests/c-api/tests.c:15200:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("TEST_ONLY");
data/libguestfs-1.42.0/tests/c-api/tests.c:15203:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_HEAD_N_1");
data/libguestfs-1.42.0/tests/c-api/tests.c:15205:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_HEAD_N");
data/libguestfs-1.42.0/tests/c-api/tests.c:15251:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("TEST_ONLY");
data/libguestfs-1.42.0/tests/c-api/tests.c:15254:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_HEAD_N_2");
data/libguestfs-1.42.0/tests/c-api/tests.c:15256:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_HEAD_N");
data/libguestfs-1.42.0/tests/c-api/tests.c:15302:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("TEST_ONLY");
data/libguestfs-1.42.0/tests/c-api/tests.c:15305:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_HEXDUMP_0");
data/libguestfs-1.42.0/tests/c-api/tests.c:15307:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_HEXDUMP");
data/libguestfs-1.42.0/tests/c-api/tests.c:15351:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("TEST_ONLY");
data/libguestfs-1.42.0/tests/c-api/tests.c:15354:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_HEXDUMP_1");
data/libguestfs-1.42.0/tests/c-api/tests.c:15356:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_HEXDUMP");
data/libguestfs-1.42.0/tests/c-api/tests.c:15395:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("TEST_ONLY");
data/libguestfs-1.42.0/tests/c-api/tests.c:15398:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_HEXDUMP_2");
data/libguestfs-1.42.0/tests/c-api/tests.c:15400:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_HEXDUMP");
data/libguestfs-1.42.0/tests/c-api/tests.c:15453:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("TEST_ONLY");
data/libguestfs-1.42.0/tests/c-api/tests.c:15456:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_HIVEX_COMMIT_0");
data/libguestfs-1.42.0/tests/c-api/tests.c:15458:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_HIVEX_COMMIT");
data/libguestfs-1.42.0/tests/c-api/tests.c:15534:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("TEST_ONLY");
data/libguestfs-1.42.0/tests/c-api/tests.c:15537:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_HIVEX_COMMIT_1");
data/libguestfs-1.42.0/tests/c-api/tests.c:15539:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_HIVEX_COMMIT");
data/libguestfs-1.42.0/tests/c-api/tests.c:15629:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("TEST_ONLY");
data/libguestfs-1.42.0/tests/c-api/tests.c:15632:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_HIVEX_OPEN_0");
data/libguestfs-1.42.0/tests/c-api/tests.c:15634:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_HIVEX_OPEN");
data/libguestfs-1.42.0/tests/c-api/tests.c:15708:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("TEST_ONLY");
data/libguestfs-1.42.0/tests/c-api/tests.c:15711:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_INITRD_CAT_0");
data/libguestfs-1.42.0/tests/c-api/tests.c:15713:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_INITRD_CAT");
data/libguestfs-1.42.0/tests/c-api/tests.c:15761:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("TEST_ONLY");
data/libguestfs-1.42.0/tests/c-api/tests.c:15764:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_INITRD_LIST_0");
data/libguestfs-1.42.0/tests/c-api/tests.c:15766:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_INITRD_LIST");
data/libguestfs-1.42.0/tests/c-api/tests.c:15819:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("TEST_ONLY");
data/libguestfs-1.42.0/tests/c-api/tests.c:15822:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_INOTIFY_ADD_WATCH_0");
data/libguestfs-1.42.0/tests/c-api/tests.c:15824:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_INOTIFY_ADD_WATCH");
data/libguestfs-1.42.0/tests/c-api/tests.c:15900:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("TEST_ONLY");
data/libguestfs-1.42.0/tests/c-api/tests.c:15903:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_INOTIFY_INIT_0");
data/libguestfs-1.42.0/tests/c-api/tests.c:15905:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_INOTIFY_INIT");
data/libguestfs-1.42.0/tests/c-api/tests.c:15943:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("TEST_ONLY");
data/libguestfs-1.42.0/tests/c-api/tests.c:15946:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_INTERNAL_WRITE_0");
data/libguestfs-1.42.0/tests/c-api/tests.c:15948:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_INTERNAL_WRITE");
data/libguestfs-1.42.0/tests/c-api/tests.c:15999:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("TEST_ONLY");
data/libguestfs-1.42.0/tests/c-api/tests.c:16002:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_INTERNAL_WRITE_1");
data/libguestfs-1.42.0/tests/c-api/tests.c:16004:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_INTERNAL_WRITE");
data/libguestfs-1.42.0/tests/c-api/tests.c:16055:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("TEST_ONLY");
data/libguestfs-1.42.0/tests/c-api/tests.c:16058:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_INTERNAL_WRITE_2");
data/libguestfs-1.42.0/tests/c-api/tests.c:16060:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_INTERNAL_WRITE");
data/libguestfs-1.42.0/tests/c-api/tests.c:16111:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("TEST_ONLY");
data/libguestfs-1.42.0/tests/c-api/tests.c:16114:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_INTERNAL_WRITE_3");
data/libguestfs-1.42.0/tests/c-api/tests.c:16116:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_INTERNAL_WRITE");
data/libguestfs-1.42.0/tests/c-api/tests.c:16167:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("TEST_ONLY");
data/libguestfs-1.42.0/tests/c-api/tests.c:16170:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_INTERNAL_WRITE_4");
data/libguestfs-1.42.0/tests/c-api/tests.c:16172:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_INTERNAL_WRITE");
data/libguestfs-1.42.0/tests/c-api/tests.c:16223:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("TEST_ONLY");
data/libguestfs-1.42.0/tests/c-api/tests.c:16226:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_INTERNAL_WRITE_5");
data/libguestfs-1.42.0/tests/c-api/tests.c:16228:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_INTERNAL_WRITE");
data/libguestfs-1.42.0/tests/c-api/tests.c:16279:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("TEST_ONLY");
data/libguestfs-1.42.0/tests/c-api/tests.c:16282:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_INTERNAL_WRITE_APPEND_0");
data/libguestfs-1.42.0/tests/c-api/tests.c:16284:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_INTERNAL_WRITE_APPEND");
data/libguestfs-1.42.0/tests/c-api/tests.c:16356:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("TEST_ONLY");
data/libguestfs-1.42.0/tests/c-api/tests.c:16359:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_IS_BLOCKDEV_0");
data/libguestfs-1.42.0/tests/c-api/tests.c:16361:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_IS_BLOCKDEV");
data/libguestfs-1.42.0/tests/c-api/tests.c:16407:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("TEST_ONLY");
data/libguestfs-1.42.0/tests/c-api/tests.c:16410:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_IS_BLOCKDEV_1");
data/libguestfs-1.42.0/tests/c-api/tests.c:16412:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_IS_BLOCKDEV");
data/libguestfs-1.42.0/tests/c-api/tests.c:16463:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("TEST_ONLY");
data/libguestfs-1.42.0/tests/c-api/tests.c:16466:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_IS_BUSY_0");
data/libguestfs-1.42.0/tests/c-api/tests.c:16468:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_IS_BUSY");
data/libguestfs-1.42.0/tests/c-api/tests.c:16511:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("TEST_ONLY");
data/libguestfs-1.42.0/tests/c-api/tests.c:16514:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_IS_CHARDEV_0");
data/libguestfs-1.42.0/tests/c-api/tests.c:16516:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_IS_CHARDEV");
data/libguestfs-1.42.0/tests/c-api/tests.c:16562:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("TEST_ONLY");
data/libguestfs-1.42.0/tests/c-api/tests.c:16565:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_IS_CHARDEV_1");
data/libguestfs-1.42.0/tests/c-api/tests.c:16567:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_IS_CHARDEV");
data/libguestfs-1.42.0/tests/c-api/tests.c:16618:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("TEST_ONLY");
data/libguestfs-1.42.0/tests/c-api/tests.c:16621:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_IS_CONFIG_0");
data/libguestfs-1.42.0/tests/c-api/tests.c:16623:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_IS_CONFIG");
data/libguestfs-1.42.0/tests/c-api/tests.c:16666:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("TEST_ONLY");
data/libguestfs-1.42.0/tests/c-api/tests.c:16669:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_IS_DIR_0");
data/libguestfs-1.42.0/tests/c-api/tests.c:16671:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_IS_DIR");
data/libguestfs-1.42.0/tests/c-api/tests.c:16717:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("TEST_ONLY");
data/libguestfs-1.42.0/tests/c-api/tests.c:16720:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_IS_DIR_1");
data/libguestfs-1.42.0/tests/c-api/tests.c:16722:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_IS_DIR");
data/libguestfs-1.42.0/tests/c-api/tests.c:16768:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("TEST_ONLY");
data/libguestfs-1.42.0/tests/c-api/tests.c:16771:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_IS_FIFO_0");
data/libguestfs-1.42.0/tests/c-api/tests.c:16773:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_IS_FIFO");
data/libguestfs-1.42.0/tests/c-api/tests.c:16819:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("TEST_ONLY");
data/libguestfs-1.42.0/tests/c-api/tests.c:16822:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_IS_FIFO_1");
data/libguestfs-1.42.0/tests/c-api/tests.c:16824:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_IS_FIFO");
data/libguestfs-1.42.0/tests/c-api/tests.c:16875:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("TEST_ONLY");
data/libguestfs-1.42.0/tests/c-api/tests.c:16878:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_IS_FILE_0");
data/libguestfs-1.42.0/tests/c-api/tests.c:16880:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_IS_FILE");
data/libguestfs-1.42.0/tests/c-api/tests.c:16926:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("TEST_ONLY");
data/libguestfs-1.42.0/tests/c-api/tests.c:16929:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_IS_FILE_1");
data/libguestfs-1.42.0/tests/c-api/tests.c:16931:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_IS_FILE");
data/libguestfs-1.42.0/tests/c-api/tests.c:16977:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("TEST_ONLY");
data/libguestfs-1.42.0/tests/c-api/tests.c:16980:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_IS_FILE_2");
data/libguestfs-1.42.0/tests/c-api/tests.c:16982:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_IS_FILE");
data/libguestfs-1.42.0/tests/c-api/tests.c:17029:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("TEST_ONLY");
data/libguestfs-1.42.0/tests/c-api/tests.c:17032:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_IS_LAUNCHING_0");
data/libguestfs-1.42.0/tests/c-api/tests.c:17034:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_IS_LAUNCHING");
data/libguestfs-1.42.0/tests/c-api/tests.c:17077:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("TEST_ONLY");
data/libguestfs-1.42.0/tests/c-api/tests.c:17080:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_IS_LV_0");
data/libguestfs-1.42.0/tests/c-api/tests.c:17082:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_IS_LV");
data/libguestfs-1.42.0/tests/c-api/tests.c:17126:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("TEST_ONLY");
data/libguestfs-1.42.0/tests/c-api/tests.c:17129:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_IS_LV_1");
data/libguestfs-1.42.0/tests/c-api/tests.c:17131:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_IS_LV");
data/libguestfs-1.42.0/tests/c-api/tests.c:17175:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("TEST_ONLY");
data/libguestfs-1.42.0/tests/c-api/tests.c:17178:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_IS_READY_0");
data/libguestfs-1.42.0/tests/c-api/tests.c:17180:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_IS_READY");
data/libguestfs-1.42.0/tests/c-api/tests.c:17223:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("TEST_ONLY");
data/libguestfs-1.42.0/tests/c-api/tests.c:17226:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_IS_SOCKET_0");
data/libguestfs-1.42.0/tests/c-api/tests.c:17228:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_IS_SOCKET");
data/libguestfs-1.42.0/tests/c-api/tests.c:17274:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("TEST_ONLY");
data/libguestfs-1.42.0/tests/c-api/tests.c:17277:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_IS_SYMLINK_0");
data/libguestfs-1.42.0/tests/c-api/tests.c:17279:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_IS_SYMLINK");
data/libguestfs-1.42.0/tests/c-api/tests.c:17323:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("TEST_ONLY");
data/libguestfs-1.42.0/tests/c-api/tests.c:17326:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_IS_SYMLINK_1");
data/libguestfs-1.42.0/tests/c-api/tests.c:17328:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_IS_SYMLINK");
data/libguestfs-1.42.0/tests/c-api/tests.c:17372:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("TEST_ONLY");
data/libguestfs-1.42.0/tests/c-api/tests.c:17375:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_IS_WHOLE_DEVICE_0");
data/libguestfs-1.42.0/tests/c-api/tests.c:17377:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_IS_WHOLE_DEVICE");
data/libguestfs-1.42.0/tests/c-api/tests.c:17421:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("TEST_ONLY");
data/libguestfs-1.42.0/tests/c-api/tests.c:17424:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_IS_WHOLE_DEVICE_1");
data/libguestfs-1.42.0/tests/c-api/tests.c:17426:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_IS_WHOLE_DEVICE");
data/libguestfs-1.42.0/tests/c-api/tests.c:17470:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("TEST_ONLY");
data/libguestfs-1.42.0/tests/c-api/tests.c:17473:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_IS_WHOLE_DEVICE_2");
data/libguestfs-1.42.0/tests/c-api/tests.c:17475:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_IS_WHOLE_DEVICE");
data/libguestfs-1.42.0/tests/c-api/tests.c:17519:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("TEST_ONLY");
data/libguestfs-1.42.0/tests/c-api/tests.c:17522:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_IS_ZERO_0");
data/libguestfs-1.42.0/tests/c-api/tests.c:17524:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_IS_ZERO");
data/libguestfs-1.42.0/tests/c-api/tests.c:17568:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("TEST_ONLY");
data/libguestfs-1.42.0/tests/c-api/tests.c:17571:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_IS_ZERO_1");
data/libguestfs-1.42.0/tests/c-api/tests.c:17573:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_IS_ZERO");
data/libguestfs-1.42.0/tests/c-api/tests.c:17617:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("TEST_ONLY");
data/libguestfs-1.42.0/tests/c-api/tests.c:17620:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_IS_ZERO_DEVICE_0");
data/libguestfs-1.42.0/tests/c-api/tests.c:17622:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_IS_ZERO_DEVICE");
data/libguestfs-1.42.0/tests/c-api/tests.c:17680:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("TEST_ONLY");
data/libguestfs-1.42.0/tests/c-api/tests.c:17683:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_IS_ZERO_DEVICE_1");
data/libguestfs-1.42.0/tests/c-api/tests.c:17685:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_IS_ZERO_DEVICE");
data/libguestfs-1.42.0/tests/c-api/tests.c:17729:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("TEST_ONLY");
data/libguestfs-1.42.0/tests/c-api/tests.c:17732:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_ISOINFO_DEVICE_0");
data/libguestfs-1.42.0/tests/c-api/tests.c:17734:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_ISOINFO_DEVICE");
data/libguestfs-1.42.0/tests/c-api/tests.c:17780:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("TEST_ONLY");
data/libguestfs-1.42.0/tests/c-api/tests.c:17783:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_LIST_DEVICES_0");
data/libguestfs-1.42.0/tests/c-api/tests.c:17785:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_LIST_DEVICES");
data/libguestfs-1.42.0/tests/c-api/tests.c:17830:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("TEST_ONLY");
data/libguestfs-1.42.0/tests/c-api/tests.c:17833:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_LIST_DISK_LABELS_0");
data/libguestfs-1.42.0/tests/c-api/tests.c:17835:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_LIST_DISK_LABELS");
data/libguestfs-1.42.0/tests/c-api/tests.c:17880:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("TEST_ONLY");
data/libguestfs-1.42.0/tests/c-api/tests.c:17883:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_LIST_PARTITIONS_0");
data/libguestfs-1.42.0/tests/c-api/tests.c:17885:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_LIST_PARTITIONS");
data/libguestfs-1.42.0/tests/c-api/tests.c:17930:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("TEST_ONLY");
data/libguestfs-1.42.0/tests/c-api/tests.c:17933:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_LIST_PARTITIONS_1");
data/libguestfs-1.42.0/tests/c-api/tests.c:17935:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_LIST_PARTITIONS");
data/libguestfs-1.42.0/tests/c-api/tests.c:18004:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("TEST_ONLY");
data/libguestfs-1.42.0/tests/c-api/tests.c:18007:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_LN_0");
data/libguestfs-1.42.0/tests/c-api/tests.c:18009:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_LN");
data/libguestfs-1.42.0/tests/c-api/tests.c:18071:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("TEST_ONLY");
data/libguestfs-1.42.0/tests/c-api/tests.c:18074:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_LN_F_0");
data/libguestfs-1.42.0/tests/c-api/tests.c:18076:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_LN_F");
data/libguestfs-1.42.0/tests/c-api/tests.c:18143:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("TEST_ONLY");
data/libguestfs-1.42.0/tests/c-api/tests.c:18146:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_LN_S_0");
data/libguestfs-1.42.0/tests/c-api/tests.c:18148:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_LN_S");
data/libguestfs-1.42.0/tests/c-api/tests.c:18210:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("TEST_ONLY");
data/libguestfs-1.42.0/tests/c-api/tests.c:18213:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_LN_SF_0");
data/libguestfs-1.42.0/tests/c-api/tests.c:18215:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_LN_SF");
data/libguestfs-1.42.0/tests/c-api/tests.c:18275:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("TEST_ONLY");
data/libguestfs-1.42.0/tests/c-api/tests.c:18278:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_LS_0");
data/libguestfs-1.42.0/tests/c-api/tests.c:18280:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_LS");
data/libguestfs-1.42.0/tests/c-api/tests.c:18346:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("TEST_ONLY");
data/libguestfs-1.42.0/tests/c-api/tests.c:18349:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_LSTAT_0");
data/libguestfs-1.42.0/tests/c-api/tests.c:18351:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_LSTAT");
data/libguestfs-1.42.0/tests/c-api/tests.c:18397:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("TEST_ONLY");
data/libguestfs-1.42.0/tests/c-api/tests.c:18400:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_LSTATNS_0");
data/libguestfs-1.42.0/tests/c-api/tests.c:18402:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_LSTATNS");
data/libguestfs-1.42.0/tests/c-api/tests.c:18455:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("TEST_ONLY");
data/libguestfs-1.42.0/tests/c-api/tests.c:18458:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_LVCREATE_0");
data/libguestfs-1.42.0/tests/c-api/tests.c:18460:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_LVCREATE");
data/libguestfs-1.42.0/tests/c-api/tests.c:18603:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("TEST_ONLY");
data/libguestfs-1.42.0/tests/c-api/tests.c:18606:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_LVCREATE_FREE_0");
data/libguestfs-1.42.0/tests/c-api/tests.c:18608:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_LVCREATE_FREE");
data/libguestfs-1.42.0/tests/c-api/tests.c:18705:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("TEST_ONLY");
data/libguestfs-1.42.0/tests/c-api/tests.c:18708:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_LVM_CANONICAL_LV_NAME_0");
data/libguestfs-1.42.0/tests/c-api/tests.c:18710:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_LVM_CANONICAL_LV_NAME");
data/libguestfs-1.42.0/tests/c-api/tests.c:18761:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("TEST_ONLY");
data/libguestfs-1.42.0/tests/c-api/tests.c:18764:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_LVM_CANONICAL_LV_NAME_1");
data/libguestfs-1.42.0/tests/c-api/tests.c:18766:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_LVM_CANONICAL_LV_NAME");
data/libguestfs-1.42.0/tests/c-api/tests.c:18810:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("TEST_ONLY");
data/libguestfs-1.42.0/tests/c-api/tests.c:18813:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_LVM_SCAN_0");
data/libguestfs-1.42.0/tests/c-api/tests.c:18815:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_LVM_SCAN");
data/libguestfs-1.42.0/tests/c-api/tests.c:18860:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("TEST_ONLY");
data/libguestfs-1.42.0/tests/c-api/tests.c:18863:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_LVREMOVE_0");
data/libguestfs-1.42.0/tests/c-api/tests.c:18865:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_LVREMOVE");
data/libguestfs-1.42.0/tests/c-api/tests.c:18955:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("TEST_ONLY");
data/libguestfs-1.42.0/tests/c-api/tests.c:18958:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_LVREMOVE_1");
data/libguestfs-1.42.0/tests/c-api/tests.c:18960:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_LVREMOVE");
data/libguestfs-1.42.0/tests/c-api/tests.c:19050:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("TEST_ONLY");
data/libguestfs-1.42.0/tests/c-api/tests.c:19053:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_LVREMOVE_2");
data/libguestfs-1.42.0/tests/c-api/tests.c:19055:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_LVREMOVE");
data/libguestfs-1.42.0/tests/c-api/tests.c:19138:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("TEST_ONLY");
data/libguestfs-1.42.0/tests/c-api/tests.c:19141:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_LVRENAME_0");
data/libguestfs-1.42.0/tests/c-api/tests.c:19143:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_LVRENAME");
data/libguestfs-1.42.0/tests/c-api/tests.c:19201:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("TEST_ONLY");
data/libguestfs-1.42.0/tests/c-api/tests.c:19204:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_LVRESIZE_0");
data/libguestfs-1.42.0/tests/c-api/tests.c:19206:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_LVRESIZE");
data/libguestfs-1.42.0/tests/c-api/tests.c:19353:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("TEST_ONLY");
data/libguestfs-1.42.0/tests/c-api/tests.c:19356:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_LVRESIZE_1");
data/libguestfs-1.42.0/tests/c-api/tests.c:19358:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_LVRESIZE");
data/libguestfs-1.42.0/tests/c-api/tests.c:19431:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("TEST_ONLY");
data/libguestfs-1.42.0/tests/c-api/tests.c:19434:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_LVRESIZE_FREE_0");
data/libguestfs-1.42.0/tests/c-api/tests.c:19436:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_LVRESIZE_FREE");
data/libguestfs-1.42.0/tests/c-api/tests.c:19509:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("TEST_ONLY");
data/libguestfs-1.42.0/tests/c-api/tests.c:19512:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_LVS_0");
data/libguestfs-1.42.0/tests/c-api/tests.c:19514:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_LVS");
data/libguestfs-1.42.0/tests/c-api/tests.c:19566:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("TEST_ONLY");
data/libguestfs-1.42.0/tests/c-api/tests.c:19569:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_LVS_1");
data/libguestfs-1.42.0/tests/c-api/tests.c:19571:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_LVS");
data/libguestfs-1.42.0/tests/c-api/tests.c:19695:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("TEST_ONLY");
data/libguestfs-1.42.0/tests/c-api/tests.c:19698:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_MKDIR_0");
data/libguestfs-1.42.0/tests/c-api/tests.c:19700:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_MKDIR");
data/libguestfs-1.42.0/tests/c-api/tests.c:19751:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("TEST_ONLY");
data/libguestfs-1.42.0/tests/c-api/tests.c:19754:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_MKDIR_1");
data/libguestfs-1.42.0/tests/c-api/tests.c:19756:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_MKDIR");
data/libguestfs-1.42.0/tests/c-api/tests.c:19797:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("TEST_ONLY");
data/libguestfs-1.42.0/tests/c-api/tests.c:19800:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_MKDIR_MODE_0");
data/libguestfs-1.42.0/tests/c-api/tests.c:19802:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_MKDIR_MODE");
data/libguestfs-1.42.0/tests/c-api/tests.c:19853:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("TEST_ONLY");
data/libguestfs-1.42.0/tests/c-api/tests.c:19856:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_MKDIR_P_0");
data/libguestfs-1.42.0/tests/c-api/tests.c:19858:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_MKDIR_P");
data/libguestfs-1.42.0/tests/c-api/tests.c:19909:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("TEST_ONLY");
data/libguestfs-1.42.0/tests/c-api/tests.c:19912:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_MKDIR_P_1");
data/libguestfs-1.42.0/tests/c-api/tests.c:19914:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_MKDIR_P");
data/libguestfs-1.42.0/tests/c-api/tests.c:19965:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("TEST_ONLY");
data/libguestfs-1.42.0/tests/c-api/tests.c:19968:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_MKDIR_P_2");
data/libguestfs-1.42.0/tests/c-api/tests.c:19970:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_MKDIR_P");
data/libguestfs-1.42.0/tests/c-api/tests.c:20021:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("TEST_ONLY");
data/libguestfs-1.42.0/tests/c-api/tests.c:20024:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_MKDIR_P_3");
data/libguestfs-1.42.0/tests/c-api/tests.c:20026:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_MKDIR_P");
data/libguestfs-1.42.0/tests/c-api/tests.c:20070:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("TEST_ONLY");
data/libguestfs-1.42.0/tests/c-api/tests.c:20073:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_MKDIR_P_4");
data/libguestfs-1.42.0/tests/c-api/tests.c:20075:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_MKDIR_P");
data/libguestfs-1.42.0/tests/c-api/tests.c:20121:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("TEST_ONLY");
data/libguestfs-1.42.0/tests/c-api/tests.c:20124:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_MKDTEMP_0");
data/libguestfs-1.42.0/tests/c-api/tests.c:20126:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_MKDTEMP");
data/libguestfs-1.42.0/tests/c-api/tests.c:20170:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("TEST_ONLY");
data/libguestfs-1.42.0/tests/c-api/tests.c:20173:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_MKE2FS_0");
data/libguestfs-1.42.0/tests/c-api/tests.c:20175:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_MKE2FS");
data/libguestfs-1.42.0/tests/c-api/tests.c:20269:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("TEST_ONLY");
data/libguestfs-1.42.0/tests/c-api/tests.c:20272:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_MKE2FS_1");
data/libguestfs-1.42.0/tests/c-api/tests.c:20274:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_MKE2FS");
data/libguestfs-1.42.0/tests/c-api/tests.c:20372:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("TEST_ONLY");
data/libguestfs-1.42.0/tests/c-api/tests.c:20375:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_MKE2FS_2");
data/libguestfs-1.42.0/tests/c-api/tests.c:20377:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_MKE2FS");
data/libguestfs-1.42.0/tests/c-api/tests.c:20474:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("TEST_ONLY");
data/libguestfs-1.42.0/tests/c-api/tests.c:20477:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_MKE2JOURNAL_0");
data/libguestfs-1.42.0/tests/c-api/tests.c:20479:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_MKE2JOURNAL");
data/libguestfs-1.42.0/tests/c-api/tests.c:20566:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("TEST_ONLY");
data/libguestfs-1.42.0/tests/c-api/tests.c:20569:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_MKE2JOURNAL_L_0");
data/libguestfs-1.42.0/tests/c-api/tests.c:20571:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_MKE2JOURNAL_L");
data/libguestfs-1.42.0/tests/c-api/tests.c:20666:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("TEST_ONLY");
data/libguestfs-1.42.0/tests/c-api/tests.c:20669:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_MKE2JOURNAL_U_0");
data/libguestfs-1.42.0/tests/c-api/tests.c:20671:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_MKE2JOURNAL_U");
data/libguestfs-1.42.0/tests/c-api/tests.c:20766:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("TEST_ONLY");
data/libguestfs-1.42.0/tests/c-api/tests.c:20769:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_MKFIFO_0");
data/libguestfs-1.42.0/tests/c-api/tests.c:20771:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_MKFIFO");
data/libguestfs-1.42.0/tests/c-api/tests.c:20829:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("TEST_ONLY");
data/libguestfs-1.42.0/tests/c-api/tests.c:20832:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_MKFIFO_1");
data/libguestfs-1.42.0/tests/c-api/tests.c:20834:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_MKFIFO");
data/libguestfs-1.42.0/tests/c-api/tests.c:20875:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("TEST_ONLY");
data/libguestfs-1.42.0/tests/c-api/tests.c:20878:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_MKFS_0");
data/libguestfs-1.42.0/tests/c-api/tests.c:20880:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_MKFS");
data/libguestfs-1.42.0/tests/c-api/tests.c:20951:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("TEST_ONLY");
data/libguestfs-1.42.0/tests/c-api/tests.c:20954:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_MKFS_B_0");
data/libguestfs-1.42.0/tests/c-api/tests.c:20956:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_MKFS_B");
data/libguestfs-1.42.0/tests/c-api/tests.c:21025:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("TEST_ONLY");
data/libguestfs-1.42.0/tests/c-api/tests.c:21028:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_MKFS_B_1");
data/libguestfs-1.42.0/tests/c-api/tests.c:21030:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_MKFS_B");
data/libguestfs-1.42.0/tests/c-api/tests.c:21082:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("TEST_ONLY");
data/libguestfs-1.42.0/tests/c-api/tests.c:21085:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_MKFS_B_2");
data/libguestfs-1.42.0/tests/c-api/tests.c:21087:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_MKFS_B");
data/libguestfs-1.42.0/tests/c-api/tests.c:21141:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("TEST_ONLY");
data/libguestfs-1.42.0/tests/c-api/tests.c:21144:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_MKFS_B_3");
data/libguestfs-1.42.0/tests/c-api/tests.c:21146:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_MKFS_B");
data/libguestfs-1.42.0/tests/c-api/tests.c:21207:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("TEST_ONLY");
data/libguestfs-1.42.0/tests/c-api/tests.c:21210:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_MKFS_B_4");
data/libguestfs-1.42.0/tests/c-api/tests.c:21212:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_MKFS_B");
data/libguestfs-1.42.0/tests/c-api/tests.c:21265:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("TEST_ONLY");
data/libguestfs-1.42.0/tests/c-api/tests.c:21268:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_MKFS_BTRFS_0");
data/libguestfs-1.42.0/tests/c-api/tests.c:21270:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_MKFS_BTRFS");
data/libguestfs-1.42.0/tests/c-api/tests.c:21328:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("TEST_ONLY");
data/libguestfs-1.42.0/tests/c-api/tests.c:21331:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_MKLOST_AND_FOUND_0");
data/libguestfs-1.42.0/tests/c-api/tests.c:21333:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_MKLOST_AND_FOUND");
data/libguestfs-1.42.0/tests/c-api/tests.c:21384:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("TEST_ONLY");
data/libguestfs-1.42.0/tests/c-api/tests.c:21387:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_MKNOD_0");
data/libguestfs-1.42.0/tests/c-api/tests.c:21389:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_MKNOD");
data/libguestfs-1.42.0/tests/c-api/tests.c:21447:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("TEST_ONLY");
data/libguestfs-1.42.0/tests/c-api/tests.c:21450:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_MKNOD_1");
data/libguestfs-1.42.0/tests/c-api/tests.c:21452:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_MKNOD");
data/libguestfs-1.42.0/tests/c-api/tests.c:21510:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("TEST_ONLY");
data/libguestfs-1.42.0/tests/c-api/tests.c:21513:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_MKNOD_B_0");
data/libguestfs-1.42.0/tests/c-api/tests.c:21515:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_MKNOD_B");
data/libguestfs-1.42.0/tests/c-api/tests.c:21573:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("TEST_ONLY");
data/libguestfs-1.42.0/tests/c-api/tests.c:21576:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_MKNOD_B_1");
data/libguestfs-1.42.0/tests/c-api/tests.c:21578:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_MKNOD_B");
data/libguestfs-1.42.0/tests/c-api/tests.c:21626:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("TEST_ONLY");
data/libguestfs-1.42.0/tests/c-api/tests.c:21629:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_MKNOD_C_0");
data/libguestfs-1.42.0/tests/c-api/tests.c:21631:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_MKNOD_C");
data/libguestfs-1.42.0/tests/c-api/tests.c:21689:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("TEST_ONLY");
data/libguestfs-1.42.0/tests/c-api/tests.c:21692:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_MKNOD_C_1");
data/libguestfs-1.42.0/tests/c-api/tests.c:21694:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_MKNOD_C");
data/libguestfs-1.42.0/tests/c-api/tests.c:21735:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("TEST_ONLY");
data/libguestfs-1.42.0/tests/c-api/tests.c:21738:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_MKSWAP_0");
data/libguestfs-1.42.0/tests/c-api/tests.c:21740:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_MKSWAP");
data/libguestfs-1.42.0/tests/c-api/tests.c:21787:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("TEST_ONLY");
data/libguestfs-1.42.0/tests/c-api/tests.c:21790:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_MKSWAP_1");
data/libguestfs-1.42.0/tests/c-api/tests.c:21792:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_MKSWAP");
data/libguestfs-1.42.0/tests/c-api/tests.c:21840:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("TEST_ONLY");
data/libguestfs-1.42.0/tests/c-api/tests.c:21843:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_MKSWAP_2");
data/libguestfs-1.42.0/tests/c-api/tests.c:21845:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_MKSWAP");
data/libguestfs-1.42.0/tests/c-api/tests.c:21903:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("TEST_ONLY");
data/libguestfs-1.42.0/tests/c-api/tests.c:21906:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_MKSWAP_3");
data/libguestfs-1.42.0/tests/c-api/tests.c:21908:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_MKSWAP");
data/libguestfs-1.42.0/tests/c-api/tests.c:21967:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("TEST_ONLY");
data/libguestfs-1.42.0/tests/c-api/tests.c:21970:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_MKSWAP_L_0");
data/libguestfs-1.42.0/tests/c-api/tests.c:21972:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_MKSWAP_L");
data/libguestfs-1.42.0/tests/c-api/tests.c:22025:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("TEST_ONLY");
data/libguestfs-1.42.0/tests/c-api/tests.c:22028:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_MKSWAP_U_0");
data/libguestfs-1.42.0/tests/c-api/tests.c:22030:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_MKSWAP_U");
data/libguestfs-1.42.0/tests/c-api/tests.c:22076:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("TEST_ONLY");
data/libguestfs-1.42.0/tests/c-api/tests.c:22079:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_MKSWAP_FILE_0");
data/libguestfs-1.42.0/tests/c-api/tests.c:22081:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_MKSWAP_FILE");
data/libguestfs-1.42.0/tests/c-api/tests.c:22130:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("TEST_ONLY");
data/libguestfs-1.42.0/tests/c-api/tests.c:22133:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_MKTEMP_0");
data/libguestfs-1.42.0/tests/c-api/tests.c:22135:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_MKTEMP");
data/libguestfs-1.42.0/tests/c-api/tests.c:22196:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("TEST_ONLY");
data/libguestfs-1.42.0/tests/c-api/tests.c:22199:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_MODPROBE_0");
data/libguestfs-1.42.0/tests/c-api/tests.c:22201:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_MODPROBE");
data/libguestfs-1.42.0/tests/c-api/tests.c:22240:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("TEST_ONLY");
data/libguestfs-1.42.0/tests/c-api/tests.c:22243:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_MOUNT_0");
data/libguestfs-1.42.0/tests/c-api/tests.c:22245:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_MOUNT");
data/libguestfs-1.42.0/tests/c-api/tests.c:22316:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("TEST_ONLY");
data/libguestfs-1.42.0/tests/c-api/tests.c:22319:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_MOUNT_RO_0");
data/libguestfs-1.42.0/tests/c-api/tests.c:22321:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_MOUNT_RO");
data/libguestfs-1.42.0/tests/c-api/tests.c:22377:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("TEST_ONLY");
data/libguestfs-1.42.0/tests/c-api/tests.c:22380:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_MOUNT_RO_1");
data/libguestfs-1.42.0/tests/c-api/tests.c:22382:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_MOUNT_RO");
data/libguestfs-1.42.0/tests/c-api/tests.c:22448:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("TEST_ONLY");
data/libguestfs-1.42.0/tests/c-api/tests.c:22451:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_MOUNTS_0");
data/libguestfs-1.42.0/tests/c-api/tests.c:22453:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_MOUNTS");
data/libguestfs-1.42.0/tests/c-api/tests.c:22498:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("TEST_ONLY");
data/libguestfs-1.42.0/tests/c-api/tests.c:22501:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_MV_0");
data/libguestfs-1.42.0/tests/c-api/tests.c:22503:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_MV");
data/libguestfs-1.42.0/tests/c-api/tests.c:22565:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("TEST_ONLY");
data/libguestfs-1.42.0/tests/c-api/tests.c:22568:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_MV_1");
data/libguestfs-1.42.0/tests/c-api/tests.c:22570:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_MV");
data/libguestfs-1.42.0/tests/c-api/tests.c:22634:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("TEST_ONLY");
data/libguestfs-1.42.0/tests/c-api/tests.c:22637:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_NR_DEVICES_0");
data/libguestfs-1.42.0/tests/c-api/tests.c:22639:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_NR_DEVICES");
data/libguestfs-1.42.0/tests/c-api/tests.c:22691:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("TEST_ONLY");
data/libguestfs-1.42.0/tests/c-api/tests.c:22694:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_NTFS_3G_PROBE_0");
data/libguestfs-1.42.0/tests/c-api/tests.c:22696:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_NTFS_3G_PROBE");
data/libguestfs-1.42.0/tests/c-api/tests.c:22763:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("TEST_ONLY");
data/libguestfs-1.42.0/tests/c-api/tests.c:22766:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_NTFS_3G_PROBE_1");
data/libguestfs-1.42.0/tests/c-api/tests.c:22768:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_NTFS_3G_PROBE");
data/libguestfs-1.42.0/tests/c-api/tests.c:22835:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("TEST_ONLY");
data/libguestfs-1.42.0/tests/c-api/tests.c:22838:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_NTFSFIX_0");
data/libguestfs-1.42.0/tests/c-api/tests.c:22840:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_NTFSFIX");
data/libguestfs-1.42.0/tests/c-api/tests.c:22890:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("TEST_ONLY");
data/libguestfs-1.42.0/tests/c-api/tests.c:22893:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_PART_ADD_0");
data/libguestfs-1.42.0/tests/c-api/tests.c:22895:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_PART_ADD");
data/libguestfs-1.42.0/tests/c-api/tests.c:22941:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("TEST_ONLY");
data/libguestfs-1.42.0/tests/c-api/tests.c:22944:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_PART_ADD_1");
data/libguestfs-1.42.0/tests/c-api/tests.c:22946:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_PART_ADD");
data/libguestfs-1.42.0/tests/c-api/tests.c:22998:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("TEST_ONLY");
data/libguestfs-1.42.0/tests/c-api/tests.c:23001:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_PART_ADD_2");
data/libguestfs-1.42.0/tests/c-api/tests.c:23003:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_PART_ADD");
data/libguestfs-1.42.0/tests/c-api/tests.c:23067:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("TEST_ONLY");
data/libguestfs-1.42.0/tests/c-api/tests.c:23070:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_PART_DEL_0");
data/libguestfs-1.42.0/tests/c-api/tests.c:23072:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_PART_DEL");
data/libguestfs-1.42.0/tests/c-api/tests.c:23123:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("TEST_ONLY");
data/libguestfs-1.42.0/tests/c-api/tests.c:23126:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_PART_DISK_0");
data/libguestfs-1.42.0/tests/c-api/tests.c:23128:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_PART_DISK");
data/libguestfs-1.42.0/tests/c-api/tests.c:23168:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("TEST_ONLY");
data/libguestfs-1.42.0/tests/c-api/tests.c:23171:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_PART_DISK_1");
data/libguestfs-1.42.0/tests/c-api/tests.c:23173:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_PART_DISK");
data/libguestfs-1.42.0/tests/c-api/tests.c:23213:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("TEST_ONLY");
data/libguestfs-1.42.0/tests/c-api/tests.c:23216:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_PART_GET_BOOTABLE_0");
data/libguestfs-1.42.0/tests/c-api/tests.c:23218:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_PART_GET_BOOTABLE");
data/libguestfs-1.42.0/tests/c-api/tests.c:23286:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("TEST_ONLY");
data/libguestfs-1.42.0/tests/c-api/tests.c:23289:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_PART_GET_DISK_GUID_0");
data/libguestfs-1.42.0/tests/c-api/tests.c:23291:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_PART_GET_DISK_GUID");
data/libguestfs-1.42.0/tests/c-api/tests.c:23348:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("TEST_ONLY");
data/libguestfs-1.42.0/tests/c-api/tests.c:23351:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_PART_GET_GPT_ATTRIBUTES_0");
data/libguestfs-1.42.0/tests/c-api/tests.c:23353:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_PART_GET_GPT_ATTRIBUTES");
data/libguestfs-1.42.0/tests/c-api/tests.c:23411:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("TEST_ONLY");
data/libguestfs-1.42.0/tests/c-api/tests.c:23414:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_PART_GET_GPT_GUID_0");
data/libguestfs-1.42.0/tests/c-api/tests.c:23416:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_PART_GET_GPT_GUID");
data/libguestfs-1.42.0/tests/c-api/tests.c:23473:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("TEST_ONLY");
data/libguestfs-1.42.0/tests/c-api/tests.c:23476:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_PART_GET_GPT_TYPE_0");
data/libguestfs-1.42.0/tests/c-api/tests.c:23478:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_PART_GET_GPT_TYPE");
data/libguestfs-1.42.0/tests/c-api/tests.c:23528:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("TEST_ONLY");
data/libguestfs-1.42.0/tests/c-api/tests.c:23531:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_PART_GET_MBR_ID_0");
data/libguestfs-1.42.0/tests/c-api/tests.c:23533:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_PART_GET_MBR_ID");
data/libguestfs-1.42.0/tests/c-api/tests.c:23596:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("TEST_ONLY");
data/libguestfs-1.42.0/tests/c-api/tests.c:23599:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_PART_GET_MBR_PART_TYPE_0");
data/libguestfs-1.42.0/tests/c-api/tests.c:23601:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_PART_GET_MBR_PART_TYPE");
data/libguestfs-1.42.0/tests/c-api/tests.c:23669:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("TEST_ONLY");
data/libguestfs-1.42.0/tests/c-api/tests.c:23672:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_PART_GET_MBR_PART_TYPE_1");
data/libguestfs-1.42.0/tests/c-api/tests.c:23674:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_PART_GET_MBR_PART_TYPE");
data/libguestfs-1.42.0/tests/c-api/tests.c:23742:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("TEST_ONLY");
data/libguestfs-1.42.0/tests/c-api/tests.c:23745:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_PART_GET_PARTTYPE_0");
data/libguestfs-1.42.0/tests/c-api/tests.c:23747:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_PART_GET_PARTTYPE");
data/libguestfs-1.42.0/tests/c-api/tests.c:23797:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("TEST_ONLY");
data/libguestfs-1.42.0/tests/c-api/tests.c:23800:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_PART_INIT_0");
data/libguestfs-1.42.0/tests/c-api/tests.c:23802:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_PART_INIT");
data/libguestfs-1.42.0/tests/c-api/tests.c:23842:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("TEST_ONLY");
data/libguestfs-1.42.0/tests/c-api/tests.c:23845:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_PART_RESIZE_0");
data/libguestfs-1.42.0/tests/c-api/tests.c:23847:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_PART_RESIZE");
data/libguestfs-1.42.0/tests/c-api/tests.c:23898:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("TEST_ONLY");
data/libguestfs-1.42.0/tests/c-api/tests.c:23901:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_PART_SET_BOOTABLE_0");
data/libguestfs-1.42.0/tests/c-api/tests.c:23903:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_PART_SET_BOOTABLE");
data/libguestfs-1.42.0/tests/c-api/tests.c:23955:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("TEST_ONLY");
data/libguestfs-1.42.0/tests/c-api/tests.c:23958:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_PART_SET_DISK_GUID_0");
data/libguestfs-1.42.0/tests/c-api/tests.c:23960:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_PART_SET_DISK_GUID");
data/libguestfs-1.42.0/tests/c-api/tests.c:24009:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("TEST_ONLY");
data/libguestfs-1.42.0/tests/c-api/tests.c:24012:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_PART_SET_DISK_GUID_1");
data/libguestfs-1.42.0/tests/c-api/tests.c:24014:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_PART_SET_DISK_GUID");
data/libguestfs-1.42.0/tests/c-api/tests.c:24071:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("TEST_ONLY");
data/libguestfs-1.42.0/tests/c-api/tests.c:24074:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_PART_SET_DISK_GUID_RANDOM_0");
data/libguestfs-1.42.0/tests/c-api/tests.c:24076:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_PART_SET_DISK_GUID_RANDOM");
data/libguestfs-1.42.0/tests/c-api/tests.c:24122:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("TEST_ONLY");
data/libguestfs-1.42.0/tests/c-api/tests.c:24125:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_PART_SET_GPT_ATTRIBUTES_0");
data/libguestfs-1.42.0/tests/c-api/tests.c:24127:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_PART_SET_GPT_ATTRIBUTES");
data/libguestfs-1.42.0/tests/c-api/tests.c:24185:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("TEST_ONLY");
data/libguestfs-1.42.0/tests/c-api/tests.c:24188:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_PART_SET_GPT_GUID_0");
data/libguestfs-1.42.0/tests/c-api/tests.c:24190:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_PART_SET_GPT_GUID");
data/libguestfs-1.42.0/tests/c-api/tests.c:24239:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("TEST_ONLY");
data/libguestfs-1.42.0/tests/c-api/tests.c:24242:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_PART_SET_GPT_GUID_1");
data/libguestfs-1.42.0/tests/c-api/tests.c:24244:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_PART_SET_GPT_GUID");
data/libguestfs-1.42.0/tests/c-api/tests.c:24301:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("TEST_ONLY");
data/libguestfs-1.42.0/tests/c-api/tests.c:24304:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_PART_SET_GPT_TYPE_0");
data/libguestfs-1.42.0/tests/c-api/tests.c:24306:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_PART_SET_GPT_TYPE");
data/libguestfs-1.42.0/tests/c-api/tests.c:24355:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("TEST_ONLY");
data/libguestfs-1.42.0/tests/c-api/tests.c:24358:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_PART_SET_GPT_TYPE_1");
data/libguestfs-1.42.0/tests/c-api/tests.c:24360:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_PART_SET_GPT_TYPE");
data/libguestfs-1.42.0/tests/c-api/tests.c:24410:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("TEST_ONLY");
data/libguestfs-1.42.0/tests/c-api/tests.c:24413:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_PART_SET_NAME_0");
data/libguestfs-1.42.0/tests/c-api/tests.c:24415:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_PART_SET_NAME");
data/libguestfs-1.42.0/tests/c-api/tests.c:24461:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("TEST_ONLY");
data/libguestfs-1.42.0/tests/c-api/tests.c:24464:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_PART_TO_DEV_0");
data/libguestfs-1.42.0/tests/c-api/tests.c:24466:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_PART_TO_DEV");
data/libguestfs-1.42.0/tests/c-api/tests.c:24510:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("TEST_ONLY");
data/libguestfs-1.42.0/tests/c-api/tests.c:24513:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_PART_TO_DEV_1");
data/libguestfs-1.42.0/tests/c-api/tests.c:24515:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_PART_TO_DEV");
data/libguestfs-1.42.0/tests/c-api/tests.c:24556:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("TEST_ONLY");
data/libguestfs-1.42.0/tests/c-api/tests.c:24559:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_PART_TO_PARTNUM_0");
data/libguestfs-1.42.0/tests/c-api/tests.c:24561:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_PART_TO_PARTNUM");
data/libguestfs-1.42.0/tests/c-api/tests.c:24607:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("TEST_ONLY");
data/libguestfs-1.42.0/tests/c-api/tests.c:24610:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_PART_TO_PARTNUM_1");
data/libguestfs-1.42.0/tests/c-api/tests.c:24612:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_PART_TO_PARTNUM");
data/libguestfs-1.42.0/tests/c-api/tests.c:24653:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("TEST_ONLY");
data/libguestfs-1.42.0/tests/c-api/tests.c:24656:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_PING_DAEMON_0");
data/libguestfs-1.42.0/tests/c-api/tests.c:24658:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_PING_DAEMON");
data/libguestfs-1.42.0/tests/c-api/tests.c:24696:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("TEST_ONLY");
data/libguestfs-1.42.0/tests/c-api/tests.c:24699:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_PREAD_0");
data/libguestfs-1.42.0/tests/c-api/tests.c:24701:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_PREAD");
data/libguestfs-1.42.0/tests/c-api/tests.c:24748:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("TEST_ONLY");
data/libguestfs-1.42.0/tests/c-api/tests.c:24751:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_PREAD_1");
data/libguestfs-1.42.0/tests/c-api/tests.c:24753:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_PREAD");
data/libguestfs-1.42.0/tests/c-api/tests.c:24800:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("TEST_ONLY");
data/libguestfs-1.42.0/tests/c-api/tests.c:24803:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_PREAD_DEVICE_0");
data/libguestfs-1.42.0/tests/c-api/tests.c:24805:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_PREAD_DEVICE");
data/libguestfs-1.42.0/tests/c-api/tests.c:24859:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("TEST_ONLY");
data/libguestfs-1.42.0/tests/c-api/tests.c:24862:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_PVCHANGE_UUID_0");
data/libguestfs-1.42.0/tests/c-api/tests.c:24864:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_PVCHANGE_UUID");
data/libguestfs-1.42.0/tests/c-api/tests.c:24921:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("TEST_ONLY");
data/libguestfs-1.42.0/tests/c-api/tests.c:24924:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_PVCHANGE_UUID_ALL_0");
data/libguestfs-1.42.0/tests/c-api/tests.c:24926:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_PVCHANGE_UUID_ALL");
data/libguestfs-1.42.0/tests/c-api/tests.c:24982:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("TEST_ONLY");
data/libguestfs-1.42.0/tests/c-api/tests.c:24985:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_PVCREATE_0");
data/libguestfs-1.42.0/tests/c-api/tests.c:24987:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_PVCREATE");
data/libguestfs-1.42.0/tests/c-api/tests.c:25078:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("TEST_ONLY");
data/libguestfs-1.42.0/tests/c-api/tests.c:25081:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_PVREMOVE_0");
data/libguestfs-1.42.0/tests/c-api/tests.c:25083:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_PVREMOVE");
data/libguestfs-1.42.0/tests/c-api/tests.c:25178:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("TEST_ONLY");
data/libguestfs-1.42.0/tests/c-api/tests.c:25181:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_PVREMOVE_1");
data/libguestfs-1.42.0/tests/c-api/tests.c:25183:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_PVREMOVE");
data/libguestfs-1.42.0/tests/c-api/tests.c:25278:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("TEST_ONLY");
data/libguestfs-1.42.0/tests/c-api/tests.c:25281:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_PVREMOVE_2");
data/libguestfs-1.42.0/tests/c-api/tests.c:25283:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_PVREMOVE");
data/libguestfs-1.42.0/tests/c-api/tests.c:25378:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("TEST_ONLY");
data/libguestfs-1.42.0/tests/c-api/tests.c:25381:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_PVS_0");
data/libguestfs-1.42.0/tests/c-api/tests.c:25383:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_PVS");
data/libguestfs-1.42.0/tests/c-api/tests.c:25435:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("TEST_ONLY");
data/libguestfs-1.42.0/tests/c-api/tests.c:25438:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_PVS_1");
data/libguestfs-1.42.0/tests/c-api/tests.c:25440:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_PVS");
data/libguestfs-1.42.0/tests/c-api/tests.c:25524:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("TEST_ONLY");
data/libguestfs-1.42.0/tests/c-api/tests.c:25527:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_PWRITE_0");
data/libguestfs-1.42.0/tests/c-api/tests.c:25529:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_PWRITE");
data/libguestfs-1.42.0/tests/c-api/tests.c:25587:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("TEST_ONLY");
data/libguestfs-1.42.0/tests/c-api/tests.c:25590:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_PWRITE_1");
data/libguestfs-1.42.0/tests/c-api/tests.c:25592:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_PWRITE");
data/libguestfs-1.42.0/tests/c-api/tests.c:25650:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("TEST_ONLY");
data/libguestfs-1.42.0/tests/c-api/tests.c:25653:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_PWRITE_2");
data/libguestfs-1.42.0/tests/c-api/tests.c:25655:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_PWRITE");
data/libguestfs-1.42.0/tests/c-api/tests.c:25713:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("TEST_ONLY");
data/libguestfs-1.42.0/tests/c-api/tests.c:25716:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_PWRITE_DEVICE_0");
data/libguestfs-1.42.0/tests/c-api/tests.c:25718:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_PWRITE_DEVICE");
data/libguestfs-1.42.0/tests/c-api/tests.c:25775:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("TEST_ONLY");
data/libguestfs-1.42.0/tests/c-api/tests.c:25778:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_READ_FILE_0");
data/libguestfs-1.42.0/tests/c-api/tests.c:25780:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_READ_FILE");
data/libguestfs-1.42.0/tests/c-api/tests.c:25827:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("TEST_ONLY");
data/libguestfs-1.42.0/tests/c-api/tests.c:25830:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_READ_LINES_0");
data/libguestfs-1.42.0/tests/c-api/tests.c:25832:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_READ_LINES");
data/libguestfs-1.42.0/tests/c-api/tests.c:25878:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("TEST_ONLY");
data/libguestfs-1.42.0/tests/c-api/tests.c:25881:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_READ_LINES_1");
data/libguestfs-1.42.0/tests/c-api/tests.c:25883:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_READ_LINES");
data/libguestfs-1.42.0/tests/c-api/tests.c:25929:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("TEST_ONLY");
data/libguestfs-1.42.0/tests/c-api/tests.c:25932:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_READ_LINES_2");
data/libguestfs-1.42.0/tests/c-api/tests.c:25934:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_READ_LINES");
data/libguestfs-1.42.0/tests/c-api/tests.c:25987:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("TEST_ONLY");
data/libguestfs-1.42.0/tests/c-api/tests.c:25990:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_READ_LINES_3");
data/libguestfs-1.42.0/tests/c-api/tests.c:25992:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_READ_LINES");
data/libguestfs-1.42.0/tests/c-api/tests.c:26045:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("TEST_ONLY");
data/libguestfs-1.42.0/tests/c-api/tests.c:26048:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_READ_LINES_4");
data/libguestfs-1.42.0/tests/c-api/tests.c:26050:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_READ_LINES");
data/libguestfs-1.42.0/tests/c-api/tests.c:26103:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("TEST_ONLY");
data/libguestfs-1.42.0/tests/c-api/tests.c:26106:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_READ_LINES_5");
data/libguestfs-1.42.0/tests/c-api/tests.c:26108:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_READ_LINES");
data/libguestfs-1.42.0/tests/c-api/tests.c:26161:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("TEST_ONLY");
data/libguestfs-1.42.0/tests/c-api/tests.c:26164:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_READ_LINES_6");
data/libguestfs-1.42.0/tests/c-api/tests.c:26166:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_READ_LINES");
data/libguestfs-1.42.0/tests/c-api/tests.c:26219:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("TEST_ONLY");
data/libguestfs-1.42.0/tests/c-api/tests.c:26222:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_READ_LINES_7");
data/libguestfs-1.42.0/tests/c-api/tests.c:26224:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_READ_LINES");
data/libguestfs-1.42.0/tests/c-api/tests.c:26277:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("TEST_ONLY");
data/libguestfs-1.42.0/tests/c-api/tests.c:26280:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_READ_LINES_8");
data/libguestfs-1.42.0/tests/c-api/tests.c:26282:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_READ_LINES");
data/libguestfs-1.42.0/tests/c-api/tests.c:26335:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("TEST_ONLY");
data/libguestfs-1.42.0/tests/c-api/tests.c:26338:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_READ_LINES_9");
data/libguestfs-1.42.0/tests/c-api/tests.c:26340:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_READ_LINES");
data/libguestfs-1.42.0/tests/c-api/tests.c:26393:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("TEST_ONLY");
data/libguestfs-1.42.0/tests/c-api/tests.c:26396:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_REALPATH_0");
data/libguestfs-1.42.0/tests/c-api/tests.c:26398:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_REALPATH");
data/libguestfs-1.42.0/tests/c-api/tests.c:26442:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("TEST_ONLY");
data/libguestfs-1.42.0/tests/c-api/tests.c:26445:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_REMOUNT_0");
data/libguestfs-1.42.0/tests/c-api/tests.c:26447:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_REMOUNT");
data/libguestfs-1.42.0/tests/c-api/tests.c:26498:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("TEST_ONLY");
data/libguestfs-1.42.0/tests/c-api/tests.c:26501:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_REMOUNT_1");
data/libguestfs-1.42.0/tests/c-api/tests.c:26503:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_REMOUNT");
data/libguestfs-1.42.0/tests/c-api/tests.c:26560:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("TEST_ONLY");
data/libguestfs-1.42.0/tests/c-api/tests.c:26563:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_RENAME_0");
data/libguestfs-1.42.0/tests/c-api/tests.c:26565:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_RENAME");
data/libguestfs-1.42.0/tests/c-api/tests.c:26629:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("TEST_ONLY");
data/libguestfs-1.42.0/tests/c-api/tests.c:26632:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_RM_0");
data/libguestfs-1.42.0/tests/c-api/tests.c:26634:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_RM");
data/libguestfs-1.42.0/tests/c-api/tests.c:26683:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("TEST_ONLY");
data/libguestfs-1.42.0/tests/c-api/tests.c:26686:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_RM_1");
data/libguestfs-1.42.0/tests/c-api/tests.c:26688:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_RM");
data/libguestfs-1.42.0/tests/c-api/tests.c:26729:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("TEST_ONLY");
data/libguestfs-1.42.0/tests/c-api/tests.c:26732:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_RM_2");
data/libguestfs-1.42.0/tests/c-api/tests.c:26734:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_RM");
data/libguestfs-1.42.0/tests/c-api/tests.c:26780:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("TEST_ONLY");
data/libguestfs-1.42.0/tests/c-api/tests.c:26783:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_RM_F_0");
data/libguestfs-1.42.0/tests/c-api/tests.c:26785:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_RM_F");
data/libguestfs-1.42.0/tests/c-api/tests.c:26849:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("TEST_ONLY");
data/libguestfs-1.42.0/tests/c-api/tests.c:26852:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_RM_F_1");
data/libguestfs-1.42.0/tests/c-api/tests.c:26854:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_RM_F");
data/libguestfs-1.42.0/tests/c-api/tests.c:26905:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("TEST_ONLY");
data/libguestfs-1.42.0/tests/c-api/tests.c:26908:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_RM_RF_0");
data/libguestfs-1.42.0/tests/c-api/tests.c:26910:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_RM_RF");
data/libguestfs-1.42.0/tests/c-api/tests.c:26974:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("TEST_ONLY");
data/libguestfs-1.42.0/tests/c-api/tests.c:26977:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_RMDIR_0");
data/libguestfs-1.42.0/tests/c-api/tests.c:26979:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_RMDIR");
data/libguestfs-1.42.0/tests/c-api/tests.c:27023:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("TEST_ONLY");
data/libguestfs-1.42.0/tests/c-api/tests.c:27026:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_RMDIR_1");
data/libguestfs-1.42.0/tests/c-api/tests.c:27028:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_RMDIR");
data/libguestfs-1.42.0/tests/c-api/tests.c:27069:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("TEST_ONLY");
data/libguestfs-1.42.0/tests/c-api/tests.c:27072:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_RMDIR_2");
data/libguestfs-1.42.0/tests/c-api/tests.c:27074:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_RMDIR");
data/libguestfs-1.42.0/tests/c-api/tests.c:27132:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("TEST_ONLY");
data/libguestfs-1.42.0/tests/c-api/tests.c:27135:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_SCRUB_DEVICE_0");
data/libguestfs-1.42.0/tests/c-api/tests.c:27137:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_SCRUB_DEVICE");
data/libguestfs-1.42.0/tests/c-api/tests.c:27183:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("TEST_ONLY");
data/libguestfs-1.42.0/tests/c-api/tests.c:27186:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_SCRUB_FILE_0");
data/libguestfs-1.42.0/tests/c-api/tests.c:27188:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_SCRUB_FILE");
data/libguestfs-1.42.0/tests/c-api/tests.c:27241:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("TEST_ONLY");
data/libguestfs-1.42.0/tests/c-api/tests.c:27244:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_SCRUB_FILE_1");
data/libguestfs-1.42.0/tests/c-api/tests.c:27246:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_SCRUB_FILE");
data/libguestfs-1.42.0/tests/c-api/tests.c:27305:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("TEST_ONLY");
data/libguestfs-1.42.0/tests/c-api/tests.c:27308:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_SCRUB_FILE_2");
data/libguestfs-1.42.0/tests/c-api/tests.c:27310:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_SCRUB_FILE");
data/libguestfs-1.42.0/tests/c-api/tests.c:27364:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("TEST_ONLY");
data/libguestfs-1.42.0/tests/c-api/tests.c:27367:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_SCRUB_FILE_3");
data/libguestfs-1.42.0/tests/c-api/tests.c:27369:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_SCRUB_FILE");
data/libguestfs-1.42.0/tests/c-api/tests.c:27423:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("TEST_ONLY");
data/libguestfs-1.42.0/tests/c-api/tests.c:27426:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_SET_E2LABEL_0");
data/libguestfs-1.42.0/tests/c-api/tests.c:27428:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_SET_E2LABEL");
data/libguestfs-1.42.0/tests/c-api/tests.c:27478:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("TEST_ONLY");
data/libguestfs-1.42.0/tests/c-api/tests.c:27481:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_SET_E2UUID_0");
data/libguestfs-1.42.0/tests/c-api/tests.c:27483:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_SET_E2UUID");
data/libguestfs-1.42.0/tests/c-api/tests.c:27533:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("TEST_ONLY");
data/libguestfs-1.42.0/tests/c-api/tests.c:27536:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_SET_E2UUID_1");
data/libguestfs-1.42.0/tests/c-api/tests.c:27538:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_SET_E2UUID");
data/libguestfs-1.42.0/tests/c-api/tests.c:27588:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("TEST_ONLY");
data/libguestfs-1.42.0/tests/c-api/tests.c:27591:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_SET_E2UUID_2");
data/libguestfs-1.42.0/tests/c-api/tests.c:27593:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_SET_E2UUID");
data/libguestfs-1.42.0/tests/c-api/tests.c:27633:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("TEST_ONLY");
data/libguestfs-1.42.0/tests/c-api/tests.c:27636:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_SET_E2UUID_3");
data/libguestfs-1.42.0/tests/c-api/tests.c:27638:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_SET_E2UUID");
data/libguestfs-1.42.0/tests/c-api/tests.c:27678:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("TEST_ONLY");
data/libguestfs-1.42.0/tests/c-api/tests.c:27681:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_SET_LABEL_0");
data/libguestfs-1.42.0/tests/c-api/tests.c:27683:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_SET_LABEL");
data/libguestfs-1.42.0/tests/c-api/tests.c:27740:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("TEST_ONLY");
data/libguestfs-1.42.0/tests/c-api/tests.c:27743:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_SET_LABEL_1");
data/libguestfs-1.42.0/tests/c-api/tests.c:27745:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_SET_LABEL");
data/libguestfs-1.42.0/tests/c-api/tests.c:27803:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("TEST_ONLY");
data/libguestfs-1.42.0/tests/c-api/tests.c:27806:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_SET_LABEL_2");
data/libguestfs-1.42.0/tests/c-api/tests.c:27808:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_SET_LABEL");
data/libguestfs-1.42.0/tests/c-api/tests.c:27855:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("TEST_ONLY");
data/libguestfs-1.42.0/tests/c-api/tests.c:27858:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_SET_TRACE_0");
data/libguestfs-1.42.0/tests/c-api/tests.c:27860:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_SET_TRACE");
data/libguestfs-1.42.0/tests/c-api/tests.c:27907:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("TEST_ONLY");
data/libguestfs-1.42.0/tests/c-api/tests.c:27910:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_SET_UUID_0");
data/libguestfs-1.42.0/tests/c-api/tests.c:27912:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_SET_UUID");
data/libguestfs-1.42.0/tests/c-api/tests.c:27962:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("TEST_ONLY");
data/libguestfs-1.42.0/tests/c-api/tests.c:27965:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_SET_UUID_RANDOM_0");
data/libguestfs-1.42.0/tests/c-api/tests.c:27967:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_SET_UUID_RANDOM");
data/libguestfs-1.42.0/tests/c-api/tests.c:28006:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("TEST_ONLY");
data/libguestfs-1.42.0/tests/c-api/tests.c:28009:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_SLEEP_0");
data/libguestfs-1.42.0/tests/c-api/tests.c:28011:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_SLEEP");
data/libguestfs-1.42.0/tests/c-api/tests.c:28049:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("TEST_ONLY");
data/libguestfs-1.42.0/tests/c-api/tests.c:28052:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_STAT_0");
data/libguestfs-1.42.0/tests/c-api/tests.c:28054:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_STAT");
data/libguestfs-1.42.0/tests/c-api/tests.c:28100:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("TEST_ONLY");
data/libguestfs-1.42.0/tests/c-api/tests.c:28103:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_STATNS_0");
data/libguestfs-1.42.0/tests/c-api/tests.c:28105:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_STATNS");
data/libguestfs-1.42.0/tests/c-api/tests.c:28151:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("TEST_ONLY");
data/libguestfs-1.42.0/tests/c-api/tests.c:28154:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_STATVFS_0");
data/libguestfs-1.42.0/tests/c-api/tests.c:28156:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_STATVFS");
data/libguestfs-1.42.0/tests/c-api/tests.c:28202:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("TEST_ONLY");
data/libguestfs-1.42.0/tests/c-api/tests.c:28205:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_STRINGS_0");
data/libguestfs-1.42.0/tests/c-api/tests.c:28207:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_STRINGS");
data/libguestfs-1.42.0/tests/c-api/tests.c:28253:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("TEST_ONLY");
data/libguestfs-1.42.0/tests/c-api/tests.c:28256:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_STRINGS_1");
data/libguestfs-1.42.0/tests/c-api/tests.c:28258:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_STRINGS");
data/libguestfs-1.42.0/tests/c-api/tests.c:28304:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("TEST_ONLY");
data/libguestfs-1.42.0/tests/c-api/tests.c:28307:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_STRINGS_2");
data/libguestfs-1.42.0/tests/c-api/tests.c:28309:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_STRINGS");
data/libguestfs-1.42.0/tests/c-api/tests.c:28348:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("TEST_ONLY");
data/libguestfs-1.42.0/tests/c-api/tests.c:28351:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_STRINGS_E_0");
data/libguestfs-1.42.0/tests/c-api/tests.c:28353:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_STRINGS_E");
data/libguestfs-1.42.0/tests/c-api/tests.c:28400:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("TEST_ONLY");
data/libguestfs-1.42.0/tests/c-api/tests.c:28403:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_STRINGS_E_1");
data/libguestfs-1.42.0/tests/c-api/tests.c:28405:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_STRINGS_E");
data/libguestfs-1.42.0/tests/c-api/tests.c:28459:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("TEST_ONLY");
data/libguestfs-1.42.0/tests/c-api/tests.c:28462:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_SWAPON_DEVICE_0");
data/libguestfs-1.42.0/tests/c-api/tests.c:28464:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_SWAPON_DEVICE");
data/libguestfs-1.42.0/tests/c-api/tests.c:28515:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("TEST_ONLY");
data/libguestfs-1.42.0/tests/c-api/tests.c:28518:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_SWAPON_FILE_0");
data/libguestfs-1.42.0/tests/c-api/tests.c:28520:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_SWAPON_FILE");
data/libguestfs-1.42.0/tests/c-api/tests.c:28579:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("TEST_ONLY");
data/libguestfs-1.42.0/tests/c-api/tests.c:28582:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_SWAPON_LABEL_0");
data/libguestfs-1.42.0/tests/c-api/tests.c:28584:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_SWAPON_LABEL");
data/libguestfs-1.42.0/tests/c-api/tests.c:28659:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("TEST_ONLY");
data/libguestfs-1.42.0/tests/c-api/tests.c:28662:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_SWAPON_UUID_0");
data/libguestfs-1.42.0/tests/c-api/tests.c:28664:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_SWAPON_UUID");
data/libguestfs-1.42.0/tests/c-api/tests.c:28716:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("TEST_ONLY");
data/libguestfs-1.42.0/tests/c-api/tests.c:28719:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_SYNC_0");
data/libguestfs-1.42.0/tests/c-api/tests.c:28721:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_SYNC");
data/libguestfs-1.42.0/tests/c-api/tests.c:28759:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("TEST_ONLY");
data/libguestfs-1.42.0/tests/c-api/tests.c:28762:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_TAIL_0");
data/libguestfs-1.42.0/tests/c-api/tests.c:28764:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_TAIL");
data/libguestfs-1.42.0/tests/c-api/tests.c:28810:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("TEST_ONLY");
data/libguestfs-1.42.0/tests/c-api/tests.c:28813:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_TAIL_N_0");
data/libguestfs-1.42.0/tests/c-api/tests.c:28815:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_TAIL_N");
data/libguestfs-1.42.0/tests/c-api/tests.c:28861:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("TEST_ONLY");
data/libguestfs-1.42.0/tests/c-api/tests.c:28864:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_TAIL_N_1");
data/libguestfs-1.42.0/tests/c-api/tests.c:28866:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_TAIL_N");
data/libguestfs-1.42.0/tests/c-api/tests.c:28912:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("TEST_ONLY");
data/libguestfs-1.42.0/tests/c-api/tests.c:28915:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_TAIL_N_2");
data/libguestfs-1.42.0/tests/c-api/tests.c:28917:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_TAIL_N");
data/libguestfs-1.42.0/tests/c-api/tests.c:28963:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("TEST_ONLY");
data/libguestfs-1.42.0/tests/c-api/tests.c:28966:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_TAR_IN_0");
data/libguestfs-1.42.0/tests/c-api/tests.c:28968:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_TAR_IN");
data/libguestfs-1.42.0/tests/c-api/tests.c:29025:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("TEST_ONLY");
data/libguestfs-1.42.0/tests/c-api/tests.c:29028:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_TAR_IN_1");
data/libguestfs-1.42.0/tests/c-api/tests.c:29030:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_TAR_IN");
data/libguestfs-1.42.0/tests/c-api/tests.c:29095:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("TEST_ONLY");
data/libguestfs-1.42.0/tests/c-api/tests.c:29098:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_TAR_IN_2");
data/libguestfs-1.42.0/tests/c-api/tests.c:29100:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_TAR_IN");
data/libguestfs-1.42.0/tests/c-api/tests.c:29158:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("TEST_ONLY");
data/libguestfs-1.42.0/tests/c-api/tests.c:29161:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_TGZ_IN_0");
data/libguestfs-1.42.0/tests/c-api/tests.c:29163:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_TGZ_IN");
data/libguestfs-1.42.0/tests/c-api/tests.c:29218:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("TEST_ONLY");
data/libguestfs-1.42.0/tests/c-api/tests.c:29221:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_TOUCH_0");
data/libguestfs-1.42.0/tests/c-api/tests.c:29223:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_TOUCH");
data/libguestfs-1.42.0/tests/c-api/tests.c:29272:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("TEST_ONLY");
data/libguestfs-1.42.0/tests/c-api/tests.c:29275:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_TRUNCATE_0");
data/libguestfs-1.42.0/tests/c-api/tests.c:29277:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_TRUNCATE");
data/libguestfs-1.42.0/tests/c-api/tests.c:29335:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("TEST_ONLY");
data/libguestfs-1.42.0/tests/c-api/tests.c:29338:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_TRUNCATE_SIZE_0");
data/libguestfs-1.42.0/tests/c-api/tests.c:29340:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_TRUNCATE_SIZE");
data/libguestfs-1.42.0/tests/c-api/tests.c:29396:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("TEST_ONLY");
data/libguestfs-1.42.0/tests/c-api/tests.c:29399:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_TUNE2FS_0");
data/libguestfs-1.42.0/tests/c-api/tests.c:29401:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_TUNE2FS");
data/libguestfs-1.42.0/tests/c-api/tests.c:29457:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("TEST_ONLY");
data/libguestfs-1.42.0/tests/c-api/tests.c:29460:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_TUNE2FS_1");
data/libguestfs-1.42.0/tests/c-api/tests.c:29462:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_TUNE2FS");
data/libguestfs-1.42.0/tests/c-api/tests.c:29518:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("TEST_ONLY");
data/libguestfs-1.42.0/tests/c-api/tests.c:29521:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_TUNE2FS_2");
data/libguestfs-1.42.0/tests/c-api/tests.c:29523:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_TUNE2FS");
data/libguestfs-1.42.0/tests/c-api/tests.c:29579:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("TEST_ONLY");
data/libguestfs-1.42.0/tests/c-api/tests.c:29582:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_TUNE2FS_3");
data/libguestfs-1.42.0/tests/c-api/tests.c:29584:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_TUNE2FS");
data/libguestfs-1.42.0/tests/c-api/tests.c:29640:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("TEST_ONLY");
data/libguestfs-1.42.0/tests/c-api/tests.c:29643:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_TUNE2FS_L_0");
data/libguestfs-1.42.0/tests/c-api/tests.c:29645:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_TUNE2FS_L");
data/libguestfs-1.42.0/tests/c-api/tests.c:29698:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("TEST_ONLY");
data/libguestfs-1.42.0/tests/c-api/tests.c:29701:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_TXZ_IN_0");
data/libguestfs-1.42.0/tests/c-api/tests.c:29703:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_TXZ_IN");
data/libguestfs-1.42.0/tests/c-api/tests.c:29758:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("TEST_ONLY");
data/libguestfs-1.42.0/tests/c-api/tests.c:29761:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_UMASK_0");
data/libguestfs-1.42.0/tests/c-api/tests.c:29763:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_UMASK");
data/libguestfs-1.42.0/tests/c-api/tests.c:29808:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("TEST_ONLY");
data/libguestfs-1.42.0/tests/c-api/tests.c:29811:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_UMOUNT_0");
data/libguestfs-1.42.0/tests/c-api/tests.c:29813:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_UMOUNT");
data/libguestfs-1.42.0/tests/c-api/tests.c:29878:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("TEST_ONLY");
data/libguestfs-1.42.0/tests/c-api/tests.c:29881:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_UMOUNT_1");
data/libguestfs-1.42.0/tests/c-api/tests.c:29883:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_UMOUNT");
data/libguestfs-1.42.0/tests/c-api/tests.c:29957:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("TEST_ONLY");
data/libguestfs-1.42.0/tests/c-api/tests.c:29960:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_UMOUNT_ALL_0");
data/libguestfs-1.42.0/tests/c-api/tests.c:29962:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_UMOUNT_ALL");
data/libguestfs-1.42.0/tests/c-api/tests.c:30011:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("TEST_ONLY");
data/libguestfs-1.42.0/tests/c-api/tests.c:30014:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_UMOUNT_ALL_1");
data/libguestfs-1.42.0/tests/c-api/tests.c:30016:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_UMOUNT_ALL");
data/libguestfs-1.42.0/tests/c-api/tests.c:30146:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("TEST_ONLY");
data/libguestfs-1.42.0/tests/c-api/tests.c:30149:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_UPLOAD_0");
data/libguestfs-1.42.0/tests/c-api/tests.c:30151:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_UPLOAD");
data/libguestfs-1.42.0/tests/c-api/tests.c:30207:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("TEST_ONLY");
data/libguestfs-1.42.0/tests/c-api/tests.c:30210:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_UPLOAD_OFFSET_0");
data/libguestfs-1.42.0/tests/c-api/tests.c:30212:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_UPLOAD_OFFSET");
data/libguestfs-1.42.0/tests/c-api/tests.c:30263:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("TEST_ONLY");
data/libguestfs-1.42.0/tests/c-api/tests.c:30266:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_UTIMENS_0");
data/libguestfs-1.42.0/tests/c-api/tests.c:30268:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_UTIMENS");
data/libguestfs-1.42.0/tests/c-api/tests.c:30324:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("TEST_ONLY");
data/libguestfs-1.42.0/tests/c-api/tests.c:30327:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_UTIMENS_1");
data/libguestfs-1.42.0/tests/c-api/tests.c:30329:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_UTIMENS");
data/libguestfs-1.42.0/tests/c-api/tests.c:30385:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("TEST_ONLY");
data/libguestfs-1.42.0/tests/c-api/tests.c:30388:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_UTIMENS_2");
data/libguestfs-1.42.0/tests/c-api/tests.c:30390:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_UTIMENS");
data/libguestfs-1.42.0/tests/c-api/tests.c:30446:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("TEST_ONLY");
data/libguestfs-1.42.0/tests/c-api/tests.c:30449:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_UTIMENS_3");
data/libguestfs-1.42.0/tests/c-api/tests.c:30451:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_UTIMENS");
data/libguestfs-1.42.0/tests/c-api/tests.c:30508:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("TEST_ONLY");
data/libguestfs-1.42.0/tests/c-api/tests.c:30511:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_UTIMENS_4");
data/libguestfs-1.42.0/tests/c-api/tests.c:30513:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_UTIMENS");
data/libguestfs-1.42.0/tests/c-api/tests.c:30569:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("TEST_ONLY");
data/libguestfs-1.42.0/tests/c-api/tests.c:30572:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_UTIMENS_5");
data/libguestfs-1.42.0/tests/c-api/tests.c:30574:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_UTIMENS");
data/libguestfs-1.42.0/tests/c-api/tests.c:30630:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("TEST_ONLY");
data/libguestfs-1.42.0/tests/c-api/tests.c:30633:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_UTSNAME_0");
data/libguestfs-1.42.0/tests/c-api/tests.c:30635:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_UTSNAME");
data/libguestfs-1.42.0/tests/c-api/tests.c:30673:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("TEST_ONLY");
data/libguestfs-1.42.0/tests/c-api/tests.c:30676:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_VERSION_0");
data/libguestfs-1.42.0/tests/c-api/tests.c:30678:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_VERSION");
data/libguestfs-1.42.0/tests/c-api/tests.c:30723:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("TEST_ONLY");
data/libguestfs-1.42.0/tests/c-api/tests.c:30726:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_VFS_LABEL_0");
data/libguestfs-1.42.0/tests/c-api/tests.c:30728:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_VFS_LABEL");
data/libguestfs-1.42.0/tests/c-api/tests.c:30778:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("TEST_ONLY");
data/libguestfs-1.42.0/tests/c-api/tests.c:30781:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_VFS_LABEL_1");
data/libguestfs-1.42.0/tests/c-api/tests.c:30783:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_VFS_LABEL");
data/libguestfs-1.42.0/tests/c-api/tests.c:30849:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("TEST_ONLY");
data/libguestfs-1.42.0/tests/c-api/tests.c:30852:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_VFS_LABEL_2");
data/libguestfs-1.42.0/tests/c-api/tests.c:30854:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_VFS_LABEL");
data/libguestfs-1.42.0/tests/c-api/tests.c:30919:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("TEST_ONLY");
data/libguestfs-1.42.0/tests/c-api/tests.c:30922:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_VFS_MINIMUM_SIZE_0");
data/libguestfs-1.42.0/tests/c-api/tests.c:30924:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_VFS_MINIMUM_SIZE");
data/libguestfs-1.42.0/tests/c-api/tests.c:30970:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("TEST_ONLY");
data/libguestfs-1.42.0/tests/c-api/tests.c:30973:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_VFS_MINIMUM_SIZE_1");
data/libguestfs-1.42.0/tests/c-api/tests.c:30975:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_VFS_MINIMUM_SIZE");
data/libguestfs-1.42.0/tests/c-api/tests.c:31029:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("TEST_ONLY");
data/libguestfs-1.42.0/tests/c-api/tests.c:31032:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_VFS_MINIMUM_SIZE_2");
data/libguestfs-1.42.0/tests/c-api/tests.c:31034:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_VFS_MINIMUM_SIZE");
data/libguestfs-1.42.0/tests/c-api/tests.c:31103:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("TEST_ONLY");
data/libguestfs-1.42.0/tests/c-api/tests.c:31106:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_VFS_MINIMUM_SIZE_3");
data/libguestfs-1.42.0/tests/c-api/tests.c:31108:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_VFS_MINIMUM_SIZE");
data/libguestfs-1.42.0/tests/c-api/tests.c:31161:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("TEST_ONLY");
data/libguestfs-1.42.0/tests/c-api/tests.c:31164:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_VFS_TYPE_0");
data/libguestfs-1.42.0/tests/c-api/tests.c:31166:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_VFS_TYPE");
data/libguestfs-1.42.0/tests/c-api/tests.c:31210:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("TEST_ONLY");
data/libguestfs-1.42.0/tests/c-api/tests.c:31213:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_VFS_UUID_0");
data/libguestfs-1.42.0/tests/c-api/tests.c:31215:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_VFS_UUID");
data/libguestfs-1.42.0/tests/c-api/tests.c:31272:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("TEST_ONLY");
data/libguestfs-1.42.0/tests/c-api/tests.c:31275:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_VGCHANGE_UUID_0");
data/libguestfs-1.42.0/tests/c-api/tests.c:31277:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_VGCHANGE_UUID");
data/libguestfs-1.42.0/tests/c-api/tests.c:31344:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("TEST_ONLY");
data/libguestfs-1.42.0/tests/c-api/tests.c:31347:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_VGCHANGE_UUID_ALL_0");
data/libguestfs-1.42.0/tests/c-api/tests.c:31349:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_VGCHANGE_UUID_ALL");
data/libguestfs-1.42.0/tests/c-api/tests.c:31415:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("TEST_ONLY");
data/libguestfs-1.42.0/tests/c-api/tests.c:31418:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_VGCREATE_0");
data/libguestfs-1.42.0/tests/c-api/tests.c:31420:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_VGCREATE");
data/libguestfs-1.42.0/tests/c-api/tests.c:31533:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("TEST_ONLY");
data/libguestfs-1.42.0/tests/c-api/tests.c:31536:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_VGCREATE_1");
data/libguestfs-1.42.0/tests/c-api/tests.c:31538:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_VGCREATE");
data/libguestfs-1.42.0/tests/c-api/tests.c:31632:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("TEST_ONLY");
data/libguestfs-1.42.0/tests/c-api/tests.c:31635:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_VGREMOVE_0");
data/libguestfs-1.42.0/tests/c-api/tests.c:31637:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_VGREMOVE");
data/libguestfs-1.42.0/tests/c-api/tests.c:31727:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("TEST_ONLY");
data/libguestfs-1.42.0/tests/c-api/tests.c:31730:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_VGREMOVE_1");
data/libguestfs-1.42.0/tests/c-api/tests.c:31732:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_VGREMOVE");
data/libguestfs-1.42.0/tests/c-api/tests.c:31815:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("TEST_ONLY");
data/libguestfs-1.42.0/tests/c-api/tests.c:31818:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_VGRENAME_0");
data/libguestfs-1.42.0/tests/c-api/tests.c:31820:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_VGRENAME");
data/libguestfs-1.42.0/tests/c-api/tests.c:31911:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("TEST_ONLY");
data/libguestfs-1.42.0/tests/c-api/tests.c:31914:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_VGS_0");
data/libguestfs-1.42.0/tests/c-api/tests.c:31916:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_VGS");
data/libguestfs-1.42.0/tests/c-api/tests.c:31968:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("TEST_ONLY");
data/libguestfs-1.42.0/tests/c-api/tests.c:31971:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_VGS_1");
data/libguestfs-1.42.0/tests/c-api/tests.c:31973:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_VGS");
data/libguestfs-1.42.0/tests/c-api/tests.c:32079:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("TEST_ONLY");
data/libguestfs-1.42.0/tests/c-api/tests.c:32082:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_VGSCAN_0");
data/libguestfs-1.42.0/tests/c-api/tests.c:32084:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_VGSCAN");
data/libguestfs-1.42.0/tests/c-api/tests.c:32122:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("TEST_ONLY");
data/libguestfs-1.42.0/tests/c-api/tests.c:32125:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_WC_C_0");
data/libguestfs-1.42.0/tests/c-api/tests.c:32127:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_WC_C");
data/libguestfs-1.42.0/tests/c-api/tests.c:32173:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("TEST_ONLY");
data/libguestfs-1.42.0/tests/c-api/tests.c:32176:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_WC_L_0");
data/libguestfs-1.42.0/tests/c-api/tests.c:32178:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_WC_L");
data/libguestfs-1.42.0/tests/c-api/tests.c:32224:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("TEST_ONLY");
data/libguestfs-1.42.0/tests/c-api/tests.c:32227:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_WC_L_1");
data/libguestfs-1.42.0/tests/c-api/tests.c:32229:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_WC_L");
data/libguestfs-1.42.0/tests/c-api/tests.c:32275:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("TEST_ONLY");
data/libguestfs-1.42.0/tests/c-api/tests.c:32278:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_WC_W_0");
data/libguestfs-1.42.0/tests/c-api/tests.c:32280:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_WC_W");
data/libguestfs-1.42.0/tests/c-api/tests.c:32333:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("TEST_ONLY");
data/libguestfs-1.42.0/tests/c-api/tests.c:32336:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_WIPEFS_0");
data/libguestfs-1.42.0/tests/c-api/tests.c:32338:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_WIPEFS");
data/libguestfs-1.42.0/tests/c-api/tests.c:32384:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("TEST_ONLY");
data/libguestfs-1.42.0/tests/c-api/tests.c:32387:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_WRITE_0");
data/libguestfs-1.42.0/tests/c-api/tests.c:32389:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_WRITE");
data/libguestfs-1.42.0/tests/c-api/tests.c:32440:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("TEST_ONLY");
data/libguestfs-1.42.0/tests/c-api/tests.c:32443:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_WRITE_1");
data/libguestfs-1.42.0/tests/c-api/tests.c:32445:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_WRITE");
data/libguestfs-1.42.0/tests/c-api/tests.c:32496:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("TEST_ONLY");
data/libguestfs-1.42.0/tests/c-api/tests.c:32499:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_WRITE_2");
data/libguestfs-1.42.0/tests/c-api/tests.c:32501:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_WRITE");
data/libguestfs-1.42.0/tests/c-api/tests.c:32552:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("TEST_ONLY");
data/libguestfs-1.42.0/tests/c-api/tests.c:32555:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_WRITE_3");
data/libguestfs-1.42.0/tests/c-api/tests.c:32557:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_WRITE");
data/libguestfs-1.42.0/tests/c-api/tests.c:32608:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("TEST_ONLY");
data/libguestfs-1.42.0/tests/c-api/tests.c:32611:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_WRITE_4");
data/libguestfs-1.42.0/tests/c-api/tests.c:32613:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_WRITE");
data/libguestfs-1.42.0/tests/c-api/tests.c:32664:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("TEST_ONLY");
data/libguestfs-1.42.0/tests/c-api/tests.c:32667:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_WRITE_5");
data/libguestfs-1.42.0/tests/c-api/tests.c:32669:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_WRITE");
data/libguestfs-1.42.0/tests/c-api/tests.c:32720:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("TEST_ONLY");
data/libguestfs-1.42.0/tests/c-api/tests.c:32723:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_WRITE_APPEND_0");
data/libguestfs-1.42.0/tests/c-api/tests.c:32725:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_WRITE_APPEND");
data/libguestfs-1.42.0/tests/c-api/tests.c:32797:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("TEST_ONLY");
data/libguestfs-1.42.0/tests/c-api/tests.c:32800:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_WRITE_FILE_0");
data/libguestfs-1.42.0/tests/c-api/tests.c:32802:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_WRITE_FILE");
data/libguestfs-1.42.0/tests/c-api/tests.c:32851:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("TEST_ONLY");
data/libguestfs-1.42.0/tests/c-api/tests.c:32854:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_XFS_ADMIN_0");
data/libguestfs-1.42.0/tests/c-api/tests.c:32856:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_XFS_ADMIN");
data/libguestfs-1.42.0/tests/c-api/tests.c:32937:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("TEST_ONLY");
data/libguestfs-1.42.0/tests/c-api/tests.c:32940:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_XFS_ADMIN_1");
data/libguestfs-1.42.0/tests/c-api/tests.c:32942:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_XFS_ADMIN");
data/libguestfs-1.42.0/tests/c-api/tests.c:33015:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("TEST_ONLY");
data/libguestfs-1.42.0/tests/c-api/tests.c:33018:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_XFS_ADMIN_2");
data/libguestfs-1.42.0/tests/c-api/tests.c:33020:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_XFS_ADMIN");
data/libguestfs-1.42.0/tests/c-api/tests.c:33093:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("TEST_ONLY");
data/libguestfs-1.42.0/tests/c-api/tests.c:33096:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_XFS_GROWFS_0");
data/libguestfs-1.42.0/tests/c-api/tests.c:33098:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_XFS_GROWFS");
data/libguestfs-1.42.0/tests/c-api/tests.c:33207:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("TEST_ONLY");
data/libguestfs-1.42.0/tests/c-api/tests.c:33210:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_XFS_INFO_0");
data/libguestfs-1.42.0/tests/c-api/tests.c:33212:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_XFS_INFO");
data/libguestfs-1.42.0/tests/c-api/tests.c:33285:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("TEST_ONLY");
data/libguestfs-1.42.0/tests/c-api/tests.c:33288:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_XFS_REPAIR_0");
data/libguestfs-1.42.0/tests/c-api/tests.c:33290:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_XFS_REPAIR");
data/libguestfs-1.42.0/tests/c-api/tests.c:33346:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("TEST_ONLY");
data/libguestfs-1.42.0/tests/c-api/tests.c:33349:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_ZEGREP_0");
data/libguestfs-1.42.0/tests/c-api/tests.c:33351:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_ZEGREP");
data/libguestfs-1.42.0/tests/c-api/tests.c:33398:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("TEST_ONLY");
data/libguestfs-1.42.0/tests/c-api/tests.c:33401:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_ZEGREPI_0");
data/libguestfs-1.42.0/tests/c-api/tests.c:33403:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_ZEGREPI");
data/libguestfs-1.42.0/tests/c-api/tests.c:33450:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("TEST_ONLY");
data/libguestfs-1.42.0/tests/c-api/tests.c:33453:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_ZERO_0");
data/libguestfs-1.42.0/tests/c-api/tests.c:33455:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_ZERO");
data/libguestfs-1.42.0/tests/c-api/tests.c:33503:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("TEST_ONLY");
data/libguestfs-1.42.0/tests/c-api/tests.c:33506:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_ZERO_DEVICE_0");
data/libguestfs-1.42.0/tests/c-api/tests.c:33508:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_ZERO_DEVICE");
data/libguestfs-1.42.0/tests/c-api/tests.c:33547:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("TEST_ONLY");
data/libguestfs-1.42.0/tests/c-api/tests.c:33550:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_ZERO_FREE_SPACE_0");
data/libguestfs-1.42.0/tests/c-api/tests.c:33552:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_ZERO_FREE_SPACE");
data/libguestfs-1.42.0/tests/c-api/tests.c:33598:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("TEST_ONLY");
data/libguestfs-1.42.0/tests/c-api/tests.c:33601:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_ZEROFREE_0");
data/libguestfs-1.42.0/tests/c-api/tests.c:33603:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_ZEROFREE");
data/libguestfs-1.42.0/tests/c-api/tests.c:33694:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("TEST_ONLY");
data/libguestfs-1.42.0/tests/c-api/tests.c:33697:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_ZFGREP_0");
data/libguestfs-1.42.0/tests/c-api/tests.c:33699:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_ZFGREP");
data/libguestfs-1.42.0/tests/c-api/tests.c:33746:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("TEST_ONLY");
data/libguestfs-1.42.0/tests/c-api/tests.c:33749:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_ZFGREPI_0");
data/libguestfs-1.42.0/tests/c-api/tests.c:33751:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_ZFGREPI");
data/libguestfs-1.42.0/tests/c-api/tests.c:33798:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("TEST_ONLY");
data/libguestfs-1.42.0/tests/c-api/tests.c:33801:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_ZGREP_0");
data/libguestfs-1.42.0/tests/c-api/tests.c:33803:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_ZGREP");
data/libguestfs-1.42.0/tests/c-api/tests.c:33850:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("TEST_ONLY");
data/libguestfs-1.42.0/tests/c-api/tests.c:33853:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_ZGREPI_0");
data/libguestfs-1.42.0/tests/c-api/tests.c:33855:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_ZGREPI");
data/libguestfs-1.42.0/tests/charsets/test-charset-fidelity.c:85:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv (ourenvvar);
data/libguestfs-1.42.0/tests/charsets/test-charset-fidelity.c:130:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv (envvar);
data/libguestfs-1.42.0/tests/disks/test-add-disks.c:107:9:  [3] (buffer) getopt_long:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
    c = getopt_long (argc, argv, options, long_options, &option_index);
data/libguestfs-1.42.0/tests/events/test-libvirt-auth-callbacks.c:62: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.
  srcdir = getenv ("srcdir");
data/libguestfs-1.42.0/tests/mount-local/test-parallel-mount-local.c:88:3:  [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.
  srandom (time (NULL) + getpid ());
data/libguestfs-1.42.0/tests/mount-local/test-parallel-mount-local.c:97: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.
  skip = getenv ("SKIP_TEST_PARALLEL_MOUNT_LOCAL");
data/libguestfs-1.42.0/tests/mount-local/test-parallel-mount-local.c:281:30:  [3] (random) random:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
  const int nr_passes = 5 + (random () & 31);
data/libguestfs-1.42.0/tests/mountable/test-internal-parse-mountable.c:41:7:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  s = getenv ("SKIP_TEST_INTERNAL_PARSE_MOUNTABLE");
data/libguestfs-1.42.0/tests/parallel/test-parallel.c:78:3:  [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.
  srandom (time (NULL) + getpid ());
data/libguestfs-1.42.0/tests/parallel/test-parallel.c:81: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.
  slow = getenv ("SLOW");
data/libguestfs-1.42.0/tests/parallel/test-parallel.c:89: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.
  skip = getenv ("SKIP_TEST_PARALLEL");
data/libguestfs-1.42.0/tests/regressions/rhbz914931.c:48:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  str = getenv ("SKIP_TEST_RHBZ914931");
data/libguestfs-1.42.0/tests/regressions/test-big-heap.c:49:7:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  s = getenv ("SKIP_TEST_BIG_HEAP");
data/libguestfs-1.42.0/tests/xml/fake-libvirt-xml.c:47: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.
  path = getenv ("FAKE_LIBVIRT_XML");
data/libguestfs-1.42.0/builder/index-parser-c.c:60: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).
  in = fopen (String_val (filenamev), "r");
data/libguestfs-1.42.0/builder/index-validate.c:111: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).
  in = fopen (input, "r");
data/libguestfs-1.42.0/builder/pxzcat-c.c:101: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 (String_val (outputfilev), O_WRONLY|O_CREAT|O_TRUNC|O_NOCTTY, 0666);
data/libguestfs-1.42.0/builder/pxzcat-c.c:159: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 (String_val (filenamev), O_RDONLY);
data/libguestfs-1.42.0/builder/pxzcat-c.c:183: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).
  ofd = open (String_val (outputfilev), O_WRONLY|O_CREAT|O_NOCTTY, 0644);
data/libguestfs-1.42.0/builder/pxzcat-c.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 buf[XZ_HEADER_MAGIC_LEN];
data/libguestfs-1.42.0/cat/filesystems.c:396:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  const char *headings[NR_COLUMNS];
data/libguestfs-1.42.0/cat/filesystems.c:554:11:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    const char *parents[2];
data/libguestfs-1.42.0/cat/filesystems.c:595: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 uuid[33];
data/libguestfs-1.42.0/cat/filesystems.c:601: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 (uuid, vgs->val[i].vg_uuid, 32);
data/libguestfs-1.42.0/cat/filesystems.c:643: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 uuid[33];
data/libguestfs-1.42.0/cat/filesystems.c:644:11:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    const char *parents[1] = { NULL };
data/libguestfs-1.42.0/cat/filesystems.c:651: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 (uuid, pvs->val[i].pv_uuid, 32);
data/libguestfs-1.42.0/cat/filesystems.c:691:11:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    const char *parents[2];
data/libguestfs-1.42.0/cat/filesystems.c:890:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  const char *strings[NR_COLUMNS];
data/libguestfs-1.42.0/cat/filesystems.c:893:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char hum[LONGEST_HUMAN_READABLE];
data/libguestfs-1.42.0/cat/filesystems.c:894:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char num[256];
data/libguestfs-1.42.0/cat/filesystems.c:895:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char mbr_id_str[INT_BUFSIZE_BOUND (mbr_id)];
data/libguestfs-1.42.0/cat/log.c:373: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[64];
data/libguestfs-1.42.0/cat/log.c:441:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char dev_fd[64];
data/libguestfs-1.42.0/cat/log.c:476:13:  [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).
  if ((fd = mkstemp (localfile)) == -1) {
data/libguestfs-1.42.0/cat/log.c:495: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/libguestfs-1.42.0/cat/ls.c:674:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-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[LONGEST_HUMAN_READABLE];
data/libguestfs-1.42.0/cat/ls.c:733: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[64];
data/libguestfs-1.42.0/common/edit/file-edit.c:216:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-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/libguestfs-1.42.0/common/edit/file-edit.c:225:8:  [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 (tmpfilename);
data/libguestfs-1.42.0/common/mlpcre/pcre-c.c:50: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 *) String_val (sv), p, len);
data/libguestfs-1.42.0/common/mlpcre/pcre-c.c:221: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 (m->subject, String_val (strv), len+1);
data/libguestfs-1.42.0/common/mltools/JSON_parser-c.c:133: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 + JSON_ERROR_TEXT_LENGTH];
data/libguestfs-1.42.0/common/mltools/JSON_parser-c.c:157:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char buf[1024 + JSON_ERROR_TEXT_LENGTH];
data/libguestfs-1.42.0/common/mltools/tools_utils-c.c:114:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char buf[64];
data/libguestfs-1.42.0/common/mlutils/c_utils-c.c:42:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char name[64];
data/libguestfs-1.42.0/common/mlutils/unix_utils-c.c:180: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_RDWR);
data/libguestfs-1.42.0/common/mlvisit/visit-c.c:46: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 *) String_val (sv), p, len);
data/libguestfs-1.42.0/common/mlxml/xml-c.c:51: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 *) String_val (sv), p, len);
data/libguestfs-1.42.0/common/options/config.c:58:8:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
  fp = fopen (filename, "r");
data/libguestfs-1.42.0/common/options/decrypt.c:50:3:  [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 (mapname, "luks");
data/libguestfs-1.42.0/common/options/decrypt.c:86: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 mapname[32];
data/libguestfs-1.42.0/common/options/keys.c:54:23:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
      (infp = outfp = fopen ("/dev/tty", "w+")) == NULL) {
data/libguestfs-1.42.0/common/options/keys.c:69: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 (&temp, &orig, sizeof temp);
data/libguestfs-1.42.0/common/options/keys.c:109:8:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
  fp = fopen (filename, "r");
data/libguestfs-1.42.0/common/parallel/domains.c:212:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char uuid[VIR_UUID_STRING_BUFLEN];
data/libguestfs-1.42.0/common/parallel/parallel.c:185: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 id[64];
data/libguestfs-1.42.0/common/progress/progress.c:139:15:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    bar->fp = fopen ("/dev/tty", "w"); /* deliberately ignore errors */
data/libguestfs-1.42.0/common/protocol/guestfs_protocol.h:33: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 pv_uuid[32];
data/libguestfs-1.42.0/common/protocol/guestfs_protocol.h:56: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 vg_uuid[32];
data/libguestfs-1.42.0/common/protocol/guestfs_protocol.h:84: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 lv_uuid[32];
data/libguestfs-1.42.0/common/qemuopts/qemuopts.c:588:8:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
  fp = fopen (filename, "w");
data/libguestfs-1.42.0/common/qemuopts/qemuopts.c:882:8:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
  fp = fopen (filename, "w");
data/libguestfs-1.42.0/common/utils/stringlists-utils.c:115:7:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
      memcpy (&r[rlen], sep, seplen);
data/libguestfs-1.42.0/common/utils/stringlists-utils.c:119: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 (&r[rlen], argv[i], len);
data/libguestfs-1.42.0/common/utils/stringlists-utils.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 reject[2] = { sep, '\0' };
data/libguestfs-1.42.0/common/utils/utils.c:157: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 ("/dev/urandom", O_RDONLY|O_CLOEXEC);
data/libguestfs-1.42.0/common/utils/utils.c:630:46:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      fprintf (fp, "%02x ", ((const unsigned char *)data)[j]);
data/libguestfs-1.42.0/common/utils/utils.c:635:30:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      if (c_isprint (((const char *)data)[j]))
data/libguestfs-1.42.0/common/utils/utils.c:636: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.
	fprintf (fp, "%c", ((const char *)data)[j]);
data/libguestfs-1.42.0/common/visit/visit.c:143: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 (attrval, xattrs->val[xattrp].attrval,
data/libguestfs-1.42.0/daemon/blkdiscard.c:75: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 (device, O_WRONLY|O_CLOEXEC);
data/libguestfs-1.42.0/daemon/blkdiscard.c:109: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 (device, O_RDONLY|O_CLOEXEC);
data/libguestfs-1.42.0/daemon/blockdev.c:47:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char buf[64];
data/libguestfs-1.42.0/daemon/btrfs.c:97:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  const char *argv[MAX_ARGS];
data/libguestfs-1.42.0/daemon/btrfs.c:99:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char size_str[32];
data/libguestfs-1.42.0/daemon/btrfs.c:145:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  const char *argv[MAX_ARGS];
data/libguestfs-1.42.0/daemon/btrfs.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 allocstart_s[64];
data/libguestfs-1.42.0/daemon/btrfs.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 bytecount_s[64];
data/libguestfs-1.42.0/daemon/btrfs.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 leafsize_s[64];
data/libguestfs-1.42.0/daemon/btrfs.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 nodesize_s[64];
data/libguestfs-1.42.0/daemon/btrfs.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 sectorsize_s[64];
data/libguestfs-1.42.0/daemon/btrfs.c:264:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  const char *argv[MAX_ARGS];
data/libguestfs-1.42.0/daemon/btrfs.c:312:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  const char *argv[MAX_ARGS];
data/libguestfs-1.42.0/daemon/btrfs.c:343:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  const char *argv[MAX_ARGS];
data/libguestfs-1.42.0/daemon/btrfs.c:477:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  const char *argv[MAX_ARGS];
data/libguestfs-1.42.0/daemon/btrfs.c:480:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char buf[64];
data/libguestfs-1.42.0/daemon/btrfs.c:512:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  const char *argv[MAX_ARGS];
data/libguestfs-1.42.0/daemon/btrfs.c:543:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  const char *argv[MAX_ARGS];
data/libguestfs-1.42.0/daemon/btrfs.c:598:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  const char *argv[MAX_ARGS];
data/libguestfs-1.42.0/daemon/btrfs.c:650:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  const char *argv[MAX_ARGS];
data/libguestfs-1.42.0/daemon/btrfs.c:787:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  const char *argv[MAX_ARGS];
data/libguestfs-1.42.0/daemon/btrfs.c:788:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char super_s[64];
data/libguestfs-1.42.0/daemon/btrfs.c:873:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  const char *argv[MAX_ARGS];
data/libguestfs-1.42.0/daemon/btrfs.c:978: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 (ss + ss_len, key, strlen (key));
data/libguestfs-1.42.0/daemon/btrfs.c:1017:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  const char *argv[MAX_ARGS];
data/libguestfs-1.42.0/daemon/btrfs.c:1052:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  const char *argv[MAX_ARGS];
data/libguestfs-1.42.0/daemon/btrfs.c:1084:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  const char *argv[MAX_ARGS];
data/libguestfs-1.42.0/daemon/btrfs.c:1088:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char size_str[32];
data/libguestfs-1.42.0/daemon/btrfs.c:1118:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  const char *argv[MAX_ARGS];
data/libguestfs-1.42.0/daemon/btrfs.c:1150:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  const char *argv[MAX_ARGS];
data/libguestfs-1.42.0/daemon/btrfs.c:1214:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  const char *argv[MAX_ARGS];
data/libguestfs-1.42.0/daemon/btrfs.c:1300:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  const char *argv[MAX_ARGS];
data/libguestfs-1.42.0/daemon/btrfs.c:1333:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  const char *argv[MAX_ARGS];
data/libguestfs-1.42.0/daemon/btrfs.c:1366:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  const char *argv[MAX_ARGS];
data/libguestfs-1.42.0/daemon/btrfs.c:1397:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  const char *argv[MAX_ARGS];
data/libguestfs-1.42.0/daemon/btrfs.c:1428:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  const char *argv[MAX_ARGS];
data/libguestfs-1.42.0/daemon/btrfs.c:1459:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  const char *argv[MAX_ARGS];
data/libguestfs-1.42.0/daemon/btrfs.c:1490:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  const char *argv[MAX_ARGS];
data/libguestfs-1.42.0/daemon/btrfs.c:1521:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  const char *argv[MAX_ARGS];
data/libguestfs-1.42.0/daemon/btrfs.c:1553:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  const char *argv[MAX_ARGS];
data/libguestfs-1.42.0/daemon/btrfs.c:1600:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  const char *argv[MAX_ARGS];
data/libguestfs-1.42.0/daemon/btrfs.c:1625:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  const char *argv[MAX_ARGS];
data/libguestfs-1.42.0/daemon/btrfs.c:1650:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  const char *argv[MAX_ARGS];
data/libguestfs-1.42.0/daemon/btrfs.c:1766:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  const char *argv[MAX_ARGS];
data/libguestfs-1.42.0/daemon/btrfs.c:1911:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  const char *argv[MAX_ARGS];
data/libguestfs-1.42.0/daemon/btrfs.c:1938:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  const char *argv[MAX_ARGS];
data/libguestfs-1.42.0/daemon/btrfs.c:1961:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  const char *argv[MAX_ARGS];
data/libguestfs-1.42.0/daemon/btrfs.c:1991:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  const char *argv[MAX_ARGS];
data/libguestfs-1.42.0/daemon/btrfs.c:1994:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char compresslevel_s[64];
data/libguestfs-1.42.0/daemon/btrfs.c:2035:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  const char *argv[MAX_ARGS];
data/libguestfs-1.42.0/daemon/btrfs.c:2071:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  const char *argv[MAX_ARGS];
data/libguestfs-1.42.0/daemon/caml-stubs.c:110: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 (&ret->guestfs_int_partition_list_val[i], r, sizeof (*r));
data/libguestfs-1.42.0/daemon/caml-stubs.c:186: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 (&ret->guestfs_int_btrfssubvolume_list_val[i], r, sizeof (*r));
data/libguestfs-1.42.0/daemon/checksum.c:94: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 (path, O_RDONLY|O_CLOEXEC);
data/libguestfs-1.42.0/daemon/checksum.c:110: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 (device, O_RDONLY|O_CLOEXEC);
data/libguestfs-1.42.0/daemon/command.c:227:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char buf[256];
data/libguestfs-1.42.0/daemon/command.c:294: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).
      if (open ("/dev/null", O_RDONLY) == -1) {
data/libguestfs-1.42.0/daemon/command.c:393: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 (*stdoutput + so_size - r, buf, r);
data/libguestfs-1.42.0/daemon/command.c:417: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 (*stderror + se_size - r, buf, r);
data/libguestfs-1.42.0/daemon/compress.c:184:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char filter[64];
data/libguestfs-1.42.0/daemon/compress.c:200:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char filter[64];
data/libguestfs-1.42.0/daemon/copy.c:95: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).
  src_fd = open (src, O_RDONLY|O_CLOEXEC);
data/libguestfs-1.42.0/daemon/copy.c:107: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).
  dest_fd = open (dest, wrflags, wrmode);
data/libguestfs-1.42.0/daemon/dd.c:75: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).
    src_fd = open (src, O_RDONLY | O_CLOEXEC);
data/libguestfs-1.42.0/daemon/dd.c:82: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).
    src_fd = open (buf, O_RDONLY | O_CLOEXEC);
data/libguestfs-1.42.0/daemon/dd.c:90: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).
    dest_fd = open (dest, O_WRONLY | O_CLOEXEC);
data/libguestfs-1.42.0/daemon/dd.c:98: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).
    dest_fd = open (buf, O_WRONLY|O_CREAT|O_TRUNC|O_NOCTTY|O_CLOEXEC, 0666);
data/libguestfs-1.42.0/daemon/debug-bmap.c:82:10:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    fd = open (path, O_RDONLY | O_CLOEXEC);
data/libguestfs-1.42.0/daemon/debug-bmap.c:137: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 buffer[BUFSIZ];
data/libguestfs-1.42.0/daemon/debug.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 link[256];
data/libguestfs-1.42.0/daemon/debug.c:256: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 (&cmd[j], argv[i], len);
data/libguestfs-1.42.0/daemon/debug.c:601:12:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
  int fd = open (CORE_PATTERN, O_WRONLY|O_CLOEXEC);
data/libguestfs-1.42.0/daemon/debug.c:703:12:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
  int fd = open (argv[0], O_RDONLY|O_DIRECT|O_CLOEXEC);
data/libguestfs-1.42.0/daemon/debug.c:814: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 (device, (writing ? O_WRONLY : O_RDONLY) | O_CLOEXEC | O_DIRECT);
data/libguestfs-1.42.0/daemon/debug.c:895:12:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
  int fd = open (filename, O_WRONLY|O_CREAT|O_TRUNC|O_NOCTTY|O_CLOEXEC, mode);
data/libguestfs-1.42.0/daemon/device-name-translation.c:167: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 dev[16];
data/libguestfs-1.42.0/daemon/device-name-translation.c:199: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 (ret, O_RDONLY|O_CLOEXEC);
data/libguestfs-1.42.0/daemon/device-name-translation.c:221: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 (ret, O_RDONLY|O_CLOEXEC);
data/libguestfs-1.42.0/daemon/device-name-translation.c:231: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 (ret, O_RDONLY|O_CLOEXEC);
data/libguestfs-1.42.0/daemon/device-name-translation.c:241: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 (ret, O_RDONLY|O_CLOEXEC);
data/libguestfs-1.42.0/daemon/device-name-translation.c:265: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 drv[16];
data/libguestfs-1.42.0/daemon/dropcaches.c:42: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 (PROCFILE, "w");
data/libguestfs-1.42.0/daemon/ext2.c:239:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-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[32];
data/libguestfs-1.42.0/daemon/ext2.c:355:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  const char *argv[MAX_ARGS];
data/libguestfs-1.42.0/daemon/ext2.c:414:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char blocksize_s[32];
data/libguestfs-1.42.0/daemon/ext2.c:442:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char blocksize_s[32];
data/libguestfs-1.42.0/daemon/ext2.c:465:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char blocksize_s[32];
data/libguestfs-1.42.0/daemon/ext2.c:487:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char blocksize_s[32];
data/libguestfs-1.42.0/daemon/ext2.c:521:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char blocksize_s[32];
data/libguestfs-1.42.0/daemon/ext2.c:561:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char blocksize_s[32];
data/libguestfs-1.42.0/daemon/ext2.c:604:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  const char *argv[MAX_ARGS];
data/libguestfs-1.42.0/daemon/ext2.c:608:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char maxmountcount_s[64];
data/libguestfs-1.42.0/daemon/ext2.c:609:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char mountcount_s[64];
data/libguestfs-1.42.0/daemon/ext2.c:610:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char group_s[64];
data/libguestfs-1.42.0/daemon/ext2.c:611:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char intervalbetweenchecks_s[64];
data/libguestfs-1.42.0/daemon/ext2.c:612:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char reservedblockspercentage_s[64];
data/libguestfs-1.42.0/daemon/ext2.c:613:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char reservedblockscount_s[64];
data/libguestfs-1.42.0/daemon/ext2.c:614:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char user_s[64];
data/libguestfs-1.42.0/daemon/ext2.c:787:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char attr_arg[26*2+1+1]; /* '+'/'-' + attrs + trailing '\0' */
data/libguestfs-1.42.0/daemon/ext2.c:892:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char generation_str[64];
data/libguestfs-1.42.0/daemon/ext2.c:955:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  const char *argv[MAX_ARGS];
data/libguestfs-1.42.0/daemon/ext2.c:956:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char blockscount_s[64];
data/libguestfs-1.42.0/daemon/ext2.c:957:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char blocksize_s[64];
data/libguestfs-1.42.0/daemon/ext2.c:958:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char fragsize_s[64];
data/libguestfs-1.42.0/daemon/ext2.c:959:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char blockspergroup_s[64];
data/libguestfs-1.42.0/daemon/ext2.c:960:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char numberofgroups_s[64];
data/libguestfs-1.42.0/daemon/ext2.c:961:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char bytesperinode_s[64];
data/libguestfs-1.42.0/daemon/ext2.c:962:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char inodesize_s[64];
data/libguestfs-1.42.0/daemon/ext2.c:963:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char journalsize_s[64];
data/libguestfs-1.42.0/daemon/ext2.c:966:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char reservedblockspercentage_s[64];
data/libguestfs-1.42.0/daemon/ext2.c:967:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char numberofinodes_s[64];
data/libguestfs-1.42.0/daemon/ext2.c:968:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char mmpupdateinterval_s[84];
data/libguestfs-1.42.0/daemon/ext2.c:969:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char stridesize_s[74];
data/libguestfs-1.42.0/daemon/ext2.c:970:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char stripewidth_s[84];
data/libguestfs-1.42.0/daemon/ext2.c:971:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char maxonlineresize_s[74];
data/libguestfs-1.42.0/daemon/fallocate.c:48: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 (path, O_WRONLY|O_CREAT|O_TRUNC|O_NOCTTY|O_CLOEXEC, 0666);
data/libguestfs-1.42.0/daemon/fallocate.c:65:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char buf[BUFSIZ];
data/libguestfs-1.42.0/daemon/file.c:66: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 (path, O_WRONLY|O_CREAT|O_NOCTTY|O_CLOEXEC, 0666);
data/libguestfs-1.42.0/daemon/file.c:210: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 (path, O_WRONLY|O_TRUNC|O_CREAT|O_NOCTTY|O_CLOEXEC, 0666);
data/libguestfs-1.42.0/daemon/file.c:238: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 (path, O_WRONLY|O_TRUNC|O_CREAT|O_NOCTTY|O_CLOEXEC, 0666);
data/libguestfs-1.42.0/daemon/file.c:266: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 (path, O_WRONLY|O_APPEND|O_CREAT|O_NOCTTY|O_CLOEXEC, 0666);
data/libguestfs-1.42.0/daemon/file.c:352: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 (path, O_RDONLY|O_CLOEXEC);
data/libguestfs-1.42.0/daemon/file.c:366:12:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
  int fd = open (device, O_RDONLY|O_CLOEXEC);
data/libguestfs-1.42.0/daemon/file.c:419: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 (path, O_WRONLY|O_CLOEXEC);
data/libguestfs-1.42.0/daemon/file.c:439:12:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
  int fd = open (device, O_WRONLY|O_CLOEXEC);
data/libguestfs-1.42.0/daemon/file.c:456:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char line[256];
data/libguestfs-1.42.0/daemon/fill.c:58: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 (path, O_WRONLY | O_CREAT | O_NOCTTY, 0666);
data/libguestfs-1.42.0/daemon/fill.c:104: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 (path, O_WRONLY | O_CREAT | O_NOCTTY, 0666);
data/libguestfs-1.42.0/daemon/fill.c:148:10:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    fd = open (filename, O_WRONLY|O_CREAT|O_NOCTTY|O_CLOEXEC, 0666);
data/libguestfs-1.42.0/daemon/fstrim.c:44:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  const char *argv[MAX_ARGS];
data/libguestfs-1.42.0/daemon/fstrim.c:46:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char offset_s[64], length_s[64], mfe_s[64];
data/libguestfs-1.42.0/daemon/grep.c:37:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  const char *argv[MAX_ARGS];
data/libguestfs-1.42.0/daemon/grep.c:66: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 (path, O_RDONLY|O_CLOEXEC);
data/libguestfs-1.42.0/daemon/guestfsd.c:253: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).
      sock = open (channel, O_RDWR|O_CLOEXEC);
data/libguestfs-1.42.0/daemon/guestfsd.c:314:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char lenbuf[4];
data/libguestfs-1.42.0/daemon/guestfsd.c:363:30:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (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 *str = *((const char **) (args[0]));
data/libguestfs-1.42.0/daemon/headtail.c:39: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 (path, O_RDONLY|O_CLOEXEC);
data/libguestfs-1.42.0/daemon/headtail.c:81:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char nbuf[16];
data/libguestfs-1.42.0/daemon/headtail.c:91:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char nbuf[16];
data/libguestfs-1.42.0/daemon/hexdump.c:38: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 (path, O_RDONLY|O_CLOEXEC);
data/libguestfs-1.42.0/daemon/initrd.c:139: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 (fullpath, O_RDONLY|O_CLOEXEC);
data/libguestfs-1.42.0/daemon/inotify.c:45: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 inotify_buf[64*1024*1024];	/* Event buffer, [0..posn-1] is valid */
data/libguestfs-1.42.0/daemon/inotify.c:92:10:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    fp = fopen (MQE_PATH, "w");
data/libguestfs-1.42.0/daemon/inotify.c:316:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-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[PATH_MAX];
data/libguestfs-1.42.0/daemon/inotify.c:319:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char cmd[64];
data/libguestfs-1.42.0/daemon/inotify.c:323:8:  [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 (tempfile);
data/libguestfs-1.42.0/daemon/link.c:41: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).
  fd_cwd = open (path, O_RDONLY|O_DIRECTORY|O_CLOEXEC);
data/libguestfs-1.42.0/daemon/luks.c:51:8:  [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 (tempfile);
data/libguestfs-1.42.0/daemon/luks.c:106:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  const char *argv[MAX_ARGS];
data/libguestfs-1.42.0/daemon/luks.c:175:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  const char *argv[MAX_ARGS];
data/libguestfs-1.42.0/daemon/luks.c:176:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char keyslot_s[16];
data/libguestfs-1.42.0/daemon/luks.c:234:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  const char *argv[MAX_ARGS];
data/libguestfs-1.42.0/daemon/luks.c:235:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char keyslot_s[16];
data/libguestfs-1.42.0/daemon/luks.c:270:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  const char *argv[MAX_ARGS];
data/libguestfs-1.42.0/daemon/luks.c:271:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char keyslot_s[16];
data/libguestfs-1.42.0/daemon/luks.c:299:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  const char *argv[MAX_ARGS];
data/libguestfs-1.42.0/daemon/lvm-filter.c:84: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 (conf, "we");
data/libguestfs-1.42.0/daemon/lvm-filter.c:144:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char lvm_cache[64];
data/libguestfs-1.42.0/daemon/lvm-filter.c:231:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  const char *const filters[2] = { "a/.*/", NULL };
data/libguestfs-1.42.0/daemon/lvm.c:53:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char buf[256];
data/libguestfs-1.42.0/daemon/lvm.c:217:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char size[64];
data/libguestfs-1.42.0/daemon/lvm.c:245:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char size[64];
data/libguestfs-1.42.0/daemon/lvm.c:277:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char size[64];
data/libguestfs-1.42.0/daemon/lvm.c:305:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char size[64];
data/libguestfs-1.42.0/daemon/lvm.c:472:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-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[32];
data/libguestfs-1.42.0/daemon/lvm.c:651:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  const char *argv[MAX_ARGS];
data/libguestfs-1.42.0/daemon/lvm.c:854:8:  [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 (tmp);
data/libguestfs-1.42.0/daemon/lvm.c:869: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 (tmp, O_RDONLY|O_CLOEXEC);
data/libguestfs-1.42.0/daemon/md.c:65: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 (dev, O_RDONLY);
data/libguestfs-1.42.0/daemon/md.c:100:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char nrdevices_s[32];
data/libguestfs-1.42.0/daemon/md.c:101:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char spare_s[32];
data/libguestfs-1.42.0/daemon/md.c:102:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char chunk_s[32];
data/libguestfs-1.42.0/daemon/md.c:166:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  const char *argv[MAX_ARGS];
data/libguestfs-1.42.0/daemon/md.c:365: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 ("/proc/mdstat", "r");
data/libguestfs-1.42.0/daemon/mkfs.c:38:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  const char *argv[MAX_ARGS];
data/libguestfs-1.42.0/daemon/mkfs.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 blocksize_str[32];
data/libguestfs-1.42.0/daemon/mkfs.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 inode_str[32];
data/libguestfs-1.42.0/daemon/mkfs.c:42:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char sectorsize_str[32];
data/libguestfs-1.42.0/daemon/mount.c:120:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  const char *argv[MAX_ARGS];
data/libguestfs-1.42.0/daemon/ntfs.c:112:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  const char *argv[MAX_ARGS];
data/libguestfs-1.42.0/daemon/ntfs.c:114:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char size_str[32];
data/libguestfs-1.42.0/daemon/ntfs.c:242:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  const char *argv[MAX_ARGS];
data/libguestfs-1.42.0/daemon/ntfsclone.c:72:8:  [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 (error_file);
data/libguestfs-1.42.0/daemon/parted.c:104:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char startstr[32];
data/libguestfs-1.42.0/daemon/parted.c:105:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char endstr[32];
data/libguestfs-1.42.0/daemon/parted.c:163:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char partnum_str[16];
data/libguestfs-1.42.0/daemon/parted.c:185:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char endstr[32];
data/libguestfs-1.42.0/daemon/parted.c:186:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char partnum_str[16];
data/libguestfs-1.42.0/daemon/parted.c:266:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char partstr[16];
data/libguestfs-1.42.0/daemon/parted.c:296:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char partstr[16];
data/libguestfs-1.42.0/daemon/parted.c:466:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char partnum_str[16];
data/libguestfs-1.42.0/daemon/parted.c:469:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char idbyte_str[16];
data/libguestfs-1.42.0/daemon/parted.c:617: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 (ret, value, value_len);
data/libguestfs-1.42.0/daemon/proto.c:84:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char lenbuf[4];
data/libguestfs-1.42.0/daemon/proto.c:248:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char lenbuf[4];
data/libguestfs-1.42.0/daemon/proto.c:309:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char lenbuf[4];
data/libguestfs-1.42.0/daemon/proto.c:359:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char lenbuf[4];
data/libguestfs-1.42.0/daemon/proto.c:449:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char fbuf[4];
data/libguestfs-1.42.0/daemon/proto.c:506:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-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/libguestfs-1.42.0/daemon/proto.c:556:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char lenbuf[4];
data/libguestfs-1.42.0/daemon/proto.c:633:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char buf[128];
data/libguestfs-1.42.0/daemon/rsync.c:44:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  const char *argv[MAX_ARGS];
data/libguestfs-1.42.0/daemon/selinux-relabel.c:59:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  const char *argv[MAX_ARGS];
data/libguestfs-1.42.0/daemon/sfdisk.c:37:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char buf[256];
data/libguestfs-1.42.0/daemon/sfdisk.c:40:3:  [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, "sfdisk");
data/libguestfs-1.42.0/daemon/sfdisk.c:43: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 + strlen (buf), " -N %d", n);
data/libguestfs-1.42.0/daemon/sfdisk.c:45: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 + strlen (buf), " -C %d", cyls);
data/libguestfs-1.42.0/daemon/sfdisk.c:47: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 + strlen (buf), " -H %d", heads);
data/libguestfs-1.42.0/daemon/sfdisk.c:49: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 + strlen (buf), " -S %d", sectors);
data/libguestfs-1.42.0/daemon/sfdisk.c:121:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char const *const lines[2] = { line, NULL };
data/libguestfs-1.42.0/daemon/squashfs.c:48:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  const char *argv[MAX_ARGS];
data/libguestfs-1.42.0/daemon/squashfs.c:68:8:  [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 (tmpfile);
data/libguestfs-1.42.0/daemon/squashfs.c:68:17:  [2] (tmpfile) tmpfile:
  Function tmpfile() has a security flaw on some systems (e.g., older System
  V systems) (CWE-377).
  fd = mkstemp (tmpfile);
data/libguestfs-1.42.0/daemon/squashfs.c:83:21:  [2] (tmpfile) tmpfile:
  Function tmpfile() has a security flaw on some systems (e.g., older System
  V systems) (CWE-377).
  ADD_ARG (argv, i, tmpfile);
data/libguestfs-1.42.0/daemon/squashfs.c:112: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 (tmpfile, "r");
data/libguestfs-1.42.0/daemon/squashfs.c:112:15:  [2] (tmpfile) tmpfile:
  Function tmpfile() has a security flaw on some systems (e.g., older System
  V systems) (CWE-377).
  fp = fopen (tmpfile, "r");
data/libguestfs-1.42.0/daemon/squashfs.c:114:30:  [2] (tmpfile) tmpfile:
  Function tmpfile() has a security flaw on some systems (e.g., older System
  V systems) (CWE-377).
    reply_with_perror ("%s", tmpfile);
data/libguestfs-1.42.0/daemon/squashfs.c:132:41:  [2] (tmpfile) tmpfile:
  Function tmpfile() has a security flaw on some systems (e.g., older System
  V systems) (CWE-377).
    fprintf (stderr, "fread: %s: %m\n", tmpfile);
data/libguestfs-1.42.0/daemon/squashfs.c:139:42:  [2] (tmpfile) tmpfile:
  Function tmpfile() has a security flaw on some systems (e.g., older System
  V systems) (CWE-377).
    fprintf (stderr, "fclose: %s: %m\n", tmpfile);
data/libguestfs-1.42.0/daemon/stat.c:147: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).
  path_fd = open (path, O_RDONLY|O_DIRECTORY|O_CLOEXEC);
data/libguestfs-1.42.0/daemon/strings.c:44: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 (path, O_RDONLY|O_CLOEXEC);
data/libguestfs-1.42.0/daemon/swap.c:48:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  const char *argv[MAX_ARGS];
data/libguestfs-1.42.0/daemon/sync.c:117: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).
      fd = open (dev_path, O_RDONLY|O_CLOEXEC);
data/libguestfs-1.42.0/daemon/sync.c:155:3:  [2] (buffer) TCHAR:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  TCHAR buffer[n1+2]; /* sic */
data/libguestfs-1.42.0/daemon/sync.c:177:7:  [2] (buffer) TCHAR:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      TCHAR volname[50];
data/libguestfs-1.42.0/daemon/syslinux.c:48:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  const char *argv[MAX_ARGS];
data/libguestfs-1.42.0/daemon/tar.c:66: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 (buf, O_WRONLY|O_CREAT|O_NOCTTY|O_CLOEXEC, 0666);
data/libguestfs-1.42.0/daemon/tar.c:173:8:  [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 (error_file);
data/libguestfs-1.42.0/daemon/truncate.c:38: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 (path, O_WRONLY|O_NOCTTY|O_CLOEXEC);
data/libguestfs-1.42.0/daemon/upload.c:100: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, flags, 0666);
data/libguestfs-1.42.0/daemon/upload.c:177: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|O_CLOEXEC);
data/libguestfs-1.42.0/daemon/upload.c:271: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|O_CLOEXEC);
data/libguestfs-1.42.0/daemon/utils.c:158: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 (device, O_RDONLY|O_CLOEXEC);
data/libguestfs-1.42.0/daemon/utils.c:631:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-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[len];
data/libguestfs-1.42.0/daemon/utils.c:637: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 testprog[n];
data/libguestfs-1.42.0/daemon/utils.c:678: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 ("/dev/urandom", O_RDONLY|O_CLOEXEC);
data/libguestfs-1.42.0/daemon/utils.c:715:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  const char *argv[MAX_ARGS];
data/libguestfs-1.42.0/daemon/utils.c:776:8:  [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 (template);
data/libguestfs-1.42.0/daemon/utils.c:844: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|O_CLOEXEC);
data/libguestfs-1.42.0/daemon/wc.c:38: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 (path, O_RDONLY|O_CLOEXEC);
data/libguestfs-1.42.0/daemon/xattr.c:415: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 num[16];
data/libguestfs-1.42.0/daemon/xfs.c:359:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  const char *argv[MAX_ARGS];
data/libguestfs-1.42.0/daemon/xfs.c:360:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char datasize_s[64];
data/libguestfs-1.42.0/daemon/xfs.c:361:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char logsize_s[64];
data/libguestfs-1.42.0/daemon/xfs.c:362:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char rtsize_s[64];
data/libguestfs-1.42.0/daemon/xfs.c:363:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char rtextsize_s[64];
data/libguestfs-1.42.0/daemon/xfs.c:364:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char maxpct_s[32];
data/libguestfs-1.42.0/daemon/xfs.c:481:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  const char *argv[MAX_ARGS];
data/libguestfs-1.42.0/daemon/xfs.c:553:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  const char *argv[MAX_ARGS];
data/libguestfs-1.42.0/daemon/xfs.c:554:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char maxmem_s[64];
data/libguestfs-1.42.0/daemon/xfs.c:555:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char ihashsize_s[70];
data/libguestfs-1.42.0/daemon/xfs.c:556:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char bhashsize_s[70];
data/libguestfs-1.42.0/daemon/xfs.c:557:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char agstride_s[74];
data/libguestfs-1.42.0/daemon/yara.c:76:8:  [2] (tmpfile) tmpfile:
  Function tmpfile() has a security flaw on some systems (e.g., older System
  V systems) (CWE-377).
  char tmpfile[] = "/tmp/yaraXXXXXX";
data/libguestfs-1.42.0/daemon/yara.c:78:8:  [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 (tmpfile);
data/libguestfs-1.42.0/daemon/yara.c:78:17:  [2] (tmpfile) tmpfile:
  Function tmpfile() has a security flaw on some systems (e.g., older System
  V systems) (CWE-377).
  fd = mkstemp (tmpfile);
data/libguestfs-1.42.0/daemon/yara.c:84:25:  [2] (tmpfile) tmpfile:
  Function tmpfile() has a security flaw on some systems (e.g., older System
  V systems) (CWE-377).
  r = upload_to_fd (fd, tmpfile);
data/libguestfs-1.42.0/daemon/yara.c:86:13:  [2] (tmpfile) tmpfile:
  Function tmpfile() has a security flaw on some systems (e.g., older System
  V systems) (CWE-377).
    unlink (tmpfile);
data/libguestfs-1.42.0/daemon/yara.c:95:15:  [2] (tmpfile) tmpfile:
  Function tmpfile() has a security flaw on some systems (e.g., older System
  V systems) (CWE-377).
      unlink (tmpfile);
data/libguestfs-1.42.0/daemon/yara.c:111:22:  [2] (tmpfile) tmpfile:
  Function tmpfile() has a security flaw on some systems (e.g., older System
  V systems) (CWE-377).
  r = yr_rules_load (tmpfile, &rules);
data/libguestfs-1.42.0/daemon/yara.c:113:29:  [2] (tmpfile) tmpfile:
  Function tmpfile() has a security flaw on some systems (e.g., older System
  V systems) (CWE-377).
    r = compile_rules_file (tmpfile);
data/libguestfs-1.42.0/daemon/yara.c:115:11:  [2] (tmpfile) tmpfile:
  Function tmpfile() has a security flaw on some systems (e.g., older System
  V systems) (CWE-377).
  unlink (tmpfile);
data/libguestfs-1.42.0/daemon/yara.c:147: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 (path, O_RDONLY|O_CLOEXEC);
data/libguestfs-1.42.0/daemon/yara.c:184:15:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
  rule_file = fopen (rules_path, "r");
data/libguestfs-1.42.0/daemon/zero.c:35: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 zero_buf[4096];
data/libguestfs-1.42.0/daemon/zero.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 buf[sizeof zero_buf];
data/libguestfs-1.42.0/daemon/zero.c:44: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 (device, O_RDWR|O_CLOEXEC);
data/libguestfs-1.42.0/daemon/zero.c:112:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  const char *argv[MAX_ARGS];
data/libguestfs-1.42.0/daemon/zero.c:143:12:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
  int fd = open (device, O_RDWR|O_CLOEXEC);
data/libguestfs-1.42.0/daemon/zero.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 buf[sizeof zero_buf];
data/libguestfs-1.42.0/daemon/zero.c:208: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 (path, O_RDONLY|O_CLOEXEC);
data/libguestfs-1.42.0/daemon/zero.c:250: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 (device, O_RDONLY|O_CLOEXEC);
data/libguestfs-1.42.0/daemon/zero.c:312: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_WRONLY|O_CREAT|O_EXCL|O_NOCTTY|O_CLOEXEC, 0600);
data/libguestfs-1.42.0/daemon/zero.c:373:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  const char *argv[MAX_ARGS];
data/libguestfs-1.42.0/df/output.c:47:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  const char *cols[6];
data/libguestfs-1.42.0/df/output.c:112:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-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][MAX_LEN];
data/libguestfs-1.42.0/df/output.c:113:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  const char *cols[4];
data/libguestfs-1.42.0/diff/diff.c:1016:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-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[LONGEST_HUMAN_READABLE];
data/libguestfs-1.42.0/diff/diff.c:1075: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[64];
data/libguestfs-1.42.0/erlang/main.c:135: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 sbuf[4];
data/libguestfs-1.42.0/examples/copy-over.c:64:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char fdname[128];
data/libguestfs-1.42.0/examples/copy-over.c:164:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char fdname[128];
data/libguestfs-1.42.0/fish/cmds-gperf.c:660:17:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
static unsigned char gperf_downcase[256] =
data/libguestfs-1.42.0/fish/display.c:44:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char buf[256];
data/libguestfs-1.42.0/fish/display.c:68:8:  [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 (filename);
data/libguestfs-1.42.0/fish/fish.c:64:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char *argv[64];
data/libguestfs-1.42.0/fish/fish.c:533: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).
    if (open (file, O_RDONLY|O_CLOEXEC) == -1)
data/libguestfs-1.42.0/fish/fish.c:603:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      char device[64];
data/libguestfs-1.42.0/fish/fish.c:605: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 (device, "/dev/sd");
data/libguestfs-1.42.0/fish/fish.c:672: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[8192];
data/libguestfs-1.42.0/fish/fish.c:1407: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 (&tok[tok_end], p, end - p - 1);
data/libguestfs-1.42.0/fish/fish.c:1418: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 (&tok[tok_end], p, end - p);
data/libguestfs-1.42.0/fish/fish.c:1469: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 histfile[1024];
data/libguestfs-1.42.0/fish/fish.c:1531:10:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    fd = open (histfile, O_WRONLY|O_CREAT|O_NOCTTY|O_CLOEXEC, 0600);
data/libguestfs-1.42.0/fish/fish.c:1881:8:  [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 (file_in_tmpfile);
data/libguestfs-1.42.0/fish/hexedit.c:107:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char tmpfd[sizeof "/dev/fd/" + 3 * sizeof (int)];
data/libguestfs-1.42.0/fish/hexedit.c:116: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).
  int fd = mkstemp (tmp);
data/libguestfs-1.42.0/fish/man.c:56: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 status_string[80];
data/libguestfs-1.42.0/fish/more.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 buf[256];
data/libguestfs-1.42.0/fish/more.c:70:8:  [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 (filename);
data/libguestfs-1.42.0/fish/rc.c:55:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char dir[128];
data/libguestfs-1.42.0/fish/rc.c:95: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 control[CMSG_SPACE (sizeof (int))]; /* space for 1 fd */
data/libguestfs-1.42.0/fish/rc.c:102:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char buf[1];
data/libguestfs-1.42.0/fish/rc.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 (&fd, CMSG_DATA (cmptr), sizeof fd);
data/libguestfs-1.42.0/fish/rc.c:153: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 control[CMSG_SPACE (sizeof (int))]; /* space for 1 fd */
data/libguestfs-1.42.0/fish/rc.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 buf[1];
data/libguestfs-1.42.0/fish/rc.c:184: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 (CMSG_DATA (cmptr), &fd, sizeof fd);
data/libguestfs-1.42.0/fish/rc.c:195: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 ("/dev/null", O_WRONLY);
data/libguestfs-1.42.0/fish/rc.c:210:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char sockpath[UNIX_PATH_MAX];
data/libguestfs-1.42.0/fish/rc.c:360:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char sockpath[UNIX_PATH_MAX];
data/libguestfs-1.42.0/format/format.c:421: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 *devs[2] = { dev, NULL };
data/libguestfs-1.42.0/fuse/guestmount.c:236:29:  [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).
        dir_cache_timeout = atoi (optarg);
data/libguestfs-1.42.0/fuse/guestmount.c:436:10:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    fd = open ("/dev/null", O_RDWR);
data/libguestfs-1.42.0/fuse/guestmount.c:485: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 (pid_file, "w");
data/libguestfs-1.42.0/fuse/test-fuse.c:75:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char cmd[128];
data/libguestfs-1.42.0/fuse/test-fuse.c:243:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-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[128];
data/libguestfs-1.42.0/fuse/test-fuse.c:271: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 ("hello.txt", "r");
data/libguestfs-1.42.0/fuse/test-fuse.c:289: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 ("world.txt", "r");
data/libguestfs-1.42.0/fuse/test-fuse.c:352: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 ("new", "w");
data/libguestfs-1.42.0/fuse/test-fuse.c:471: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 ("old", "w");
data/libguestfs-1.42.0/fuse/test-fuse.c:496: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 ("new", "w");
data/libguestfs-1.42.0/fuse/test-fuse.c:524: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 ("truncated", "w");
data/libguestfs-1.42.0/fuse/test-fuse.c:552: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 ("timestamp", O_WRONLY|O_CREAT|O_TRUNC|O_NOCTTY|O_CLOEXEC, 0644);
data/libguestfs-1.42.0/fuse/test-fuse.c:582: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 ("timestamp", O_WRONLY|O_CREAT|O_TRUNC|O_NOCTTY|O_CLOEXEC, 0644);
data/libguestfs-1.42.0/fuse/test-fuse.c:615: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 ("new.txt", "w");
data/libguestfs-1.42.0/fuse/test-fuse.c:633: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 ("new.txt", "r");
data/libguestfs-1.42.0/fuse/test-guestmount-fd.c:87: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 fd_str[64];
data/libguestfs-1.42.0/fuse/test-guestmount-fd.c:129: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 status_string[80];
data/libguestfs-1.42.0/fuse/test-guestmount-fd.c:149: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 status_string[80];
data/libguestfs-1.42.0/fuse/test-guestunmount-fd.c:68:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char fd_str[64];
data/libguestfs-1.42.0/fuse/test-guestunmount-fd.c:90: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 status_string[80];
data/libguestfs-1.42.0/fuse/test-guestunmount-fd.c:109:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char status_string[80];
data/libguestfs-1.42.0/gnulib/lib/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/libguestfs-1.42.0/gnulib/lib/at-func.c:89: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 proc_buf[OPENAT_BUFFER_SIZE];
data/libguestfs-1.42.0/gnulib/lib/base64.c:62: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 b64c[64] =
data/libguestfs-1.42.0/gnulib/lib/base64.c:252: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 b64[0x100] = {
data/libguestfs-1.42.0/gnulib/lib/base64.h:38:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char buf[4];
data/libguestfs-1.42.0/gnulib/lib/careadlinkat.c:73:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char stack_buf[1024];
data/libguestfs-1.42.0/gnulib/lib/careadlinkat.c:124: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 (b, buf, link_size);
data/libguestfs-1.42.0/gnulib/lib/dirent-private.h:37:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char dir_name_mask[1];
data/libguestfs-1.42.0/gnulib/lib/dirent.in.h:41:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char d_name[1];
data/libguestfs-1.42.0/gnulib/lib/dirname-lgpl.c:81:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  memcpy (dir, file, length);
data/libguestfs-1.42.0/gnulib/lib/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/libguestfs-1.42.0/gnulib/lib/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/libguestfs-1.42.0/gnulib/lib/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/libguestfs-1.42.0/gnulib/lib/error.c:180:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char errbuf[1024];
data/libguestfs-1.42.0/gnulib/lib/fcntl.c:61:12:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  unsigned char fds_to_close[OPEN_MAX_MAX / CHAR_BIT];
data/libguestfs-1.42.0/gnulib/lib/fcntl.in.h:143: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/libguestfs-1.42.0/gnulib/lib/fcntl.in.h:144: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/libguestfs-1.42.0/gnulib/lib/fcntl.in.h:146: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/libguestfs-1.42.0/gnulib/lib/fcntl.in.h:148: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/libguestfs-1.42.0/gnulib/lib/fcntl.in.h:150: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/libguestfs-1.42.0/gnulib/lib/fcntl.in.h:155: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/libguestfs-1.42.0/gnulib/lib/fcntl.in.h:158: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/libguestfs-1.42.0/gnulib/lib/fcntl.in.h:160: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/libguestfs-1.42.0/gnulib/lib/filenamecat-lgpl.c:31:47:  [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/libguestfs-1.42.0/gnulib/lib/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/libguestfs-1.42.0/gnulib/lib/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/libguestfs-1.42.0/gnulib/lib/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/libguestfs-1.42.0/gnulib/lib/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/libguestfs-1.42.0/gnulib/lib/getcwd-lgpl.c:80:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char tmp[4032];
data/libguestfs-1.42.0/gnulib/lib/getlogin_r.c:104:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  memcpy (name, n, nlen + 1);
data/libguestfs-1.42.0/gnulib/lib/getprogname.c:152:11:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
          char status64[1216];
data/libguestfs-1.42.0/gnulib/lib/getprogname.c:222:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char filename[50];
data/libguestfs-1.42.0/gnulib/lib/getprogname.c:225:3:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
  sprintf (filename, "/proc/pinfo/%d", (int) getpid ());
data/libguestfs-1.42.0/gnulib/lib/getprogname.c:226:8:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
  fd = open (filename, O_RDONLY);
data/libguestfs-1.42.0/gnulib/lib/getprogname.c:243:22:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
              return memcpy (namecopy, name, namelen);
data/libguestfs-1.42.0/gnulib/lib/gettext.h:227:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char msg_ctxt_id[msgctxt_len + msgid_len];
data/libguestfs-1.42.0/gnulib/lib/gettext.h:229:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char buf[1024];
data/libguestfs-1.42.0/gnulib/lib/gettext.h:238:7:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
      memcpy (msg_ctxt_id, msgctxt, msgctxt_len - 1);
data/libguestfs-1.42.0/gnulib/lib/gettext.h:240:7:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
      memcpy (msg_ctxt_id + msgctxt_len, msgid, msgid_len);
data/libguestfs-1.42.0/gnulib/lib/gettext.h:275:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char msg_ctxt_id[msgctxt_len + msgid_len];
data/libguestfs-1.42.0/gnulib/lib/gettext.h:277:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char buf[1024];
data/libguestfs-1.42.0/gnulib/lib/gettext.h:286:7:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
      memcpy (msg_ctxt_id, msgctxt, msgctxt_len - 1);
data/libguestfs-1.42.0/gnulib/lib/gettext.h:288:7:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
      memcpy (msg_ctxt_id + msgctxt_len, msgid, msgid_len);
data/libguestfs-1.42.0/gnulib/lib/glob.c:640:19:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
                  memcpy (mem, home_drive, home_drive_len);
data/libguestfs-1.42.0/gnulib/lib/glob.c:641:19:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
                  memcpy (mem + home_drive_len, home_path, home_path_len + 1);
data/libguestfs-1.42.0/gnulib/lib/glob.c:1272:43:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    struct globnames *next; size_t count; char *name[nnames];
data/libguestfs-1.42.0/gnulib/lib/hard-locale.c:29:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char locale[SETLOCALE_NULL_MAX];
data/libguestfs-1.42.0/gnulib/lib/human.c:89:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char buf[2 * INT_STRLEN_BOUND (uintmax_t) + 1];
data/libguestfs-1.42.0/gnulib/lib/human.c:91:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  memcpy (buf, number, numberlen);
data/libguestfs-1.42.0/gnulib/lib/human.c:109: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 (d, buf + i, grouplen);
data/libguestfs-1.42.0/gnulib/lib/human.c:114: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 (d, thousands_sep, thousands_seplen);
data/libguestfs-1.42.0/gnulib/lib/human.c:232: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 (buf, "%.0Lf", adjust_value (inexact_style, damt));
data/libguestfs-1.42.0/gnulib/lib/human.c:250: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 (buf, "%.1Lf", adjust_value (inexact_style, damt));
data/libguestfs-1.42.0/gnulib/lib/human.c:258:13:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
            sprintf (buf, "%.0Lf",
data/libguestfs-1.42.0/gnulib/lib/human.c:318:21:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
                    memcpy (p, decimal_point, decimal_pointlen);
data/libguestfs-1.42.0/gnulib/lib/human.c:339:17:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
                memcpy (p, decimal_point, decimal_pointlen);
data/libguestfs-1.42.0/gnulib/lib/localcharset.c:88:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  const char alias[11+1];
data/libguestfs-1.42.0/gnulib/lib/localcharset.c:89:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  const char canonical[11+1];
data/libguestfs-1.42.0/gnulib/lib/localcharset.c:579:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  const char locale[17+1];
data/libguestfs-1.42.0/gnulib/lib/localcharset.c:580:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  const char canonical[11+1];
data/libguestfs-1.42.0/gnulib/lib/localcharset.c:856: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 resultbuf[2 + 10 + 1];
data/libguestfs-1.42.0/gnulib/lib/localcharset.c:883: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 (resultbuf, dot, modifier - dot);
data/libguestfs-1.42.0/gnulib/lib/localcharset.c:902:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        char buf[2 + 10 + 1];
data/libguestfs-1.42.0/gnulib/lib/localcharset.c:904: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 (buf, "CP%u", GetACP ());
data/libguestfs-1.42.0/gnulib/lib/localcharset.c:917:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-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[2 + 10 + 1];
data/libguestfs-1.42.0/gnulib/lib/localcharset.c:918: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 resultbuf[2 + 10 + 1];
data/libguestfs-1.42.0/gnulib/lib/localcharset.c:939: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/libguestfs-1.42.0/gnulib/lib/localcharset.c:954: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 resultbuf[2 + 10 + 1];
data/libguestfs-1.42.0/gnulib/lib/localcharset.c:986: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 (resultbuf, dot, modifier - dot);
data/libguestfs-1.42.0/gnulib/lib/localcharset.c:1004:11:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
          char buf[2 + 10 + 1];
data/libguestfs-1.42.0/gnulib/lib/localcharset.c:1006: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/libguestfs-1.42.0/gnulib/lib/malloc/scratch_buffer.h:69:32:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  union { max_align_t __align; char __c[1024]; } __space;
data/libguestfs-1.42.0/gnulib/lib/malloc/scratch_buffer_grow_preserve.c:40:7:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
      memcpy (new_ptr, buffer->__space.__c, buffer->length);
data/libguestfs-1.42.0/gnulib/lib/mbrtowc-impl.h:41:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char buf[4];
data/libguestfs-1.42.0/gnulib/lib/mbrtowc.c:66: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/libguestfs-1.42.0/gnulib/lib/mempcpy.c:27:19:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  return (char *) memcpy (dest, src, n) + n;
data/libguestfs-1.42.0/gnulib/lib/open.c:33:10:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
  return open (filename, flags, mode);
data/libguestfs-1.42.0/gnulib/lib/open.c:55:1:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
open (const char *filename, int flags, ...)
data/libguestfs-1.42.0/gnulib/lib/open.c:159:16:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
          fd = open ("/dev/null", flags, mode);
data/libguestfs-1.42.0/gnulib/lib/openat-priv.h:47: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 *openat_proc_name (char buf[OPENAT_BUFFER_SIZE], int fd, char const *file);
data/libguestfs-1.42.0/gnulib/lib/openat-priv.h:47:25:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
char *openat_proc_name (char buf[OPENAT_BUFFER_SIZE], int fd, char const *file);
data/libguestfs-1.42.0/gnulib/lib/openat-proc.c:43: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 *
data/libguestfs-1.42.0/gnulib/lib/openat-proc.c:44: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.
openat_proc_name (char buf[OPENAT_BUFFER_SIZE], int fd, char const *file)
data/libguestfs-1.42.0/gnulib/lib/openat-proc.c:76:28:  [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 proc_self_fd = open ("/proc/self/fd",
data/libguestfs-1.42.0/gnulib/lib/openat-proc.c:87: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 dotdot_buf[PROC_SELF_FD_DIR_SIZE_BOUND + sizeof "../fd" - 1];
data/libguestfs-1.42.0/gnulib/lib/openat-proc.c:112: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 dir[_MAX_PATH];
data/libguestfs-1.42.0/gnulib/lib/openat.c:221: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).
    return open (file, flags, mode);
data/libguestfs-1.42.0/gnulib/lib/openat.c:224: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[OPENAT_BUFFER_SIZE];
data/libguestfs-1.42.0/gnulib/lib/openat.c:228:27:  [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 open_result = open (proc_file, flags, mode);
data/libguestfs-1.42.0/gnulib/lib/openat.c:265: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).
      err = open (file, flags, mode);
data/libguestfs-1.42.0/gnulib/lib/openat.c:292:12:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
  int fd = open ("/", O_SEARCH);
data/libguestfs-1.42.0/gnulib/lib/openat.c:296: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[OPENAT_BUFFER_SIZE];
data/libguestfs-1.42.0/gnulib/lib/opendir.c:61:14:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    int fd = open (dir_name, O_RDONLY);
data/libguestfs-1.42.0/gnulib/lib/opendir.c:77:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char dir_name_mask[MAX_PATH + 1 + 1 + 1];
data/libguestfs-1.42.0/gnulib/lib/opendir.c:150:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    memcpy (&dirp->entry, &entry, sizeof (WIN32_FIND_DATA));
data/libguestfs-1.42.0/gnulib/lib/perror.c:35:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char stackbuf[STACKBUF_LEN];
data/libguestfs-1.42.0/gnulib/lib/printf-parse.c:122:11:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
          memcpy (memory, a->arg, a->count * sizeof (argument));        \
data/libguestfs-1.42.0/gnulib/lib/printf-parse.c:593:17:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
                memcpy (memory, d->dir, d->count * sizeof (DIRECTIVE));
data/libguestfs-1.42.0/gnulib/lib/quotearg.c:842: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 slot0[256];
data/libguestfs-1.42.0/gnulib/lib/save-cwd.c:66: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).
  cwd->desc = open (".", O_SEARCH | O_CLOEXEC);
data/libguestfs-1.42.0/gnulib/lib/select.c:55:12:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  unsigned char in[FD_SETSIZE / CHAR_BIT];
data/libguestfs-1.42.0/gnulib/lib/select.c:56:12:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  unsigned char out[FD_SETSIZE / CHAR_BIT];
data/libguestfs-1.42.0/gnulib/lib/select.c:261:12:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  unsigned char anyfds_in[FD_SETSIZE / CHAR_BIT];
data/libguestfs-1.42.0/gnulib/lib/select.c:418:11:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
          memcpy (&handle_rfds, rfds, sizeof (fd_set));
data/libguestfs-1.42.0/gnulib/lib/select.c:419:11:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
          memcpy (&handle_wfds, wfds, sizeof (fd_set));
data/libguestfs-1.42.0/gnulib/lib/select.c:420:11:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
          memcpy (&handle_xfds, xfds, sizeof (fd_set));
data/libguestfs-1.42.0/gnulib/lib/select.c:494:11:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
          memcpy (&handle_rfds, rfds, sizeof (fd_set));
data/libguestfs-1.42.0/gnulib/lib/select.c:495:11:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
          memcpy (&handle_wfds, wfds, sizeof (fd_set));
data/libguestfs-1.42.0/gnulib/lib/select.c:496:11:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
          memcpy (&handle_xfds, xfds, sizeof (fd_set));
data/libguestfs-1.42.0/gnulib/lib/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/libguestfs-1.42.0/gnulib/lib/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/libguestfs-1.42.0/gnulib/lib/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/libguestfs-1.42.0/gnulib/lib/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/libguestfs-1.42.0/gnulib/lib/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/libguestfs-1.42.0/gnulib/lib/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/libguestfs-1.42.0/gnulib/lib/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/libguestfs-1.42.0/gnulib/lib/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/libguestfs-1.42.0/gnulib/lib/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/libguestfs-1.42.0/gnulib/lib/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/libguestfs-1.42.0/gnulib/lib/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/libguestfs-1.42.0/gnulib/lib/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/libguestfs-1.42.0/gnulib/lib/setlocale_null.c:157: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 (buf, result, length + 1);
data/libguestfs-1.42.0/gnulib/lib/setlocale_null.c:167: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, result, bufsize - 1);
data/libguestfs-1.42.0/gnulib/lib/setlocale_null.c:322:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      char buf[SETLOCALE_NULL_ALL_MAX];
data/libguestfs-1.42.0/gnulib/lib/setlocale_null.c:323: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 resultbuf[SETLOCALE_NULL_ALL_MAX];
data/libguestfs-1.42.0/gnulib/lib/setlocale_null.c:365: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[SETLOCALE_NULL_MAX];
data/libguestfs-1.42.0/gnulib/lib/setlocale_null.c:366: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 resultbuf[LC_INDICES_COUNT][SETLOCALE_NULL_MAX];
data/libguestfs-1.42.0/gnulib/lib/stat-w32.c:196:15:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
              memcpy (&buf->st_ino, &id.FileId, sizeof (ino_t));
data/libguestfs-1.42.0/gnulib/lib/stat-w32.c:249:15:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
              char fpath[PATH_MAX];
data/libguestfs-1.42.0/gnulib/lib/stat.c:172: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/libguestfs-1.42.0/gnulib/lib/stdio-impl.h:56:35:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
                         unsigned char _ubuf[3]; \
data/libguestfs-1.42.0/gnulib/lib/stdio-impl.h:57:35:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
                         unsigned char _nbuf[1]; \
data/libguestfs-1.42.0/gnulib/lib/stdio-impl.h:95:35:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
                         unsigned char _ubuf[3]; \
data/libguestfs-1.42.0/gnulib/lib/stdio-impl.h:96:35:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
                         unsigned char _nbuf[1]; \
data/libguestfs-1.42.0/gnulib/lib/stdio.in.h:301:11:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
#   undef fopen
data/libguestfs-1.42.0/gnulib/lib/stdio.in.h:302:12:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
#   define fopen rpl_fopen
data/libguestfs-1.42.0/gnulib/lib/stdio.in.h:304:19:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
_GL_FUNCDECL_RPL (fopen, FILE *,
data/libguestfs-1.42.0/gnulib/lib/stdio.in.h:307:19:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
_GL_CXXALIAS_RPL (fopen, FILE *,
data/libguestfs-1.42.0/gnulib/lib/stdio.in.h:310:19:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
_GL_CXXALIAS_SYS (fopen, FILE *,
data/libguestfs-1.42.0/gnulib/lib/stdio.in.h:314:19:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
_GL_CXXALIASWARN (fopen);
data/libguestfs-1.42.0/gnulib/lib/stdio.in.h:317:9:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
# undef fopen
data/libguestfs-1.42.0/gnulib/lib/stdio.in.h:319:18:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
_GL_WARN_ON_USE (fopen, "fopen on native Windows platforms is not POSIX compliant - "
data/libguestfs-1.42.0/gnulib/lib/stdio.in.h:1218:12:  [2] (tmpfile) tmpfile:
  Function tmpfile() has a security flaw on some systems (e.g., older System
  V systems) (CWE-377).
#   define tmpfile rpl_tmpfile
data/libguestfs-1.42.0/gnulib/lib/stdio.in.h:1220:19:  [2] (tmpfile) tmpfile:
  Function tmpfile() has a security flaw on some systems (e.g., older System
  V systems) (CWE-377).
_GL_FUNCDECL_RPL (tmpfile, FILE *, (void));
data/libguestfs-1.42.0/gnulib/lib/stdio.in.h:1221:19:  [2] (tmpfile) tmpfile:
  Function tmpfile() has a security flaw on some systems (e.g., older System
  V systems) (CWE-377).
_GL_CXXALIAS_RPL (tmpfile, FILE *, (void));
data/libguestfs-1.42.0/gnulib/lib/stdio.in.h:1223:19:  [2] (tmpfile) tmpfile:
  Function tmpfile() has a security flaw on some systems (e.g., older System
  V systems) (CWE-377).
_GL_CXXALIAS_SYS (tmpfile, FILE *, (void));
data/libguestfs-1.42.0/gnulib/lib/stdio.in.h:1226:19:  [2] (tmpfile) tmpfile:
  Function tmpfile() has a security flaw on some systems (e.g., older System
  V systems) (CWE-377).
_GL_CXXALIASWARN (tmpfile);
data/libguestfs-1.42.0/gnulib/lib/stdio.in.h:1229:9:  [2] (tmpfile) tmpfile:
  Function tmpfile() has a security flaw on some systems (e.g., older System
  V systems) (CWE-377).
# undef tmpfile
data/libguestfs-1.42.0/gnulib/lib/stdio.in.h:1231:18:  [2] (tmpfile) tmpfile:
  Function tmpfile() has a security flaw on some systems (e.g., older System
  V systems) (CWE-377).
_GL_WARN_ON_USE (tmpfile, "tmpfile is not usable on mingw - "
data/libguestfs-1.42.0/gnulib/lib/stdlib.in.h:425: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/libguestfs-1.42.0/gnulib/lib/stdlib.in.h:427: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/libguestfs-1.42.0/gnulib/lib/stdlib.in.h:428: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/libguestfs-1.42.0/gnulib/lib/stdlib.in.h:431: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/libguestfs-1.42.0/gnulib/lib/stdlib.in.h:433: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/libguestfs-1.42.0/gnulib/lib/stdlib.in.h:435: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/libguestfs-1.42.0/gnulib/lib/stdlib.in.h:437: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/libguestfs-1.42.0/gnulib/lib/stdlib.in.h:439: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/libguestfs-1.42.0/gnulib/lib/strdup.c:47:19:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  return (char *) memcpy (new, s, len);
data/libguestfs-1.42.0/gnulib/lib/strerror.c:39:10:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  static char buf[STACKBUF_LEN];
data/libguestfs-1.42.0/gnulib/lib/strerror.c:69:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  memcpy (buf, msg, len + 1);
data/libguestfs-1.42.0/gnulib/lib/strerror_r.c:192: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/libguestfs-1.42.0/gnulib/lib/strerror_r.c:219: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/libguestfs-1.42.0/gnulib/lib/strerror_r.c:238: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/libguestfs-1.42.0/gnulib/lib/strndup.c:35:10:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  return memcpy (new, s, len);
data/libguestfs-1.42.0/gnulib/lib/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/libguestfs-1.42.0/gnulib/lib/sys_stat.in.h:796: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/libguestfs-1.42.0/gnulib/lib/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_RPL (utimensat, int, (int fd, char const *name,
data/libguestfs-1.42.0/gnulib/lib/sys_stat.in.h:803: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/libguestfs-1.42.0/gnulib/lib/sys_stat.in.h:807: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/libguestfs-1.42.0/gnulib/lib/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/libguestfs-1.42.0/gnulib/lib/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/libguestfs-1.42.0/gnulib/lib/utime.c:33:28:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
_gl_utimens_windows (const char *name, struct timespec ts[2])
data/libguestfs-1.42.0/gnulib/lib/utime.c:77: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/libguestfs-1.42.0/gnulib/lib/utime.in.h:83:39:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
extern int _gl_utimens_windows (const char *filename, struct timespec ts[2]);
data/libguestfs-1.42.0/gnulib/lib/utimens.c:170:20:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
fdutimens (int fd, char const *file, struct timespec const timespec[2])
data/libguestfs-1.42.0/gnulib/lib/utimens.c:505: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.
utimens (char const *file, struct timespec const timespec[2])
data/libguestfs-1.42.0/gnulib/lib/utimens.c:515: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.
lutimens (char const *file, struct timespec const timespec[2])
data/libguestfs-1.42.0/gnulib/lib/utimens.h:21:21:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
int fdutimens (int, char const *, struct timespec const [2]);
data/libguestfs-1.42.0/gnulib/lib/utimens.h:22: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.
int utimens (char const *, struct timespec const [2]);
data/libguestfs-1.42.0/gnulib/lib/utimens.h:23: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.
int lutimens (char const *, struct timespec const [2]);
data/libguestfs-1.42.0/gnulib/lib/utimens.h:37:35:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
int fdutimensat (int fd, int dir, char const *name, struct timespec const [2],
data/libguestfs-1.42.0/gnulib/lib/utimens.h:42: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.
lutimensat (int dir, char const *file, struct timespec const times[2])
data/libguestfs-1.42.0/gnulib/lib/vasnprintf.c:151:21:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
#  define DCHAR_CPY memcpy
data/libguestfs-1.42.0/gnulib/lib/vasnprintf.c:295:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char pointbuf[5];
data/libguestfs-1.42.0/gnulib/lib/vasnprintf.c:296:3:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
  sprintf (pointbuf, "%#.0f", 1.0);
data/libguestfs-1.42.0/gnulib/lib/vasnprintf.c:520:7:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
      memcpy (r_ptr, a_ptr, a_len * sizeof (mp_limb_t));
data/libguestfs-1.42.0/gnulib/lib/vasnprintf.c:656:11:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
          memcpy (r_ptr, a_ptr, a_len * sizeof (mp_limb_t));
data/libguestfs-1.42.0/gnulib/lib/vasnprintf.c:2666:27:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
                          char cbuf[64]; /* Assume MB_CUR_MAX <= 64.  */
data/libguestfs-1.42.0/gnulib/lib/vasnprintf.c:2711:27:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
                          char cbuf[64]; /* Assume MB_CUR_MAX <= 64.  */
data/libguestfs-1.42.0/gnulib/lib/vasnprintf.c:2761:25:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
                        char cbuf[64]; /* Assume MB_CUR_MAX <= 64.  */
data/libguestfs-1.42.0/gnulib/lib/vasnprintf.c:2774:25:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
                        memcpy (tmpptr, cbuf, count);
data/libguestfs-1.42.0/gnulib/lib/vasnprintf.c:2842:27:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
                          char cbuf[64]; /* Assume MB_CUR_MAX <= 64.  */
data/libguestfs-1.42.0/gnulib/lib/vasnprintf.c:2855:27:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
                          memcpy (result + length, cbuf, count);
data/libguestfs-1.42.0/gnulib/lib/vasnprintf.c:2871:27:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
                          char cbuf[64]; /* Assume MB_CUR_MAX <= 64.  */
data/libguestfs-1.42.0/gnulib/lib/vasnprintf.c:2893:27:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
                          memcpy (result + length, cbuf, count);
data/libguestfs-1.42.0/gnulib/lib/vasnprintf.c:3174:35:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
                                  sprintf ((char *) p, "%+d", exponent);
data/libguestfs-1.42.0/gnulib/lib/vasnprintf.c:3180:35:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
                                  char expbuf[6 + 1];
data/libguestfs-1.42.0/gnulib/lib/vasnprintf.c:3182:35:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
                                  sprintf (expbuf, "%+d", exponent);
data/libguestfs-1.42.0/gnulib/lib/vasnprintf.c:3325:35:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
                                  sprintf ((char *) p, "%+d", exponent);
data/libguestfs-1.42.0/gnulib/lib/vasnprintf.c:3331:35:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
                                  char expbuf[6 + 1];
data/libguestfs-1.42.0/gnulib/lib/vasnprintf.c:3333:35:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
                                  sprintf (expbuf, "%+d", exponent);
data/libguestfs-1.42.0/gnulib/lib/vasnprintf.c:3400:17:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
                memcpy (result + length, tmp, count * sizeof (DCHAR_T));
data/libguestfs-1.42.0/gnulib/lib/vasnprintf.c:3785:37:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
                                    sprintf ((char *) p, "%+.2d", exponent);
data/libguestfs-1.42.0/gnulib/lib/vasnprintf.c:3791:37:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
                                    char expbuf[6 + 1];
data/libguestfs-1.42.0/gnulib/lib/vasnprintf.c:3793:37:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
                                    sprintf (expbuf, "%+.2d", exponent);
data/libguestfs-1.42.0/gnulib/lib/vasnprintf.c:3966:45:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
                                            sprintf ((char *) p, "%+.2d", exponent);
data/libguestfs-1.42.0/gnulib/lib/vasnprintf.c:3972:45:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
                                            char expbuf[6 + 1];
data/libguestfs-1.42.0/gnulib/lib/vasnprintf.c:3974:45:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
                                            sprintf (expbuf, "%+.2d", exponent);
data/libguestfs-1.42.0/gnulib/lib/vasnprintf.c:4264:39:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
                                      char expbuf[6 + 1];
data/libguestfs-1.42.0/gnulib/lib/vasnprintf.c:4457:47:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
                                              char expbuf[6 + 1];
data/libguestfs-1.42.0/gnulib/lib/vasnprintf.c:4583:17:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
                memcpy (result + length, tmp, count * sizeof (DCHAR_T));
data/libguestfs-1.42.0/gnulib/lib/vasnprintf.c:4791:29:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
                            memcpy (fbp, dp->width_start, n * sizeof (TCHAR_T));
data/libguestfs-1.42.0/gnulib/lib/vasnprintf.c:4812:29:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
                            memcpy (fbp, dp->precision_start, n * sizeof (TCHAR_T));
data/libguestfs-1.42.0/gnulib/lib/vasnprintf.c:5526:21:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
                    memcpy (result + length, tmp, count * sizeof (DCHAR_T));
data/libguestfs-1.42.0/gnulib/lib/windows-tls.c:228:21:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
                    memcpy (new_table, dtor_table,
data/libguestfs-1.42.0/gnulib/lib/xmalloc.c:113:10:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  return memcpy (xmalloc (s), p, s);
data/libguestfs-1.42.0/gnulib/lib/xvasprintf.c:67:7:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
      memcpy (p, next, len);
data/libguestfs-1.42.0/gnulib/tests/at-func.c:89: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 proc_buf[OPENAT_BUFFER_SIZE];
data/libguestfs-1.42.0/gnulib/tests/btowc.c:31:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      char buf[1];
data/libguestfs-1.42.0/gnulib/tests/dup.c:66: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/libguestfs-1.42.0/gnulib/tests/dup.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).
        dupfd = open (path, O_RDONLY);
data/libguestfs-1.42.0/gnulib/tests/ftruncate.c:90:18:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
          static char zero_bytes[1024];
data/libguestfs-1.42.0/gnulib/tests/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/libguestfs-1.42.0/gnulib/tests/inet_pton.c:116:12:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  unsigned char tmp[NS_INADDRSZ], *tp;
data/libguestfs-1.42.0/gnulib/tests/inet_pton.c:152:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  memcpy (dst, tmp, NS_INADDRSZ);
data/libguestfs-1.42.0/gnulib/tests/inet_pton.c:175:12:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  unsigned char tmp[NS_IN6ADDRSZ], *tp, *endp, *colonp;
data/libguestfs-1.42.0/gnulib/tests/inet_pton.c:262:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  memcpy (dst, tmp, NS_IN6ADDRSZ);
data/libguestfs-1.42.0/gnulib/tests/localename-table.h:33:11:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    const char *category_name[6];
data/libguestfs-1.42.0/gnulib/tests/localename.c:1182:26:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  typedef struct { const char legacy[21+1]; const char unixy[5+1]; }
data/libguestfs-1.42.0/gnulib/tests/localename.c:1182:51:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  typedef struct { const char legacy[21+1]; const char unixy[5+1]; }
data/libguestfs-1.42.0/gnulib/tests/localename.c:1320:26:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  typedef struct { const char langtag[7+1]; const char unixy[12+1]; }
data/libguestfs-1.42.0/gnulib/tests/localename.c:1320:51:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  typedef struct { const char langtag[7+1]; const char unixy[12+1]; }
data/libguestfs-1.42.0/gnulib/tests/localename.c:1372:26:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  typedef struct { const char script[4+1]; const char unixy[9+1]; }
data/libguestfs-1.42.0/gnulib/tests/localename.c:1372:50:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  typedef struct { const char script[4+1]; const char unixy[9+1]; }
data/libguestfs-1.42.0/gnulib/tests/localename.c:1506:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      static char namebuf[256];
data/libguestfs-1.42.0/gnulib/tests/localename.c:2563:8:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
static char lname[LC_MAX * (LOCALE_NAME_MAX_LENGTH + 1) + 1];
data/libguestfs-1.42.0/gnulib/tests/localename.c:2570:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char locval[2 * LOCALE_NAME_MAX_LENGTH + 1 + 1];
data/libguestfs-1.42.0/gnulib/tests/localename.c:2606:10:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  static char last_locale[1000];
data/libguestfs-1.42.0/gnulib/tests/localename.c:2663:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char contents[FLEXIBLE_ARRAY_MEMBER];
data/libguestfs-1.42.0/gnulib/tests/localename.c:2694:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  memcpy (new_node->contents, string, size);
data/libguestfs-1.42.0/gnulib/tests/localename.c:3172:30:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
              return ((const char * const *) lcp)[category];
data/libguestfs-1.42.0/gnulib/tests/localename.c:3190:28:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
            return ((const char * const *) thread_locale)[category];
data/libguestfs-1.42.0/gnulib/tests/localename.c:3206:11:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
          char categories[7][32];
data/libguestfs-1.42.0/gnulib/tests/localename.c:3404:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        char namebuf[256];
data/libguestfs-1.42.0/gnulib/tests/nap.h:72:16:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
      nap_fd = open (TEMPFILE, O_RDWR, 0600);
data/libguestfs-1.42.0/gnulib/tests/pthread_sigmask.c:47:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  memcpy (&omask_copy, &omask, sizeof omask);
data/libguestfs-1.42.0/gnulib/tests/pthread_sigmask.c:70:9:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        memcpy (old_mask, &omask, sizeof omask);
data/libguestfs-1.42.0/gnulib/tests/putenv.c:81:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    memcpy (name_, name, len);
data/libguestfs-1.42.0/gnulib/tests/putenv.c:145:7:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
      memcpy (name_x, string, name_end - string + 1);
data/libguestfs-1.42.0/gnulib/tests/putenv.c:186:7:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
      memcpy (new_environ + 1, environ, (size + 1) * sizeof *new_environ);
data/libguestfs-1.42.0/gnulib/tests/setlocale.c:676:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char llCC_buf[64];
data/libguestfs-1.42.0/gnulib/tests/setlocale.c:677:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char ll_buf[64];
data/libguestfs-1.42.0/gnulib/tests/setlocale.c:678:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char CC_buf[64];
data/libguestfs-1.42.0/gnulib/tests/setlocale.c:752:13:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
            memcpy (ll_buf, llCC_buf, underscore - llCC_buf);
data/libguestfs-1.42.0/gnulib/tests/setlocale.c:755:13:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
            memcpy (CC_buf, territory_start, territory_end - territory_start);
data/libguestfs-1.42.0/gnulib/tests/setlocale.c:788:29:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
                            char buf[64+64];
data/libguestfs-1.42.0/gnulib/tests/setlocale.c:792:29:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
                            memcpy (buf, part1, part1_len);
data/libguestfs-1.42.0/gnulib/tests/setlocale.c:794:29:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
                            memcpy (buf + part1_len + 1, part2, part2_len);
data/libguestfs-1.42.0/gnulib/tests/setlocale.c:868:8:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
static char lc_messages_name[64] = "C";
data/libguestfs-1.42.0/gnulib/tests/setlocale.c:1523: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 buf[256];
data/libguestfs-1.42.0/gnulib/tests/snprintf.c:57:11:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
          memcpy (str, output, pruned_len);
data/libguestfs-1.42.0/gnulib/tests/socket-client.h:45: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 dotted[4] = { 127, 0, 0, 1 }; /* 127.0.0.1 */
data/libguestfs-1.42.0/gnulib/tests/socket-client.h:46: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 (&addr.sin_addr.s_addr, dotted, 4);
data/libguestfs-1.42.0/gnulib/tests/socket-server.h:69: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 dotted[4] = { 127, 0, 0, 1 }; /* 127.0.0.1 */
data/libguestfs-1.42.0/gnulib/tests/socket-server.h:70: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 (&addr.sin_addr.s_addr, dotted, 4);
data/libguestfs-1.42.0/gnulib/tests/spawn.in.h:181:26:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
                   const char *_Restrict_ __path,
data/libguestfs-1.42.0/gnulib/tests/spawn.in.h:184:20:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
                   char *const argv[_Restrict_arr_],
data/libguestfs-1.42.0/gnulib/tests/spawn.in.h:185:20:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
                   char *const envp[_Restrict_arr_])
data/libguestfs-1.42.0/gnulib/tests/spawn.in.h:189:26:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
                   const char *_Restrict_ __path,
data/libguestfs-1.42.0/gnulib/tests/spawn.in.h:192:20:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
                   char *const argv[_Restrict_arr_],
data/libguestfs-1.42.0/gnulib/tests/spawn.in.h:193:20:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
                   char *const envp[_Restrict_arr_]));
data/libguestfs-1.42.0/gnulib/tests/spawn.in.h:198:26:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
                   const char *_Restrict_ __path,
data/libguestfs-1.42.0/gnulib/tests/spawn.in.h:201:20:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
                   char *const argv[_Restrict_arr_],
data/libguestfs-1.42.0/gnulib/tests/spawn.in.h:202:20:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
                   char *const envp[_Restrict_arr_])
data/libguestfs-1.42.0/gnulib/tests/spawn.in.h:207:26:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
                   const char *_Restrict_ __path,
data/libguestfs-1.42.0/gnulib/tests/spawn.in.h:210:20:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
                   char *const argv[_Restrict_arr_],
data/libguestfs-1.42.0/gnulib/tests/spawn.in.h:211:20:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
                   char *const envp[_Restrict_arr_]));
data/libguestfs-1.42.0/gnulib/tests/spawnattr_setsigmask.c:30: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 (&attr->_ss, sigmask, sizeof (sigset_t));
data/libguestfs-1.42.0/gnulib/tests/spawni.c:47:26:  [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_not_cancel open
data/libguestfs-1.42.0/gnulib/tests/spawni.c:77:10:  [2] (race) vfork:
  On some old systems, vfork() permits race conditions, and it's very
  difficult to use correctly (CWE-362). Use fork() instead.
# define vfork __vfork
data/libguestfs-1.42.0/gnulib/tests/spawni.c:167:15:  [2] (race) vfork:
  On some old systems, vfork() permits race conditions, and it's very
  difficult to use correctly (CWE-362). Use fork() instead.
    new_pid = vfork ();
data/libguestfs-1.42.0/gnulib/tests/spawni.c:337: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.
  name = (char *) memcpy (name + pathlen + 1, file, len);
data/libguestfs-1.42.0/gnulib/tests/spawni.c:354:27:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        startp = (char *) memcpy (name - (p - path), path, p - path);
data/libguestfs-1.42.0/gnulib/tests/test-areadlinkat.c:58: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).
  dfd = open (".", O_RDONLY);
data/libguestfs-1.42.0/gnulib/tests/test-base64.c:35:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char out[255];
data/libguestfs-1.42.0/gnulib/tests/test-binary-io.c:38:7:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
      open ("t-bin-out0.tmp", O_CREAT | O_TRUNC | O_RDWR | O_BINARY, 0600);
data/libguestfs-1.42.0/gnulib/tests/test-dup2.c:113:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char buffer[1];
data/libguestfs-1.42.0/gnulib/tests/test-dup2.c:115:12:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
  int fd = open (file, O_CREAT | O_TRUNC | O_RDWR, 0600);
data/libguestfs-1.42.0/gnulib/tests/test-dup2.c:177:11:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
  ASSERT (open ("/dev/null", O_WRONLY, 0600) == fd + 1);
data/libguestfs-1.42.0/gnulib/tests/test-fchdir.c:44: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 (".", O_RDONLY);
data/libguestfs-1.42.0/gnulib/tests/test-fchdir.c:62:18:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    int bad_fd = open ("/dev/null", O_RDONLY);
data/libguestfs-1.42.0/gnulib/tests/test-fgetc.c:49:14:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    int fd = open (filename, O_RDWR | O_CREAT | O_TRUNC, 0600);
data/libguestfs-1.42.0/gnulib/tests/test-fgetc.c:58:16:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    FILE *fp = fopen (filename, "r");
data/libguestfs-1.42.0/gnulib/tests/test-fputc.c:49:16:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    FILE *fp = fopen (filename, "w");
data/libguestfs-1.42.0/gnulib/tests/test-fread.c:49:14:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    int fd = open (filename, O_RDWR | O_CREAT | O_TRUNC, 0600);
data/libguestfs-1.42.0/gnulib/tests/test-fread.c:58:16:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    FILE *fp = fopen (filename, "r");
data/libguestfs-1.42.0/gnulib/tests/test-fread.c:59:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char buf[5];
data/libguestfs-1.42.0/gnulib/tests/test-fread.c:75:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        char buf[1];
data/libguestfs-1.42.0/gnulib/tests/test-fread.c:89:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        char buf[1];
data/libguestfs-1.42.0/gnulib/tests/test-fstatat.c:96: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).
  dfd = open (".", O_RDONLY);
data/libguestfs-1.42.0/gnulib/tests/test-ftruncate.c:49:14:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    int fd = open (filename, O_RDONLY);
data/libguestfs-1.42.0/gnulib/tests/test-fwrite.c:49:16:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    FILE *fp = fopen (filename, "w");
data/libguestfs-1.42.0/gnulib/tests/test-fwrite.c:50:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char buf[5] = "world";
data/libguestfs-1.42.0/gnulib/tests/test-fwrite.c:67:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        char buf[5] = "world";
data/libguestfs-1.42.0/gnulib/tests/test-fwrite.c:82:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        char buf[5] = "world";
data/libguestfs-1.42.0/gnulib/tests/test-getdelim.c:40:7:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
  f = fopen ("test-getdelim.txt", "wb");
data/libguestfs-1.42.0/gnulib/tests/test-getdelim.c:47:7:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
  f = fopen ("test-getdelim.txt", "rb");
data/libguestfs-1.42.0/gnulib/tests/test-getline.c:40:7:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
  f = fopen ("test-getline.txt", "wb");
data/libguestfs-1.42.0/gnulib/tests/test-getline.c:47:7:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
  f = fopen ("test-getline.txt", "rb");
data/libguestfs-1.42.0/gnulib/tests/test-getopt.h:103: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 *non_options[10];
data/libguestfs-1.42.0/gnulib/tests/test-getopt.h:107: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 *argv[10];
data/libguestfs-1.42.0/gnulib/tests/test-getopt.h:135: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 *non_options[10];
data/libguestfs-1.42.0/gnulib/tests/test-getopt.h:139: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 *argv[10];
data/libguestfs-1.42.0/gnulib/tests/test-getopt.h:168: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 *non_options[10];
data/libguestfs-1.42.0/gnulib/tests/test-getopt.h:172: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 *argv[10];
data/libguestfs-1.42.0/gnulib/tests/test-getopt.h:200: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 *non_options[10];
data/libguestfs-1.42.0/gnulib/tests/test-getopt.h:204: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 *argv[10];
data/libguestfs-1.42.0/gnulib/tests/test-getopt.h:235: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 *non_options[10];
data/libguestfs-1.42.0/gnulib/tests/test-getopt.h:239: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 *argv[10];
data/libguestfs-1.42.0/gnulib/tests/test-getopt.h:266: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 *non_options[10];
data/libguestfs-1.42.0/gnulib/tests/test-getopt.h:270: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 *argv[10];
data/libguestfs-1.42.0/gnulib/tests/test-getopt.h:298: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 *non_options[10];
data/libguestfs-1.42.0/gnulib/tests/test-getopt.h:302: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 *argv[10];
data/libguestfs-1.42.0/gnulib/tests/test-getopt.h:335: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 *non_options[10];
data/libguestfs-1.42.0/gnulib/tests/test-getopt.h:339: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 *argv[10];
data/libguestfs-1.42.0/gnulib/tests/test-getopt.h:366: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 *non_options[10];
data/libguestfs-1.42.0/gnulib/tests/test-getopt.h:370: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 *argv[10];
data/libguestfs-1.42.0/gnulib/tests/test-getopt.h:398: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 *non_options[10];
data/libguestfs-1.42.0/gnulib/tests/test-getopt.h:402: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 *argv[10];
data/libguestfs-1.42.0/gnulib/tests/test-getopt.h:434: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 *non_options[10];
data/libguestfs-1.42.0/gnulib/tests/test-getopt.h:438: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 *argv[10];
data/libguestfs-1.42.0/gnulib/tests/test-getopt.h:468: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 *non_options[10];
data/libguestfs-1.42.0/gnulib/tests/test-getopt.h:472: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 *argv[10];
data/libguestfs-1.42.0/gnulib/tests/test-getopt.h:502: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 *non_options[10];
data/libguestfs-1.42.0/gnulib/tests/test-getopt.h:506: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 *argv[10];
data/libguestfs-1.42.0/gnulib/tests/test-getopt.h:536: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 *non_options[10];
data/libguestfs-1.42.0/gnulib/tests/test-getopt.h:540: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 *argv[10];
data/libguestfs-1.42.0/gnulib/tests/test-getopt.h:570: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 *non_options[10];
data/libguestfs-1.42.0/gnulib/tests/test-getopt.h:574: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 *argv[10];
data/libguestfs-1.42.0/gnulib/tests/test-getopt.h:604: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 *non_options[10];
data/libguestfs-1.42.0/gnulib/tests/test-getopt.h:608: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 *argv[10];
data/libguestfs-1.42.0/gnulib/tests/test-getopt.h:640: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 *non_options[10];
data/libguestfs-1.42.0/gnulib/tests/test-getopt.h:644:13:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      const char *argv[10];
data/libguestfs-1.42.0/gnulib/tests/test-getopt.h:670: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 *non_options[10];
data/libguestfs-1.42.0/gnulib/tests/test-getopt.h:674: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 *argv[10];
data/libguestfs-1.42.0/gnulib/tests/test-getopt.h:700: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 *non_options[10];
data/libguestfs-1.42.0/gnulib/tests/test-getopt.h:704: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 *argv[10];
data/libguestfs-1.42.0/gnulib/tests/test-getopt.h:732: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 *non_options[10];
data/libguestfs-1.42.0/gnulib/tests/test-getopt.h:736: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 *argv[10];
data/libguestfs-1.42.0/gnulib/tests/test-getopt.h:799: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 *non_options[10];
data/libguestfs-1.42.0/gnulib/tests/test-getopt.h:803: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 *argv[20];
data/libguestfs-1.42.0/gnulib/tests/test-getopt.h: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.
      const char *non_options[10];
data/libguestfs-1.42.0/gnulib/tests/test-getopt.h:886: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 *argv[10];
data/libguestfs-1.42.0/gnulib/tests/test-getopt.h:930: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 *non_options[10];
data/libguestfs-1.42.0/gnulib/tests/test-getopt.h:934: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 *argv[20];
data/libguestfs-1.42.0/gnulib/tests/test-getopt.h:1005: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 *non_options[10];
data/libguestfs-1.42.0/gnulib/tests/test-getopt.h:1009: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 *argv[10];
data/libguestfs-1.42.0/gnulib/tests/test-getopt.h:1073: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 *non_options[10];
data/libguestfs-1.42.0/gnulib/tests/test-getopt.h:1077: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 *argv[10];
data/libguestfs-1.42.0/gnulib/tests/test-getopt.h:1116: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 *non_options[10];
data/libguestfs-1.42.0/gnulib/tests/test-getopt.h:1120: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 *argv[10];
data/libguestfs-1.42.0/gnulib/tests/test-getopt.h:1147: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 *non_options[10];
data/libguestfs-1.42.0/gnulib/tests/test-getopt.h:1151: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 *argv[20];
data/libguestfs-1.42.0/gnulib/tests/test-getopt.h:1203: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 *non_options[10];
data/libguestfs-1.42.0/gnulib/tests/test-getopt.h:1207: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 *argv[10];
data/libguestfs-1.42.0/gnulib/tests/test-getopt.h:1273: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 *non_options[10];
data/libguestfs-1.42.0/gnulib/tests/test-getopt.h:1277: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 *argv[10];
data/libguestfs-1.42.0/gnulib/tests/test-getopt.h:1316: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 *non_options[10];
data/libguestfs-1.42.0/gnulib/tests/test-getopt.h:1320: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 *argv[10];
data/libguestfs-1.42.0/gnulib/tests/test-getopt.h:1345: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 *non_options[10];
data/libguestfs-1.42.0/gnulib/tests/test-getopt.h:1349: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 *argv[10];
data/libguestfs-1.42.0/gnulib/tests/test-getopt.h:1377: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 *argv[10];
data/libguestfs-1.42.0/gnulib/tests/test-getopt_long.h:119:11:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    const char *argv[10];
data/libguestfs-1.42.0/gnulib/tests/test-getopt_long.h:134:11:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    const char *argv[10];
data/libguestfs-1.42.0/gnulib/tests/test-getopt_long.h:149:11:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    const char *argv[10];
data/libguestfs-1.42.0/gnulib/tests/test-getopt_long.h:164:11:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    const char *argv[10];
data/libguestfs-1.42.0/gnulib/tests/test-getopt_long.h:178:11:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    const char *argv[10];
data/libguestfs-1.42.0/gnulib/tests/test-getopt_long.h:193:11:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    const char *argv[10];
data/libguestfs-1.42.0/gnulib/tests/test-getopt_long.h:208:11:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    const char *argv[10];
data/libguestfs-1.42.0/gnulib/tests/test-getopt_long.h:222:11:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    const char *argv[10];
data/libguestfs-1.42.0/gnulib/tests/test-getopt_long.h:236:11:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    const char *argv[10];
data/libguestfs-1.42.0/gnulib/tests/test-getopt_long.h:252:11:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    const char *argv[10];
data/libguestfs-1.42.0/gnulib/tests/test-getopt_long.h:267:11:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    const char *argv[10];
data/libguestfs-1.42.0/gnulib/tests/test-getopt_long.h:292:11:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    const char *argv[10];
data/libguestfs-1.42.0/gnulib/tests/test-getopt_long.h:321:11:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    const char *argv[10];
data/libguestfs-1.42.0/gnulib/tests/test-getopt_long.h:342: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 *non_options[10];
data/libguestfs-1.42.0/gnulib/tests/test-getopt_long.h:345: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 *argv[10];
data/libguestfs-1.42.0/gnulib/tests/test-getopt_long.h:371: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 *non_options[10];
data/libguestfs-1.42.0/gnulib/tests/test-getopt_long.h:374: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 *argv[10];
data/libguestfs-1.42.0/gnulib/tests/test-getopt_long.h:401: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 *non_options[10];
data/libguestfs-1.42.0/gnulib/tests/test-getopt_long.h:404: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 *argv[10];
data/libguestfs-1.42.0/gnulib/tests/test-getopt_long.h:430: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 *non_options[10];
data/libguestfs-1.42.0/gnulib/tests/test-getopt_long.h:433: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 *argv[10];
data/libguestfs-1.42.0/gnulib/tests/test-getopt_long.h:462: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 *non_options[10];
data/libguestfs-1.42.0/gnulib/tests/test-getopt_long.h:465: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 *argv[10];
data/libguestfs-1.42.0/gnulib/tests/test-getopt_long.h:491: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 *non_options[10];
data/libguestfs-1.42.0/gnulib/tests/test-getopt_long.h:494: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 *argv[10];
data/libguestfs-1.42.0/gnulib/tests/test-getopt_long.h:521: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 *non_options[10];
data/libguestfs-1.42.0/gnulib/tests/test-getopt_long.h:524: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 *argv[10];
data/libguestfs-1.42.0/gnulib/tests/test-getopt_long.h:555: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 *non_options[10];
data/libguestfs-1.42.0/gnulib/tests/test-getopt_long.h:558: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 *argv[10];
data/libguestfs-1.42.0/gnulib/tests/test-getopt_long.h:584: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 *non_options[10];
data/libguestfs-1.42.0/gnulib/tests/test-getopt_long.h:587: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 *argv[10];
data/libguestfs-1.42.0/gnulib/tests/test-getopt_long.h:616: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 *non_options[10];
data/libguestfs-1.42.0/gnulib/tests/test-getopt_long.h:619: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 *argv[10];
data/libguestfs-1.42.0/gnulib/tests/test-getopt_long.h:650: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 *non_options[10];
data/libguestfs-1.42.0/gnulib/tests/test-getopt_long.h:653: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 *argv[10];
data/libguestfs-1.42.0/gnulib/tests/test-getopt_long.h:678: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 *non_options[10];
data/libguestfs-1.42.0/gnulib/tests/test-getopt_long.h:681: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 *argv[10];
data/libguestfs-1.42.0/gnulib/tests/test-getopt_long.h:707: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 *non_options[10];
data/libguestfs-1.42.0/gnulib/tests/test-getopt_long.h:710: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 *argv[10];
data/libguestfs-1.42.0/gnulib/tests/test-getopt_long.h:740: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 *non_options[10];
data/libguestfs-1.42.0/gnulib/tests/test-getopt_long.h:743: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 *argv[10];
data/libguestfs-1.42.0/gnulib/tests/test-getopt_long.h:768: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 *non_options[10];
data/libguestfs-1.42.0/gnulib/tests/test-getopt_long.h:771: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 *argv[10];
data/libguestfs-1.42.0/gnulib/tests/test-getopt_long.h:797: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 *non_options[10];
data/libguestfs-1.42.0/gnulib/tests/test-getopt_long.h:800: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 *argv[10];
data/libguestfs-1.42.0/gnulib/tests/test-getopt_long.h:830: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 *non_options[10];
data/libguestfs-1.42.0/gnulib/tests/test-getopt_long.h:833: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 *argv[10];
data/libguestfs-1.42.0/gnulib/tests/test-getopt_long.h:858: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 *non_options[10];
data/libguestfs-1.42.0/gnulib/tests/test-getopt_long.h:861: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 *argv[10];
data/libguestfs-1.42.0/gnulib/tests/test-getopt_long.h:888: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 *non_options[10];
data/libguestfs-1.42.0/gnulib/tests/test-getopt_long.h:891: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 *argv[10];
data/libguestfs-1.42.0/gnulib/tests/test-getopt_long.h:922: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 *non_options[10];
data/libguestfs-1.42.0/gnulib/tests/test-getopt_long.h:925: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 *argv[10];
data/libguestfs-1.42.0/gnulib/tests/test-getopt_long.h:950: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 *non_options[10];
data/libguestfs-1.42.0/gnulib/tests/test-getopt_long.h:953: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 *argv[10];
data/libguestfs-1.42.0/gnulib/tests/test-getopt_long.h:979: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 *non_options[10];
data/libguestfs-1.42.0/gnulib/tests/test-getopt_long.h:982: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 *argv[10];
data/libguestfs-1.42.0/gnulib/tests/test-getopt_long.h:1010: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 *non_options[10];
data/libguestfs-1.42.0/gnulib/tests/test-getopt_long.h:1013: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 *argv[10];
data/libguestfs-1.42.0/gnulib/tests/test-getopt_long.h:1038: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 *non_options[10];
data/libguestfs-1.42.0/gnulib/tests/test-getopt_long.h:1041: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 *argv[10];
data/libguestfs-1.42.0/gnulib/tests/test-getopt_long.h:1067: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 *non_options[10];
data/libguestfs-1.42.0/gnulib/tests/test-getopt_long.h:1070: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 *argv[10];
data/libguestfs-1.42.0/gnulib/tests/test-getopt_long.h:1096: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 *non_options[10];
data/libguestfs-1.42.0/gnulib/tests/test-getopt_long.h:1099: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 *argv[10];
data/libguestfs-1.42.0/gnulib/tests/test-getopt_long.h:1127: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 *non_options[10];
data/libguestfs-1.42.0/gnulib/tests/test-getopt_long.h:1130: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 *argv[10];
data/libguestfs-1.42.0/gnulib/tests/test-getopt_long.h:1155: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 *non_options[10];
data/libguestfs-1.42.0/gnulib/tests/test-getopt_long.h:1158: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 *argv[10];
data/libguestfs-1.42.0/gnulib/tests/test-getopt_long.h:1184: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 *non_options[10];
data/libguestfs-1.42.0/gnulib/tests/test-getopt_long.h:1187: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 *argv[10];
data/libguestfs-1.42.0/gnulib/tests/test-getopt_long.h:1213: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 *non_options[10];
data/libguestfs-1.42.0/gnulib/tests/test-getopt_long.h:1216: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 *argv[10];
data/libguestfs-1.42.0/gnulib/tests/test-getopt_long.h:1243: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 *non_options[10];
data/libguestfs-1.42.0/gnulib/tests/test-getopt_long.h:1246: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 *argv[10];
data/libguestfs-1.42.0/gnulib/tests/test-getopt_long.h:1275: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 *non_options[10];
data/libguestfs-1.42.0/gnulib/tests/test-getopt_long.h:1278: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 *argv[10];
data/libguestfs-1.42.0/gnulib/tests/test-getopt_long.h:1306: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 *non_options[10];
data/libguestfs-1.42.0/gnulib/tests/test-getopt_long.h:1309: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 *argv[10];
data/libguestfs-1.42.0/gnulib/tests/test-getopt_long.h:1339: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 *non_options[10];
data/libguestfs-1.42.0/gnulib/tests/test-getopt_long.h:1342: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 *argv[10];
data/libguestfs-1.42.0/gnulib/tests/test-getopt_long.h:1369: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 *non_options[10];
data/libguestfs-1.42.0/gnulib/tests/test-getopt_long.h:1372: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 *argv[10];
data/libguestfs-1.42.0/gnulib/tests/test-getopt_long.h:1403: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 *non_options[10];
data/libguestfs-1.42.0/gnulib/tests/test-getopt_long.h:1406: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 *argv[10];
data/libguestfs-1.42.0/gnulib/tests/test-getopt_long.h:1445: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 *non_options[10];
data/libguestfs-1.42.0/gnulib/tests/test-getopt_long.h:1448: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 *argv[20];
data/libguestfs-1.42.0/gnulib/tests/test-getopt_long.h:1497: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 *non_options[10];
data/libguestfs-1.42.0/gnulib/tests/test-getopt_long.h:1500: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 *argv[10];
data/libguestfs-1.42.0/gnulib/tests/test-getopt_long.h:1542: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 *non_options[10];
data/libguestfs-1.42.0/gnulib/tests/test-getopt_long.h:1545: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 *argv[20];
data/libguestfs-1.42.0/gnulib/tests/test-getopt_long.h:1614: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 *non_options[10];
data/libguestfs-1.42.0/gnulib/tests/test-getopt_long.h:1617: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 *argv[10];
data/libguestfs-1.42.0/gnulib/tests/test-getopt_long.h:1657: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 *non_options[10];
data/libguestfs-1.42.0/gnulib/tests/test-getopt_long.h:1660: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 *argv[10];
data/libguestfs-1.42.0/gnulib/tests/test-getopt_long.h:1697: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 *non_options[10];
data/libguestfs-1.42.0/gnulib/tests/test-getopt_long.h:1700: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 *argv[10];
data/libguestfs-1.42.0/gnulib/tests/test-getopt_long.h:1726: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 *non_options[10];
data/libguestfs-1.42.0/gnulib/tests/test-getopt_long.h:1729: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 *argv[20];
data/libguestfs-1.42.0/gnulib/tests/test-getopt_long.h:1778: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 *non_options[10];
data/libguestfs-1.42.0/gnulib/tests/test-getopt_long.h:1781: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 *argv[10];
data/libguestfs-1.42.0/gnulib/tests/test-getopt_long.h:1830: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 *non_options[10];
data/libguestfs-1.42.0/gnulib/tests/test-getopt_long.h:1833: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 *argv[10];
data/libguestfs-1.42.0/gnulib/tests/test-getopt_long.h:1872: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 *non_options[10];
data/libguestfs-1.42.0/gnulib/tests/test-getopt_long.h:1875: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 *argv[10];
data/libguestfs-1.42.0/gnulib/tests/test-getopt_long.h:1902: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 *non_options[10];
data/libguestfs-1.42.0/gnulib/tests/test-getopt_long.h:1905: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 *argv[10];
data/libguestfs-1.42.0/gnulib/tests/test-getopt_long.h:1945:11:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    const char *argv[10];
data/libguestfs-1.42.0/gnulib/tests/test-getopt_long.h:1961:11:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    const char *argv[10];
data/libguestfs-1.42.0/gnulib/tests/test-getopt_long.h:1977:11:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    const char *argv[10];
data/libguestfs-1.42.0/gnulib/tests/test-getopt_long.h:1993:11:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    const char *argv[10];
data/libguestfs-1.42.0/gnulib/tests/test-getopt_long.h:2010:11:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    const char *argv[10];
data/libguestfs-1.42.0/gnulib/tests/test-getopt_long.h:2027:11:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    const char *argv[10];
data/libguestfs-1.42.0/gnulib/tests/test-getopt_long.h:2043:11:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    const char *argv[10];
data/libguestfs-1.42.0/gnulib/tests/test-getopt_long.h:2059:11:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    const char *argv[10];
data/libguestfs-1.42.0/gnulib/tests/test-getopt_long.h:2074:11:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    const char *argv[10];
data/libguestfs-1.42.0/gnulib/tests/test-getopt_long.h:2089:11:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    const char *argv[10];
data/libguestfs-1.42.0/gnulib/tests/test-getopt_long.h:2109:11:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    const char *argv[10];
data/libguestfs-1.42.0/gnulib/tests/test-getopt_long.h:2130:11:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    const char *argv[10];
data/libguestfs-1.42.0/gnulib/tests/test-hash.c:77:11:  [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).
  *seed = atoi (str);
data/libguestfs-1.42.0/gnulib/tests/test-hash.c:209:17:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
                char buf[50];
data/libguestfs-1.42.0/gnulib/tests/test-inttostr.c:43: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 ref[100];                                                    \
data/libguestfs-1.42.0/gnulib/tests/test-localename.c:436:11:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    const char *unsaved_names[SIZEOF (choices)][SIZEOF (categories)];
data/libguestfs-1.42.0/gnulib/tests/test-localename.c:439:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char *saved_names[SIZEOF (choices)][SIZEOF (categories)];
data/libguestfs-1.42.0/gnulib/tests/test-lock.c:184:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      char name[80];
data/libguestfs-1.42.0/gnulib/tests/test-lock.c:190:7:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
      sprintf (name, "test-lock-%lu-%p-%u",
data/libguestfs-1.42.0/gnulib/tests/test-lock.c:692:7:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
      memcpy (&once_control, &fresh_once, sizeof (gl_once_t));
data/libguestfs-1.42.0/gnulib/tests/test-mbrtowc-w32.c:42:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char name_with_codepage[1024];
data/libguestfs-1.42.0/gnulib/tests/test-mbrtowc-w32.c:116:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char buf[1];
data/libguestfs-1.42.0/gnulib/tests/test-mbrtowc-w32.c:704:18:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
  int codepage = atoi (argv[argc - 1]);
data/libguestfs-1.42.0/gnulib/tests/test-mbrtowc.c:69:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char buf[1];
data/libguestfs-1.42.0/gnulib/tests/test-mbsinit.c:41:20:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      static const char input[1] = "\303";
data/libguestfs-1.42.0/gnulib/tests/test-mbsrtowcs.c:82:11:  [2] (buffer) wchar_t:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
          wchar_t buf[BUFSIZE];
data/libguestfs-1.42.0/gnulib/tests/test-memmem.c:282:9:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        memcpy (haystack, h, h_len + 1);
data/libguestfs-1.42.0/gnulib/tests/test-memmem.c:283: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 (haystack + i, needle, strlen (needle) + 1);
data/libguestfs-1.42.0/gnulib/tests/test-nonblocking-misc.h:50:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char line[1024];
data/libguestfs-1.42.0/gnulib/tests/test-nonblocking-misc.h:88: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[256];
data/libguestfs-1.42.0/gnulib/tests/test-nonblocking-pipe-child.c:37:14:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
  int test = atoi (argv[1]);
data/libguestfs-1.42.0/gnulib/tests/test-nonblocking-pipe-main.c:51:10:  [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).
  test = atoi (argv[2]);
data/libguestfs-1.42.0/gnulib/tests/test-nonblocking-pipe-main.c:78:11:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    const char *child_argv[3];
data/libguestfs-1.42.0/gnulib/tests/test-nonblocking-socket-child.c:38:14:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
  int test = atoi (argv[1]);
data/libguestfs-1.42.0/gnulib/tests/test-nonblocking-socket-child.c:39:14:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
  int port = atoi (argv[2]);
data/libguestfs-1.42.0/gnulib/tests/test-nonblocking-socket-main.c:55:10:  [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).
  test = atoi (argv[2]);
data/libguestfs-1.42.0/gnulib/tests/test-nonblocking-socket-main.c:62:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char port_arg[10+1];
data/libguestfs-1.42.0/gnulib/tests/test-nonblocking-socket-main.c:63:11:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    const char *child_argv[4];
data/libguestfs-1.42.0/gnulib/tests/test-nonblocking-socket-main.c:65: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 (port_arg, "%u", port);
data/libguestfs-1.42.0/gnulib/tests/test-nonblocking.c:50: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).
  fd_file = open (".", O_RDONLY);
data/libguestfs-1.42.0/gnulib/tests/test-open.c:24:18:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
SIGNATURE_CHECK (open, int, (char const *, int, ...));
data/libguestfs-1.42.0/gnulib/tests/test-open.c:40:21:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
  return test_open (open, true);
data/libguestfs-1.42.0/gnulib/tests/test-openat.c:80: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).
  dfd = open (".", O_RDONLY);
data/libguestfs-1.42.0/gnulib/tests/test-openat.c:91: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).
    dfd = open (".", O_RDONLY);
data/libguestfs-1.42.0/gnulib/tests/test-perror2.c:99:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        char buf[256];
data/libguestfs-1.42.0/gnulib/tests/test-posix_spawn1.c:76:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char *argv[3] = { (char *) BOURNE_SHELL, (char *) CHILD_PROGRAM_FILENAME, NULL };
data/libguestfs-1.42.0/gnulib/tests/test-posix_spawn1.c:88:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char line[80];
data/libguestfs-1.42.0/gnulib/tests/test-posix_spawn2.c:54:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char *argv[3] = { (char *) BOURNE_SHELL, (char *) CHILD_PROGRAM_FILENAME, NULL };
data/libguestfs-1.42.0/gnulib/tests/test-pread.c:44: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 (file, O_CREAT | O_WRONLY, 0600);
data/libguestfs-1.42.0/gnulib/tests/test-pread.c:49: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 (file, O_RDONLY);
data/libguestfs-1.42.0/gnulib/tests/test-pthread_sigmask1.c:48:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char command[80];
data/libguestfs-1.42.0/gnulib/tests/test-pthread_sigmask1.c:62:3:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
  sprintf (command, "sh -c 'sleep 1; kill -%d %d' &", SIGINT, pid);
data/libguestfs-1.42.0/gnulib/tests/test-quotearg-simple.c:340:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        char buf[10];
data/libguestfs-1.42.0/gnulib/tests/test-quotearg-simple.c:350: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 (z, str, s_len + 1);
data/libguestfs-1.42.0/gnulib/tests/test-quotearg.h:104: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/libguestfs-1.42.0/gnulib/tests/test-read.c:37: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_CREAT | O_WRONLY, 0600);
data/libguestfs-1.42.0/gnulib/tests/test-read.c:43: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/libguestfs-1.42.0/gnulib/tests/test-read.c:47:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char buf[10];
data/libguestfs-1.42.0/gnulib/tests/test-readlink.h:28:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-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[80];
data/libguestfs-1.42.0/gnulib/tests/test-readlinkat.c:56:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char buf[80];
data/libguestfs-1.42.0/gnulib/tests/test-select-fd.c:34:20:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
          int fd = atoi (argv[2]);
data/libguestfs-1.42.0/gnulib/tests/test-select-fd.c:39:35:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
              FILE *result_file = fopen (result_file_name, "wb");
data/libguestfs-1.42.0/gnulib/tests/test-select.h:354:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char buf[3];
data/libguestfs-1.42.0/gnulib/tests/test-select.h:395:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char buf[3];
data/libguestfs-1.42.0/gnulib/tests/test-setlocale_null-mt-all.c:69: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[SETLOCALE_NULL_ALL_MAX];
data/libguestfs-1.42.0/gnulib/tests/test-setlocale_null-mt-all.c:89: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[SETLOCALE_NULL_ALL_MAX];
data/libguestfs-1.42.0/gnulib/tests/test-setlocale_null-mt-one.c:69: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[SETLOCALE_NULL_MAX];
data/libguestfs-1.42.0/gnulib/tests/test-setlocale_null-mt-one.c:89: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[SETLOCALE_NULL_MAX];
data/libguestfs-1.42.0/gnulib/tests/test-setlocale_null.c:25: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 buf[SETLOCALE_NULL_ALL_MAX];
data/libguestfs-1.42.0/gnulib/tests/test-sigprocmask.c:48:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char command[80];
data/libguestfs-1.42.0/gnulib/tests/test-sigprocmask.c:69:3:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
  sprintf (command, "sh -c 'sleep 1; kill -%d %d' &", SIGINT, (int) pid);
data/libguestfs-1.42.0/gnulib/tests/test-snprintf.c:33:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char buf[8];
data/libguestfs-1.42.0/gnulib/tests/test-snprintf.c:42:7:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
      memcpy (buf, "DEADBEEF", 8);
data/libguestfs-1.42.0/gnulib/tests/test-snprintf.c:65:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char result[100];
data/libguestfs-1.42.0/gnulib/tests/test-stat-time.c:37:8:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
static char filename_stamp1[50];
data/libguestfs-1.42.0/gnulib/tests/test-stat-time.c:38:8:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
static char filename_testfile[50];
data/libguestfs-1.42.0/gnulib/tests/test-stat-time.c:39:8:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
static char filename_stamp2[50];
data/libguestfs-1.42.0/gnulib/tests/test-stat-time.c:40:8:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
static char filename_stamp3[50];
data/libguestfs-1.42.0/gnulib/tests/test-stat-time.c:52:3:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
  sprintf (filename_stamp1,   "t-stt-%ld-stamp1", t);
data/libguestfs-1.42.0/gnulib/tests/test-stat-time.c:53:3:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
  sprintf (filename_testfile, "t-stt-%ld-testfile", t);
data/libguestfs-1.42.0/gnulib/tests/test-stat-time.c:54:3:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
  sprintf (filename_stamp2,   "t-stt-%ld-stamp2", t);
data/libguestfs-1.42.0/gnulib/tests/test-stat-time.c:55:3:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
  sprintf (filename_stamp3,   "t-stt-%ld-stamp3", t);
data/libguestfs-1.42.0/gnulib/tests/test-stat-time.c:83:12:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
  int fd = open (filename, flags | O_WRONLY, 0500);
data/libguestfs-1.42.0/gnulib/tests/test-stdalign.c:31:18:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
typedef struct { char a[1]; } struct1;
data/libguestfs-1.42.0/gnulib/tests/test-stdalign.c:32:18:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
typedef struct { char a[2]; } struct2;
data/libguestfs-1.42.0/gnulib/tests/test-stdalign.c:33:18:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
typedef struct { char a[3]; } struct3;
data/libguestfs-1.42.0/gnulib/tests/test-stdalign.c:34:18:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
typedef struct { char a[4]; } struct4;
data/libguestfs-1.42.0/gnulib/tests/test-stdbool.c:59:1:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
char a[true == 1 ? 1 : -1];
data/libguestfs-1.42.0/gnulib/tests/test-stdbool.c:60:1:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
char b[false == 0 ? 1 : -1];
data/libguestfs-1.42.0/gnulib/tests/test-stdbool.c:61:1:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
char c[__bool_true_false_are_defined == 1 ? 1 : -1];
data/libguestfs-1.42.0/gnulib/tests/test-stdbool.c:63:1:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
char d[(bool) 0.5 == true ? 1 : -1];
data/libguestfs-1.42.0/gnulib/tests/test-stdbool.c:72:1:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
char f[(_Bool) 0.0 == false ? 1 : -1];
data/libguestfs-1.42.0/gnulib/tests/test-stdbool.c:74:1:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
char g[true];
data/libguestfs-1.42.0/gnulib/tests/test-stdbool.c:75:1:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
char h[sizeof (_Bool)];
data/libguestfs-1.42.0/gnulib/tests/test-stdbool.c:77:1:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
char i[sizeof s.t];
data/libguestfs-1.42.0/gnulib/tests/test-stdbool.c:81:1:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
char o[sizeof n == m * sizeof n[0] ? 1 : -1];
data/libguestfs-1.42.0/gnulib/tests/test-stdbool.c:82:1:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
char p[-1 - (_Bool) 0 < 0 && -1 - (bool) 0 < 0 ? 1 : -1];
data/libguestfs-1.42.0/gnulib/tests/test-strerror_r.c:31:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char buf[100];
data/libguestfs-1.42.0/gnulib/tests/test-strerror_r.c:97:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        char buf2[sizeof buf] = "";
data/libguestfs-1.42.0/gnulib/tests/test-strerror_r.c:123:9:  [2] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant string.
        strcpy (buf, "BADFACE");
data/libguestfs-1.42.0/gnulib/tests/test-unlinkat.c:84: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).
  dfd = open (".", O_RDONLY);
data/libguestfs-1.42.0/gnulib/tests/test-utimens.c:45: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.
do_fdutimens (char const *name, struct timespec const times[2])
data/libguestfs-1.42.0/gnulib/tests/test-utimens.c:48:12:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
  int fd = open (name, O_WRONLY);
data/libguestfs-1.42.0/gnulib/tests/test-utimens.c:50:10:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    fd = open (name, O_RDONLY);
data/libguestfs-1.42.0/gnulib/tests/test-utimensat.c:24:40:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
SIGNATURE_CHECK (utimensat, int, (int, char const *, struct timespec const[2],
data/libguestfs-1.42.0/gnulib/tests/test-utimensat.c:50: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.
do_utimensat (char const *name, struct timespec const times[2])
data/libguestfs-1.42.0/gnulib/tests/test-utimensat.c:57: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.
do_lutimensat (char const *name, struct timespec const times[2])
data/libguestfs-1.42.0/gnulib/tests/test-utimensat.c:88: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).
  dfd = open (".", O_RDONLY);
data/libguestfs-1.42.0/gnulib/tests/test-vasnprintf.c:32:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char buf[8];
data/libguestfs-1.42.0/gnulib/tests/test-vasnprintf.c:50:7:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
      memcpy (buf, "DEADBEEF", 8);
data/libguestfs-1.42.0/gnulib/tests/test-vasnprintf.c:69:7:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
      memcpy (buf, "DEADBEEF", 8);
data/libguestfs-1.42.0/gnulib/tests/test-vsnprintf.c:46:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char buf[8];
data/libguestfs-1.42.0/gnulib/tests/test-vsnprintf.c:55:7:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
      memcpy (buf, "DEADBEEF", 8);
data/libguestfs-1.42.0/gnulib/tests/test-vsnprintf.c:78:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char result[100];
data/libguestfs-1.42.0/gnulib/tests/test-wcrtomb-w32.c:34:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char buf[64];
data/libguestfs-1.42.0/gnulib/tests/test-wcrtomb-w32.c:40:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char name_with_codepage[1024];
data/libguestfs-1.42.0/gnulib/tests/test-wcrtomb-w32.c:307:18:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
  int codepage = atoi (argv[argc - 1]);
data/libguestfs-1.42.0/gnulib/tests/test-wcrtomb.c:37:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char buf[64];
data/libguestfs-1.42.0/gnulib/tests/test-wcrtomb.c:57:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char buf[64];
data/libguestfs-1.42.0/gnulib/tests/test-write.c:37: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_CREAT | O_WRONLY, 0600);
data/libguestfs-1.42.0/gnulib/tests/test-write.c:43: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_WRONLY);
data/libguestfs-1.42.0/gnulib/tests/test-write.c:50:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char buf[64];
data/libguestfs-1.42.0/gnulib/tests/test-write.c:51: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).
    int rfd = open (filename, O_RDONLY);
data/libguestfs-1.42.0/gnulib/tests/unlink.c:72: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 (short_name, name, len);
data/libguestfs-1.42.0/gnulib/tests/unlinkat.c:71: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 (short_name, name, len);
data/libguestfs-1.42.0/gnulib/tests/utimensat.c:44:34:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
static int local_utimensat (int, char const *, struct timespec const[2], int);
data/libguestfs-1.42.0/gnulib/tests/utimensat.c:50: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.
rpl_utimensat (int fd, char const *file, struct timespec const times[2],
data/libguestfs-1.42.0/gnulib/tests/vsnprintf.c:56:11:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
          memcpy (str, output, pruned_len);
data/libguestfs-1.42.0/gnulib/tests/wait-process.c:164:7:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
      memcpy (new_slaves, old_slaves,
data/libguestfs-1.42.0/gnulib/tests/wctob.c:29:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char buf[64];
data/libguestfs-1.42.0/gnulib/tests/xstrtol-error.c:55:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char option_buffer[2];
data/libguestfs-1.42.0/gnulib/tests/zerosize-ptr.h:67:12:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
  int fd = open ("/dev/zero", O_RDONLY, 0666);
data/libguestfs-1.42.0/gobject/src/session.c:125: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 (params->array, array, sizeof (array[0]) * array_len);
data/libguestfs-1.42.0/java/actions-0.c:1325: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 s[33];
data/libguestfs-1.42.0/java/actions-0.c:1326: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 (s, r->pv_uuid, 32);
data/libguestfs-1.42.0/java/actions-0.c:1400:7:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
      memcpy (s, r->val[i].attrval, len);
data/libguestfs-1.42.0/java/actions-1.c:1000:7:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
      memcpy (s, r->val[i].attrval, len);
data/libguestfs-1.42.0/java/actions-1.c:1577: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 s[33];
data/libguestfs-1.42.0/java/actions-1.c:1578:7:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
      memcpy (s, r->val[i].pv_uuid, 32);
data/libguestfs-1.42.0/java/actions-1.c:1665: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 s[33];
data/libguestfs-1.42.0/java/actions-1.c:1666:7:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
      memcpy (s, r->val[i].pv_uuid, 32);
data/libguestfs-1.42.0/java/actions-1.c:3012: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 s[33];
data/libguestfs-1.42.0/java/actions-1.c:3013:7:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
      memcpy (s, r->val[i].vg_uuid, 32);
data/libguestfs-1.42.0/java/actions-2.c:1829: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 s[33];
data/libguestfs-1.42.0/java/actions-2.c:1830:7:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
      memcpy (s, r->val[i].pv_uuid, 32);
data/libguestfs-1.42.0/java/actions-3.c:2036:7:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
      memcpy (s, r->val[i].attrval, len);
data/libguestfs-1.42.0/java/actions-4.c:1344:7:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
      memcpy (s, r->val[i].attrval, len);
data/libguestfs-1.42.0/java/actions-5.c:1744: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 s[33];
data/libguestfs-1.42.0/java/actions-5.c:1745:7:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
      memcpy (s, r->val[i].lv_uuid, 32);
data/libguestfs-1.42.0/java/actions-6.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 s[33];
data/libguestfs-1.42.0/java/actions-6.c:1067: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 (s, r->pv_uuid, 32);
data/libguestfs-1.42.0/java/handle.c:189:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char key[64];
data/libguestfs-1.42.0/java/handle.c:229:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char key[64];
data/libguestfs-1.42.0/lib/alloc.c:106: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 (p, ptr, size);
data/libguestfs-1.42.0/lib/bindtests.c:43:8:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
  fp = fopen (filename, "w");
data/libguestfs-1.42.0/lib/bindtests.c:104:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  memcpy (pv->pv_uuid, "12345678901234567890123456789012", 32);
data/libguestfs-1.42.0/lib/command.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 (&cmd->string.str[cmd->string.len], str, len);
data/libguestfs-1.42.0/lib/command.c:543:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char status_string[80];
data/libguestfs-1.42.0/lib/command.c:822: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).
  errfd = open (cmd->error_file,
data/libguestfs-1.42.0/lib/command.c:1025: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 (cmd->outbuf.buffer + oldlen, buf, len);
data/libguestfs-1.42.0/lib/command.c:1053: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 (cmd->outbuf.buffer + oldlen, buf, len);
data/libguestfs-1.42.0/lib/copy-in-out.c:44:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char fdbuf[64];
data/libguestfs-1.42.0/lib/copy-in-out.c:171: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 fdbuf[64];
data/libguestfs-1.42.0/lib/create.c:108: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_WRONLY|O_NOCTTY|O_CLOEXEC, 0666);
data/libguestfs-1.42.0/lib/create.c:179: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_WRONLY|O_CREAT|O_NOCTTY|O_TRUNC|O_CLOEXEC, 0666);
data/libguestfs-1.42.0/lib/create.c:207: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[BUFSIZ];
data/libguestfs-1.42.0/lib/drives.c:436:31:  [2] (tmpfile) tmpfile:
  Function tmpfile() has a security flaw on some systems (e.g., older System
  V systems) (CWE-377).
  if (guestfs_disk_create (g, tmpfile, "raw", 4096, -1) == -1)
data/libguestfs-1.42.0/lib/drives.c:439:22:  [2] (tmpfile) tmpfile:
  Function tmpfile() has a security flaw on some systems (e.g., older System
  V systems) (CWE-377).
  data->exportname = tmpfile;
data/libguestfs-1.42.0/lib/errors.c:324:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-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/libguestfs-1.42.0/lib/errors.c:336: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 (msg, ": ");
data/libguestfs-1.42.0/lib/event-string.c:56: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 (&ret[len], "appliance,");
data/libguestfs-1.42.0/lib/event-string.c:60: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 (&ret[len], "close,");
data/libguestfs-1.42.0/lib/event-string.c:64: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 (&ret[len], "enter,");
data/libguestfs-1.42.0/lib/event-string.c:68: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 (&ret[len], "launch_done,");
data/libguestfs-1.42.0/lib/event-string.c:72: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 (&ret[len], "library,");
data/libguestfs-1.42.0/lib/event-string.c:76: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 (&ret[len], "libvirt_auth,");
data/libguestfs-1.42.0/lib/event-string.c:80: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 (&ret[len], "progress,");
data/libguestfs-1.42.0/lib/event-string.c:84: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 (&ret[len], "subprocess_quit,");
data/libguestfs-1.42.0/lib/event-string.c:88: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 (&ret[len], "trace,");
data/libguestfs-1.42.0/lib/event-string.c:92: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 (&ret[len], "warning,");
data/libguestfs-1.42.0/lib/file.c:94:34:  [2] (tmpfile) tmpfile:
  Function tmpfile() has a security flaw on some systems (e.g., older System
  V systems) (CWE-377).
  if (guestfs_download (g, path, tmpfile) == -1)
data/libguestfs-1.42.0/lib/file.c:97: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 (tmpfile, O_RDONLY|O_CLOEXEC);
data/libguestfs-1.42.0/lib/file.c:97:14:  [2] (tmpfile) tmpfile:
  Function tmpfile() has a security flaw on some systems (e.g., older System
  V systems) (CWE-377).
  fd = open (tmpfile, O_RDONLY|O_CLOEXEC);
data/libguestfs-1.42.0/lib/file.c:99:29:  [2] (tmpfile) tmpfile:
  Function tmpfile() has a security flaw on some systems (e.g., older System
  V systems) (CWE-377).
    perrorf (g, "open: %s", tmpfile);
data/libguestfs-1.42.0/lib/file.c:105:29:  [2] (tmpfile) tmpfile:
  Function tmpfile() has a security flaw on some systems (e.g., older System
  V systems) (CWE-377).
    perrorf (g, "stat: %s", tmpfile);
data/libguestfs-1.42.0/lib/file.c:118:45:  [2] (tmpfile) tmpfile:
  Function tmpfile() has a security flaw on some systems (e.g., older System
  V systems) (CWE-377).
    perrorf (g, "full-read: %s: %zu bytes", tmpfile, size + 1);
data/libguestfs-1.42.0/lib/file.c:125:30:  [2] (tmpfile) tmpfile:
  Function tmpfile() has a security flaw on some systems (e.g., older System
  V systems) (CWE-377).
    perrorf (g, "close: %s", tmpfile);
data/libguestfs-1.42.0/lib/file.c:220:36:  [2] (tmpfile) tmpfile:
  Function tmpfile() has a security flaw on some systems (e.g., older System
  V systems) (CWE-377).
  if (guestfs_find0 (g, directory, tmpfile) == -1)
data/libguestfs-1.42.0/lib/file.c:223: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 (tmpfile, O_RDONLY|O_CLOEXEC);
data/libguestfs-1.42.0/lib/file.c:223:14:  [2] (tmpfile) tmpfile:
  Function tmpfile() has a security flaw on some systems (e.g., older System
  V systems) (CWE-377).
  fd = open (tmpfile, O_RDONLY|O_CLOEXEC);
data/libguestfs-1.42.0/lib/file.c:225:29:  [2] (tmpfile) tmpfile:
  Function tmpfile() has a security flaw on some systems (e.g., older System
  V systems) (CWE-377).
    perrorf (g, "open: %s", tmpfile);
data/libguestfs-1.42.0/lib/file.c:231:29:  [2] (tmpfile) tmpfile:
  Function tmpfile() has a security flaw on some systems (e.g., older System
  V systems) (CWE-377).
    perrorf (g, "stat: %s", tmpfile);
data/libguestfs-1.42.0/lib/file.c:244:45:  [2] (tmpfile) tmpfile:
  Function tmpfile() has a security flaw on some systems (e.g., older System
  V systems) (CWE-377).
    perrorf (g, "full-read: %s: %zu bytes", tmpfile, size);
data/libguestfs-1.42.0/lib/file.c:249:30:  [2] (tmpfile) tmpfile:
  Function tmpfile() has a security flaw on some systems (e.g., older System
  V systems) (CWE-377).
    perrorf (g, "close: %s", tmpfile);
data/libguestfs-1.42.0/lib/file.c:324: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 (tmpfile, O_WRONLY|O_CREAT|O_NOCTTY|O_CLOEXEC, 0600);
data/libguestfs-1.42.0/lib/file.c:324:14:  [2] (tmpfile) tmpfile:
  Function tmpfile() has a security flaw on some systems (e.g., older System
  V systems) (CWE-377).
  fd = open (tmpfile, O_WRONLY|O_CREAT|O_NOCTTY|O_CLOEXEC, 0600);
data/libguestfs-1.42.0/lib/file.c:326:29:  [2] (tmpfile) tmpfile:
  Function tmpfile() has a security flaw on some systems (e.g., older System
  V systems) (CWE-377).
    perrorf (g, "open: %s", tmpfile);
data/libguestfs-1.42.0/lib/file.c:331:30:  [2] (tmpfile) tmpfile:
  Function tmpfile() has a security flaw on some systems (e.g., older System
  V systems) (CWE-377).
    perrorf (g, "write: %s", tmpfile);
data/libguestfs-1.42.0/lib/file.c:336:30:  [2] (tmpfile) tmpfile:
  Function tmpfile() has a security flaw on some systems (e.g., older System
  V systems) (CWE-377).
    perrorf (g, "close: %s", tmpfile);
data/libguestfs-1.42.0/lib/file.c:342:28:  [2] (tmpfile) tmpfile:
  Function tmpfile() has a security flaw on some systems (e.g., older System
  V systems) (CWE-377).
    if (guestfs_upload (g, tmpfile, path) == -1)
data/libguestfs-1.42.0/lib/file.c:350:35:  [2] (tmpfile) tmpfile:
  Function tmpfile() has a security flaw on some systems (e.g., older System
  V systems) (CWE-377).
    if (guestfs_upload_offset (g, tmpfile, path, filesize) == -1)
data/libguestfs-1.42.0/lib/file.c:411: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 (&ret->val[old_len], stats->val,
data/libguestfs-1.42.0/lib/file.c:458: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 (ret->val[old_len].attrval, xattrs->val[i].attrval,
data/libguestfs-1.42.0/lib/file.c:496: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 (&ret[old_len], links, (ret_len-old_len) * sizeof (char *));
data/libguestfs-1.42.0/lib/file.c:520:34:  [2] (tmpfile) tmpfile:
  Function tmpfile() has a security flaw on some systems (e.g., older System
  V systems) (CWE-377).
  if (guestfs_ls0 (g, directory, tmpfile) == -1)
data/libguestfs-1.42.0/lib/file.c:523: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 (tmpfile, O_RDONLY|O_CLOEXEC);
data/libguestfs-1.42.0/lib/file.c:523:14:  [2] (tmpfile) tmpfile:
  Function tmpfile() has a security flaw on some systems (e.g., older System
  V systems) (CWE-377).
  fd = open (tmpfile, O_RDONLY|O_CLOEXEC);
data/libguestfs-1.42.0/lib/file.c:525:29:  [2] (tmpfile) tmpfile:
  Function tmpfile() has a security flaw on some systems (e.g., older System
  V systems) (CWE-377).
    perrorf (g, "open: %s", tmpfile);
data/libguestfs-1.42.0/lib/file.c:531:29:  [2] (tmpfile) tmpfile:
  Function tmpfile() has a security flaw on some systems (e.g., older System
  V systems) (CWE-377).
    perrorf (g, "stat: %s", tmpfile);
data/libguestfs-1.42.0/lib/file.c:544:45:  [2] (tmpfile) tmpfile:
  Function tmpfile() has a security flaw on some systems (e.g., older System
  V systems) (CWE-377).
    perrorf (g, "full-read: %s: %zu bytes", tmpfile, size);
data/libguestfs-1.42.0/lib/file.c:549:30:  [2] (tmpfile) tmpfile:
  Function tmpfile() has a security flaw on some systems (e.g., older System
  V systems) (CWE-377).
    perrorf (g, "close: %s", tmpfile);
data/libguestfs-1.42.0/lib/fuse.c:121: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 (xattrs->val[i].attrval, first[i].attrval, first[i].attrval_len);
data/libguestfs-1.42.0/lib/fuse.c:273: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 (statbuf, buf, sizeof *statbuf);
data/libguestfs-1.42.0/lib/fuse.c:397:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  memcpy (buf, r, len);
data/libguestfs-1.42.0/lib/fuse.c:591:28:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
mount_local_utimens (const char *path, const struct timespec ts[2])
data/libguestfs-1.42.0/lib/fuse.c:676:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  memcpy (buf, r, rsize);
data/libguestfs-1.42.0/lib/fuse.c:833: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 (value, xattrs->val[i].attrval, sz);
data/libguestfs-1.42.0/lib/fuse.c:885: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 (list, xattrs->val[i].attrname, len);
data/libguestfs-1.42.0/lib/fuse.c:1369:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  memcpy (&entry->statbuf, statbuf, sizeof entry->statbuf);
data/libguestfs-1.42.0/lib/guestfs-internal.h:704:63:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
extern int guestfs_int_create_socketname (guestfs_h *g, const char *filename, char (*sockname)[UNIX_PATH_MAX]);
data/libguestfs-1.42.0/lib/guestfs-internal.h:704:79:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
extern int guestfs_int_create_socketname (guestfs_h *g, const char *filename, char (*sockname)[UNIX_PATH_MAX]);
data/libguestfs-1.42.0/lib/guestfs.h:516:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char lv_uuid[32]; /* this is NOT nul-terminated, be careful when printing */
data/libguestfs-1.42.0/lib/guestfs.h:551:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char pv_uuid[32]; /* this is NOT nul-terminated, be careful when printing */
data/libguestfs-1.42.0/lib/guestfs.h:584:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char vg_uuid[32]; /* this is NOT nul-terminated, be careful when printing */
data/libguestfs-1.42.0/lib/handle.c:802:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char *empty_list[1] = { NULL };
data/libguestfs-1.42.0/lib/inspect-apps.c:192:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char link[4];
data/libguestfs-1.42.0/lib/inspect-apps.c:238: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 (list->names[list->len].link, link_p, 4);
data/libguestfs-1.42.0/lib/inspect-apps.c:264:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char iv[4];
data/libguestfs-1.42.0/lib/inspect-apps.c:300: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 (iv, (void *) (store + offset),
data/libguestfs-1.42.0/lib/inspect-apps.c:344: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 (nkey.link, key, 4);
data/libguestfs-1.42.0/lib/inspect-apps.c:435:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char line[1024];
data/libguestfs-1.42.0/lib/inspect-apps.c:450: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 (status, "r");
data/libguestfs-1.42.0/lib/inspect-apps.c:630:10:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    fp = fopen (desc_file, "r");
data/libguestfs-1.42.0/lib/inspect-apps.c:734: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 (installed, "r");
data/libguestfs-1.42.0/lib/inspect-icon.c:715:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char devfd[32];
data/libguestfs-1.42.0/lib/inspect-icon.c:733: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 (r, O_WRONLY|O_CREAT|O_TRUNC|O_NOCTTY|O_CLOEXEC, 0600);
data/libguestfs-1.42.0/lib/journal.c:73:40:  [2] (tmpfile) tmpfile:
  Function tmpfile() has a security flaw on some systems (e.g., older System
  V systems) (CWE-377).
  if (guestfs_internal_journal_get (g, tmpfile) == -1)
data/libguestfs-1.42.0/lib/journal.c:76: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 (tmpfile, O_RDONLY|O_CLOEXEC);
data/libguestfs-1.42.0/lib/journal.c:76:14:  [2] (tmpfile) tmpfile:
  Function tmpfile() has a security flaw on some systems (e.g., older System
  V systems) (CWE-377).
  fd = open (tmpfile, O_RDONLY|O_CLOEXEC);
data/libguestfs-1.42.0/lib/journal.c:78:29:  [2] (tmpfile) tmpfile:
  Function tmpfile() has a security flaw on some systems (e.g., older System
  V systems) (CWE-377).
    perrorf (g, "open: %s", tmpfile);
data/libguestfs-1.42.0/lib/journal.c:84:29:  [2] (tmpfile) tmpfile:
  Function tmpfile() has a security flaw on some systems (e.g., older System
  V systems) (CWE-377).
    perrorf (g, "stat: %s", tmpfile);
data/libguestfs-1.42.0/lib/journal.c:99:45:  [2] (tmpfile) tmpfile:
  Function tmpfile() has a security flaw on some systems (e.g., older System
  V systems) (CWE-377).
    perrorf (g, "full-read: %s: %zu bytes", tmpfile, size);
data/libguestfs-1.42.0/lib/journal.c:104:30:  [2] (tmpfile) tmpfile:
  Function tmpfile() has a security flaw on some systems (e.g., older System
  V systems) (CWE-377).
    perrorf (g, "close: %s", tmpfile);
data/libguestfs-1.42.0/lib/launch-direct.c:61:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char guestfsd_sock[UNIX_PATH_MAX]; /* Path to daemon socket. */
data/libguestfs-1.42.0/lib/launch-libvirt.c:117:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char uuid[VIR_UUID_STRING_BUFLEN];
data/libguestfs-1.42.0/lib/launch-libvirt.c:129:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char name[DOMAIN_NAME_LEN];   /* random name */
data/libguestfs-1.42.0/lib/launch-libvirt.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 guestfsd_path[UNIX_PATH_MAX]; /* paths to sockets */
data/libguestfs-1.42.0/lib/launch-libvirt.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 console_path[UNIX_PATH_MAX];
data/libguestfs-1.42.0/lib/launch-libvirt.c:160:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char appliance_dev[64];       /* appliance device name */
data/libguestfs-1.42.0/lib/launch-libvirt.c:369: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 (data->name, "guestfs-", 8);
data/libguestfs-1.42.0/lib/launch-libvirt.c:525: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 (addr.sun_path, data->guestfsd_path, UNIX_PATH_MAX);
data/libguestfs-1.42.0/lib/launch-libvirt.c:550: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 (addr.sun_path, data->console_path, UNIX_PATH_MAX);
data/libguestfs-1.42.0/lib/launch-libvirt.c:623:3:  [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 (params.appliance_dev, "/dev/sd");
data/libguestfs-1.42.0/lib/launch-libvirt.c:1598:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-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_name[64] = "sd";
data/libguestfs-1.42.0/lib/launch-uml.c:44:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char umid[UML_UMID_LEN+1];    /* umid=<...> unique ID. */
data/libguestfs-1.42.0/lib/launch-uml.c:259: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 drv_name[64] = "ubd";
data/libguestfs-1.42.0/lib/launch.c:325:52:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
guestfs_int_create_socketname (guestfs_h *g, const char *filename,
data/libguestfs-1.42.0/lib/launch.c:326:32:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
                               char (*sockpath)[UNIX_PATH_MAX])
data/libguestfs-1.42.0/lib/libvirt-auth.c:109: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 (g->supported_credentials, credtypes, sizeof g->supported_credentials);
data/libguestfs-1.42.0/lib/libvirt-auth.c:341: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 (g->requested_credentials[i].result, cred, cred_size);
data/libguestfs-1.42.0/lib/lpj.c:151: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 status_string[80];
data/libguestfs-1.42.0/lib/proto.c:200:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-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/libguestfs-1.42.0/lib/proto.c:221:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char mbuf[PROGRESS_MESSAGE_SIZE];
data/libguestfs-1.42.0/lib/proto.c:355: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|O_CLOEXEC);
data/libguestfs-1.42.0/lib/proto.c:436:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-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/libguestfs-1.42.0/lib/proto.c:527:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char lenbuf[4];
data/libguestfs-1.42.0/lib/proto.c:795:10:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    fd = open (filename, O_WRONLY|O_CREAT|O_TRUNC|O_NOCTTY|O_CLOEXEC, 0666);
data/libguestfs-1.42.0/lib/proto.c:836:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char fbuf[4];
data/libguestfs-1.42.0/lib/qemu.c:387:29:  [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).
  CLEANUP_FCLOSE FILE *fp = fopen (filename, "r");
data/libguestfs-1.42.0/lib/qemu.c:408:29:  [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).
  CLEANUP_FCLOSE FILE *fp = fopen (filename, "w");
data/libguestfs-1.42.0/lib/qemu.c:530: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_WRONLY|O_CREAT|O_TRUNC|O_NOCTTY|O_CLOEXEC, 0666);
data/libguestfs-1.42.0/lib/qemu.c:856: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 port_str[16];
data/libguestfs-1.42.0/lib/structs-copy.c:39: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 (out, inp, sizeof *out);
data/libguestfs-1.42.0/lib/structs-copy.c:106: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 (out->pv_uuid, inp->pv_uuid, 32 * sizeof (char));
data/libguestfs-1.42.0/lib/structs-copy.c:208: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 (out->vg_uuid, inp->vg_uuid, 32 * sizeof (char));
data/libguestfs-1.42.0/lib/structs-copy.c:320: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 (out->lv_uuid, inp->lv_uuid, 32 * sizeof (char));
data/libguestfs-1.42.0/lib/structs-copy.c:408: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 (out, inp, sizeof *out);
data/libguestfs-1.42.0/lib/structs-copy.c:458: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 (out, inp, sizeof *out);
data/libguestfs-1.42.0/lib/structs-copy.c:508: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 (out, inp, sizeof *out);
data/libguestfs-1.42.0/lib/structs-copy.c:739: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 (out->attrval, inp->attrval, out->attrval_len);
data/libguestfs-1.42.0/lib/structs-copy.c:889: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 (out, inp, sizeof *out);
data/libguestfs-1.42.0/lib/structs-copy.c:1640: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 (out, inp, sizeof *out);
data/libguestfs-1.42.0/lib/structs-copy.c:1888: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 (out, inp, sizeof *out);
data/libguestfs-1.42.0/lib/structs-copy.c:1938: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 (out, inp, sizeof *out);
data/libguestfs-1.42.0/lib/tsk.c:50:57:  [2] (tmpfile) tmpfile:
  Function tmpfile() has a security flaw on some systems (e.g., older System
  V systems) (CWE-377).
  ret = guestfs_internal_filesystem_walk (g, mountable, tmpfile);
data/libguestfs-1.42.0/lib/tsk.c:54:32:  [2] (tmpfile) tmpfile:
  Function tmpfile() has a security flaw on some systems (e.g., older System
  V systems) (CWE-377).
  return parse_dirent_file (g, tmpfile);  /* caller frees */
data/libguestfs-1.42.0/lib/tsk.c:67:59:  [2] (tmpfile) tmpfile:
  Function tmpfile() has a security flaw on some systems (e.g., older System
  V systems) (CWE-377).
  ret = guestfs_internal_find_inode (g, mountable, inode, tmpfile);
data/libguestfs-1.42.0/lib/tsk.c:71:32:  [2] (tmpfile) tmpfile:
  Function tmpfile() has a security flaw on some systems (e.g., older System
  V systems) (CWE-377).
  return parse_dirent_file (g, tmpfile);  /* caller frees */
data/libguestfs-1.42.0/lib/tsk.c:78:46:  [2] (tmpfile) tmpfile:
  Function tmpfile() has a security flaw on some systems (e.g., older System
  V systems) (CWE-377).
parse_dirent_file (guestfs_h *g, const char *tmpfile)
data/libguestfs-1.42.0/lib/tsk.c:84: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 (tmpfile, "r");
data/libguestfs-1.42.0/lib/tsk.c:84:15:  [2] (tmpfile) tmpfile:
  Function tmpfile() has a security flaw on some systems (e.g., older System
  V systems) (CWE-377).
  fp = fopen (tmpfile, "r");
data/libguestfs-1.42.0/lib/tsk.c:86:30:  [2] (tmpfile) tmpfile:
  Function tmpfile() has a security flaw on some systems (e.g., older System
  V systems) (CWE-377).
    perrorf (g, "fopen: %s", tmpfile);
data/libguestfs-1.42.0/lib/umask.c:86: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 ("/proc/self/status", "r");
data/libguestfs-1.42.0/lib/unit-tests.c:188:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char s[10];
data/libguestfs-1.42.0/lib/whole-file.c:59: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|O_CLOEXEC);
data/libguestfs-1.42.0/lib/yara.c:50:44:  [2] (tmpfile) tmpfile:
  Function tmpfile() has a security flaw on some systems (e.g., older System
  V systems) (CWE-377).
  r = guestfs_internal_yara_scan (g, path, tmpfile);
data/libguestfs-1.42.0/lib/yara.c:54:40:  [2] (tmpfile) tmpfile:
  Function tmpfile() has a security flaw on some systems (e.g., older System
  V systems) (CWE-377).
  return parse_yara_detection_file (g, tmpfile);  /* caller frees */
data/libguestfs-1.42.0/lib/yara.c:61:54:  [2] (tmpfile) tmpfile:
  Function tmpfile() has a security flaw on some systems (e.g., older System
  V systems) (CWE-377).
parse_yara_detection_file (guestfs_h *g, const char *tmpfile)
data/libguestfs-1.42.0/lib/yara.c:67: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 (tmpfile, "r");
data/libguestfs-1.42.0/lib/yara.c:67:15:  [2] (tmpfile) tmpfile:
  Function tmpfile() has a security flaw on some systems (e.g., older System
  V systems) (CWE-377).
  fp = fopen (tmpfile, "r");
data/libguestfs-1.42.0/lib/yara.c:69:30:  [2] (tmpfile) tmpfile:
  Function tmpfile() has a security flaw on some systems (e.g., older System
  V systems) (CWE-377).
    perrorf (g, "fopen: %s", tmpfile);
data/libguestfs-1.42.0/lua/lua-guestfs.c:165:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char err[256];
data/libguestfs-1.42.0/lua/lua-guestfs.c:251:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char err[256];
data/libguestfs-1.42.0/lua/lua-guestfs.c:15921:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char err[256];
data/libguestfs-1.42.0/lua/lua-guestfs.c:15994:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-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[64];
data/libguestfs-1.42.0/lua/lua-guestfs.c:17859:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char v[256];
data/libguestfs-1.42.0/make-fs/make-fs.c:272: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 (file, O_WRONLY|O_NOCTTY);
data/libguestfs-1.42.0/make-fs/make-fs.c:402:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  const char *argv[6];
data/libguestfs-1.42.0/make-fs/make-fs.c:405:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char line[256];
data/libguestfs-1.42.0/make-fs/make-fs.c:410:18:  [2] (tmpfile) tmpfile:
  Function tmpfile() has a security flaw on some systems (e.g., older System
  V systems) (CWE-377).
  if (asprintf (&tmpfile, "%s/makefsXXXXXX", tmpdir) == -1) {
data/libguestfs-1.42.0/make-fs/make-fs.c:414:8:  [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 (tmpfile);
data/libguestfs-1.42.0/make-fs/make-fs.c:414:17:  [2] (tmpfile) tmpfile:
  Function tmpfile() has a security flaw on some systems (e.g., older System
  V systems) (CWE-377).
  fd = mkstemp (tmpfile);
data/libguestfs-1.42.0/make-fs/make-fs.c:416:13:  [2] (tmpfile) tmpfile:
  Function tmpfile() has a security flaw on some systems (e.g., older System
  V systems) (CWE-377).
    perror (tmpfile);
data/libguestfs-1.42.0/make-fs/make-fs.c:439:39:  [2] (tmpfile) tmpfile:
  Function tmpfile() has a security flaw on some systems (e.g., older System
  V systems) (CWE-377).
    if (exec_command ((char **) argv, tmpfile) == -1)
data/libguestfs-1.42.0/make-fs/make-fs.c:442:10:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    fp = fopen (tmpfile, "r");
data/libguestfs-1.42.0/make-fs/make-fs.c:442:17:  [2] (tmpfile) tmpfile:
  Function tmpfile() has a security flaw on some systems (e.g., older System
  V systems) (CWE-377).
    fp = fopen (tmpfile, "r");
data/libguestfs-1.42.0/make-fs/make-fs.c:444:15:  [2] (tmpfile) tmpfile:
  Function tmpfile() has a security flaw on some systems (e.g., older System
  V systems) (CWE-377).
      perror (tmpfile);
data/libguestfs-1.42.0/make-fs/make-fs.c:464:39:  [2] (tmpfile) tmpfile:
  Function tmpfile() has a security flaw on some systems (e.g., older System
  V systems) (CWE-377).
    if (exec_command ((char **) argv, tmpfile) == -1)
data/libguestfs-1.42.0/make-fs/make-fs.c:467:10:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    fp = fopen (tmpfile, "r");
data/libguestfs-1.42.0/make-fs/make-fs.c:467:17:  [2] (tmpfile) tmpfile:
  Function tmpfile() has a security flaw on some systems (e.g., older System
  V systems) (CWE-377).
    fp = fopen (tmpfile, "r");
data/libguestfs-1.42.0/make-fs/make-fs.c:469:15:  [2] (tmpfile) tmpfile:
  Function tmpfile() has a security flaw on some systems (e.g., older System
  V systems) (CWE-377).
      perror (tmpfile);
data/libguestfs-1.42.0/make-fs/make-fs.c:551:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  const char *argv[7];
data/libguestfs-1.42.0/ocaml/guestfs-c-actions.c:9004: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 (val, String_val (valv), val_size);
data/libguestfs-1.42.0/ocaml/guestfs-c-actions.c:10553: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 (bufferin, String_val (bufferinv), bufferin_size);
data/libguestfs-1.42.0/ocaml/guestfs-c-actions.c:18295: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 (content, String_val (contentv), content_size);
data/libguestfs-1.42.0/ocaml/guestfs-c-actions.c:18335: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 (content, String_val (contentv), content_size);
data/libguestfs-1.42.0/ocaml/guestfs-c-actions.c:19778: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 (cred, String_val (credv), cred_size);
data/libguestfs-1.42.0/ocaml/guestfs-c-actions.c:22920: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 (content, String_val (contentv), content_size);
data/libguestfs-1.42.0/ocaml/guestfs-c-actions.c:22959: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 (content, String_val (contentv), content_size);
data/libguestfs-1.42.0/ocaml/guestfs-c.c:223:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char key[64];
data/libguestfs-1.42.0/ocaml/guestfs-c.c:256:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char key[64];
data/libguestfs-1.42.0/ocaml/guestfs-c.h:35: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 *) String_val (sv), p, len);
data/libguestfs-1.42.0/python/handle.c:167:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char key[64];
data/libguestfs-1.42.0/python/handle.c:210:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char key[64];
data/libguestfs-1.42.0/rescue/rescue.c:402: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 *cmd[5] = { "mount", "--rbind", NULL, NULL, NULL };
data/libguestfs-1.42.0/rescue/rescue.c:496: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 rbuf[BUFSIZE];      /* appliance -> local tty */
data/libguestfs-1.42.0/rescue/rescue.c:497: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 wbuf[BUFSIZE];      /* local tty -> appliance */
data/libguestfs-1.42.0/ruby/ext/guestfs/handle.c:210:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char key[64];
data/libguestfs-1.42.0/ruby/ext/guestfs/handle.c:248:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char key[64];
data/libguestfs-1.42.0/test-tool/test-tool.c:338:8:  [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 (qemuwrapper);
data/libguestfs-1.42.0/tests/c-api/test-add-libvirt-dom.c:77:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char cwd[1024];
data/libguestfs-1.42.0/tests/c-api/test-add-libvirt-dom.c:79:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char libvirt_uri[sizeof cwd + 64];
data/libguestfs-1.42.0/tests/c-api/test-add-libvirt-dom.c:99: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 ("test-add-libvirt-dom.xml", "w");
data/libguestfs-1.42.0/tests/c-api/test-debug-to-file.c:58: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).
  debugfp = fopen (filename, "w");
data/libguestfs-1.42.0/tests/c-api/test-user-cancel.c:75:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char dev_fd[64];
data/libguestfs-1.42.0/tests/c-api/test-user-cancel.c:208: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 buffer[BUFSIZ];
data/libguestfs-1.42.0/tests/c-api/tests-main.c:269:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char cmd[256];
data/libguestfs-1.42.0/tests/c-api/tests-main.c:285:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char expected[33];
data/libguestfs-1.42.0/tests/c-api/tests.c:1421:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  const char *const arg193[1] = { NULL };
data/libguestfs-1.42.0/tests/c-api/tests.c:10066:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  const char *const arg1344[1] = { NULL };
data/libguestfs-1.42.0/tests/c-api/tests.c:10618:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  const char *const arg1401[1] = { NULL };
data/libguestfs-1.42.0/tests/charsets/test-charset-fidelity.c:120:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char envvar[sizeof (ourenvvar) + 20];
data/libguestfs-1.42.0/tests/disks/test-add-disks.c:285: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 expected[64];
data/libguestfs-1.42.0/tests/disks/test-add-disks.c:327: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 (&j, buf, r);
data/libguestfs-1.42.0/tests/disks/test-add-disks.c:421:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char dev[64];
data/libguestfs-1.42.0/tests/disks/test-add-disks.c:475:10:  [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 (disks[i]);
data/libguestfs-1.42.0/tests/mount-local/test-parallel-mount-local.c:245: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 status_string[80];
data/libguestfs-1.42.0/tests/mount-local/test-parallel-mount-local.c:308:10:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    fp = fopen ("file", "w");
data/libguestfs-1.42.0/tests/mount-local/test-parallel-mount-local.c:359:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char cmd[256];
data/libguestfs-1.42.0/tests/parallel/test-parallel.c:132:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char id[64];
data/libguestfs-1.42.0/tests/protocol/test-error-messages.c:45:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char len_s[64];
data/libguestfs-1.42.0/tests/protocol/test-error-messages.c:46:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char *args[2];
data/libguestfs-1.42.0/tests/regressions/test-big-heap.c:45:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char tmpfile[32];
data/libguestfs-1.42.0/tests/regressions/test-big-heap.c:45:8:  [2] (tmpfile) tmpfile:
  Function tmpfile() has a security flaw on some systems (e.g., older System
  V systems) (CWE-377).
  char tmpfile[32];
data/libguestfs-1.42.0/tests/regressions/test-big-heap.c:56:13:  [2] (tmpfile) tmpfile:
  Function tmpfile() has a security flaw on some systems (e.g., older System
  V systems) (CWE-377).
  snprintf (tmpfile, sizeof tmpfile, "test-big-heap.XXXXXX");
data/libguestfs-1.42.0/tests/regressions/test-big-heap.c:56:29:  [2] (tmpfile) tmpfile:
  Function tmpfile() has a security flaw on some systems (e.g., older System
  V systems) (CWE-377).
  snprintf (tmpfile, sizeof tmpfile, "test-big-heap.XXXXXX");
data/libguestfs-1.42.0/tests/regressions/test-big-heap.c:77:15:  [2] (tmpfile) mkstemp:
  Potential for temporary file vulnerability in some circumstances. Some
  older Unix-like systems create temp files with permission to write by all
  by default, so be sure to set the umask to override this. Also, some older
  Unix systems might fail to use O_EXCL when opening the file, so make sure
  that O_EXCL is used by the library (CWE-377).
  tmpfilefd = mkstemp (tmpfile);
data/libguestfs-1.42.0/tests/regressions/test-big-heap.c:77:24:  [2] (tmpfile) tmpfile:
  Function tmpfile() has a security flaw on some systems (e.g., older System
  V systems) (CWE-377).
  tmpfilefd = mkstemp (tmpfile);
data/libguestfs-1.42.0/tests/regressions/test-big-heap.c:87:33:  [2] (tmpfile) tmpfile:
  Function tmpfile() has a security flaw on some systems (e.g., older System
  V systems) (CWE-377).
  fmt = guestfs_disk_format (g, tmpfile);
data/libguestfs-1.42.0/tests/regressions/test-big-heap.c:88:11:  [2] (tmpfile) tmpfile:
  Function tmpfile() has a security flaw on some systems (e.g., older System
  V systems) (CWE-377).
  unlink (tmpfile);
data/libguestfs-1.42.0/tests/xml/fake-libvirt-xml.c:57: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 (path, O_RDONLY | O_CLOEXEC);
data/libguestfs-1.42.0/builder/pxzcat-c.c:235:7:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  if (read (fd, buf, XZ_HEADER_MAGIC_LEN) != XZ_HEADER_MAGIC_LEN)
data/libguestfs-1.42.0/builder/pxzcat-c.c:286:9:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    if (read (fd, footer, LZMA_STREAM_HEADER_SIZE) != LZMA_STREAM_HEADER_SIZE)
data/libguestfs-1.42.0/builder/pxzcat-c.c:333:11:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      n = read (fd, buf, strm.avail_in);
data/libguestfs-1.42.0/builder/pxzcat-c.c:356:9:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    if (read (fd, header, LZMA_STREAM_HEADER_SIZE) != LZMA_STREAM_HEADER_SIZE)
data/libguestfs-1.42.0/cat/filesystems.c:976: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 (field);
data/libguestfs-1.42.0/cat/filesystems.c:1027: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).
      slen = strlen (strings[i]);
data/libguestfs-1.42.0/cat/filesystems.c:1088: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 (row[j]);
data/libguestfs-1.42.0/cat/ls.c:619: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 (s);
data/libguestfs-1.42.0/common/edit/file-edit.c:311: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).
  ret = malloc (strlen (filename) + 16);
data/libguestfs-1.42.0/common/errnostring/errnostring-gperf.c:882: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).
    guestfs_int_string_to_errno_lookup (errnostr, strlen (errnostr));
data/libguestfs-1.42.0/common/mltools/JSON_parser-c.c:134:9:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    if (strlen (err.text) > 0)
data/libguestfs-1.42.0/common/mltools/JSON_parser-c.c:158:9:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    if (strlen (err.text) > 0)
data/libguestfs-1.42.0/common/mltools/getopt-c.c:253: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).
      const size_t key_len = strlen (key);
data/libguestfs-1.42.0/common/options/inspect.c:53:10:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  return strlen (key1) - strlen (key2);
data/libguestfs-1.42.0/common/options/inspect.c:53: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).
  return strlen (key1) - strlen (key2);
data/libguestfs-1.42.0/common/options/uri.c:236: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).
      end = query + strlen (query);
data/libguestfs-1.42.0/common/qemuopts/qemuopts.c:626: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 (str);
data/libguestfs-1.42.0/common/qemuopts/qemuopts.c:657: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 (str);
data/libguestfs-1.42.0/common/qemuopts/qemuopts.c:809: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).
      for (k = 0; k < strlen (qopts->options[i].value); ++k) {
data/libguestfs-1.42.0/common/qemuopts/qemuopts.c:816: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).
      for (k = 0; k < strlen (qopts->options[i].value); ++k) {
data/libguestfs-1.42.0/common/qemuopts/qemuopts.c:831: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).
        for (k = 0; k < strlen (values[j]); ++k) {
data/libguestfs-1.42.0/common/qemuopts/qemuopts.c:841: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).
        for (k = 0; k < strlen (values[j]); ++k) {
data/libguestfs-1.42.0/common/qemuopts/qemuopts.c:986: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 (k < strlen (values[j])) {
data/libguestfs-1.42.0/common/utils/stringlists-utils.c:98:12:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  seplen = strlen (sep);
data/libguestfs-1.42.0/common/utils/stringlists-utils.c:104:12:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    len += strlen (argv[i]);
data/libguestfs-1.42.0/common/utils/stringlists-utils.c:118: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 (argv[i]);
data/libguestfs-1.42.0/common/utils/stringlists-utils.c:157: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).
  const size_t len = strlen (str);
data/libguestfs-1.42.0/common/utils/utils.c:66: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).
  const size_t len = strlen (str), s1len = strlen (s1), s2len = strlen (s2);
data/libguestfs-1.42.0/common/utils/utils.c:66: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).
  const size_t len = strlen (str), s1len = strlen (s1), s2len = strlen (s2);
data/libguestfs-1.42.0/common/utils/utils.c:66:65:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  const size_t len = strlen (str), s1len = strlen (s1), s2len = strlen (s2);
data/libguestfs-1.42.0/common/utils/utils.c:162:9:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    if (read (fd, &c, 1) != 1) {
data/libguestfs-1.42.0/common/utils/utils.c:284: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 i, len = strlen (str);
data/libguestfs-1.42.0/common/utils/utils.c:473: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 (str);
data/libguestfs-1.42.0/common/utils/utils.c:602: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 (dir);
data/libguestfs-1.42.0/common/visit/visit.c:130:13:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    assert (strlen (xattrs->val[xattrp].attrname) == 0);
data/libguestfs-1.42.0/common/windows/windows.c:115: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).
  for (i = 0; i < strlen (ret); ++i)
data/libguestfs-1.42.0/daemon/augeas.c:393: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 (path);
data/libguestfs-1.42.0/daemon/available.c:123: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).
  const size_t len = strlen (filesystem);
data/libguestfs-1.42.0/daemon/blkid.c:62: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 (out);
data/libguestfs-1.42.0/daemon/btrfs.c:62: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 (out);
data/libguestfs-1.42.0/daemon/btrfs.c:386: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).
    if (options && strlen (options) > 0) {
data/libguestfs-1.42.0/daemon/btrfs.c:971: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).
	ss = realloc (ss, ss_len + strlen (key) + 1);
data/libguestfs-1.42.0/daemon/btrfs.c:978: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).
	memcpy (ss + ss_len, key, strlen (key));
data/libguestfs-1.42.0/daemon/btrfs.c:979:12:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	ss_len += strlen (key);
data/libguestfs-1.42.0/daemon/btrfs.c:1724: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).
                 NULL, lines[0], strlen (lines[0]), 0, 0,
data/libguestfs-1.42.0/daemon/btrfs.c:2127:12:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      p += strlen (" path ");
data/libguestfs-1.42.0/daemon/command.c:378:11:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      r = read (so_fd[PIPE_READ], buf, sizeof buf);
data/libguestfs-1.42.0/daemon/command.c:398:11:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      r = read (se_fd[PIPE_READ], buf, sizeof buf);
data/libguestfs-1.42.0/daemon/copy.c:133:9:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    r = read (src_fd, buf, n);
data/libguestfs-1.42.0/daemon/dd.c:125:17:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    ssize_t r = read (src_fd, buf, n);
data/libguestfs-1.42.0/daemon/debug-bmap.c:168:11:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      r = read (fd, buffer, n > BUFSIZ ? BUFSIZ : n);
data/libguestfs-1.42.0/daemon/debug.c:126: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 (r);
data/libguestfs-1.42.0/daemon/debug.c:128:12:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    len += strlen (cmds[i].cmd) + 1; /* space + new command */
data/libguestfs-1.42.0/daemon/debug.c:137:5:  [1] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused). Risk is low because the
  source is a constant character.
    strcat (r, " ");
data/libguestfs-1.42.0/daemon/debug.c:248:12:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    len += strlen (argv[i]) + 1;
data/libguestfs-1.42.0/daemon/debug.c:255: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 (argv[i]);
data/libguestfs-1.42.0/daemon/debug.c:418: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).
  ret = realloc (out, strlen (out) + strlen (err) + 1);
data/libguestfs-1.42.0/daemon/debug.c:418: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).
  ret = realloc (out, strlen (out) + strlen (err) + 1);
data/libguestfs-1.42.0/daemon/debug.c:558:7:  [1] (obsolete) usleep:
  This C routine is considered obsolete (as opposed to the shell command by
  the same name). The interaction of this function with SIGALRM and other
  timer functions such as sleep(), alarm(), setitimer(), and nanosleep() is
  unspecified (CWE-676). Use nanosleep(2) or setitimer(2) instead.
      usleep (100000);
data/libguestfs-1.42.0/daemon/debug.c:568:7:  [1] (obsolete) usleep:
  This C routine is considered obsolete (as opposed to the shell command by
  the same name). The interaction of this function with SIGALRM and other
  timer functions such as sleep(), alarm(), setitimer(), and nanosleep() is
  unspecified (CWE-676). Use nanosleep(2) or setitimer(2) instead.
      usleep (rate);
data/libguestfs-1.42.0/daemon/debug.c:598: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).
  const size_t pattern_len = strlen (pattern);
data/libguestfs-1.42.0/daemon/debug.c:742:9:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    if (read (fd, buf, QTRACE_SIZE) == -1) {
data/libguestfs-1.42.0/daemon/device-name-translation.c:261: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).
    const size_t len = strlen (cache[i]);
data/libguestfs-1.42.0/daemon/ext2.c:125:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen (label) > EXT2_LABEL_MAX) {
data/libguestfs-1.42.0/daemon/ext2.c:324:33:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      if (XSTRTOD64 (lines[i] + strlen (pattern),
data/libguestfs-1.42.0/daemon/ext2.c:436:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen (label) > EXT2_LABEL_MAX) {
data/libguestfs-1.42.0/daemon/ext2.c:530:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen (label) > EXT2_LABEL_MAX) {
data/libguestfs-1.42.0/daemon/ext2.c:1063: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).
        journaldevice_s = malloc (strlen (journaldevice_translated) + 8);
data/libguestfs-1.42.0/daemon/ext2.c:1072: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).
        journaldevice_s = malloc (strlen (journaldevice) + 8);
data/libguestfs-1.42.0/daemon/file.c:200: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).
  const int content_len = (int) strlen (content);
data/libguestfs-1.42.0/daemon/file.c:492: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 (line);
data/libguestfs-1.42.0/daemon/fill.c:89: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).
  const size_t patlen = strlen (pattern);
data/libguestfs-1.42.0/daemon/find.c:40:9:  [1] (buffer) fgetc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    c = fgetc (fp);
data/libguestfs-1.42.0/daemon/find.c:86: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).
  sysrootdirlen = strlen (sysrootdir);
data/libguestfs-1.42.0/daemon/find.c:114: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).
    const size_t len = strlen (str);
data/libguestfs-1.42.0/daemon/guestfsd.c:227:3:  [1] (access) umask:
  Ensure that umask is given most restrictive possible setting (e.g., 066 or
  077) (CWE-732).
  umask (022);
data/libguestfs-1.42.0/daemon/guestfsd.c:279:9:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    if (strlen (channel) > UNIX_PATH_MAX-1)
data/libguestfs-1.42.0/daemon/inotify.c:218:9:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    r = read (inotify_fd, inotify_buf + inotify_posn,
data/libguestfs-1.42.0/daemon/inotify.c:283: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).
      space -= 16 + 4 + strlen (in->in_name) + 4;
data/libguestfs-1.42.0/daemon/inotify.c:369: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).
    const size_t len = strlen (buf);
data/libguestfs-1.42.0/daemon/ldm.c:80:23:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
                      strlen (err.text) ? err.text : "unknown error");
data/libguestfs-1.42.0/daemon/ls.c:70:11:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    len = strlen (d->d_name);
data/libguestfs-1.42.0/daemon/luks.c:57: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 (key);
data/libguestfs-1.42.0/daemon/lvm-filter.c:188: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).
    const size_t slen = strlen (devices[i]);
data/libguestfs-1.42.0/daemon/lvm.c:68:11:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    len = strlen (p)-1;
data/libguestfs-1.42.0/daemon/lvm.c:902:10:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    rs = read (fd, buf + size, alloc - size);
data/libguestfs-1.42.0/daemon/md.c:323: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 (line);
data/libguestfs-1.42.0/daemon/md.c:363: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).
  mdlen = strlen (md);
data/libguestfs-1.42.0/daemon/mkfs.c:196: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).
      if (strlen (label) > EXT2_LABEL_MAX) {
data/libguestfs-1.42.0/daemon/mkfs.c:215: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).
      if (strlen (label) > XFS_LABEL_MAX) {
data/libguestfs-1.42.0/daemon/mktemp.c:62:13:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      len = strlen (template);
data/libguestfs-1.42.0/daemon/mktemp.c:69: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).
      suffix_len = strlen (suffix);
data/libguestfs-1.42.0/daemon/mount.c:252:18:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  const int n1 = strlen (*p1);
data/libguestfs-1.42.0/daemon/mount.c:253:18:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  const int n2 = strlen (*p2);
data/libguestfs-1.42.0/daemon/ntfs.c:62: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 (out);
data/libguestfs-1.42.0/daemon/ntfs.c:191: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).
        if (sscanf (lines[i] + strlen (cluster_size_pattern),
data/libguestfs-1.42.0/daemon/ntfs.c:198: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 (XSTRTOD64 (lines[i] + strlen (volume_size_pattern),
data/libguestfs-1.42.0/daemon/ntfs.c:223:33:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      if (XSTRTOD64 (lines[i] + strlen (size_pattern),
data/libguestfs-1.42.0/daemon/ntfsclone.c:45: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 (str);
data/libguestfs-1.42.0/daemon/parted.c:645: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).
      char *value = lines[i] + strlen (pattern);
data/libguestfs-1.42.0/daemon/proto.c:262:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen (msg) > GUESTFS_ERROR_LEN)
data/libguestfs-1.42.0/daemon/sfdisk.c:43: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).
    sprintf (buf + strlen (buf), " -N %d", n);
data/libguestfs-1.42.0/daemon/sfdisk.c:45: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).
    sprintf (buf + strlen (buf), " -C %d", cyls);
data/libguestfs-1.42.0/daemon/sfdisk.c:47: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).
    sprintf (buf + strlen (buf), " -H %d", heads);
data/libguestfs-1.42.0/daemon/sfdisk.c:49: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).
    sprintf (buf + strlen (buf), " -S %d", sectors);
data/libguestfs-1.42.0/daemon/sfdisk.c:56:9:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    if (strlen (buf) + 1 + strlen (extra_flag) >= sizeof buf) {
data/libguestfs-1.42.0/daemon/sfdisk.c:56:28:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    if (strlen (buf) + 1 + strlen (extra_flag) >= sizeof buf) {
data/libguestfs-1.42.0/daemon/sfdisk.c:60: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).
    sprintf (buf + strlen (buf), " %s", extra_flag);
data/libguestfs-1.42.0/daemon/sfdisk.c:63:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen (buf) + 1 + strlen (device) >= sizeof buf) {
data/libguestfs-1.42.0/daemon/sfdisk.c:63: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 (strlen (buf) + 1 + strlen (device) >= sizeof buf) {
data/libguestfs-1.42.0/daemon/sfdisk.c:67:18:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  sprintf (buf + strlen (buf), " %s", device);
data/libguestfs-1.42.0/daemon/strings.c:37:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen (encoding) != 1 ||
data/libguestfs-1.42.0/daemon/stubs-macros.h:58:38:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      if (parse_btrfsvol ((string) + strlen ("btrfsvol:"), &(mountable)) == -1)\
data/libguestfs-1.42.0/daemon/swap.c:58:9:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    if (strlen (label) > SWAP_LABEL_MAX) {
data/libguestfs-1.42.0/daemon/swap.c:192:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen (label) > SWAP_LABEL_MAX) {
data/libguestfs-1.42.0/daemon/swap.c:204:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen (label) > SWAP_LABEL_MAX) {
data/libguestfs-1.42.0/daemon/swap.c:246:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen (label) > SWAP_LABEL_MAX) {
data/libguestfs-1.42.0/daemon/tar.c:113: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 (str);
data/libguestfs-1.42.0/daemon/umask.c:43:7:  [1] (access) umask:
  Ensure that umask is given most restrictive possible setting (e.g., 066 or
  077) (CWE-732).
  r = umask (mask);
data/libguestfs-1.42.0/daemon/umask.c:58:7:  [1] (access) umask:
  Ensure that umask is given most restrictive possible setting (e.g., 066 or
  077) (CWE-732).
  r = umask (022);
data/libguestfs-1.42.0/daemon/umask.c:65:3:  [1] (access) umask:
  Ensure that umask is given most restrictive possible setting (e.g., 066 or
  077) (CWE-732).
  umask (r);
data/libguestfs-1.42.0/daemon/upload.c:215:15:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  while ((r = read (fd, buf, GUESTFS_MAX_CHUNK_SIZE)) > 0) {
data/libguestfs-1.42.0/daemon/upload.c:300:9:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    r = read (fd, buf,
data/libguestfs-1.42.0/daemon/utils.c:140:12:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    return strlen (device) > 5;
data/libguestfs-1.42.0/daemon/utils.c:187: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).
  const size_t len = strlen (path) + sysroot_len + 1;
data/libguestfs-1.42.0/daemon/utils.c:247:9:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    r = read (sock, buf, len);
data/libguestfs-1.42.0/daemon/utils.c:492: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 (str);
data/libguestfs-1.42.0/daemon/utils.c:543:18:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  slash = desc + strlen ("/dev/") - 1;
data/libguestfs-1.42.0/daemon/utils.c:627: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 proglen = strlen (prog);
data/libguestfs-1.42.0/daemon/utils.c:630: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).
  const size_t len = strlen (pathc) + 1;
data/libguestfs-1.42.0/daemon/utils.c:636: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).
    const size_t n = strlen (elem) + proglen + 2;
data/libguestfs-1.42.0/daemon/utils.c:688:11:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      if (read (fd, &c, 1) != 1) {
data/libguestfs-1.42.0/daemon/utils.c:789: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).
    if (xwrite (fd, excludes[i], strlen (excludes[i])) == -1 ||
data/libguestfs-1.42.0/daemon/utils.c:864:17:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    ssize_t n = read (fd, r + size, alloc - size - 1);
data/libguestfs-1.42.0/daemon/xattr.c:127: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).
  for (i = 0; i < (size_t) len; i += strlen (&buf[i]) + 1)
data/libguestfs-1.42.0/daemon/xattr.c:137: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).
  for (i = 0, j = 0; i < (size_t) len; i += strlen (&buf[i]) + 1, ++j) {
data/libguestfs-1.42.0/daemon/xattr.c:357:40:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    for (i = 0; i < (size_t) len; i += strlen (&buf[i]) + 1)
data/libguestfs-1.42.0/daemon/xattr.c:381: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).
    for (i = 0, j = 0; i < (size_t) len; i += strlen (&buf[i]) + 1, ++j) {
data/libguestfs-1.42.0/daemon/xattr.c:417: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).
    entry[0].attrval.attrval_len = strlen (num) + 1;
data/libguestfs-1.42.0/daemon/xattr.c:523: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).
  for (i = 0; i < (size_t) len; i += strlen (&buf[i]) + 1) {
data/libguestfs-1.42.0/daemon/xfs.c:516:9:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    if (strlen (label) > XFS_LABEL_MAX) {
data/libguestfs-1.42.0/daemon/zero.c:216:15:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  while ((r = read (fd, buf, BUFSIZ)) > 0) {
data/libguestfs-1.42.0/daemon/zero.c:256:15:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  while ((r = read (fd, buf, BUFSIZ)) > 0) {
data/libguestfs-1.42.0/df/main.c:348: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).
    if (p && strlen (p) > 1) {
data/libguestfs-1.42.0/df/main.c:399: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 (ret);
data/libguestfs-1.42.0/df/output.c:181: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 (name) + strlen (dev) + 1;
data/libguestfs-1.42.0/df/output.c:181: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).
    len = strlen (name) + strlen (dev) + 1;
data/libguestfs-1.42.0/df/output.c:217: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 (field);
data/libguestfs-1.42.0/diff/diff.c:905: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 (s);
data/libguestfs-1.42.0/erlang/main.c:166: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/libguestfs-1.42.0/examples/copy-over.c:273:10:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  return strlen (key1) - strlen (key2);
data/libguestfs-1.42.0/examples/copy-over.c:273: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).
  return strlen (key1) - strlen (key2);
data/libguestfs-1.42.0/examples/create-disk.c:81: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).
  if (guestfs_write (g, "/hello", message, strlen (message)) == -1)
data/libguestfs-1.42.0/examples/display-icon.c:16:10:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  return strlen (key1) - strlen (key2);
data/libguestfs-1.42.0/examples/display-icon.c:16: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).
  return strlen (key1) - strlen (key2);
data/libguestfs-1.42.0/examples/inspect-vm.c:13:10:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  return strlen (key1) - strlen (key2);
data/libguestfs-1.42.0/examples/inspect-vm.c:13: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).
  return strlen (key1) - strlen (key2);
data/libguestfs-1.42.0/examples/libvirt-auth.c:160:13:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      len = strlen (pass);
data/libguestfs-1.42.0/examples/mount-local.c:144: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).
        const size_t len = 64 + strlen (shell);
data/libguestfs-1.42.0/examples/virt-dhcp-address.c:286:10:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  return strlen (key1) - strlen (key2);
data/libguestfs-1.42.0/examples/virt-dhcp-address.c:286: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).
  return strlen (key1) - strlen (key2);
data/libguestfs-1.42.0/fish/cmds-gperf.c:5951: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).
  ct = lookup_fish_command (cmd, strlen (cmd));
data/libguestfs-1.42.0/fish/cmds-gperf.c:5966: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).
  ct = lookup_fish_command (cmd, strlen (cmd));
data/libguestfs-1.42.0/fish/completion.c:705: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 (text);
data/libguestfs-1.42.0/fish/destpaths.c:100:11:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    len = strlen (text);
data/libguestfs-1.42.0/fish/fish.c:679: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 (line_read);
data/libguestfs-1.42.0/fish/fish.c:1013: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).
      memmove (p+1, p+1+m, strlen (p+1+m) + 1);
data/libguestfs-1.42.0/fish/fish.c:1566: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).
  const size_t len = strlen (str);
data/libguestfs-1.42.0/fish/fish.c:1733: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).
  for (i = 0; i < strlen (ret); ++i)
data/libguestfs-1.42.0/fish/fish.c:1887: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).
  markerlen = strlen (endmarker);
data/libguestfs-1.42.0/fish/fish.c:1891: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).
    const size_t blen = strlen (buffer);
data/libguestfs-1.42.0/fish/run-0.c:1068: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).
  val_size = strlen (argv[i]);
data/libguestfs-1.42.0/fish/run-0.c:2145:18:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  content_size = strlen (argv[i]);
data/libguestfs-1.42.0/fish/run-0.c:2777:18:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  content_size = strlen (argv[i]);
data/libguestfs-1.42.0/fish/run-2.c:2122:18:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  content_size = strlen (argv[i]);
data/libguestfs-1.42.0/fish/run-2.c:2350: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).
  cred_size = strlen (argv[i]);
data/libguestfs-1.42.0/fish/run-2.c:2681:18:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  content_size = strlen (argv[i]);
data/libguestfs-1.42.0/fish/supported.c:50: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).
    const size_t l = strlen (groups[i]);
data/libguestfs-1.42.0/fish/tilde.c:68:13:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      len = strlen (home) + strlen (rest) + 1;
data/libguestfs-1.42.0/fish/tilde.c:68: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).
      len = strlen (home) + strlen (rest) + 1;
data/libguestfs-1.42.0/fish/tilde.c:102: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 (home) + (append ? strlen (append) : 0) + 1;
data/libguestfs-1.42.0/fish/tilde.c:102: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).
  len = strlen (home) + (append ? strlen (append) : 0) + 1;
data/libguestfs-1.42.0/fish/tilde.c:125:9:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    if (strlen (pw->pw_name) == ulen &&
data/libguestfs-1.42.0/fuse/guestmount.c:58: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).
  const unsigned oldlen = *opts ? strlen(*opts) : 0;
data/libguestfs-1.42.0/fuse/guestmount.c:59:42:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  char *d = realloc (*opts, oldlen + 1 + strlen(opt) * 2 + 1);
data/libguestfs-1.42.0/fuse/guestunmount.c:281:9:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    r = read (fd[0], &buf[len], allocsize - len - 1);
data/libguestfs-1.42.0/fuse/test-guestmount-fd.c:105:7:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  r = read (pipefd[0], &c, 1);
data/libguestfs-1.42.0/gnulib/lib/argmatch.c:90:12:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  arglen = strlen (arg);
data/libguestfs-1.42.0/gnulib/lib/argmatch.c:97:15:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
          if (strlen (arglist[i]) == arglen)
data/libguestfs-1.42.0/gnulib/lib/argmatch.h:181: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 arglen = strlen (arg);                                       \
data/libguestfs-1.42.0/gnulib/lib/argmatch.h:188:15:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
          if (strlen (g->args[i].arg) == arglen)                        \
data/libguestfs-1.42.0/gnulib/lib/argmatch.h:261:18:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
          col += strlen (g->docs[i].arg);                               \
data/libguestfs-1.42.0/gnulib/lib/argmatch.h:266: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).
              col += (col == 4 ? 0 : 2) + strlen (g->args[j].arg);      \
data/libguestfs-1.42.0/gnulib/lib/argmatch.h:299: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).
                    && screen_width < col + 2 + strlen (g->args[j].arg)) \
data/libguestfs-1.42.0/gnulib/lib/basename-lgpl.c:63:14:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  for (len = strlen (name);  1 < len && ISSLASH (name[len - 1]);  len--)
data/libguestfs-1.42.0/gnulib/lib/chdir-long.c:117:18:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    size_t len = strlen (dir);
data/libguestfs-1.42.0/gnulib/lib/error.c:211:20:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      size_t len = strlen (message) + 1;
data/libguestfs-1.42.0/gnulib/lib/filenamecat-lgpl.c:52: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 baselen = strlen (base);
data/libguestfs-1.42.0/gnulib/lib/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/libguestfs-1.42.0/gnulib/lib/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/libguestfs-1.42.0/gnulib/lib/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/libguestfs-1.42.0/gnulib/lib/fstatat.c:84: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 (file);
data/libguestfs-1.42.0/gnulib/lib/getcwd-lgpl.c:120: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).
      size_t actual_size = strlen (result) + 1;
data/libguestfs-1.42.0/gnulib/lib/getdelim.c:39:41:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
# define getc_maybe_unlocked(fp)        getc(fp)
data/libguestfs-1.42.0/gnulib/lib/getdelim.c:45:41:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
# define getc_maybe_unlocked(fp)        getc(fp)
data/libguestfs-1.42.0/gnulib/lib/getlogin_r.c:101:10:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  nlen = strlen (n);
data/libguestfs-1.42.0/gnulib/lib/getprogname.c:121:15:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
          if (strlen (ucomm) < PST_UCOMMLEN - 1)
data/libguestfs-1.42.0/gnulib/lib/getprogname.c:135:19:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
              if (strlen (p) > PST_UCOMMLEN - 1
data/libguestfs-1.42.0/gnulib/lib/getprogname.c:157:19:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
              if (strlen (ucomm) < PST_UCOMMLEN - 1)
data/libguestfs-1.42.0/gnulib/lib/getprogname.c:171:23:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
                  if (strlen (p) > PST_UCOMMLEN - 1
data/libguestfs-1.42.0/gnulib/lib/gettext.h:223:24:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  size_t msgctxt_len = strlen (msgctxt) + 1;
data/libguestfs-1.42.0/gnulib/lib/gettext.h:224:22:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  size_t msgid_len = strlen (msgid) + 1;
data/libguestfs-1.42.0/gnulib/lib/gettext.h:271:24:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  size_t msgctxt_len = strlen (msgctxt) + 1;
data/libguestfs-1.42.0/gnulib/lib/gettext.h:272:22:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  size_t msgid_len = strlen (msgid) + 1;
data/libguestfs-1.42.0/gnulib/lib/glob.c:326:29:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (pattern[0] && pattern[strlen (pattern) - 1] == '/')
data/libguestfs-1.42.0/gnulib/lib/glob.c:393:32:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
          size_t pattern_len = strlen (pattern) - 1;
data/libguestfs-1.42.0/gnulib/lib/glob.c:431:22:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
          rest_len = strlen (++rest) + 1;
data/libguestfs-1.42.0/gnulib/lib/glob.c:509:20:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
          dirlen = strlen (pattern);
data/libguestfs-1.42.0/gnulib/lib/glob.c:636:43:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
                  size_t home_drive_len = strlen (home_drive);
data/libguestfs-1.42.0/gnulib/lib/glob.c:637:42:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
                  size_t home_path_len = strlen (home_path);
data/libguestfs-1.42.0/gnulib/lib/glob.c:659:38:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
                      size_t ssize = strlen (s.data) + 1;
data/libguestfs-1.42.0/gnulib/lib/glob.c:712:24:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
              dirlen = strlen (dirname);
data/libguestfs-1.42.0/gnulib/lib/glob.c:718:33:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
              size_t home_len = strlen (home_dir);
data/libguestfs-1.42.0/gnulib/lib/glob.c:844:35:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
                size_t home_len = strlen (p->pw_dir);
data/libguestfs-1.42.0/gnulib/lib/glob.c:845:58:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
                size_t rest_len = end_name == NULL ? 0 : strlen (end_name);
data/libguestfs-1.42.0/gnulib/lib/glob.c:1155:26:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
            size_t len = strlen (pglob->gl_pathv[i]) + 2;
data/libguestfs-1.42.0/gnulib/lib/glob.c:1164:13:  [1] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant character.
            strcpy (&new[len - 2], "/");
data/libguestfs-1.42.0/gnulib/lib/glob.c:1214:19:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  size_t dirlen = strlen (dirname);
data/libguestfs-1.42.0/gnulib/lib/glob.c:1239:23:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      size_t eltlen = strlen (array[i]) + 1;
data/libguestfs-1.42.0/gnulib/lib/glob.c:1269:19:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  size_t dirlen = strlen (directory);
data/libguestfs-1.42.0/gnulib/lib/glob.c:1301:23:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      size_t patlen = strlen (pattern);
data/libguestfs-1.42.0/gnulib/lib/glob.c:1410:20:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      size_t len = strlen (pattern);
data/libguestfs-1.42.0/gnulib/lib/human.c:84: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 thousands_seplen = strlen (thousands_sep);
data/libguestfs-1.42.0/gnulib/lib/human.c:178: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 pointlen = strlen (l->decimal_point);
data/libguestfs-1.42.0/gnulib/lib/human.c:185:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen (l->thousands_sep) <= MB_LEN_MAX)
data/libguestfs-1.42.0/gnulib/lib/human.c:233:18:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        buflen = strlen (buf);
data/libguestfs-1.42.0/gnulib/lib/human.c:251:18:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        buflen = strlen (buf);
data/libguestfs-1.42.0/gnulib/lib/human.c:260: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).
            buflen = strlen (buf);
data/libguestfs-1.42.0/gnulib/lib/localcharset.c:928: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/libguestfs-1.42.0/gnulib/lib/lstat.c:84: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/libguestfs-1.42.0/gnulib/lib/mkdir.c:55: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 (dir);
data/libguestfs-1.42.0/gnulib/lib/open.c:115:20:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      size_t len = strlen (filename);
data/libguestfs-1.42.0/gnulib/lib/open.c:182:20:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      size_t len = strlen (filename);
data/libguestfs-1.42.0/gnulib/lib/openat-proc.c:98:56:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        size_t bufsize = PROC_SELF_FD_DIR_SIZE_BOUND + strlen (file);
data/libguestfs-1.42.0/gnulib/lib/openat-proc.c:118: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).
    dirlen = strlen (dir);
data/libguestfs-1.42.0/gnulib/lib/openat-proc.c:119: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).
    bufsize = dirlen + 1 + strlen (file) + 1; /* 1 for '/', 1 for null */
data/libguestfs-1.42.0/gnulib/lib/openat.c:105:20:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      size_t len = strlen (filename);
data/libguestfs-1.42.0/gnulib/lib/openat.c:148:20:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      size_t len = strlen (filename);
data/libguestfs-1.42.0/gnulib/lib/opendir.c:103:25:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    p = dir_name_mask + strlen (dir_name_mask);
data/libguestfs-1.42.0/gnulib/lib/opendir.c:139:15:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
            + strlen (dir_name_mask) + 1);
data/libguestfs-1.42.0/gnulib/lib/pread.c:26:28:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
#define __libc_read(f,b,n) read (f, b, n)
data/libguestfs-1.42.0/gnulib/lib/quotearg.c:370: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).
        quote_string_len = strlen (quote_string);
data/libguestfs-1.42.0/gnulib/lib/quotearg.c:416: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).
                  ? (argsize = strlen (arg)) : argsize))
data/libguestfs-1.42.0/gnulib/lib/quotearg.c:627: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).
                  argsize = strlen (arg);
data/libguestfs-1.42.0/gnulib/lib/read.c:40:9:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
# undef read
data/libguestfs-1.42.0/gnulib/lib/read.c:50:16:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      result = read (fd, buf, count);
data/libguestfs-1.42.0/gnulib/lib/read.c:62:24:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
#  define read_nothrow read
data/libguestfs-1.42.0/gnulib/lib/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/libguestfs-1.42.0/gnulib/lib/readlinkat.c:37: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 file_len = strlen (file);
data/libguestfs-1.42.0/gnulib/lib/safe-read.c:47:13:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
# define rw read
data/libguestfs-1.42.0/gnulib/lib/select.c:123:8:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  BOOL read, write, except;
data/libguestfs-1.42.0/gnulib/lib/select.c:230:7:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  if (read && (rbits->in[fd / CHAR_BIT] & (1 << (fd & (CHAR_BIT - 1)))))
data/libguestfs-1.42.0/gnulib/lib/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/libguestfs-1.42.0/gnulib/lib/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/libguestfs-1.42.0/gnulib/lib/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/libguestfs-1.42.0/gnulib/lib/setlocale_null.c:111:23:  [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).
      size_t length = wcslen (result);
data/libguestfs-1.42.0/gnulib/lib/setlocale_null.c:154:23:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      size_t length = strlen (result);
data/libguestfs-1.42.0/gnulib/lib/stat.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).
  size_t len = strlen (name);
data/libguestfs-1.42.0/gnulib/lib/stat.c:421: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/libguestfs-1.42.0/gnulib/lib/stdio-read.c:135:1:  [1] (buffer) getchar:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
getchar (void)
data/libguestfs-1.42.0/gnulib/lib/stdio-read.c:137:10:  [1] (buffer) fgetc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  return fgetc (stdin);
data/libguestfs-1.42.0/gnulib/lib/stdio-read.c:141:1:  [1] (buffer) fgetc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
fgetc (FILE *stream)
data/libguestfs-1.42.0/gnulib/lib/stdio-read.c:142:8:  [1] (buffer) fgetc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
#undef fgetc
data/libguestfs-1.42.0/gnulib/lib/stdio-read.c:144:29:  [1] (buffer) fgetc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  CALL_WITH_ERRNO_FIX (int, fgetc (stream), ret == EOF)
data/libguestfs-1.42.0/gnulib/lib/stdio.in.h:265:11:  [1] (buffer) fgetc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
#   undef fgetc
data/libguestfs-1.42.0/gnulib/lib/stdio.in.h:266:12:  [1] (buffer) fgetc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
#   define fgetc rpl_fgetc
data/libguestfs-1.42.0/gnulib/lib/stdio.in.h:268:19:  [1] (buffer) fgetc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
_GL_FUNCDECL_RPL (fgetc, int, (FILE *stream) _GL_ARG_NONNULL ((1)));
data/libguestfs-1.42.0/gnulib/lib/stdio.in.h:269:19:  [1] (buffer) fgetc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
_GL_CXXALIAS_RPL (fgetc, int, (FILE *stream));
data/libguestfs-1.42.0/gnulib/lib/stdio.in.h:271:19:  [1] (buffer) fgetc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
_GL_CXXALIAS_SYS (fgetc, int, (FILE *stream));
data/libguestfs-1.42.0/gnulib/lib/stdio.in.h:274:19:  [1] (buffer) fgetc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
_GL_CXXALIASWARN (fgetc);
data/libguestfs-1.42.0/gnulib/lib/stdio.in.h:704:11:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
#   undef getc
data/libguestfs-1.42.0/gnulib/lib/stdio.in.h:705:12:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
#   define getc rpl_fgetc
data/libguestfs-1.42.0/gnulib/lib/stdio.in.h:707:19:  [1] (buffer) fgetc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
_GL_FUNCDECL_RPL (fgetc, int, (FILE *stream) _GL_ARG_NONNULL ((1)));
data/libguestfs-1.42.0/gnulib/lib/stdio.in.h:708:21:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
_GL_CXXALIAS_RPL_1 (getc, rpl_fgetc, int, (FILE *stream));
data/libguestfs-1.42.0/gnulib/lib/stdio.in.h:710:19:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
_GL_CXXALIAS_SYS (getc, int, (FILE *stream));
data/libguestfs-1.42.0/gnulib/lib/stdio.in.h:713:19:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
_GL_CXXALIASWARN (getc);
data/libguestfs-1.42.0/gnulib/lib/stdio.in.h:720:11:  [1] (buffer) getchar:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
#   undef getchar
data/libguestfs-1.42.0/gnulib/lib/stdio.in.h:721:12:  [1] (buffer) getchar:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
#   define getchar rpl_getchar
data/libguestfs-1.42.0/gnulib/lib/stdio.in.h:723:19:  [1] (buffer) getchar:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
_GL_FUNCDECL_RPL (getchar, int, (void));
data/libguestfs-1.42.0/gnulib/lib/stdio.in.h:724:19:  [1] (buffer) getchar:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
_GL_CXXALIAS_RPL (getchar, int, (void));
data/libguestfs-1.42.0/gnulib/lib/stdio.in.h:726:19:  [1] (buffer) getchar:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
_GL_CXXALIAS_SYS (getchar, int, (void));
data/libguestfs-1.42.0/gnulib/lib/stdio.in.h:729:19:  [1] (buffer) getchar:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
_GL_CXXALIASWARN (getchar);
data/libguestfs-1.42.0/gnulib/lib/strdup.c:41:16:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  size_t len = strlen (s) + 1;
data/libguestfs-1.42.0/gnulib/lib/strerror.c:65:9:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  len = strlen (msg);
data/libguestfs-1.42.0/gnulib/lib/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/libguestfs-1.42.0/gnulib/lib/strerror_r.c:217: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/libguestfs-1.42.0/gnulib/lib/strerror_r.c:222: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/libguestfs-1.42.0/gnulib/lib/strerror_r.c:236: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/libguestfs-1.42.0/gnulib/lib/string.in.h:411:11:  [1] (buffer) strncat:
  Easily used incorrectly (e.g., incorrectly computing the correct maximum
  size to add) [MS-banned] (CWE-120). Consider strcat_s, strlcat, snprintf,
  or automatically resizing strings.
#   undef strncat
data/libguestfs-1.42.0/gnulib/lib/string.in.h:412:12:  [1] (buffer) strncat:
  Easily used incorrectly (e.g., incorrectly computing the correct maximum
  size to add) [MS-banned] (CWE-120). Consider strcat_s, strlcat, snprintf,
  or automatically resizing strings.
#   define strncat rpl_strncat
data/libguestfs-1.42.0/gnulib/lib/string.in.h:414:19:  [1] (buffer) strncat:
  Easily used incorrectly (e.g., incorrectly computing the correct maximum
  size to add) [MS-banned] (CWE-120). Consider strcat_s, strlcat, snprintf,
  or automatically resizing strings.
_GL_FUNCDECL_RPL (strncat, char *,
data/libguestfs-1.42.0/gnulib/lib/string.in.h:417: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 *,
data/libguestfs-1.42.0/gnulib/lib/string.in.h:420:19:  [1] (buffer) strncat:
  Easily used incorrectly (e.g., incorrectly computing the correct maximum
  size to add) [MS-banned] (CWE-120). Consider strcat_s, strlcat, snprintf,
  or automatically resizing strings.
_GL_CXXALIAS_SYS (strncat, char *,
data/libguestfs-1.42.0/gnulib/lib/string.in.h:424: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/libguestfs-1.42.0/gnulib/lib/string.in.h:427: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/libguestfs-1.42.0/gnulib/lib/string.in.h:429: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/libguestfs-1.42.0/gnulib/lib/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/libguestfs-1.42.0/gnulib/lib/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/libguestfs-1.42.0/gnulib/lib/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/libguestfs-1.42.0/gnulib/lib/unistd.in.h:1346:11:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
#   undef read
data/libguestfs-1.42.0/gnulib/lib/unistd.in.h:1347:12:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
#   define read rpl_read
data/libguestfs-1.42.0/gnulib/lib/unistd.in.h:1349: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/libguestfs-1.42.0/gnulib/lib/unistd.in.h:1351: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/libguestfs-1.42.0/gnulib/lib/unistd.in.h:1356: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/libguestfs-1.42.0/gnulib/lib/unistd.in.h:1358:19:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
_GL_CXXALIASWARN (read);
data/libguestfs-1.42.0/gnulib/lib/unistd.in.h:1679: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/libguestfs-1.42.0/gnulib/lib/unistd.in.h:1680: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/libguestfs-1.42.0/gnulib/lib/unistd.in.h:1682: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/libguestfs-1.42.0/gnulib/lib/unistd.in.h:1683: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/libguestfs-1.42.0/gnulib/lib/unistd.in.h:1686: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/libguestfs-1.42.0/gnulib/lib/unistd.in.h:1690:24:  [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_CAST (usleep, int, (useconds_t n));
data/libguestfs-1.42.0/gnulib/lib/unistd.in.h:1692: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/libguestfs-1.42.0/gnulib/lib/unistd.in.h:1694: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/libguestfs-1.42.0/gnulib/lib/unistd.in.h:1696: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/libguestfs-1.42.0/gnulib/lib/utime.c:45: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/libguestfs-1.42.0/gnulib/lib/vasnprintf.c:240:24:  [1] (buffer) wcslen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
#  define local_wcslen wcslen
data/libguestfs-1.42.0/gnulib/lib/vasnprintf.c:1735:26:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
            tmp_length = strlen (arg);
data/libguestfs-1.42.0/gnulib/lib/vasnprintf.c:2565:39:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
                      arg_end = arg + strlen (arg);
data/libguestfs-1.42.0/gnulib/lib/vasnprintf.c:3652:43:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
                                ndigits = strlen (digits);
data/libguestfs-1.42.0/gnulib/lib/vasnprintf.c:3712:51:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
                                        ndigits = strlen (digits);
data/libguestfs-1.42.0/gnulib/lib/vasnprintf.c:3748:45:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
                                        if (strlen (digits2) == precision + 1)
data/libguestfs-1.42.0/gnulib/lib/vasnprintf.c:3848:51:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
                                        ndigits = strlen (digits);
data/libguestfs-1.42.0/gnulib/lib/vasnprintf.c:3884:45:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
                                        if (strlen (digits2) == precision)
data/libguestfs-1.42.0/gnulib/lib/vasnprintf.c:4114:43:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
                                ndigits = strlen (digits);
data/libguestfs-1.42.0/gnulib/lib/vasnprintf.c:4171:51:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
                                        ndigits = strlen (digits);
data/libguestfs-1.42.0/gnulib/lib/vasnprintf.c:4206:45:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
                                        if (strlen (digits2) == precision + 1)
data/libguestfs-1.42.0/gnulib/lib/vasnprintf.c:4319:51:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
                                        ndigits = strlen (digits);
data/libguestfs-1.42.0/gnulib/lib/vasnprintf.c:4354:45:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
                                        if (strlen (digits2) == precision)
data/libguestfs-1.42.0/gnulib/lib/wchar.in.h:646: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/libguestfs-1.42.0/gnulib/lib/wchar.in.h:648: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/libguestfs-1.42.0/gnulib/lib/wchar.in.h:650: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/libguestfs-1.42.0/gnulib/lib/wchar.in.h:653: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/libguestfs-1.42.0/gnulib/lib/wchar.in.h:655: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/libguestfs-1.42.0/gnulib/lib/wchar.in.h:719: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/libguestfs-1.42.0/gnulib/lib/wchar.in.h:723: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/libguestfs-1.42.0/gnulib/lib/wchar.in.h:727: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/libguestfs-1.42.0/gnulib/lib/wchar.in.h:730:9:  [1] (buffer) wcsncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
# undef wcsncpy
data/libguestfs-1.42.0/gnulib/lib/wchar.in.h:732: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/libguestfs-1.42.0/gnulib/lib/wchar.in.h:782: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/libguestfs-1.42.0/gnulib/lib/wchar.in.h:786: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/libguestfs-1.42.0/gnulib/lib/wchar.in.h:790: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/libguestfs-1.42.0/gnulib/lib/wchar.in.h:793: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/libguestfs-1.42.0/gnulib/lib/wchar.in.h:795: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/libguestfs-1.42.0/gnulib/lib/xmalloc.c:121:27:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  return xmemdup (string, strlen (string) + 1);
data/libguestfs-1.42.0/gnulib/lib/xvasprintf.c:47: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).
      totalsize = xsum (totalsize, strlen (next));
data/libguestfs-1.42.0/gnulib/lib/xvasprintf.c:66: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 (next);
data/libguestfs-1.42.0/gnulib/tests/getopt.c:214:16:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	&& namelen == strlen (p->name))
data/libguestfs-1.42.0/gnulib/tests/getopt.c:301:21:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	  d->__nextchar += strlen (d->__nextchar);
data/libguestfs-1.42.0/gnulib/tests/localename.c:1406:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen (name) == 7 && name[2] == '-')
data/libguestfs-1.42.0/gnulib/tests/localename.c:2576:7:  [1] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused). Risk is low because the
  source is a constant character.
      strcat (locval, "_");
data/libguestfs-1.42.0/gnulib/tests/localename.c:2578:34:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
                        locval + strlen (locval), LOCALE_NAME_MAX_LENGTH))
data/libguestfs-1.42.0/gnulib/tests/localename.c:2580:30:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
         size_t locval_len = strlen (locval);
data/libguestfs-1.42.0/gnulib/tests/localename.c:2616:3:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
  strncpy (lname, locale_name, sizeof (lname) - 1);
data/libguestfs-1.42.0/gnulib/tests/localename.c:2687:10:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  size = strlen (string) + 1;
data/libguestfs-1.42.0/gnulib/tests/pthread_sigmask.c:84:7:  [1] (obsolete) usleep:
  This C routine is considered obsolete (as opposed to the shell command by
  the same name). The interaction of this function with SIGALRM and other
  timer functions such as sleep(), alarm(), setitimer(), and nanosleep() is
  unspecified (CWE-676). Use nanosleep(2) or setitimer(2) instead.
      usleep (1);
data/libguestfs-1.42.0/gnulib/tests/putenv.c:75:9:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  len = strlen (name);
data/libguestfs-1.42.0/gnulib/tests/rmdir.c:37: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 (dir);
data/libguestfs-1.42.0/gnulib/tests/setlocale.c:693:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen (locale) < sizeof (llCC_buf))
data/libguestfs-1.42.0/gnulib/tests/setlocale.c:750:49:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
              territory_end = territory_start + strlen (territory_start);
data/libguestfs-1.42.0/gnulib/tests/setlocale.c:785:48:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
                            size_t part1_len = strlen (part1);
data/libguestfs-1.42.0/gnulib/tests/setlocale.c:787:48:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
                            size_t part2_len = strlen (part2) + 1;
data/libguestfs-1.42.0/gnulib/tests/setlocale.c:879:11:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
          strncpy (lc_messages_name, locale, sizeof (lc_messages_name) - 1);
data/libguestfs-1.42.0/gnulib/tests/setlocale.c:1117: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).
      locale1_len = strlen (locale1);
data/libguestfs-1.42.0/gnulib/tests/setlocale.c:1124: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).
      locale2_len = strlen (locale2);
data/libguestfs-1.42.0/gnulib/tests/spawni.c:333: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 (file) + 1;
data/libguestfs-1.42.0/gnulib/tests/spawni.c:334: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).
  pathlen = strlen (path);
data/libguestfs-1.42.0/gnulib/tests/symlink.c:35:16:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  size_t len = strlen (name);
data/libguestfs-1.42.0/gnulib/tests/symlinkat.c:37: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/libguestfs-1.42.0/gnulib/tests/test-base64.c:118: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).
  ok = base64_decode (b64in, strlen (b64in), out, &len);
data/libguestfs-1.42.0/gnulib/tests/test-base64.c:125: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).
  len = base64_encode_alloc (in, strlen (in), &p);
data/libguestfs-1.42.0/gnulib/tests/test-base64.c:140:42:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    ok = base64_decode_ctx (&ctx, b64in, strlen (b64in), out, &len);
data/libguestfs-1.42.0/gnulib/tests/test-base64.c:148: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).
  ok = base64_decode_alloc_ctx (NULL, b64in, strlen (b64in), &p, &len);
data/libguestfs-1.42.0/gnulib/tests/test-base64.c:160:53:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    ok = base64_decode_alloc_ctx (&ctx, newlineb64, strlen (newlineb64), &p, &len);
data/libguestfs-1.42.0/gnulib/tests/test-base64.c:162: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).
    ASSERT (len == strlen (in));
data/libguestfs-1.42.0/gnulib/tests/test-base64.c:207:53:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    ok = base64_decode_alloc_ctx (&ctx, newlineb64, strlen (newlineb64), &p, &len);
data/libguestfs-1.42.0/gnulib/tests/test-dup2.c:185:11:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  ASSERT (read (fd, buffer, 1) == 1);
data/libguestfs-1.42.0/gnulib/tests/test-fchdir.c:76: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 len = strlen (cwd) + 1;
data/libguestfs-1.42.0/gnulib/tests/test-fgetc.c:22:18:  [1] (buffer) fgetc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
SIGNATURE_CHECK (fgetc, int, (FILE *));
data/libguestfs-1.42.0/gnulib/tests/test-fgetc.c:62:13:  [1] (buffer) fgetc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    ASSERT (fgetc (fp) == EOF);
data/libguestfs-1.42.0/gnulib/tests/test-fgetc.c:75:17:  [1] (buffer) fgetc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
        ASSERT (fgetc (fp) == EOF);
data/libguestfs-1.42.0/gnulib/tests/test-fgetc.c:88:17:  [1] (buffer) fgetc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
        ASSERT (fgetc (fp) == EOF);
data/libguestfs-1.42.0/gnulib/tests/test-getcwd-lgpl.c:58:18:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    size_t len = strlen (pwd1);
data/libguestfs-1.42.0/gnulib/tests/test-hash.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).
  size_t len = strlen (str);
data/libguestfs-1.42.0/gnulib/tests/test-memmem.c:47: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 char *result = memmem (input, strlen (input), "", 0);
data/libguestfs-1.42.0/gnulib/tests/test-memmem.c:53: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 char *result = memmem (input, strlen (input), "o", 1);
data/libguestfs-1.42.0/gnulib/tests/test-memmem.c:59: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 char *result = memmem (input, strlen (input), "ABCDABD", 7);
data/libguestfs-1.42.0/gnulib/tests/test-memmem.c:65: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 char *result = memmem (input, strlen (input), "ABCDABE", 7);
data/libguestfs-1.42.0/gnulib/tests/test-memmem.c:71: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 char *result = memmem (input, strlen (input), "ABCDABCD", 8);
data/libguestfs-1.42.0/gnulib/tests/test-memmem.c:83: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 char *result = memmem (input, strlen (input), zerosize_ptr (), 0);
data/libguestfs-1.42.0/gnulib/tests/test-memmem.c:93: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 char *result = memmem (input, strlen (input), need, strlen (need));
data/libguestfs-1.42.0/gnulib/tests/test-memmem.c:93:63:  [1] (buffer) strlen:
  Does not handle 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 char *result = memmem (input, strlen (input), need, strlen (need));
data/libguestfs-1.42.0/gnulib/tests/test-memmem.c:102: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 char *result = memmem (input, strlen (input), need, strlen (need));
data/libguestfs-1.42.0/gnulib/tests/test-memmem.c:102:63:  [1] (buffer) strlen:
  Does not handle 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 char *result = memmem (input, strlen (input), need, strlen (need));
data/libguestfs-1.42.0/gnulib/tests/test-memmem.c:114:16:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    size_t n = strlen (needle);
data/libguestfs-1.42.0/gnulib/tests/test-memmem.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).
    size_t n = strlen (haystack);
data/libguestfs-1.42.0/gnulib/tests/test-memmem.c:242:39:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    const char* p = memmem (haystack, strlen (haystack),
data/libguestfs-1.42.0/gnulib/tests/test-memmem.c:243: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).
                            needle, strlen (needle));
data/libguestfs-1.42.0/gnulib/tests/test-memmem.c:251:39:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    const char* p = memmem (haystack, strlen (haystack),
data/libguestfs-1.42.0/gnulib/tests/test-memmem.c:252: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).
                            needle, strlen (needle));
data/libguestfs-1.42.0/gnulib/tests/test-memmem.c:275: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 h_len = strlen (h);
data/libguestfs-1.42.0/gnulib/tests/test-memmem.c:279:29:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    for (i = 0; i < h_len - strlen (needle); i++)
data/libguestfs-1.42.0/gnulib/tests/test-memmem.c:283:39:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        memcpy (haystack + i, needle, strlen (needle) + 1);
data/libguestfs-1.42.0/gnulib/tests/test-memmem.c:284: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).
        p = memmem (haystack, strlen (haystack), needle, strlen (needle));
data/libguestfs-1.42.0/gnulib/tests/test-memmem.c:284: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).
        p = memmem (haystack, strlen (haystack), needle, strlen (needle));
data/libguestfs-1.42.0/gnulib/tests/test-memmem.c:305: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).
        p = memmem (haystack, strlen (haystack), needle, strlen (needle));
data/libguestfs-1.42.0/gnulib/tests/test-memmem.c:305: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).
        p = memmem (haystack, strlen (haystack), needle, strlen (needle));
data/libguestfs-1.42.0/gnulib/tests/test-nonblocking-misc.h:62: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).
  line_len = strlen (line);
data/libguestfs-1.42.0/gnulib/tests/test-nonblocking-misc.h:69: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).
  line_len += strlen (line + line_len);
data/libguestfs-1.42.0/gnulib/tests/test-nonblocking-reader.h:72:13:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      ret = read (fd, (char *) buf + bytes_read, count - bytes_read);
data/libguestfs-1.42.0/gnulib/tests/test-nonblocking-reader.h:103:13:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      ret = read (fd, (char *) buf + bytes_read, count - bytes_read);
data/libguestfs-1.42.0/gnulib/tests/test-nonblocking-reader.h:114: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.
          usleep (SMALL_DELAY);
data/libguestfs-1.42.0/gnulib/tests/test-nonblocking-reader.h:155:7:  [1] (obsolete) usleep:
  This C routine is considered obsolete (as opposed to the shell command by
  the same name). The interaction of this function with SIGALRM and other
  timer functions such as sleep(), alarm(), setitimer(), and nanosleep() is
  unspecified (CWE-676). Use nanosleep(2) or setitimer(2) instead.
      usleep (1000000);
data/libguestfs-1.42.0/gnulib/tests/test-nonblocking-reader.h:181:7:  [1] (obsolete) usleep:
  This C routine is considered obsolete (as opposed to the shell command by
  the same name). The interaction of this function with SIGALRM and other
  timer functions such as sleep(), alarm(), setitimer(), and nanosleep() is
  unspecified (CWE-676). Use nanosleep(2) or setitimer(2) instead.
      usleep (1000000);
data/libguestfs-1.42.0/gnulib/tests/test-nonblocking-writer.h:79: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.
        usleep (1000000);
data/libguestfs-1.42.0/gnulib/tests/test-nonblocking-writer.h:111: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.
        usleep (1000000);
data/libguestfs-1.42.0/gnulib/tests/test-nonblocking-writer.h:137:17:  [1] (obsolete) usleep:
  This C routine is considered obsolete (as opposed to the shell command by
  the same name). The interaction of this function with SIGALRM and other
  timer functions such as sleep(), alarm(), setitimer(), and nanosleep() is
  unspecified (CWE-676). Use nanosleep(2) or setitimer(2) instead.
                usleep (SMALL_DELAY);
data/libguestfs-1.42.0/gnulib/tests/test-nonblocking-writer.h:169:17:  [1] (obsolete) usleep:
  This C routine is considered obsolete (as opposed to the shell command by
  the same name). The interaction of this function with SIGALRM and other
  timer functions such as sleep(), alarm(), setitimer(), and nanosleep() is
  unspecified (CWE-676). Use nanosleep(2) or setitimer(2) instead.
                usleep (SMALL_DELAY);
data/libguestfs-1.42.0/gnulib/tests/test-open.h:77:13:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    ASSERT (read (fd, &c, 1) == 0);
data/libguestfs-1.42.0/gnulib/tests/test-perror2.c:103:17:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        ASSERT (strlen (err) < sizeof buf);
data/libguestfs-1.42.0/gnulib/tests/test-quotearg-simple.c:253: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).
  *len = strlen (p);
data/libguestfs-1.42.0/gnulib/tests/test-quotearg-simple.c:348: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 s_len = strlen (str);
data/libguestfs-1.42.0/gnulib/tests/test-quotearg.h:67: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).
  compare (results->str1, strlen (results->str1), p, len);
data/libguestfs-1.42.0/gnulib/tests/test-quotearg.h:75: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).
  compare (results->str3, strlen (results->str3), p, len);
data/libguestfs-1.42.0/gnulib/tests/test-quotearg.h:77: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 (inputs.str4);
data/libguestfs-1.42.0/gnulib/tests/test-quotearg.h:79: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).
  compare (results->str4, strlen (results->str4), p, len);
data/libguestfs-1.42.0/gnulib/tests/test-quotearg.h:83: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).
  compare (results->str5, strlen (results->str5), p, len);
data/libguestfs-1.42.0/gnulib/tests/test-quotearg.h:85: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 (inputs.str6);
data/libguestfs-1.42.0/gnulib/tests/test-quotearg.h:87: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).
  compare (results->str6, strlen (results->str6), p, len);
data/libguestfs-1.42.0/gnulib/tests/test-quotearg.h:89: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 (inputs.str7);
data/libguestfs-1.42.0/gnulib/tests/test-quotearg.h:91: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).
  compare (results->str7, strlen (results->str7), p, len);
data/libguestfs-1.42.0/gnulib/tests/test-quotearg.h:93: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 (inputs.str8a);
data/libguestfs-1.42.0/gnulib/tests/test-quotearg.h:96:30:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    compare (results->str8a, strlen (results->str8a), p, len);
data/libguestfs-1.42.0/gnulib/tests/test-quotearg.h:98: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).
    compare (results->str8b, strlen (results->str8b), p, len);
data/libguestfs-1.42.0/gnulib/tests/test-quotearg.h:117: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).
  *len = strlen (p);
data/libguestfs-1.42.0/gnulib/tests/test-quotearg.h:126: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).
  *len = strlen (p);
data/libguestfs-1.42.0/gnulib/tests/test-read.c:22:18:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
SIGNATURE_CHECK (read, ssize_t, (int, void *, size_t));
data/libguestfs-1.42.0/gnulib/tests/test-read.c:48:19:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    ssize_t ret = read (fd, buf, 10);
data/libguestfs-1.42.0/gnulib/tests/test-read.c:58:13:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    ASSERT (read (-1, &byte, 1) == -1);
data/libguestfs-1.42.0/gnulib/tests/test-read.c:65:13:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    ASSERT (read (99, &byte, 1) == -1);
data/libguestfs-1.42.0/gnulib/tests/test-readlink.h:88:18:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    size_t len = strlen (BASE "dir");
data/libguestfs-1.42.0/gnulib/tests/test-readlinkat.c:86: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).
      ssize_t exp = strlen (contents);
data/libguestfs-1.42.0/gnulib/tests/test-rwlock1.c:83:3:  [1] (obsolete) usleep:
  This C routine is considered obsolete (as opposed to the shell command by
  the same name). The interaction of this function with SIGALRM and other
  timer functions such as sleep(), alarm(), setitimer(), and nanosleep() is
  unspecified (CWE-676). Use nanosleep(2) or setitimer(2) instead.
  usleep (100000);
data/libguestfs-1.42.0/gnulib/tests/test-rwlock1.c:99:3:  [1] (obsolete) usleep:
  This C routine is considered obsolete (as opposed to the shell command by
  the same name). The interaction of this function with SIGALRM and other
  timer functions such as sleep(), alarm(), setitimer(), and nanosleep() is
  unspecified (CWE-676). Use nanosleep(2) or setitimer(2) instead.
  usleep (100000);
data/libguestfs-1.42.0/gnulib/tests/test-select-stdin.c:80:19:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
          ASSERT (read (0, &c, 1) == 1);
data/libguestfs-1.42.0/gnulib/tests/test-select.h:220:3:  [1] (buffer) getchar:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  getchar ();
data/libguestfs-1.42.0/gnulib/tests/test-select.h:367:15:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      ASSERT (read (c, buf, 3) == 3);
data/libguestfs-1.42.0/gnulib/tests/test-select.h:382:15:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      ASSERT (read (c, buf, 3) == 3);
data/libguestfs-1.42.0/gnulib/tests/test-select.h:407:11:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  ASSERT (read (rd, buf, 3) == 3);
data/libguestfs-1.42.0/gnulib/tests/test-snprintf.c:68:23:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    ASSERT (retval == strlen (result));
data/libguestfs-1.42.0/gnulib/tests/test-strerror_r.c:41:11:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  ASSERT (strlen (buf) < sizeof buf);
data/libguestfs-1.42.0/gnulib/tests/test-strerror_r.c:48:11:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  ASSERT (strlen (buf) < sizeof buf);
data/libguestfs-1.42.0/gnulib/tests/test-strerror_r.c:55:11:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  ASSERT (strlen (buf) < sizeof buf);
data/libguestfs-1.42.0/gnulib/tests/test-strerror_r.c:80:11:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  ASSERT (strlen (buf) < sizeof buf);
data/libguestfs-1.42.0/gnulib/tests/test-strerror_r.c:102:15:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        len = strlen (buf2);
data/libguestfs-1.42.0/gnulib/tests/test-usleep.c:24:18:  [1] (obsolete) usleep:
  This C routine is considered obsolete (as opposed to the shell command by
  the same name). The interaction of this function with SIGALRM and other
  timer functions such as sleep(), alarm(), setitimer(), and nanosleep() is
  unspecified (CWE-676). Use nanosleep(2) or setitimer(2) instead.
SIGNATURE_CHECK (usleep, int, (useconds_t));
data/libguestfs-1.42.0/gnulib/tests/test-usleep.c:34:11:  [1] (obsolete) usleep:
  This C routine is considered obsolete (as opposed to the shell command by
  the same name). The interaction of this function with SIGALRM and other
  timer functions such as sleep(), alarm(), setitimer(), and nanosleep() is
  unspecified (CWE-676). Use nanosleep(2) or setitimer(2) instead.
  ASSERT (usleep (1000000) == 0);
data/libguestfs-1.42.0/gnulib/tests/test-usleep.c:37:11:  [1] (obsolete) usleep:
  This C routine is considered obsolete (as opposed to the shell command by
  the same name). The interaction of this function with SIGALRM and other
  timer functions such as sleep(), alarm(), setitimer(), and nanosleep() is
  unspecified (CWE-676). Use nanosleep(2) or setitimer(2) instead.
  ASSERT (usleep (0) == 0);
data/libguestfs-1.42.0/gnulib/tests/test-vasnprintf.c:80:15:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      ASSERT (strlen (result) == 126);
data/libguestfs-1.42.0/gnulib/tests/test-vsnprintf.c:81:23:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    ASSERT (retval == strlen (result));
data/libguestfs-1.42.0/gnulib/tests/test-write.c:53:13:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    ASSERT (read (rfd, buf, sizeof (buf)) == 17);
data/libguestfs-1.42.0/gnulib/tests/unlink.c:38: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/libguestfs-1.42.0/gnulib/tests/unlinkat.c:54: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/libguestfs-1.42.0/gnulib/tests/unsetenv.c:68:9:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  len = strlen (name);
data/libguestfs-1.42.0/gnulib/tests/usleep.c:46:1:  [1] (obsolete) usleep:
  This C routine is considered obsolete (as opposed to the shell command by
  the same name). The interaction of this function with SIGALRM and other
  timer functions such as sleep(), alarm(), setitimer(), and nanosleep() is
  unspecified (CWE-676). Use nanosleep(2) or setitimer(2) instead.
usleep (useconds_t micro)
data/libguestfs-1.42.0/gnulib/tests/usleep.c:47:8:  [1] (obsolete) usleep:
  This C routine is considered obsolete (as opposed to the shell command by
  the same name). The interaction of this function with SIGALRM and other
  timer functions such as sleep(), alarm(), setitimer(), and nanosleep() is
  unspecified (CWE-676). Use nanosleep(2) or setitimer(2) instead.
#undef usleep
data/libguestfs-1.42.0/gnulib/tests/usleep.c:72: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.
#  define usleep(x) 0
data/libguestfs-1.42.0/gnulib/tests/usleep.c:74:10:  [1] (obsolete) usleep:
  This C routine is considered obsolete (as opposed to the shell command by
  the same name). The interaction of this function with SIGALRM and other
  timer functions such as sleep(), alarm(), setitimer(), and nanosleep() is
  unspecified (CWE-676). Use nanosleep(2) or setitimer(2) instead.
  return usleep (micro % 1000000);
data/libguestfs-1.42.0/inspector/inspector.c:521: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).
  c = strlen (key1) - strlen (key2);
data/libguestfs-1.42.0/inspector/inspector.c:521: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).
  c = strlen (key1) - strlen (key2);
data/libguestfs-1.42.0/inspector/inspector.c:753:9:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    i = strlen (r);
data/libguestfs-1.42.0/java/handle.c:275:39:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    if (strncmp (key, "_java_event_", strlen ("_java_event_")) == 0)
data/libguestfs-1.42.0/java/handle.c:294:39:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    if (strncmp (key, "_java_event_", strlen ("_java_event_")) == 0) {
data/libguestfs-1.42.0/lib/bindtests.c:815: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).
  *size_r = strlen (val);
data/libguestfs-1.42.0/lib/command.c:268: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).
  add_string (cmd, str, strlen (str));
data/libguestfs-1.42.0/lib/command.c:578:3:  [1] (access) umask:
  Ensure that umask is given most restrictive possible setting (e.g., 066 or
  077) (CWE-732).
  umask (022);
data/libguestfs-1.42.0/lib/command.c:685:11:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      n = read (cmd->errorfd, buf, BUFSIZ);
data/libguestfs-1.42.0/lib/command.c:709:11:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      n = read (cmd->outfd, buf, BUFSIZ);
data/libguestfs-1.42.0/lib/command.c:909: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 (ret);
data/libguestfs-1.42.0/lib/conn-socket.c:186:19:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      ssize_t n = read (conn->daemon_sock, buf, len);
data/libguestfs-1.42.0/lib/conn-socket.c:353:3:  [1] (obsolete) usleep:
  This C routine is considered obsolete (as opposed to the shell command by
  the same name). The interaction of this function with SIGALRM and other
  timer functions such as sleep(), alarm(), setitimer(), and nanosleep() is
  unspecified (CWE-676). Use nanosleep(2) or setitimer(2) instead.
  usleep (1000);
data/libguestfs-1.42.0/lib/conn-socket.c:355:7:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  n = read (conn->console_sock, buf, BUFSIZ);
data/libguestfs-1.42.0/lib/copy-in-out.c:45: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 buf_len = strlen (localpath) + 1;
data/libguestfs-1.42.0/lib/copy-in-out.c:155: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).
    const size_t buf_len = strlen (remotepath) + 1;
data/libguestfs-1.42.0/lib/copy-in-out.c:183: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).
    const size_t buf_len = strlen (remotepath) + 1;
data/libguestfs-1.42.0/lib/copy-in-out.c:243: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 (path);
data/libguestfs-1.42.0/lib/drives.c:664:9:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    if (strlen (server) == 5) {
data/libguestfs-1.42.0/lib/errors.c:335: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).
  msg = safe_realloc (g, msg, strlen (msg) + 2 + strlen (buf) + 1);
data/libguestfs-1.42.0/lib/errors.c:335: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).
  msg = safe_realloc (g, msg, strlen (msg) + 2 + strlen (buf) + 1);
data/libguestfs-1.42.0/lib/errors.c:536: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).
  const size_t len = 80 + strlen (cmd_name);
data/libguestfs-1.42.0/lib/file.c:194: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 (ret[i]);
data/libguestfs-1.42.0/lib/fuse.c:232: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).
          for (; i < xattrs->len && strlen (xattrs->val[i].attrname) > 0; ++i)
data/libguestfs-1.42.0/lib/fuse.c:393: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 (r);
data/libguestfs-1.42.0/lib/fuse.c:865: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 (xattrs->val[i].attrname) + 1;
data/libguestfs-1.42.0/lib/fuse.c:883: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 (xattrs->val[i].attrname) + 1;
data/libguestfs-1.42.0/lib/fuse.c:1357: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 (path) + strlen (name) + 2;
data/libguestfs-1.42.0/lib/fuse.c:1357: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).
  len = strlen (path) + strlen (name) + 2;
data/libguestfs-1.42.0/lib/fuse.c:1390: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 (path) + strlen (name) + 2;
data/libguestfs-1.42.0/lib/fuse.c:1390: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).
  len = strlen (path) + strlen (name) + 2;
data/libguestfs-1.42.0/lib/fuse.c:1423: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 (path) + strlen (name) + 2;
data/libguestfs-1.42.0/lib/fuse.c:1423: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).
  len = strlen (path) + strlen (name) + 2;
data/libguestfs-1.42.0/lib/guestfs-internal-all.h:58:41:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
#define STRPREFIX(a,b) (strncmp((a),(b),strlen((b))) == 0)
data/libguestfs-1.42.0/lib/guestfs-internal-all.h:59: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).
#define STRCASEPREFIX(a,b) (strncasecmp((a),(b),strlen((b))) == 0)
data/libguestfs-1.42.0/lib/guestfs-internal-all.h:60: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).
#define STRSUFFIX(a,b) (strlen((a)) >= strlen((b)) && STREQ((a)+strlen((a))-strlen((b)),(b)))
data/libguestfs-1.42.0/lib/guestfs-internal-all.h:60:40:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
#define STRSUFFIX(a,b) (strlen((a)) >= strlen((b)) && STREQ((a)+strlen((a))-strlen((b)),(b)))
data/libguestfs-1.42.0/lib/guestfs-internal-all.h:60:65:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
#define STRSUFFIX(a,b) (strlen((a)) >= strlen((b)) && STREQ((a)+strlen((a))-strlen((b)),(b)))
data/libguestfs-1.42.0/lib/guestfs-internal-all.h:60:77:  [1] (buffer) strlen:
  Does not handle 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 STRSUFFIX(a,b) (strlen((a)) >= strlen((b)) && STREQ((a)+strlen((a))-strlen((b)),(b)))
data/libguestfs-1.42.0/lib/guestfs-internal-all.h:128: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).
      ignore_value (write (2, err, strlen (err)));                      \
data/libguestfs-1.42.0/lib/guid.c:39: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 i, len = strlen (str);
data/libguestfs-1.42.0/lib/handle.c:312: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).
  const size_t len = strlen (name);
data/libguestfs-1.42.0/lib/handle.c:353: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).
					trace_msg, strlen (trace_msg));
data/libguestfs-1.42.0/lib/handle.c:727: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 (identifier);
data/libguestfs-1.42.0/lib/handle.c:822: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/libguestfs-1.42.0/lib/handle.c:846: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/libguestfs-1.42.0/lib/info.c:209:9:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    if (strlen (err.text) > 0)
data/libguestfs-1.42.0/lib/inspect-apps.c:465: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 (line);
data/libguestfs-1.42.0/lib/inspect-apps.c:600: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).
  const size_t path_len = strlen ("/var/lib/pacman/local/") + strlen ("/desc");
data/libguestfs-1.42.0/lib/inspect-apps.c:600:63:  [1] (buffer) strlen:
  Does not handle 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 path_len = strlen ("/var/lib/pacman/local/") + strlen ("/desc");
data/libguestfs-1.42.0/lib/inspect-apps.c:618: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).
    fname = safe_malloc (g, strlen (curr->name) + path_len + 1);
data/libguestfs-1.42.0/lib/launch-direct.c:454:3:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
  strncpy (addr.sun_path, data->guestfsd_sock, UNIX_PATH_MAX);
data/libguestfs-1.42.0/lib/launch-libvirt.c:777:42:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  doc = xmlReadMemory (capabilities_xml, strlen (capabilities_xml),
data/libguestfs-1.42.0/lib/launch-libvirt.c:867: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).
  doc = xmlReadMemory (domcapabilities_xml, strlen (domcapabilities_xml),
data/libguestfs-1.42.0/lib/launch-libvirt.c:1956:39:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    if (!base64_decode_alloc (secret, strlen (secret),
data/libguestfs-1.42.0/lib/launch-libvirt.c:1978: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).
    secret_raw_len = strlen (secret);
data/libguestfs-1.42.0/lib/launch-uml.c:520: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).
    needs_quote = strcspn (argv[i], " ") != strlen (argv[i]);
data/libguestfs-1.42.0/lib/launch-unix.c:50:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen (sockpath) > UNIX_PATH_MAX-1) {
data/libguestfs-1.42.0/lib/launch-unix.c:65:3:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
  strncpy (addr.sun_path, sockpath, UNIX_PATH_MAX);
data/libguestfs-1.42.0/lib/launch.c:331:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen (g->sockdir) + 1 + strlen (filename) > UNIX_PATH_MAX-1) {
data/libguestfs-1.42.0/lib/launch.c:331:33:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen (g->sockdir) + 1 + strlen (filename) > UNIX_PATH_MAX-1) {
data/libguestfs-1.42.0/lib/launch.c:391: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 (b->name);
data/libguestfs-1.42.0/lib/libvirt-auth.c:139: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 (g->saved_libvirt_uri));
data/libguestfs-1.42.0/lib/libvirt-domain.c:899: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).
  doc = xmlReadMemory (xml, strlen (xml),
data/libguestfs-1.42.0/lib/lpj.c:165:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen (buf) < 4 || sscanf (&buf[4], "%d", &r) != 1) {
data/libguestfs-1.42.0/lib/match.c:36: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).
  const size_t len = strlen (str);
data/libguestfs-1.42.0/lib/match.c:53: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).
  const size_t len = strlen (str);
data/libguestfs-1.42.0/lib/match.c:68: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).
  const size_t len = strlen (str);
data/libguestfs-1.42.0/lib/match.c:89: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).
  const size_t len = strlen (str);
data/libguestfs-1.42.0/lib/match.c:112: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).
  const size_t len = strlen (str);
data/libguestfs-1.42.0/lib/match.c:138: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).
  const size_t len = strlen (str);
data/libguestfs-1.42.0/lib/proto.c:158:12:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    slen = strlen (sentinel);
data/libguestfs-1.42.0/lib/proto.c:163:12:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    slen = strlen (sentinel);
data/libguestfs-1.42.0/lib/proto.c:366:9:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    r = read (fd, buf, GUESTFS_MAX_CHUNK_SIZE);
data/libguestfs-1.42.0/lib/qemu.c:459:9:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    if (strlen (err.text) > 0)
data/libguestfs-1.42.0/lib/qemu.c:488:9:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    if (strlen (err.text) > 0)
data/libguestfs-1.42.0/lib/qemu.c:536: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 (str);
data/libguestfs-1.42.0/lib/qemu.c:737: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).
  const size_t len = strlen (param);
data/libguestfs-1.42.0/lib/umask.c:140:12:  [1] (access) umask:
  Ensure that umask is given most restrictive possible setting (e.g., 066 or
  077) (CWE-732).
    mask = umask (0);
data/libguestfs-1.42.0/lib/umask.c:154:7:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  if (read (fd[0], &mask, sizeof mask) != sizeof mask) {
data/libguestfs-1.42.0/lib/unit-tests.c:240:26:  [1] (access) umask:
  Ensure that umask is given most restrictive possible setting (e.g., 066 or
  077) (CWE-732).
  const int orig_umask = umask (0777);
data/libguestfs-1.42.0/lib/unit-tests.c:246:3:  [1] (access) umask:
  Ensure that umask is given most restrictive possible setting (e.g., 066 or
  077) (CWE-732).
  umask (0022);
data/libguestfs-1.42.0/lib/unit-tests.c:249:3:  [1] (access) umask:
  Ensure that umask is given most restrictive possible setting (e.g., 066 or
  077) (CWE-732).
  umask (0222);
data/libguestfs-1.42.0/lib/unit-tests.c:251:3:  [1] (access) umask:
  Ensure that umask is given most restrictive possible setting (e.g., 066 or
  077) (CWE-732).
  umask (0000);
data/libguestfs-1.42.0/lib/unit-tests.c:254:3:  [1] (access) umask:
  Ensure that umask is given most restrictive possible setting (e.g., 066 or
  077) (CWE-732).
  umask (orig_umask);           /* Restore original umask. */
data/libguestfs-1.42.0/lib/whole-file.c:76:9:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    r = read (fd, &data[n], size - n);
data/libguestfs-1.42.0/lua/lua-guestfs.c:17907: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).
  lua_pushlstring (L, v, strlen (v));
data/libguestfs-1.42.0/make-fs/make-fs.c:314:17:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    while ((r = read (fd[0], buffer, BUFSIZ)) > 0) {
data/libguestfs-1.42.0/make-fs/make-fs.c:477: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 (line);
data/libguestfs-1.42.0/ocaml/guestfs-c.c:306:40:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    if (strncmp (key, "_ocaml_event_", strlen ("_ocaml_event_")) == 0)
data/libguestfs-1.42.0/ocaml/guestfs-c.c:322:40:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    if (strncmp (key, "_ocaml_event_", strlen ("_ocaml_event_")) == 0) {
data/libguestfs-1.42.0/php/extension/guestfs_php.c:853:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen (dir) != dir_size) {
data/libguestfs-1.42.0/php/extension/guestfs_php.c:888:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen (path) != path_size) {
data/libguestfs-1.42.0/php/extension/guestfs_php.c:893:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen (acltype) != acltype_size) {
data/libguestfs-1.42.0/php/extension/guestfs_php.c:932:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen (path) != path_size) {
data/libguestfs-1.42.0/php/extension/guestfs_php.c:937:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen (acltype) != acltype_size) {
data/libguestfs-1.42.0/php/extension/guestfs_php.c:942:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen (acl) != acl_size) {
data/libguestfs-1.42.0/php/extension/guestfs_php.c:975:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen (filename) != filename_size) {
data/libguestfs-1.42.0/php/extension/guestfs_php.c:1024:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen (dom) != dom_size) {
data/libguestfs-1.42.0/php/extension/guestfs_php.c:1118:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen (filename) != filename_size) {
data/libguestfs-1.42.0/php/extension/guestfs_php.c:1210:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen (filename) != filename_size) {
data/libguestfs-1.42.0/php/extension/guestfs_php.c:1245:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen (filename) != filename_size) {
data/libguestfs-1.42.0/php/extension/guestfs_php.c:1250:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen (iface) != iface_size) {
data/libguestfs-1.42.0/php/extension/guestfs_php.c:1332:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen (filename) != filename_size) {
data/libguestfs-1.42.0/php/extension/guestfs_php.c:1337:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen (iface) != iface_size) {
data/libguestfs-1.42.0/php/extension/guestfs_php.c:1440:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen (augpath) != augpath_size) {
data/libguestfs-1.42.0/php/extension/guestfs_php.c:1503:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen (name) != name_size) {
data/libguestfs-1.42.0/php/extension/guestfs_php.c:1508:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen (expr) != expr_size) {
data/libguestfs-1.42.0/php/extension/guestfs_php.c:1513:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen (val) != val_size) {
data/libguestfs-1.42.0/php/extension/guestfs_php.c:1551:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen (name) != name_size) {
data/libguestfs-1.42.0/php/extension/guestfs_php.c:1556:23:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (expr != NULL && strlen (expr) != expr_size) {
data/libguestfs-1.42.0/php/extension/guestfs_php.c:1589:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen (augpath) != augpath_size) {
data/libguestfs-1.42.0/php/extension/guestfs_php.c:1625:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen (root) != root_size) {
data/libguestfs-1.42.0/php/extension/guestfs_php.c:1661:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen (augpath) != augpath_size) {
data/libguestfs-1.42.0/php/extension/guestfs_php.c:1666:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen (label) != label_size) {
data/libguestfs-1.42.0/php/extension/guestfs_php.c:1699:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen (augpath) != augpath_size) {
data/libguestfs-1.42.0/php/extension/guestfs_php.c:1760:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen (augpath) != augpath_size) {
data/libguestfs-1.42.0/php/extension/guestfs_php.c:1799:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen (augpath) != augpath_size) {
data/libguestfs-1.42.0/php/extension/guestfs_php.c:1840:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen (src) != src_size) {
data/libguestfs-1.42.0/php/extension/guestfs_php.c:1845:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen (dest) != dest_size) {
data/libguestfs-1.42.0/php/extension/guestfs_php.c:1878:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen (augpath) != augpath_size) {
data/libguestfs-1.42.0/php/extension/guestfs_php.c:1939:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen (augpath) != augpath_size) {
data/libguestfs-1.42.0/php/extension/guestfs_php.c:1944:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen (val) != val_size) {
data/libguestfs-1.42.0/php/extension/guestfs_php.c:1981:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen (base) != base_size) {
data/libguestfs-1.42.0/php/extension/guestfs_php.c:1986: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 (sub != NULL && strlen (sub) != sub_size) {
data/libguestfs-1.42.0/php/extension/guestfs_php.c:1991:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen (val) != val_size) {
data/libguestfs-1.42.0/php/extension/guestfs_php.c:2029:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen (lens) != lens_size) {
data/libguestfs-1.42.0/php/extension/guestfs_php.c:2034:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen (file) != file_size) {
data/libguestfs-1.42.0/php/extension/guestfs_php.c:2138:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen (base64file) != base64file_size) {
data/libguestfs-1.42.0/php/extension/guestfs_php.c:2143:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen (filename) != filename_size) {
data/libguestfs-1.42.0/php/extension/guestfs_php.c:2178:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen (filename) != filename_size) {
data/libguestfs-1.42.0/php/extension/guestfs_php.c:2183:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen (base64file) != base64file_size) {
data/libguestfs-1.42.0/php/extension/guestfs_php.c:2216:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen (device) != device_size) {
data/libguestfs-1.42.0/php/extension/guestfs_php.c:2249:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen (device) != device_size) {
data/libguestfs-1.42.0/php/extension/guestfs_php.c:2282:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen (device) != device_size) {
data/libguestfs-1.42.0/php/extension/guestfs_php.c:2322:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen (device) != device_size) {
data/libguestfs-1.42.0/php/extension/guestfs_php.c:2355:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen (device) != device_size) {
data/libguestfs-1.42.0/php/extension/guestfs_php.c:2388:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen (device) != device_size) {
data/libguestfs-1.42.0/php/extension/guestfs_php.c:2421:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen (device) != device_size) {
data/libguestfs-1.42.0/php/extension/guestfs_php.c:2454:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen (device) != device_size) {
data/libguestfs-1.42.0/php/extension/guestfs_php.c:2487:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen (device) != device_size) {
data/libguestfs-1.42.0/php/extension/guestfs_php.c:2520:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen (device) != device_size) {
data/libguestfs-1.42.0/php/extension/guestfs_php.c:2554:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen (device) != device_size) {
data/libguestfs-1.42.0/php/extension/guestfs_php.c:2588:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen (device) != device_size) {
data/libguestfs-1.42.0/php/extension/guestfs_php.c:2621:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen (device) != device_size) {
data/libguestfs-1.42.0/php/extension/guestfs_php.c:2654:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen (device) != device_size) {
data/libguestfs-1.42.0/php/extension/guestfs_php.c:2687:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen (path) != path_size) {
data/libguestfs-1.42.0/php/extension/guestfs_php.c:2720:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen (path) != path_size) {
data/libguestfs-1.42.0/php/extension/guestfs_php.c:2753:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen (path) != path_size) {
data/libguestfs-1.42.0/php/extension/guestfs_php.c:2786:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen (path) != path_size) {
data/libguestfs-1.42.0/php/extension/guestfs_php.c:2829:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen (fs) != fs_size) {
data/libguestfs-1.42.0/php/extension/guestfs_php.c:2868:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen (fs) != fs_size) {
data/libguestfs-1.42.0/php/extension/guestfs_php.c:2903:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen (fs) != fs_size) {
data/libguestfs-1.42.0/php/extension/guestfs_php.c:2941:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen (path) != path_size) {
data/libguestfs-1.42.0/php/extension/guestfs_php.c:2986:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen (mountpoint) != mountpoint_size) {
data/libguestfs-1.42.0/php/extension/guestfs_php.c:3024:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen (device) != device_size) {
data/libguestfs-1.42.0/php/extension/guestfs_php.c:3063:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen (fs) != fs_size) {
data/libguestfs-1.42.0/php/extension/guestfs_php.c:3100:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen (device) != device_size) {
data/libguestfs-1.42.0/php/extension/guestfs_php.c:3149:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen (image) != image_size) {
data/libguestfs-1.42.0/php/extension/guestfs_php.c:3193:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen (src) != src_size) {
data/libguestfs-1.42.0/php/extension/guestfs_php.c:3198:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen (dst) != dst_size) {
data/libguestfs-1.42.0/php/extension/guestfs_php.c:3203:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen (path) != path_size) {
data/libguestfs-1.42.0/php/extension/guestfs_php.c:3238:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen (qgroupid) != qgroupid_size) {
data/libguestfs-1.42.0/php/extension/guestfs_php.c:3243:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen (subvolume) != subvolume_size) {
data/libguestfs-1.42.0/php/extension/guestfs_php.c:3278:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen (qgroupid) != qgroupid_size) {
data/libguestfs-1.42.0/php/extension/guestfs_php.c:3283:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen (subvolume) != subvolume_size) {
data/libguestfs-1.42.0/php/extension/guestfs_php.c:3317:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen (subvolume) != subvolume_size) {
data/libguestfs-1.42.0/php/extension/guestfs_php.c:3354:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen (src) != src_size) {
data/libguestfs-1.42.0/php/extension/guestfs_php.c:3359:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen (dst) != dst_size) {
data/libguestfs-1.42.0/php/extension/guestfs_php.c:3364:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen (path) != path_size) {
data/libguestfs-1.42.0/php/extension/guestfs_php.c:3397:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen (path) != path_size) {
data/libguestfs-1.42.0/php/extension/guestfs_php.c:3447:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen (fs) != fs_size) {
data/libguestfs-1.42.0/php/extension/guestfs_php.c:3480:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen (fs) != fs_size) {
data/libguestfs-1.42.0/php/extension/guestfs_php.c:3517:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen (srcdev) != srcdev_size) {
data/libguestfs-1.42.0/php/extension/guestfs_php.c:3522:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen (targetdev) != targetdev_size) {
data/libguestfs-1.42.0/php/extension/guestfs_php.c:3527:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen (mntpoint) != mntpoint_size) {
data/libguestfs-1.42.0/php/extension/guestfs_php.c:3560:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen (device) != device_size) {
data/libguestfs-1.42.0/php/extension/guestfs_php.c:3593:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen (device) != device_size) {
data/libguestfs-1.42.0/php/extension/guestfs_php.c:3626:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen (path) != path_size) {
data/libguestfs-1.42.0/php/extension/guestfs_php.c:3659:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen (path) != path_size) {
data/libguestfs-1.42.0/php/extension/guestfs_php.c:3692:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen (path) != path_size) {
data/libguestfs-1.42.0/php/extension/guestfs_php.c:3725:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen (path) != path_size) {
data/libguestfs-1.42.0/php/extension/guestfs_php.c:3775:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen (device) != device_size) {
data/libguestfs-1.42.0/php/extension/guestfs_php.c:3812:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen (dest) != dest_size) {
data/libguestfs-1.42.0/php/extension/guestfs_php.c:3850:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen (subvolume) != subvolume_size) {
data/libguestfs-1.42.0/php/extension/guestfs_php.c:3883:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen (fs) != fs_size) {
data/libguestfs-1.42.0/php/extension/guestfs_php.c:3916:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen (fs) != fs_size) {
data/libguestfs-1.42.0/php/extension/guestfs_php.c:3966:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen (fs) != fs_size) {
data/libguestfs-1.42.0/php/extension/guestfs_php.c:3999:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen (subvolume) != subvolume_size) {
data/libguestfs-1.42.0/php/extension/guestfs_php.c:4046:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen (source) != source_size) {
data/libguestfs-1.42.0/php/extension/guestfs_php.c:4051:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen (dest) != dest_size) {
data/libguestfs-1.42.0/php/extension/guestfs_php.c:4093:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen (device) != device_size) {
data/libguestfs-1.42.0/php/extension/guestfs_php.c:4126:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen (device) != device_size) {
data/libguestfs-1.42.0/php/extension/guestfs_php.c:4160:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen (device) != device_size) {
data/libguestfs-1.42.0/php/extension/guestfs_php.c:4219:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen (device) != device_size) {
data/libguestfs-1.42.0/php/extension/guestfs_php.c:4254:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen (path) != path_size) {
data/libguestfs-1.42.0/php/extension/guestfs_php.c:4291:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen (path) != path_size) {
data/libguestfs-1.42.0/php/extension/guestfs_php.c:4296:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen (cap) != cap_size) {
data/libguestfs-1.42.0/php/extension/guestfs_php.c:4329:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen (path) != path_size) {
data/libguestfs-1.42.0/php/extension/guestfs_php.c:4364:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen (path) != path_size) {
data/libguestfs-1.42.0/php/extension/guestfs_php.c:4401:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen (csumtype) != csumtype_size) {
data/libguestfs-1.42.0/php/extension/guestfs_php.c:4406:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen (path) != path_size) {
data/libguestfs-1.42.0/php/extension/guestfs_php.c:4443:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen (csumtype) != csumtype_size) {
data/libguestfs-1.42.0/php/extension/guestfs_php.c:4448:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen (device) != device_size) {
data/libguestfs-1.42.0/php/extension/guestfs_php.c:4487:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen (csumtype) != csumtype_size) {
data/libguestfs-1.42.0/php/extension/guestfs_php.c:4492:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen (directory) != directory_size) {
data/libguestfs-1.42.0/php/extension/guestfs_php.c:4497:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen (sumsfile) != sumsfile_size) {
data/libguestfs-1.42.0/php/extension/guestfs_php.c:4531:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen (path) != path_size) {
data/libguestfs-1.42.0/php/extension/guestfs_php.c:4566:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen (path) != path_size) {
data/libguestfs-1.42.0/php/extension/guestfs_php.c:4599:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen (name) != name_size) {
data/libguestfs-1.42.0/php/extension/guestfs_php.c:4711:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen (ctype) != ctype_size) {
data/libguestfs-1.42.0/php/extension/guestfs_php.c:4716:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen (device) != device_size) {
data/libguestfs-1.42.0/php/extension/guestfs_php.c:4721:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen (zdevice) != zdevice_size) {
data/libguestfs-1.42.0/php/extension/guestfs_php.c:4766:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen (ctype) != ctype_size) {
data/libguestfs-1.42.0/php/extension/guestfs_php.c:4771:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen (file) != file_size) {
data/libguestfs-1.42.0/php/extension/guestfs_php.c:4776:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen (zfile) != zfile_size) {
data/libguestfs-1.42.0/php/extension/guestfs_php.c:4816:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen (hvparam) != hvparam_size) {
data/libguestfs-1.42.0/php/extension/guestfs_php.c:4821: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 (hvvalue != NULL && strlen (hvvalue) != hvvalue_size) {
data/libguestfs-1.42.0/php/extension/guestfs_php.c:4862:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen (src) != src_size) {
data/libguestfs-1.42.0/php/extension/guestfs_php.c:4867:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen (dest) != dest_size) {
data/libguestfs-1.42.0/php/extension/guestfs_php.c:4926:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen (src) != src_size) {
data/libguestfs-1.42.0/php/extension/guestfs_php.c:4931:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen (dest) != dest_size) {
data/libguestfs-1.42.0/php/extension/guestfs_php.c:4994:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen (src) != src_size) {
data/libguestfs-1.42.0/php/extension/guestfs_php.c:4999:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen (dest) != dest_size) {
data/libguestfs-1.42.0/php/extension/guestfs_php.c:5062:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen (src) != src_size) {
data/libguestfs-1.42.0/php/extension/guestfs_php.c:5067:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen (dest) != dest_size) {
data/libguestfs-1.42.0/php/extension/guestfs_php.c:5130:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen (src) != src_size) {
data/libguestfs-1.42.0/php/extension/guestfs_php.c:5135:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen (dest) != dest_size) {
data/libguestfs-1.42.0/php/extension/guestfs_php.c:5191:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen (localpath) != localpath_size) {
data/libguestfs-1.42.0/php/extension/guestfs_php.c:5196:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen (remotedir) != remotedir_size) {
data/libguestfs-1.42.0/php/extension/guestfs_php.c:5231:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen (remotepath) != remotepath_size) {
data/libguestfs-1.42.0/php/extension/guestfs_php.c:5236:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen (localdir) != localdir_size) {
data/libguestfs-1.42.0/php/extension/guestfs_php.c:5272:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen (src) != src_size) {
data/libguestfs-1.42.0/php/extension/guestfs_php.c:5277:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen (dest) != dest_size) {
data/libguestfs-1.42.0/php/extension/guestfs_php.c:5312:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen (src) != src_size) {
data/libguestfs-1.42.0/php/extension/guestfs_php.c:5317:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen (dest) != dest_size) {
data/libguestfs-1.42.0/php/extension/guestfs_php.c:5352:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen (src) != src_size) {
data/libguestfs-1.42.0/php/extension/guestfs_php.c:5357:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen (dest) != dest_size) {
data/libguestfs-1.42.0/php/extension/guestfs_php.c:5392:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen (src) != src_size) {
data/libguestfs-1.42.0/php/extension/guestfs_php.c:5397:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen (dest) != dest_size) {
data/libguestfs-1.42.0/php/extension/guestfs_php.c:5436:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen (directory) != directory_size) {
data/libguestfs-1.42.0/php/extension/guestfs_php.c:5441:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen (cpiofile) != cpiofile_size) {
data/libguestfs-1.42.0/php/extension/guestfs_php.c:5481:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen (src) != src_size) {
data/libguestfs-1.42.0/php/extension/guestfs_php.c:5486:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen (dest) != dest_size) {
data/libguestfs-1.42.0/php/extension/guestfs_php.c:5521:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen (subcmd) != subcmd_size) {
data/libguestfs-1.42.0/php/extension/guestfs_php.c:5595:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen (filename) != filename_size) {
data/libguestfs-1.42.0/php/extension/guestfs_php.c:5600:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen (tmpname) != tmpname_size) {
data/libguestfs-1.42.0/php/extension/guestfs_php.c:5633:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen (device) != device_size) {
data/libguestfs-1.42.0/php/extension/guestfs_php.c:5736:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen (filename) != filename_size) {
data/libguestfs-1.42.0/php/extension/guestfs_php.c:5741:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen (format) != format_size) {
data/libguestfs-1.42.0/php/extension/guestfs_php.c:5795:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen (filename) != filename_size) {
data/libguestfs-1.42.0/php/extension/guestfs_php.c:5830:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen (filename) != filename_size) {
data/libguestfs-1.42.0/php/extension/guestfs_php.c:5863:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen (filename) != filename_size) {
data/libguestfs-1.42.0/php/extension/guestfs_php.c:5926:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen (remotefilename) != remotefilename_size) {
data/libguestfs-1.42.0/php/extension/guestfs_php.c:5931:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen (filename) != filename_size) {
data/libguestfs-1.42.0/php/extension/guestfs_php.c:5971:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen (device) != device_size) {
data/libguestfs-1.42.0/php/extension/guestfs_php.c:5976:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen (filename) != filename_size) {
data/libguestfs-1.42.0/php/extension/guestfs_php.c:6017:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen (device) != device_size) {
data/libguestfs-1.42.0/php/extension/guestfs_php.c:6022:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen (filename) != filename_size) {
data/libguestfs-1.42.0/php/extension/guestfs_php.c:6059:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen (remotefilename) != remotefilename_size) {
data/libguestfs-1.42.0/php/extension/guestfs_php.c:6064:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen (filename) != filename_size) {
data/libguestfs-1.42.0/php/extension/guestfs_php.c:6124:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen (path) != path_size) {
data/libguestfs-1.42.0/php/extension/guestfs_php.c:6161:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen (device) != device_size) {
data/libguestfs-1.42.0/php/extension/guestfs_php.c:6203:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen (device) != device_size) {
data/libguestfs-1.42.0/php/extension/guestfs_php.c:6272:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen (regex) != regex_size) {
data/libguestfs-1.42.0/php/extension/guestfs_php.c:6277:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen (path) != path_size) {
data/libguestfs-1.42.0/php/extension/guestfs_php.c:6318:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen (regex) != regex_size) {
data/libguestfs-1.42.0/php/extension/guestfs_php.c:6323:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen (path) != path_size) {
data/libguestfs-1.42.0/php/extension/guestfs_php.c:6364:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen (file1) != file1_size) {
data/libguestfs-1.42.0/php/extension/guestfs_php.c:6369:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen (file2) != file2_size) {
data/libguestfs-1.42.0/php/extension/guestfs_php.c:6402:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen (path) != path_size) {
data/libguestfs-1.42.0/php/extension/guestfs_php.c:6435:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen (directory) != directory_size) {
data/libguestfs-1.42.0/php/extension/guestfs_php.c:6468:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen (device) != device_size) {
data/libguestfs-1.42.0/php/extension/guestfs_php.c:6502:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen (path) != path_size) {
data/libguestfs-1.42.0/php/extension/guestfs_php.c:6536:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen (path) != path_size) {
data/libguestfs-1.42.0/php/extension/guestfs_php.c:6603:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen (pattern) != pattern_size) {
data/libguestfs-1.42.0/php/extension/guestfs_php.c:6608:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen (path) != path_size) {
data/libguestfs-1.42.0/php/extension/guestfs_php.c:6649:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen (pattern) != pattern_size) {
data/libguestfs-1.42.0/php/extension/guestfs_php.c:6654:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen (path) != path_size) {
data/libguestfs-1.42.0/php/extension/guestfs_php.c:6693:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen (path) != path_size) {
data/libguestfs-1.42.0/php/extension/guestfs_php.c:6728:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen (filename) != filename_size) {
data/libguestfs-1.42.0/php/extension/guestfs_php.c:6763:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen (file) != file_size) {
data/libguestfs-1.42.0/php/extension/guestfs_php.c:6796:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen (filesystem) != filesystem_size) {
data/libguestfs-1.42.0/php/extension/guestfs_php.c:6829:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen (device) != device_size) {
data/libguestfs-1.42.0/php/extension/guestfs_php.c:6893:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen (path) != path_size) {
data/libguestfs-1.42.0/php/extension/guestfs_php.c:6927:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen (dir) != dir_size) {
data/libguestfs-1.42.0/php/extension/guestfs_php.c:6963:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen (pattern) != pattern_size) {
data/libguestfs-1.42.0/php/extension/guestfs_php.c:6968:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen (path) != path_size) {
data/libguestfs-1.42.0/php/extension/guestfs_php.c:7001:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen (directory) != directory_size) {
data/libguestfs-1.42.0/php/extension/guestfs_php.c:7042:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen (directory) != directory_size) {
data/libguestfs-1.42.0/php/extension/guestfs_php.c:7047:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen (files) != files_size) {
data/libguestfs-1.42.0/php/extension/guestfs_php.c:7081:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen (device) != device_size) {
data/libguestfs-1.42.0/php/extension/guestfs_php.c:7143:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen (label) != label_size) {
data/libguestfs-1.42.0/php/extension/guestfs_php.c:7178:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen (uuid) != uuid_size) {
data/libguestfs-1.42.0/php/extension/guestfs_php.c:7215:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen (fstype) != fstype_size) {
data/libguestfs-1.42.0/php/extension/guestfs_php.c:7220:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen (device) != device_size) {
data/libguestfs-1.42.0/php/extension/guestfs_php.c:7258:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen (mountpoint) != mountpoint_size) {
data/libguestfs-1.42.0/php/extension/guestfs_php.c:7410:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen (name) != name_size) {
data/libguestfs-1.42.0/php/extension/guestfs_php.c:7531:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen (file) != file_size) {
data/libguestfs-1.42.0/php/extension/guestfs_php.c:7566:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen (file) != file_size) {
data/libguestfs-1.42.0/php/extension/guestfs_php.c:7599:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen (device) != device_size) {
data/libguestfs-1.42.0/php/extension/guestfs_php.c:7634:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen (device) != device_size) {
data/libguestfs-1.42.0/php/extension/guestfs_php.c:8292:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen (path) != path_size) {
data/libguestfs-1.42.0/php/extension/guestfs_php.c:8297:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen (name) != name_size) {
data/libguestfs-1.42.0/php/extension/guestfs_php.c:8333:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen (path) != path_size) {
data/libguestfs-1.42.0/php/extension/guestfs_php.c:8384:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen (pattern) != pattern_size) {
data/libguestfs-1.42.0/php/extension/guestfs_php.c:8436:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen (regex) != regex_size) {
data/libguestfs-1.42.0/php/extension/guestfs_php.c:8441:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen (path) != path_size) {
data/libguestfs-1.42.0/php/extension/guestfs_php.c:8499:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen (regex) != regex_size) {
data/libguestfs-1.42.0/php/extension/guestfs_php.c:8504:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen (path) != path_size) {
data/libguestfs-1.42.0/php/extension/guestfs_php.c:8545:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen (root) != root_size) {
data/libguestfs-1.42.0/php/extension/guestfs_php.c:8550:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen (device) != device_size) {
data/libguestfs-1.42.0/php/extension/guestfs_php.c:8583:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen (path) != path_size) {
data/libguestfs-1.42.0/php/extension/guestfs_php.c:8623:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen (path) != path_size) {
data/libguestfs-1.42.0/php/extension/guestfs_php.c:8662:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen (path) != path_size) {
data/libguestfs-1.42.0/php/extension/guestfs_php.c:8723:27:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (filename != NULL && strlen (filename) != filename_size) {
data/libguestfs-1.42.0/php/extension/guestfs_php.c:8757:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen (name) != name_size) {
data/libguestfs-1.42.0/php/extension/guestfs_php.c:8859:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen (name) != name_size) {
data/libguestfs-1.42.0/php/extension/guestfs_php.c:8893:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen (key) != key_size) {
data/libguestfs-1.42.0/php/extension/guestfs_php.c:8986:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen (key) != key_size) {
data/libguestfs-1.42.0/php/extension/guestfs_php.c:9066:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen (filename) != filename_size) {
data/libguestfs-1.42.0/php/extension/guestfs_php.c:9288:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen (initrdpath) != initrdpath_size) {
data/libguestfs-1.42.0/php/extension/guestfs_php.c:9293:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen (filename) != filename_size) {
data/libguestfs-1.42.0/php/extension/guestfs_php.c:9329:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen (path) != path_size) {
data/libguestfs-1.42.0/php/extension/guestfs_php.c:9369:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen (path) != path_size) {
data/libguestfs-1.42.0/php/extension/guestfs_php.c:9557:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen (root) != root_size) {
data/libguestfs-1.42.0/php/extension/guestfs_php.c:9592:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen (root) != root_size) {
data/libguestfs-1.42.0/php/extension/guestfs_php.c:9627:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen (root) != root_size) {
data/libguestfs-1.42.0/php/extension/guestfs_php.c:9667:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen (root) != root_size) {
data/libguestfs-1.42.0/php/extension/guestfs_php.c:9706:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen (root) != root_size) {
data/libguestfs-1.42.0/php/extension/guestfs_php.c:9741:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen (root) != root_size) {
data/libguestfs-1.42.0/php/extension/guestfs_php.c:9780:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen (root) != root_size) {
data/libguestfs-1.42.0/php/extension/guestfs_php.c:9825:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen (root) != root_size) {
data/libguestfs-1.42.0/php/extension/guestfs_php.c:9858:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen (root) != root_size) {
data/libguestfs-1.42.0/php/extension/guestfs_php.c:9891:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen (root) != root_size) {
data/libguestfs-1.42.0/php/extension/guestfs_php.c:9931:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen (root) != root_size) {
data/libguestfs-1.42.0/php/extension/guestfs_php.c:9966:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen (root) != root_size) {
data/libguestfs-1.42.0/php/extension/guestfs_php.c:10001:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen (root) != root_size) {
data/libguestfs-1.42.0/php/extension/guestfs_php.c:10036:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen (root) != root_size) {
data/libguestfs-1.42.0/php/extension/guestfs_php.c:10071:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen (root) != root_size) {
data/libguestfs-1.42.0/php/extension/guestfs_php.c:10138:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen (root) != root_size) {
data/libguestfs-1.42.0/php/extension/guestfs_php.c:10173:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen (root) != root_size) {
data/libguestfs-1.42.0/php/extension/guestfs_php.c:10208:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen (root) != root_size) {
data/libguestfs-1.42.0/php/extension/guestfs_php.c:10243:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen (root) != root_size) {
data/libguestfs-1.42.0/php/extension/guestfs_php.c:10278:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen (root) != root_size) {
data/libguestfs-1.42.0/php/extension/guestfs_php.c:10313:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen (root) != root_size) {
data/libguestfs-1.42.0/php/extension/guestfs_php.c:10346:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen (root) != root_size) {
data/libguestfs-1.42.0/php/extension/guestfs_php.c:10379:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen (root) != root_size) {
data/libguestfs-1.42.0/php/extension/guestfs_php.c:10412:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen (root) != root_size) {
data/libguestfs-1.42.0/php/extension/guestfs_php.c:10470:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen (root) != root_size) {
data/libguestfs-1.42.0/php/extension/guestfs_php.c:10612:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen (str) != str_size) {
data/libguestfs-1.42.0/php/extension/guestfs_php.c:10617:25:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (optstr != NULL && strlen (optstr) != optstr_size) {
data/libguestfs-1.42.0/php/extension/guestfs_php.c:10624:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen (filein) != filein_size) {
data/libguestfs-1.42.0/php/extension/guestfs_php.c:10629:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen (fileout) != fileout_size) {
data/libguestfs-1.42.0/php/extension/guestfs_php.c:11095:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen (val) != val_size) {
data/libguestfs-1.42.0/php/extension/guestfs_php.c:11154:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen (val) != val_size) {
data/libguestfs-1.42.0/php/extension/guestfs_php.c:11219:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen (val) != val_size) {
data/libguestfs-1.42.0/php/extension/guestfs_php.c:11274:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen (val) != val_size) {
data/libguestfs-1.42.0/php/extension/guestfs_php.c:11333:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen (val) != val_size) {
data/libguestfs-1.42.0/php/extension/guestfs_php.c:11406:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen (val) != val_size) {
data/libguestfs-1.42.0/php/extension/guestfs_php.c:11439:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen (val) != val_size) {
data/libguestfs-1.42.0/php/extension/guestfs_php.c:11524:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen (val) != val_size) {
data/libguestfs-1.42.0/php/extension/guestfs_php.c:11587:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen (val) != val_size) {
data/libguestfs-1.42.0/php/extension/guestfs_php.c:11658:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen (val) != val_size) {
data/libguestfs-1.42.0/php/extension/guestfs_php.c:11747:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen (val) != val_size) {
data/libguestfs-1.42.0/php/extension/guestfs_php.c:11860:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen (filename) != filename_size) {
data/libguestfs-1.42.0/php/extension/guestfs_php.c:11896:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen (path) != path_size) {
data/libguestfs-1.42.0/php/extension/guestfs_php.c:11963:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen (path) != path_size) {
data/libguestfs-1.42.0/php/extension/guestfs_php.c:12030:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen (path) != path_size) {
data/libguestfs-1.42.0/php/extension/guestfs_php.c:12071:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen (path) != path_size) {
data/libguestfs-1.42.0/php/extension/guestfs_php.c:12112:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen (path) != path_size) {
data/libguestfs-1.42.0/php/extension/guestfs_php.c:12176:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen (mountable) != mountable_size) {
data/libguestfs-1.42.0/php/extension/guestfs_php.c:12238:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen (path) != path_size) {
data/libguestfs-1.42.0/php/extension/guestfs_php.c:12276:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen (path) != path_size) {
data/libguestfs-1.42.0/php/extension/guestfs_php.c:12309:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen (device) != device_size) {
data/libguestfs-1.42.0/php/extension/guestfs_php.c:12342:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen (path) != path_size) {
data/libguestfs-1.42.0/php/extension/guestfs_php.c:12375:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen (device) != device_size) {
data/libguestfs-1.42.0/php/extension/guestfs_php.c:12408:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen (isofile) != isofile_size) {
data/libguestfs-1.42.0/php/extension/guestfs_php.c:12459:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen (device) != device_size) {
data/libguestfs-1.42.0/php/extension/guestfs_php.c:12655:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen (directory) != directory_size) {
data/libguestfs-1.42.0/php/extension/guestfs_php.c:12796:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen (path) != path_size) {
data/libguestfs-1.42.0/php/extension/guestfs_php.c:12855:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen (diskgroup) != diskgroup_size) {
data/libguestfs-1.42.0/php/extension/guestfs_php.c:12894:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen (diskgroup) != diskgroup_size) {
data/libguestfs-1.42.0/php/extension/guestfs_php.c:12929:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen (diskgroup) != diskgroup_size) {
data/libguestfs-1.42.0/php/extension/guestfs_php.c:13066:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen (diskgroup) != diskgroup_size) {
data/libguestfs-1.42.0/php/extension/guestfs_php.c:13071:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen (volume) != volume_size) {
data/libguestfs-1.42.0/php/extension/guestfs_php.c:13108:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen (diskgroup) != diskgroup_size) {
data/libguestfs-1.42.0/php/extension/guestfs_php.c:13113:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen (volume) != volume_size) {
data/libguestfs-1.42.0/php/extension/guestfs_php.c:13154:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen (diskgroup) != diskgroup_size) {
data/libguestfs-1.42.0/php/extension/guestfs_php.c:13159:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen (volume) != volume_size) {
data/libguestfs-1.42.0/php/extension/guestfs_php.c:13196:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen (path) != path_size) {
data/libguestfs-1.42.0/php/extension/guestfs_php.c:13201:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen (name) != name_size) {
data/libguestfs-1.42.0/php/extension/guestfs_php.c:13237:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen (path) != path_size) {
data/libguestfs-1.42.0/php/extension/guestfs_php.c:13575:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen (directory) != directory_size) {
data/libguestfs-1.42.0/php/extension/guestfs_php.c:13610:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen (directory) != directory_size) {
data/libguestfs-1.42.0/php/extension/guestfs_php.c:13647:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen (target) != target_size) {
data/libguestfs-1.42.0/php/extension/guestfs_php.c:13652:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen (linkname) != linkname_size) {
data/libguestfs-1.42.0/php/extension/guestfs_php.c:13687:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen (target) != target_size) {
data/libguestfs-1.42.0/php/extension/guestfs_php.c:13692:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen (linkname) != linkname_size) {
data/libguestfs-1.42.0/php/extension/guestfs_php.c:13727:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen (target) != target_size) {
data/libguestfs-1.42.0/php/extension/guestfs_php.c:13732:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen (linkname) != linkname_size) {
data/libguestfs-1.42.0/php/extension/guestfs_php.c:13767:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen (target) != target_size) {
data/libguestfs-1.42.0/php/extension/guestfs_php.c:13772:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen (linkname) != linkname_size) {
data/libguestfs-1.42.0/php/extension/guestfs_php.c:13807:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen (xattr) != xattr_size) {
data/libguestfs-1.42.0/php/extension/guestfs_php.c:13812:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen (path) != path_size) {
data/libguestfs-1.42.0/php/extension/guestfs_php.c:13845:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen (directory) != directory_size) {
data/libguestfs-1.42.0/php/extension/guestfs_php.c:13886:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen (dir) != dir_size) {
data/libguestfs-1.42.0/php/extension/guestfs_php.c:13891:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen (filenames) != filenames_size) {
data/libguestfs-1.42.0/php/extension/guestfs_php.c:13929:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen (xattr) != xattr_size) {
data/libguestfs-1.42.0/php/extension/guestfs_php.c:13934:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen (val) != val_size) {
data/libguestfs-1.42.0/php/extension/guestfs_php.c:13939:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen (path) != path_size) {
data/libguestfs-1.42.0/php/extension/guestfs_php.c:13972:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen (path) != path_size) {
data/libguestfs-1.42.0/php/extension/guestfs_php.c:14021:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen (path) != path_size) {
data/libguestfs-1.42.0/php/extension/guestfs_php.c:14084:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen (path) != path_size) {
data/libguestfs-1.42.0/php/extension/guestfs_php.c:14142:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen (path) != path_size) {
data/libguestfs-1.42.0/php/extension/guestfs_php.c:14219:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen (device) != device_size) {
data/libguestfs-1.42.0/php/extension/guestfs_php.c:14224:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen (key) != key_size) {
data/libguestfs-1.42.0/php/extension/guestfs_php.c:14229:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen (newkey) != newkey_size) {
data/libguestfs-1.42.0/php/extension/guestfs_php.c:14262:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen (device) != device_size) {
data/libguestfs-1.42.0/php/extension/guestfs_php.c:14298:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen (device) != device_size) {
data/libguestfs-1.42.0/php/extension/guestfs_php.c:14303:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen (key) != key_size) {
data/libguestfs-1.42.0/php/extension/guestfs_php.c:14341:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen (device) != device_size) {
data/libguestfs-1.42.0/php/extension/guestfs_php.c:14346:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen (key) != key_size) {
data/libguestfs-1.42.0/php/extension/guestfs_php.c:14351:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen (cipher) != cipher_size) {
data/libguestfs-1.42.0/php/extension/guestfs_php.c:14387:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen (device) != device_size) {
data/libguestfs-1.42.0/php/extension/guestfs_php.c:14392:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen (key) != key_size) {
data/libguestfs-1.42.0/php/extension/guestfs_php.c:14429:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen (device) != device_size) {
data/libguestfs-1.42.0/php/extension/guestfs_php.c:14434:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen (key) != key_size) {
data/libguestfs-1.42.0/php/extension/guestfs_php.c:14439:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen (mapname) != mapname_size) {
data/libguestfs-1.42.0/php/extension/guestfs_php.c:14476:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen (device) != device_size) {
data/libguestfs-1.42.0/php/extension/guestfs_php.c:14481:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen (key) != key_size) {
data/libguestfs-1.42.0/php/extension/guestfs_php.c:14486:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen (mapname) != mapname_size) {
data/libguestfs-1.42.0/php/extension/guestfs_php.c:14519:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen (device) != device_size) {
data/libguestfs-1.42.0/php/extension/guestfs_php.c:14557:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen (logvol) != logvol_size) {
data/libguestfs-1.42.0/php/extension/guestfs_php.c:14562:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen (volgroup) != volgroup_size) {
data/libguestfs-1.42.0/php/extension/guestfs_php.c:14598:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen (logvol) != logvol_size) {
data/libguestfs-1.42.0/php/extension/guestfs_php.c:14603:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen (volgroup) != volgroup_size) {
data/libguestfs-1.42.0/php/extension/guestfs_php.c:14636:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen (lvname) != lvname_size) {
data/libguestfs-1.42.0/php/extension/guestfs_php.c:14782:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen (device) != device_size) {
data/libguestfs-1.42.0/php/extension/guestfs_php.c:14817:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen (logvol) != logvol_size) {
data/libguestfs-1.42.0/php/extension/guestfs_php.c:14822:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen (newlogvol) != newlogvol_size) {
data/libguestfs-1.42.0/php/extension/guestfs_php.c:14856:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen (device) != device_size) {
data/libguestfs-1.42.0/php/extension/guestfs_php.c:14890:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen (lv) != lv_size) {
data/libguestfs-1.42.0/php/extension/guestfs_php.c:15010:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen (device) != device_size) {
data/libguestfs-1.42.0/php/extension/guestfs_php.c:15047:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen (path) != path_size) {
data/libguestfs-1.42.0/php/extension/guestfs_php.c:15135:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen (name) != name_size) {
data/libguestfs-1.42.0/php/extension/guestfs_php.c:15193:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen (md) != md_size) {
data/libguestfs-1.42.0/php/extension/guestfs_php.c:15233:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen (md) != md_size) {
data/libguestfs-1.42.0/php/extension/guestfs_php.c:15282:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen (md) != md_size) {
data/libguestfs-1.42.0/php/extension/guestfs_php.c:15315:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen (path) != path_size) {
data/libguestfs-1.42.0/php/extension/guestfs_php.c:15349:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen (path) != path_size) {
data/libguestfs-1.42.0/php/extension/guestfs_php.c:15382:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen (path) != path_size) {
data/libguestfs-1.42.0/php/extension/guestfs_php.c:15415:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen (tmpl) != tmpl_size) {
data/libguestfs-1.42.0/php/extension/guestfs_php.c:15497:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen (device) != device_size) {
data/libguestfs-1.42.0/php/extension/guestfs_php.c:15688:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen (fstype) != fstype_size) {
data/libguestfs-1.42.0/php/extension/guestfs_php.c:15693:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen (device) != device_size) {
data/libguestfs-1.42.0/php/extension/guestfs_php.c:15698:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen (journal) != journal_size) {
data/libguestfs-1.42.0/php/extension/guestfs_php.c:15736:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen (fstype) != fstype_size) {
data/libguestfs-1.42.0/php/extension/guestfs_php.c:15741:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen (device) != device_size) {
data/libguestfs-1.42.0/php/extension/guestfs_php.c:15746:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen (label) != label_size) {
data/libguestfs-1.42.0/php/extension/guestfs_php.c:15784:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen (fstype) != fstype_size) {
data/libguestfs-1.42.0/php/extension/guestfs_php.c:15789:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen (device) != device_size) {
data/libguestfs-1.42.0/php/extension/guestfs_php.c:15794:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen (uuid) != uuid_size) {
data/libguestfs-1.42.0/php/extension/guestfs_php.c:15828:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen (device) != device_size) {
data/libguestfs-1.42.0/php/extension/guestfs_php.c:15864:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen (label) != label_size) {
data/libguestfs-1.42.0/php/extension/guestfs_php.c:15869:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen (device) != device_size) {
data/libguestfs-1.42.0/php/extension/guestfs_php.c:15905:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen (uuid) != uuid_size) {
data/libguestfs-1.42.0/php/extension/guestfs_php.c:15910:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen (device) != device_size) {
data/libguestfs-1.42.0/php/extension/guestfs_php.c:15944:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen (path) != path_size) {
data/libguestfs-1.42.0/php/extension/guestfs_php.c:15988:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen (fstype) != fstype_size) {
data/libguestfs-1.42.0/php/extension/guestfs_php.c:15993:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen (device) != device_size) {
data/libguestfs-1.42.0/php/extension/guestfs_php.c:16050:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen (fstype) != fstype_size) {
data/libguestfs-1.42.0/php/extension/guestfs_php.c:16055:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen (device) != device_size) {
data/libguestfs-1.42.0/php/extension/guestfs_php.c:16166:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen (mountpoint) != mountpoint_size) {
data/libguestfs-1.42.0/php/extension/guestfs_php.c:16199:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen (exemptpath) != exemptpath_size) {
data/libguestfs-1.42.0/php/extension/guestfs_php.c:16235:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen (path) != path_size) {
data/libguestfs-1.42.0/php/extension/guestfs_php.c:16271:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen (path) != path_size) {
data/libguestfs-1.42.0/php/extension/guestfs_php.c:16307:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen (path) != path_size) {
data/libguestfs-1.42.0/php/extension/guestfs_php.c:16347:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen (path) != path_size) {
data/libguestfs-1.42.0/php/extension/guestfs_php.c:16352:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen (filename) != filename_size) {
data/libguestfs-1.42.0/php/extension/guestfs_php.c:16406:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen (device) != device_size) {
data/libguestfs-1.42.0/php/extension/guestfs_php.c:16450:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen (label) != label_size) {
data/libguestfs-1.42.0/php/extension/guestfs_php.c:16455:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen (device) != device_size) {
data/libguestfs-1.42.0/php/extension/guestfs_php.c:16490:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen (uuid) != uuid_size) {
data/libguestfs-1.42.0/php/extension/guestfs_php.c:16495:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen (device) != device_size) {
data/libguestfs-1.42.0/php/extension/guestfs_php.c:16528:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen (path) != path_size) {
data/libguestfs-1.42.0/php/extension/guestfs_php.c:16565:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen (tmpl) != tmpl_size) {
data/libguestfs-1.42.0/php/extension/guestfs_php.c:16605:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen (modulename) != modulename_size) {
data/libguestfs-1.42.0/php/extension/guestfs_php.c:16640:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen (mountable) != mountable_size) {
data/libguestfs-1.42.0/php/extension/guestfs_php.c:16645:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen (mountpoint) != mountpoint_size) {
data/libguestfs-1.42.0/php/extension/guestfs_php.c:16684:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen (mounttag) != mounttag_size) {
data/libguestfs-1.42.0/php/extension/guestfs_php.c:16689:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen (mountpoint) != mountpoint_size) {
data/libguestfs-1.42.0/php/extension/guestfs_php.c:16734:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen (localmountpoint) != localmountpoint_size) {
data/libguestfs-1.42.0/php/extension/guestfs_php.c:16812:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen (file) != file_size) {
data/libguestfs-1.42.0/php/extension/guestfs_php.c:16817:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen (mountpoint) != mountpoint_size) {
data/libguestfs-1.42.0/php/extension/guestfs_php.c:16854:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen (options) != options_size) {
data/libguestfs-1.42.0/php/extension/guestfs_php.c:16859:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen (mountable) != mountable_size) {
data/libguestfs-1.42.0/php/extension/guestfs_php.c:16864:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen (mountpoint) != mountpoint_size) {
data/libguestfs-1.42.0/php/extension/guestfs_php.c:16899:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen (mountable) != mountable_size) {
data/libguestfs-1.42.0/php/extension/guestfs_php.c:16904:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen (mountpoint) != mountpoint_size) {
data/libguestfs-1.42.0/php/extension/guestfs_php.c:16943:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen (options) != options_size) {
data/libguestfs-1.42.0/php/extension/guestfs_php.c:16948:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen (vfstype) != vfstype_size) {
data/libguestfs-1.42.0/php/extension/guestfs_php.c:16953:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen (mountable) != mountable_size) {
data/libguestfs-1.42.0/php/extension/guestfs_php.c:16958:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen (mountpoint) != mountpoint_size) {
data/libguestfs-1.42.0/php/extension/guestfs_php.c:16991:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen (mountable) != mountable_size) {
data/libguestfs-1.42.0/php/extension/guestfs_php.c:17026:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen (mountable) != mountable_size) {
data/libguestfs-1.42.0/php/extension/guestfs_php.c:17128:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen (src) != src_size) {
data/libguestfs-1.42.0/php/extension/guestfs_php.c:17133:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen (dest) != dest_size) {
data/libguestfs-1.42.0/php/extension/guestfs_php.c:17193:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen (device) != device_size) {
data/libguestfs-1.42.0/php/extension/guestfs_php.c:17229:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen (device) != device_size) {
data/libguestfs-1.42.0/php/extension/guestfs_php.c:17234:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen (filename) != filename_size) {
data/libguestfs-1.42.0/php/extension/guestfs_php.c:17269:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen (backupfile) != backupfile_size) {
data/libguestfs-1.42.0/php/extension/guestfs_php.c:17274:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen (device) != device_size) {
data/libguestfs-1.42.0/php/extension/guestfs_php.c:17316:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen (device) != device_size) {
data/libguestfs-1.42.0/php/extension/guestfs_php.c:17321:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen (backupfile) != backupfile_size) {
data/libguestfs-1.42.0/php/extension/guestfs_php.c:17378:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen (device) != device_size) {
data/libguestfs-1.42.0/php/extension/guestfs_php.c:17420:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen (device) != device_size) {
data/libguestfs-1.42.0/php/extension/guestfs_php.c:17463:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen (device) != device_size) {
data/libguestfs-1.42.0/php/extension/guestfs_php.c:17558:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen (device) != device_size) {
data/libguestfs-1.42.0/php/extension/guestfs_php.c:17563:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen (prlogex) != prlogex_size) {
data/libguestfs-1.42.0/php/extension/guestfs_php.c:17597:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen (device) != device_size) {
data/libguestfs-1.42.0/php/extension/guestfs_php.c:17632:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen (device) != device_size) {
data/libguestfs-1.42.0/php/extension/guestfs_php.c:17637:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen (parttype) != parttype_size) {
data/libguestfs-1.42.0/php/extension/guestfs_php.c:17670:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen (device) != device_size) {
data/libguestfs-1.42.0/php/extension/guestfs_php.c:17704:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen (device) != device_size) {
data/libguestfs-1.42.0/php/extension/guestfs_php.c:17737:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen (device) != device_size) {
data/libguestfs-1.42.0/php/extension/guestfs_php.c:17773:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen (device) != device_size) {
data/libguestfs-1.42.0/php/extension/guestfs_php.c:17807:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen (device) != device_size) {
data/libguestfs-1.42.0/php/extension/guestfs_php.c:17843:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen (device) != device_size) {
data/libguestfs-1.42.0/php/extension/guestfs_php.c:17879:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen (device) != device_size) {
data/libguestfs-1.42.0/php/extension/guestfs_php.c:17913:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen (device) != device_size) {
data/libguestfs-1.42.0/php/extension/guestfs_php.c:17949:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen (device) != device_size) {
data/libguestfs-1.42.0/php/extension/guestfs_php.c:17984:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen (device) != device_size) {
data/libguestfs-1.42.0/php/extension/guestfs_php.c:18021:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen (device) != device_size) {
data/libguestfs-1.42.0/php/extension/guestfs_php.c:18026:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen (parttype) != parttype_size) {
data/libguestfs-1.42.0/php/extension/guestfs_php.c:18059:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen (device) != device_size) {
data/libguestfs-1.42.0/php/extension/guestfs_php.c:18111:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen (device) != device_size) {
data/libguestfs-1.42.0/php/extension/guestfs_php.c:18146:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen (device) != device_size) {
data/libguestfs-1.42.0/php/extension/guestfs_php.c:18181:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen (device) != device_size) {
data/libguestfs-1.42.0/php/extension/guestfs_php.c:18186:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen (guid) != guid_size) {
data/libguestfs-1.42.0/php/extension/guestfs_php.c:18219:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen (device) != device_size) {
data/libguestfs-1.42.0/php/extension/guestfs_php.c:18254:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen (device) != device_size) {
data/libguestfs-1.42.0/php/extension/guestfs_php.c:18290:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen (device) != device_size) {
data/libguestfs-1.42.0/php/extension/guestfs_php.c:18295:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen (guid) != guid_size) {
data/libguestfs-1.42.0/php/extension/guestfs_php.c:18331:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen (device) != device_size) {
data/libguestfs-1.42.0/php/extension/guestfs_php.c:18336:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen (guid) != guid_size) {
data/libguestfs-1.42.0/php/extension/guestfs_php.c:18371:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen (device) != device_size) {
data/libguestfs-1.42.0/php/extension/guestfs_php.c:18407:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen (device) != device_size) {
data/libguestfs-1.42.0/php/extension/guestfs_php.c:18412:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen (name) != name_size) {
data/libguestfs-1.42.0/php/extension/guestfs_php.c:18445:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen (partition) != partition_size) {
data/libguestfs-1.42.0/php/extension/guestfs_php.c:18480:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen (partition) != partition_size) {
data/libguestfs-1.42.0/php/extension/guestfs_php.c:18541:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen (path) != path_size) {
data/libguestfs-1.42.0/php/extension/guestfs_php.c:18579:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen (device) != device_size) {
data/libguestfs-1.42.0/php/extension/guestfs_php.c:18615:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen (device) != device_size) {
data/libguestfs-1.42.0/php/extension/guestfs_php.c:18674:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen (device) != device_size) {
data/libguestfs-1.42.0/php/extension/guestfs_php.c:18707:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen (device) != device_size) {
data/libguestfs-1.42.0/php/extension/guestfs_php.c:18740:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen (device) != device_size) {
data/libguestfs-1.42.0/php/extension/guestfs_php.c:18774:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen (device) != device_size) {
data/libguestfs-1.42.0/php/extension/guestfs_php.c:18892:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen (device) != device_size) {
data/libguestfs-1.42.0/php/extension/guestfs_php.c:18930:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen (path) != path_size) {
data/libguestfs-1.42.0/php/extension/guestfs_php.c:18966:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen (device) != device_size) {
data/libguestfs-1.42.0/php/extension/guestfs_php.c:18999:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen (path) != path_size) {
data/libguestfs-1.42.0/php/extension/guestfs_php.c:19035:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen (path) != path_size) {
data/libguestfs-1.42.0/php/extension/guestfs_php.c:19074:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen (dir) != dir_size) {
data/libguestfs-1.42.0/php/extension/guestfs_php.c:19123:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen (path) != path_size) {
data/libguestfs-1.42.0/php/extension/guestfs_php.c:19160:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen (path) != path_size) {
data/libguestfs-1.42.0/php/extension/guestfs_php.c:19203:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen (path) != path_size) {
data/libguestfs-1.42.0/php/extension/guestfs_php.c:19241:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen (mountpoint) != mountpoint_size) {
data/libguestfs-1.42.0/php/extension/guestfs_php.c:19279:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen (label) != label_size) {
data/libguestfs-1.42.0/php/extension/guestfs_php.c:19314:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen (xattr) != xattr_size) {
data/libguestfs-1.42.0/php/extension/guestfs_php.c:19319:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen (path) != path_size) {
data/libguestfs-1.42.0/php/extension/guestfs_php.c:19354:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen (oldpath) != oldpath_size) {
data/libguestfs-1.42.0/php/extension/guestfs_php.c:19359:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen (newpath) != newpath_size) {
data/libguestfs-1.42.0/php/extension/guestfs_php.c:19392:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen (device) != device_size) {
data/libguestfs-1.42.0/php/extension/guestfs_php.c:19425:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen (device) != device_size) {
data/libguestfs-1.42.0/php/extension/guestfs_php.c:19459:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen (device) != device_size) {
data/libguestfs-1.42.0/php/extension/guestfs_php.c:19492:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen (path) != path_size) {
data/libguestfs-1.42.0/php/extension/guestfs_php.c:19525:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen (path) != path_size) {
data/libguestfs-1.42.0/php/extension/guestfs_php.c:19558:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen (path) != path_size) {
data/libguestfs-1.42.0/php/extension/guestfs_php.c:19591:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen (path) != path_size) {
data/libguestfs-1.42.0/php/extension/guestfs_php.c:19624:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen (exemptpath) != exemptpath_size) {
data/libguestfs-1.42.0/php/extension/guestfs_php.c:19663:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen (src) != src_size) {
data/libguestfs-1.42.0/php/extension/guestfs_php.c:19668:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen (dest) != dest_size) {
data/libguestfs-1.42.0/php/extension/guestfs_php.c:19716:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen (remote) != remote_size) {
data/libguestfs-1.42.0/php/extension/guestfs_php.c:19721:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen (dest) != dest_size) {
data/libguestfs-1.42.0/php/extension/guestfs_php.c:19769:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen (src) != src_size) {
data/libguestfs-1.42.0/php/extension/guestfs_php.c:19774:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen (remote) != remote_size) {
data/libguestfs-1.42.0/php/extension/guestfs_php.c:19816:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen (device) != device_size) {
data/libguestfs-1.42.0/php/extension/guestfs_php.c:19849:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen (file) != file_size) {
data/libguestfs-1.42.0/php/extension/guestfs_php.c:19882:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen (dir) != dir_size) {
data/libguestfs-1.42.0/php/extension/guestfs_php.c:19920:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen (specfile) != specfile_size) {
data/libguestfs-1.42.0/php/extension/guestfs_php.c:19925:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen (path) != path_size) {
data/libguestfs-1.42.0/php/extension/guestfs_php.c:19963:25:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (append != NULL && strlen (append) != append_size) {
data/libguestfs-1.42.0/php/extension/guestfs_php.c:19996:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen (backend) != backend_size) {
data/libguestfs-1.42.0/php/extension/guestfs_php.c:20056:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen (backend) != backend_size) {
data/libguestfs-1.42.0/php/extension/guestfs_php.c:20091:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen (name) != name_size) {
data/libguestfs-1.42.0/php/extension/guestfs_php.c:20096:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen (val) != val_size) {
data/libguestfs-1.42.0/php/extension/guestfs_php.c:20161:27:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (cachedir != NULL && strlen (cachedir) != cachedir_size) {
data/libguestfs-1.42.0/php/extension/guestfs_php.c:20226:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen (file) != file_size) {
data/libguestfs-1.42.0/php/extension/guestfs_php.c:20231:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen (attrs) != attrs_size) {
data/libguestfs-1.42.0/php/extension/guestfs_php.c:20270:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen (file) != file_size) {
data/libguestfs-1.42.0/php/extension/guestfs_php.c:20305:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen (device) != device_size) {
data/libguestfs-1.42.0/php/extension/guestfs_php.c:20310:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen (label) != label_size) {
data/libguestfs-1.42.0/php/extension/guestfs_php.c:20345:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen (device) != device_size) {
data/libguestfs-1.42.0/php/extension/guestfs_php.c:20350:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen (uuid) != uuid_size) {
data/libguestfs-1.42.0/php/extension/guestfs_php.c:20383:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen (hv) != hv_size) {
data/libguestfs-1.42.0/php/extension/guestfs_php.c:20416:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen (identifier) != identifier_size) {
data/libguestfs-1.42.0/php/extension/guestfs_php.c:20451:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen (mountable) != mountable_size) {
data/libguestfs-1.42.0/php/extension/guestfs_php.c:20456:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen (label) != label_size) {
data/libguestfs-1.42.0/php/extension/guestfs_php.c:20604:29:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (searchpath != NULL && strlen (searchpath) != searchpath_size) {
data/libguestfs-1.42.0/php/extension/guestfs_php.c:20664:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen (program) != program_size) {
data/libguestfs-1.42.0/php/extension/guestfs_php.c:20697:21:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (hv != NULL && strlen (hv) != hv_size) {
data/libguestfs-1.42.0/php/extension/guestfs_php.c:20811:25:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (tmpdir != NULL && strlen (tmpdir) != tmpdir_size) {
data/libguestfs-1.42.0/php/extension/guestfs_php.c:20873:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen (device) != device_size) {
data/libguestfs-1.42.0/php/extension/guestfs_php.c:20878:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen (uuid) != uuid_size) {
data/libguestfs-1.42.0/php/extension/guestfs_php.c:20911:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen (device) != device_size) {
data/libguestfs-1.42.0/php/extension/guestfs_php.c:20971:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen (context) != context_size) {
data/libguestfs-1.42.0/php/extension/guestfs_php.c:21009:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen (xattr) != xattr_size) {
data/libguestfs-1.42.0/php/extension/guestfs_php.c:21014:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen (val) != val_size) {
data/libguestfs-1.42.0/php/extension/guestfs_php.c:21019:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen (path) != path_size) {
data/libguestfs-1.42.0/php/extension/guestfs_php.c:21057:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen (device) != device_size) {
data/libguestfs-1.42.0/php/extension/guestfs_php.c:21096:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen (device) != device_size) {
data/libguestfs-1.42.0/php/extension/guestfs_php.c:21139:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen (device) != device_size) {
data/libguestfs-1.42.0/php/extension/guestfs_php.c:21144:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen (line) != line_size) {
data/libguestfs-1.42.0/php/extension/guestfs_php.c:21177:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen (device) != device_size) {
data/libguestfs-1.42.0/php/extension/guestfs_php.c:21212:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen (device) != device_size) {
data/libguestfs-1.42.0/php/extension/guestfs_php.c:21247:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen (device) != device_size) {
data/libguestfs-1.42.0/php/extension/guestfs_php.c:21282:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen (command) != command_size) {
data/libguestfs-1.42.0/php/extension/guestfs_php.c:21317:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen (command) != command_size) {
data/libguestfs-1.42.0/php/extension/guestfs_php.c:21409:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen (path) != path_size) {
data/libguestfs-1.42.0/php/extension/guestfs_php.c:21456:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen (path) != path_size) {
data/libguestfs-1.42.0/php/extension/guestfs_php.c:21512:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen (path) != path_size) {
data/libguestfs-1.42.0/php/extension/guestfs_php.c:21557:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen (path) != path_size) {
data/libguestfs-1.42.0/php/extension/guestfs_php.c:21598:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen (encoding) != encoding_size) {
data/libguestfs-1.42.0/php/extension/guestfs_php.c:21603:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen (path) != path_size) {
data/libguestfs-1.42.0/php/extension/guestfs_php.c:21642:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen (device) != device_size) {
data/libguestfs-1.42.0/php/extension/guestfs_php.c:21675:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen (file) != file_size) {
data/libguestfs-1.42.0/php/extension/guestfs_php.c:21708:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen (label) != label_size) {
data/libguestfs-1.42.0/php/extension/guestfs_php.c:21741:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen (uuid) != uuid_size) {
data/libguestfs-1.42.0/php/extension/guestfs_php.c:21774:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen (device) != device_size) {
data/libguestfs-1.42.0/php/extension/guestfs_php.c:21807:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen (file) != file_size) {
data/libguestfs-1.42.0/php/extension/guestfs_php.c:21840:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen (label) != label_size) {
data/libguestfs-1.42.0/php/extension/guestfs_php.c:21873:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen (uuid) != uuid_size) {
data/libguestfs-1.42.0/php/extension/guestfs_php.c:21936:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen (device) != device_size) {
data/libguestfs-1.42.0/php/extension/guestfs_php.c:21974:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen (path) != path_size) {
data/libguestfs-1.42.0/php/extension/guestfs_php.c:22014:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen (path) != path_size) {
data/libguestfs-1.42.0/php/extension/guestfs_php.c:22062:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen (tarfile) != tarfile_size) {
data/libguestfs-1.42.0/php/extension/guestfs_php.c:22067:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen (directory) != directory_size) {
data/libguestfs-1.42.0/php/extension/guestfs_php.c:22128:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen (directory) != directory_size) {
data/libguestfs-1.42.0/php/extension/guestfs_php.c:22133:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen (tarfile) != tarfile_size) {
data/libguestfs-1.42.0/php/extension/guestfs_php.c:22199:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen (tarball) != tarball_size) {
data/libguestfs-1.42.0/php/extension/guestfs_php.c:22204:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen (directory) != directory_size) {
data/libguestfs-1.42.0/php/extension/guestfs_php.c:22239:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen (directory) != directory_size) {
data/libguestfs-1.42.0/php/extension/guestfs_php.c:22244:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen (tarball) != tarball_size) {
data/libguestfs-1.42.0/php/extension/guestfs_php.c:22277:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen (path) != path_size) {
data/libguestfs-1.42.0/php/extension/guestfs_php.c:22310:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen (path) != path_size) {
data/libguestfs-1.42.0/php/extension/guestfs_php.c:22344:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen (path) != path_size) {
data/libguestfs-1.42.0/php/extension/guestfs_php.c:22391:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen (device) != device_size) {
data/libguestfs-1.42.0/php/extension/guestfs_php.c:22465:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen (device) != device_size) {
data/libguestfs-1.42.0/php/extension/guestfs_php.c:22507:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen (tarball) != tarball_size) {
data/libguestfs-1.42.0/php/extension/guestfs_php.c:22512:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen (directory) != directory_size) {
data/libguestfs-1.42.0/php/extension/guestfs_php.c:22547:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen (directory) != directory_size) {
data/libguestfs-1.42.0/php/extension/guestfs_php.c:22552:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen (tarball) != tarball_size) {
data/libguestfs-1.42.0/php/extension/guestfs_php.c:22616:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen (pathordevice) != pathordevice_size) {
data/libguestfs-1.42.0/php/extension/guestfs_php.c:22720:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen (filename) != filename_size) {
data/libguestfs-1.42.0/php/extension/guestfs_php.c:22725:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen (remotefilename) != remotefilename_size) {
data/libguestfs-1.42.0/php/extension/guestfs_php.c:22761:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen (filename) != filename_size) {
data/libguestfs-1.42.0/php/extension/guestfs_php.c:22766:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen (remotefilename) != remotefilename_size) {
data/libguestfs-1.42.0/php/extension/guestfs_php.c:22829:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen (path) != path_size) {
data/libguestfs-1.42.0/php/extension/guestfs_php.c:22924:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen (mountable) != mountable_size) {
data/libguestfs-1.42.0/php/extension/guestfs_php.c:22959:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen (mountable) != mountable_size) {
data/libguestfs-1.42.0/php/extension/guestfs_php.c:22992:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen (mountable) != mountable_size) {
data/libguestfs-1.42.0/php/extension/guestfs_php.c:23027:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen (mountable) != mountable_size) {
data/libguestfs-1.42.0/php/extension/guestfs_php.c:23122:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen (vg) != vg_size) {
data/libguestfs-1.42.0/php/extension/guestfs_php.c:23183:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen (volgroup) != volgroup_size) {
data/libguestfs-1.42.0/php/extension/guestfs_php.c:23220:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen (vgname) != vgname_size) {
data/libguestfs-1.42.0/php/extension/guestfs_php.c:23259:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen (vgname) != vgname_size) {
data/libguestfs-1.42.0/php/extension/guestfs_php.c:23295:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen (vgname) != vgname_size) {
data/libguestfs-1.42.0/php/extension/guestfs_php.c:23334:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen (vgname) != vgname_size) {
data/libguestfs-1.42.0/php/extension/guestfs_php.c:23369:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen (volgroup) != volgroup_size) {
data/libguestfs-1.42.0/php/extension/guestfs_php.c:23374:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen (newvolgroup) != newvolgroup_size) {
data/libguestfs-1.42.0/php/extension/guestfs_php.c:23523:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen (vgname) != vgname_size) {
data/libguestfs-1.42.0/php/extension/guestfs_php.c:23584:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen (path) != path_size) {
data/libguestfs-1.42.0/php/extension/guestfs_php.c:23617:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen (path) != path_size) {
data/libguestfs-1.42.0/php/extension/guestfs_php.c:23650:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen (path) != path_size) {
data/libguestfs-1.42.0/php/extension/guestfs_php.c:23683:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen (device) != device_size) {
data/libguestfs-1.42.0/php/extension/guestfs_php.c:23718:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen (path) != path_size) {
data/libguestfs-1.42.0/php/extension/guestfs_php.c:23753:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen (path) != path_size) {
data/libguestfs-1.42.0/php/extension/guestfs_php.c:23789:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen (path) != path_size) {
data/libguestfs-1.42.0/php/extension/guestfs_php.c:23794:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen (content) != content_size) {
data/libguestfs-1.42.0/php/extension/guestfs_php.c:23838:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen (device) != device_size) {
data/libguestfs-1.42.0/php/extension/guestfs_php.c:23910:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen (path) != path_size) {
data/libguestfs-1.42.0/php/extension/guestfs_php.c:23976:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen (pathordevice) != pathordevice_size) {
data/libguestfs-1.42.0/php/extension/guestfs_php.c:24049:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen (device) != device_size) {
data/libguestfs-1.42.0/php/extension/guestfs_php.c:24149:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen (filename) != filename_size) {
data/libguestfs-1.42.0/php/extension/guestfs_php.c:24182:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen (path) != path_size) {
data/libguestfs-1.42.0/php/extension/guestfs_php.c:24232:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen (regex) != regex_size) {
data/libguestfs-1.42.0/php/extension/guestfs_php.c:24237:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen (path) != path_size) {
data/libguestfs-1.42.0/php/extension/guestfs_php.c:24278:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen (regex) != regex_size) {
data/libguestfs-1.42.0/php/extension/guestfs_php.c:24283:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen (path) != path_size) {
data/libguestfs-1.42.0/php/extension/guestfs_php.c:24322:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen (device) != device_size) {
data/libguestfs-1.42.0/php/extension/guestfs_php.c:24355:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen (device) != device_size) {
data/libguestfs-1.42.0/php/extension/guestfs_php.c:24388:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen (directory) != directory_size) {
data/libguestfs-1.42.0/php/extension/guestfs_php.c:24421:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen (device) != device_size) {
data/libguestfs-1.42.0/php/extension/guestfs_php.c:24456:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen (pattern) != pattern_size) {
data/libguestfs-1.42.0/php/extension/guestfs_php.c:24461:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen (path) != path_size) {
data/libguestfs-1.42.0/php/extension/guestfs_php.c:24502:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen (pattern) != pattern_size) {
data/libguestfs-1.42.0/php/extension/guestfs_php.c:24507:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen (path) != path_size) {
data/libguestfs-1.42.0/php/extension/guestfs_php.c:24548:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen (meth) != meth_size) {
data/libguestfs-1.42.0/php/extension/guestfs_php.c:24553:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen (path) != path_size) {
data/libguestfs-1.42.0/php/extension/guestfs_php.c:24590:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen (regex) != regex_size) {
data/libguestfs-1.42.0/php/extension/guestfs_php.c:24595:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen (path) != path_size) {
data/libguestfs-1.42.0/php/extension/guestfs_php.c:24636:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen (regex) != regex_size) {
data/libguestfs-1.42.0/php/extension/guestfs_php.c:24641:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen (path) != path_size) {
data/libguestfs-1.42.0/python/handle.c:263: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).
    if (strncmp (key, "_python_event_", strlen ("_python_event_")) == 0)
data/libguestfs-1.42.0/python/handle.c:282: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).
    if (strncmp (key, "_python_event_", strlen ("_python_event_")) == 0) {
data/libguestfs-1.42.0/rescue/escape.c:51: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 (arg);
data/libguestfs-1.42.0/rescue/rescue.c:548:11:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      n = read (STDIN_FILENO, wbuf+wlen, BUFSIZE-wlen);
data/libguestfs-1.42.0/rescue/rescue.c:575:11:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      n = read (sock, rbuf+rlen, BUFSIZE-rlen);
data/libguestfs-1.42.0/rescue/suggest.c:41:10:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  return strlen (key1) - strlen (key2);
data/libguestfs-1.42.0/rescue/suggest.c:41: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).
  return strlen (key1) - strlen (key2);
data/libguestfs-1.42.0/ruby/ext/guestfs/handle.c:385:39:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    if (strncmp (key, "_ruby_event_", strlen ("_ruby_event_")) == 0)
data/libguestfs-1.42.0/ruby/ext/guestfs/handle.c:402:39:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    if (strncmp (key, "_ruby_event_", strlen ("_ruby_event_")) == 0) {
data/libguestfs-1.42.0/tests/c-api/test-private-data.c:56: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).
    if (strncmp (key, PREFIX, strlen (PREFIX)) == 0) {
data/libguestfs-1.42.0/tests/c-api/test-private-data.c:95: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).
    if (strncmp (key, PREFIX, strlen (PREFIX)) == 0)
data/libguestfs-1.42.0/tests/c-api/test-private-data.c:109: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).
    if (strncmp (key, PREFIX, strlen (PREFIX)) == 0)
data/libguestfs-1.42.0/tests/c-api/test-user-cancel.c:252:11:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      r = read (data->fd, buffer, n);
data/libguestfs-1.42.0/tests/c-api/test-user-cancel.c:267:11:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      r = read (data->fd, buffer, sizeof buffer);
data/libguestfs-1.42.0/tests/c-api/tests-main.c:340: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).
  const size_t len = strlen (str);
data/libguestfs-1.42.0/tests/disks/test-add-disks.c:388:39:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    if (guestfs_write (g, file, data, strlen (data)) == -1)
data/libguestfs-1.42.0/tests/events/test-libvirt-auth-callbacks.c:153:13:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      len = strlen (reply);
data/libguestfs-1.42.0/tests/events/test-libvirt-auth-callbacks.c:162:13:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      len = strlen (reply);
data/libguestfs-1.42.0/tests/xml/fake-libvirt-xml.c:75:9:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    r = read (fd, p, statbuf.st_size - n);

ANALYSIS SUMMARY:

Hits = 4904
Lines analyzed = 620725 in approximately 17.48 seconds (35510 lines/second)
Physical Source Lines of Code (SLOC) = 455074
Hits@level = [0] 7329 [1] 1210 [2] 1239 [3] 1853 [4] 559 [5]  43
Hits@level+ = [0+] 12233 [1+] 4904 [2+] 3694 [3+] 2455 [4+] 602 [5+]  43
Hits/KSLOC@level+ = [0+] 26.8813 [1+] 10.7763 [2+] 8.11736 [3+] 5.39473 [4+] 1.32286 [5+] 0.0944901
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.