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/syslog-ng-3.28.1/dev-utils/plugin_skeleton_creator/plugin_template_parser.c
Examining data/syslog-ng-3.28.1/dev-utils/plugin_skeleton_creator/plugin_template_parser.h
Examining data/syslog-ng-3.28.1/dev-utils/plugin_skeleton_creator/plugin_template_plugin.c
Examining data/syslog-ng-3.28.1/lib/ack-tracker/ack_tracker.h
Examining data/syslog-ng-3.28.1/lib/ack-tracker/bookmark.h
Examining data/syslog-ng-3.28.1/lib/ack-tracker/early_ack_tracker.c
Examining data/syslog-ng-3.28.1/lib/ack-tracker/late_ack_record_container.h
Examining data/syslog-ng-3.28.1/lib/ack-tracker/late_ack_record_container_dynamic.c
Examining data/syslog-ng-3.28.1/lib/ack-tracker/late_ack_record_container_static.c
Examining data/syslog-ng-3.28.1/lib/ack-tracker/late_ack_tracker.c
Examining data/syslog-ng-3.28.1/lib/ack-tracker/late_ack_tracker.h
Examining data/syslog-ng-3.28.1/lib/ack-tracker/tests/test_late_ack_record_container.c
Examining data/syslog-ng-3.28.1/lib/afinter.c
Examining data/syslog-ng-3.28.1/lib/afinter.h
Examining data/syslog-ng-3.28.1/lib/alarms.c
Examining data/syslog-ng-3.28.1/lib/alarms.h
Examining data/syslog-ng-3.28.1/lib/apphook.c
Examining data/syslog-ng-3.28.1/lib/apphook.h
Examining data/syslog-ng-3.28.1/lib/atomic-gssize.h
Examining data/syslog-ng-3.28.1/lib/atomic.h
Examining data/syslog-ng-3.28.1/lib/block-ref-parser.c
Examining data/syslog-ng-3.28.1/lib/block-ref-parser.h
Examining data/syslog-ng-3.28.1/lib/cache.c
Examining data/syslog-ng-3.28.1/lib/cache.h
Examining data/syslog-ng-3.28.1/lib/cfg-args.c
Examining data/syslog-ng-3.28.1/lib/cfg-args.h
Examining data/syslog-ng-3.28.1/lib/cfg-block-generator.c
Examining data/syslog-ng-3.28.1/lib/cfg-block-generator.h
Examining data/syslog-ng-3.28.1/lib/cfg-block.c
Examining data/syslog-ng-3.28.1/lib/cfg-block.h
Examining data/syslog-ng-3.28.1/lib/cfg-lexer-subst.c
Examining data/syslog-ng-3.28.1/lib/cfg-lexer-subst.h
Examining data/syslog-ng-3.28.1/lib/cfg-lexer.c
Examining data/syslog-ng-3.28.1/lib/cfg-lexer.h
Examining data/syslog-ng-3.28.1/lib/cfg-parser.c
Examining data/syslog-ng-3.28.1/lib/cfg-parser.h
Examining data/syslog-ng-3.28.1/lib/cfg-path.c
Examining data/syslog-ng-3.28.1/lib/cfg-path.h
Examining data/syslog-ng-3.28.1/lib/cfg-tree.c
Examining data/syslog-ng-3.28.1/lib/cfg-tree.h
Examining data/syslog-ng-3.28.1/lib/cfg-walker.c
Examining data/syslog-ng-3.28.1/lib/cfg-walker.h
Examining data/syslog-ng-3.28.1/lib/cfg.c
Examining data/syslog-ng-3.28.1/lib/cfg.h
Examining data/syslog-ng-3.28.1/lib/children.c
Examining data/syslog-ng-3.28.1/lib/children.h
Examining data/syslog-ng-3.28.1/lib/compat/compat.h
Examining data/syslog-ng-3.28.1/lib/compat/getent-generic.c
Examining data/syslog-ng-3.28.1/lib/compat/getent-generic.h
Examining data/syslog-ng-3.28.1/lib/compat/getent-sun.c
Examining data/syslog-ng-3.28.1/lib/compat/getent-sun.h
Examining data/syslog-ng-3.28.1/lib/compat/getent.h
Examining data/syslog-ng-3.28.1/lib/compat/getutent.c
Examining data/syslog-ng-3.28.1/lib/compat/getutent.h
Examining data/syslog-ng-3.28.1/lib/compat/glib-g_mkdtemp.c
Examining data/syslog-ng-3.28.1/lib/compat/glib.c
Examining data/syslog-ng-3.28.1/lib/compat/glib.h
Examining data/syslog-ng-3.28.1/lib/compat/inet_aton.c
Examining data/syslog-ng-3.28.1/lib/compat/lfs.h
Examining data/syslog-ng-3.28.1/lib/compat/memrchr.c
Examining data/syslog-ng-3.28.1/lib/compat/openssl_support.c
Examining data/syslog-ng-3.28.1/lib/compat/openssl_support.h
Examining data/syslog-ng-3.28.1/lib/compat/pcre.h
Examining data/syslog-ng-3.28.1/lib/compat/pio.c
Examining data/syslog-ng-3.28.1/lib/compat/pio.h
Examining data/syslog-ng-3.28.1/lib/compat/socket.h
Examining data/syslog-ng-3.28.1/lib/compat/strcasestr.c
Examining data/syslog-ng-3.28.1/lib/compat/string.h
Examining data/syslog-ng-3.28.1/lib/compat/strnlen.c
Examining data/syslog-ng-3.28.1/lib/compat/strtok_r.c
Examining data/syslog-ng-3.28.1/lib/compat/tests/test_strtok_r.c
Examining data/syslog-ng-3.28.1/lib/compat/time.c
Examining data/syslog-ng-3.28.1/lib/compat/time.h
Examining data/syslog-ng-3.28.1/lib/compat/un.h
Examining data/syslog-ng-3.28.1/lib/control/control-commands.c
Examining data/syslog-ng-3.28.1/lib/control/control-commands.h
Examining data/syslog-ng-3.28.1/lib/control/control-main.c
Examining data/syslog-ng-3.28.1/lib/control/control-main.h
Examining data/syslog-ng-3.28.1/lib/control/control-server-unix.c
Examining data/syslog-ng-3.28.1/lib/control/control-server.c
Examining data/syslog-ng-3.28.1/lib/control/control-server.h
Examining data/syslog-ng-3.28.1/lib/control/control.c
Examining data/syslog-ng-3.28.1/lib/control/control.h
Examining data/syslog-ng-3.28.1/lib/control/tests/control-server-dummy.c
Examining data/syslog-ng-3.28.1/lib/control/tests/control-server-dummy.h
Examining data/syslog-ng-3.28.1/lib/control/tests/test_control_cmds.c
Examining data/syslog-ng-3.28.1/lib/crypto.c
Examining data/syslog-ng-3.28.1/lib/crypto.h
Examining data/syslog-ng-3.28.1/lib/debugger/debugger-main.c
Examining data/syslog-ng-3.28.1/lib/debugger/debugger-main.h
Examining data/syslog-ng-3.28.1/lib/debugger/debugger.c
Examining data/syslog-ng-3.28.1/lib/debugger/debugger.h
Examining data/syslog-ng-3.28.1/lib/debugger/tests/test-debugger.c
Examining data/syslog-ng-3.28.1/lib/debugger/tracer.c
Examining data/syslog-ng-3.28.1/lib/debugger/tracer.h
Examining data/syslog-ng-3.28.1/lib/dnscache.c
Examining data/syslog-ng-3.28.1/lib/dnscache.h
Examining data/syslog-ng-3.28.1/lib/driver.c
Examining data/syslog-ng-3.28.1/lib/driver.h
Examining data/syslog-ng-3.28.1/lib/dynamic-window-pool.c
Examining data/syslog-ng-3.28.1/lib/dynamic-window-pool.h
Examining data/syslog-ng-3.28.1/lib/dynamic-window.c
Examining data/syslog-ng-3.28.1/lib/dynamic-window.h
Examining data/syslog-ng-3.28.1/lib/eventlog/src/evt_internals.h
Examining data/syslog-ng-3.28.1/lib/eventlog/src/evtctx.c
Examining data/syslog-ng-3.28.1/lib/eventlog/src/evtfmt.c
Examining data/syslog-ng-3.28.1/lib/eventlog/src/evtlog.h
Examining data/syslog-ng-3.28.1/lib/eventlog/src/evtmaps.h
Examining data/syslog-ng-3.28.1/lib/eventlog/src/evtout.c
Examining data/syslog-ng-3.28.1/lib/eventlog/src/evtrec.c
Examining data/syslog-ng-3.28.1/lib/eventlog/src/evtstr.c
Examining data/syslog-ng-3.28.1/lib/eventlog/src/evtsyslog.c
Examining data/syslog-ng-3.28.1/lib/eventlog/src/evttags.c
Examining data/syslog-ng-3.28.1/lib/eventlog/tests/evtfmt.c
Examining data/syslog-ng-3.28.1/lib/eventlog/tests/evtrec.c
Examining data/syslog-ng-3.28.1/lib/eventlog/tests/evtsyslog.c
Examining data/syslog-ng-3.28.1/lib/fdhelpers.c
Examining data/syslog-ng-3.28.1/lib/fdhelpers.h
Examining data/syslog-ng-3.28.1/lib/file-perms.c
Examining data/syslog-ng-3.28.1/lib/file-perms.h
Examining data/syslog-ng-3.28.1/lib/filter/filter-call.c
Examining data/syslog-ng-3.28.1/lib/filter/filter-call.h
Examining data/syslog-ng-3.28.1/lib/filter/filter-cmp.c
Examining data/syslog-ng-3.28.1/lib/filter/filter-cmp.h
Examining data/syslog-ng-3.28.1/lib/filter/filter-expr-parser.c
Examining data/syslog-ng-3.28.1/lib/filter/filter-expr-parser.h
Examining data/syslog-ng-3.28.1/lib/filter/filter-expr.c
Examining data/syslog-ng-3.28.1/lib/filter/filter-expr.h
Examining data/syslog-ng-3.28.1/lib/filter/filter-in-list.c
Examining data/syslog-ng-3.28.1/lib/filter/filter-in-list.h
Examining data/syslog-ng-3.28.1/lib/filter/filter-netmask.c
Examining data/syslog-ng-3.28.1/lib/filter/filter-netmask.h
Examining data/syslog-ng-3.28.1/lib/filter/filter-netmask6.c
Examining data/syslog-ng-3.28.1/lib/filter/filter-netmask6.h
Examining data/syslog-ng-3.28.1/lib/filter/filter-op.c
Examining data/syslog-ng-3.28.1/lib/filter/filter-op.h
Examining data/syslog-ng-3.28.1/lib/filter/filter-pipe.c
Examining data/syslog-ng-3.28.1/lib/filter/filter-pipe.h
Examining data/syslog-ng-3.28.1/lib/filter/filter-pri.c
Examining data/syslog-ng-3.28.1/lib/filter/filter-pri.h
Examining data/syslog-ng-3.28.1/lib/filter/filter-re.c
Examining data/syslog-ng-3.28.1/lib/filter/filter-re.h
Examining data/syslog-ng-3.28.1/lib/filter/filter-tags.c
Examining data/syslog-ng-3.28.1/lib/filter/filter-tags.h
Examining data/syslog-ng-3.28.1/lib/filter/tests/test_filter_call.c
Examining data/syslog-ng-3.28.1/lib/filter/tests/test_filters_common.c
Examining data/syslog-ng-3.28.1/lib/filter/tests/test_filters_common.h
Examining data/syslog-ng-3.28.1/lib/filter/tests/test_filters_facility.c
Examining data/syslog-ng-3.28.1/lib/filter/tests/test_filters_fop.c
Examining data/syslog-ng-3.28.1/lib/filter/tests/test_filters_fop_cmp.c
Examining data/syslog-ng-3.28.1/lib/filter/tests/test_filters_in_list.c
Examining data/syslog-ng-3.28.1/lib/filter/tests/test_filters_level_new.c
Examining data/syslog-ng-3.28.1/lib/filter/tests/test_filters_netmask.c
Examining data/syslog-ng-3.28.1/lib/filter/tests/test_filters_netmask6.c
Examining data/syslog-ng-3.28.1/lib/filter/tests/test_filters_regexp.c
Examining data/syslog-ng-3.28.1/lib/filter/tests/test_filters_statistics.c
Examining data/syslog-ng-3.28.1/lib/find-crlf.c
Examining data/syslog-ng-3.28.1/lib/find-crlf.h
Examining data/syslog-ng-3.28.1/lib/globals.c
Examining data/syslog-ng-3.28.1/lib/gprocess.c
Examining data/syslog-ng-3.28.1/lib/gprocess.h
Examining data/syslog-ng-3.28.1/lib/gsockaddr.c
Examining data/syslog-ng-3.28.1/lib/gsockaddr.h
Examining data/syslog-ng-3.28.1/lib/gsocket.c
Examining data/syslog-ng-3.28.1/lib/gsocket.h
Examining data/syslog-ng-3.28.1/lib/host-id.c
Examining data/syslog-ng-3.28.1/lib/host-id.h
Examining data/syslog-ng-3.28.1/lib/host-resolve.c
Examining data/syslog-ng-3.28.1/lib/host-resolve.h
Examining data/syslog-ng-3.28.1/lib/hostname-unix.c
Examining data/syslog-ng-3.28.1/lib/hostname.c
Examining data/syslog-ng-3.28.1/lib/hostname.h
Examining data/syslog-ng-3.28.1/lib/list-adt.h
Examining data/syslog-ng-3.28.1/lib/logmatcher.c
Examining data/syslog-ng-3.28.1/lib/logmatcher.h
Examining data/syslog-ng-3.28.1/lib/logmpx.c
Examining data/syslog-ng-3.28.1/lib/logmpx.h
Examining data/syslog-ng-3.28.1/lib/logmsg/gsockaddr-serialize.c
Examining data/syslog-ng-3.28.1/lib/logmsg/gsockaddr-serialize.h
Examining data/syslog-ng-3.28.1/lib/logmsg/logmsg-serialize-fixup.c
Examining data/syslog-ng-3.28.1/lib/logmsg/logmsg-serialize-fixup.h
Examining data/syslog-ng-3.28.1/lib/logmsg/logmsg-serialize.c
Examining data/syslog-ng-3.28.1/lib/logmsg/logmsg-serialize.h
Examining data/syslog-ng-3.28.1/lib/logmsg/logmsg.c
Examining data/syslog-ng-3.28.1/lib/logmsg/logmsg.h
Examining data/syslog-ng-3.28.1/lib/logmsg/nvhandle-descriptors.c
Examining data/syslog-ng-3.28.1/lib/logmsg/nvhandle-descriptors.h
Examining data/syslog-ng-3.28.1/lib/logmsg/nvtable-serialize-endianutils.h
Examining data/syslog-ng-3.28.1/lib/logmsg/nvtable-serialize-legacy.c
Examining data/syslog-ng-3.28.1/lib/logmsg/nvtable-serialize-legacy.h
Examining data/syslog-ng-3.28.1/lib/logmsg/nvtable-serialize.c
Examining data/syslog-ng-3.28.1/lib/logmsg/nvtable-serialize.h
Examining data/syslog-ng-3.28.1/lib/logmsg/nvtable.c
Examining data/syslog-ng-3.28.1/lib/logmsg/nvtable.h
Examining data/syslog-ng-3.28.1/lib/logmsg/serialization.h
Examining data/syslog-ng-3.28.1/lib/logmsg/tags-serialize.c
Examining data/syslog-ng-3.28.1/lib/logmsg/tags-serialize.h
Examining data/syslog-ng-3.28.1/lib/logmsg/tags.c
Examining data/syslog-ng-3.28.1/lib/logmsg/tags.h
Examining data/syslog-ng-3.28.1/lib/logmsg/tests/test_gsockaddr_serialize.c
Examining data/syslog-ng-3.28.1/lib/logmsg/tests/test_log_message.c
Examining data/syslog-ng-3.28.1/lib/logmsg/tests/test_logmsg_ack.c
Examining data/syslog-ng-3.28.1/lib/logmsg/tests/test_logmsg_serialize.c
Examining data/syslog-ng-3.28.1/lib/logmsg/tests/test_nvhandle_desc_array.c
Examining data/syslog-ng-3.28.1/lib/logmsg/tests/test_nvtable.c
Examining data/syslog-ng-3.28.1/lib/logmsg/tests/test_tags.c
Examining data/syslog-ng-3.28.1/lib/logmsg/tests/test_timestamp_serialize.c
Examining data/syslog-ng-3.28.1/lib/logmsg/timestamp-serialize.c
Examining data/syslog-ng-3.28.1/lib/logmsg/timestamp-serialize.h
Examining data/syslog-ng-3.28.1/lib/logpipe.c
Examining data/syslog-ng-3.28.1/lib/logpipe.h
Examining data/syslog-ng-3.28.1/lib/logproto/logproto-buffered-server.c
Examining data/syslog-ng-3.28.1/lib/logproto/logproto-buffered-server.h
Examining data/syslog-ng-3.28.1/lib/logproto/logproto-builtins.c
Examining data/syslog-ng-3.28.1/lib/logproto/logproto-builtins.h
Examining data/syslog-ng-3.28.1/lib/logproto/logproto-client.c
Examining data/syslog-ng-3.28.1/lib/logproto/logproto-client.h
Examining data/syslog-ng-3.28.1/lib/logproto/logproto-dgram-server.c
Examining data/syslog-ng-3.28.1/lib/logproto/logproto-dgram-server.h
Examining data/syslog-ng-3.28.1/lib/logproto/logproto-framed-client.c
Examining data/syslog-ng-3.28.1/lib/logproto/logproto-framed-client.h
Examining data/syslog-ng-3.28.1/lib/logproto/logproto-framed-server.c
Examining data/syslog-ng-3.28.1/lib/logproto/logproto-framed-server.h
Examining data/syslog-ng-3.28.1/lib/logproto/logproto-indented-multiline-server.c
Examining data/syslog-ng-3.28.1/lib/logproto/logproto-indented-multiline-server.h
Examining data/syslog-ng-3.28.1/lib/logproto/logproto-multiline-server.c
Examining data/syslog-ng-3.28.1/lib/logproto/logproto-multiline-server.h
Examining data/syslog-ng-3.28.1/lib/logproto/logproto-record-server.c
Examining data/syslog-ng-3.28.1/lib/logproto/logproto-record-server.h
Examining data/syslog-ng-3.28.1/lib/logproto/logproto-regexp-multiline-server.c
Examining data/syslog-ng-3.28.1/lib/logproto/logproto-regexp-multiline-server.h
Examining data/syslog-ng-3.28.1/lib/logproto/logproto-server.c
Examining data/syslog-ng-3.28.1/lib/logproto/logproto-server.h
Examining data/syslog-ng-3.28.1/lib/logproto/logproto-text-client.c
Examining data/syslog-ng-3.28.1/lib/logproto/logproto-text-client.h
Examining data/syslog-ng-3.28.1/lib/logproto/logproto-text-server.c
Examining data/syslog-ng-3.28.1/lib/logproto/logproto-text-server.h
Examining data/syslog-ng-3.28.1/lib/logproto/logproto.h
Examining data/syslog-ng-3.28.1/lib/logproto/tests/test-dgram-server.c
Examining data/syslog-ng-3.28.1/lib/logproto/tests/test-framed-server.c
Examining data/syslog-ng-3.28.1/lib/logproto/tests/test-indented-multiline-server.c
Examining data/syslog-ng-3.28.1/lib/logproto/tests/test-record-server.c
Examining data/syslog-ng-3.28.1/lib/logproto/tests/test-regexp-multiline-server.c
Examining data/syslog-ng-3.28.1/lib/logproto/tests/test-server-options.c
Examining data/syslog-ng-3.28.1/lib/logproto/tests/test-text-server.c
Examining data/syslog-ng-3.28.1/lib/logproto/tests/test_findeom.c
Examining data/syslog-ng-3.28.1/lib/logproto/tests/test_logproto.c
Examining data/syslog-ng-3.28.1/lib/logqueue-fifo.c
Examining data/syslog-ng-3.28.1/lib/logqueue-fifo.h
Examining data/syslog-ng-3.28.1/lib/logqueue.c
Examining data/syslog-ng-3.28.1/lib/logqueue.h
Examining data/syslog-ng-3.28.1/lib/logreader.c
Examining data/syslog-ng-3.28.1/lib/logreader.h
Examining data/syslog-ng-3.28.1/lib/logsource.c
Examining data/syslog-ng-3.28.1/lib/logsource.h
Examining data/syslog-ng-3.28.1/lib/logthrdest/logthrdestdrv.c
Examining data/syslog-ng-3.28.1/lib/logthrdest/logthrdestdrv.h
Examining data/syslog-ng-3.28.1/lib/logthrdest/tests/test_logthrdestdrv.c
Examining data/syslog-ng-3.28.1/lib/logthrsource/logthrfetcherdrv.c
Examining data/syslog-ng-3.28.1/lib/logthrsource/logthrfetcherdrv.h
Examining data/syslog-ng-3.28.1/lib/logthrsource/logthrsourcedrv.c
Examining data/syslog-ng-3.28.1/lib/logthrsource/logthrsourcedrv.h
Examining data/syslog-ng-3.28.1/lib/logthrsource/tests/test_logthrfetcherdrv.c
Examining data/syslog-ng-3.28.1/lib/logthrsource/tests/test_logthrsourcedrv.c
Examining data/syslog-ng-3.28.1/lib/logwriter.c
Examining data/syslog-ng-3.28.1/lib/logwriter.h
Examining data/syslog-ng-3.28.1/lib/mainloop-call.c
Examining data/syslog-ng-3.28.1/lib/mainloop-call.h
Examining data/syslog-ng-3.28.1/lib/mainloop-control.c
Examining data/syslog-ng-3.28.1/lib/mainloop-control.h
Examining data/syslog-ng-3.28.1/lib/mainloop-io-worker.c
Examining data/syslog-ng-3.28.1/lib/mainloop-io-worker.h
Examining data/syslog-ng-3.28.1/lib/mainloop-worker.c
Examining data/syslog-ng-3.28.1/lib/mainloop-worker.h
Examining data/syslog-ng-3.28.1/lib/mainloop.c
Examining data/syslog-ng-3.28.1/lib/mainloop.h
Examining data/syslog-ng-3.28.1/lib/memtrace.c
Examining data/syslog-ng-3.28.1/lib/memtrace.h
Examining data/syslog-ng-3.28.1/lib/messages.c
Examining data/syslog-ng-3.28.1/lib/messages.h
Examining data/syslog-ng-3.28.1/lib/misc.h
Examining data/syslog-ng-3.28.1/lib/ml-batched-timer.c
Examining data/syslog-ng-3.28.1/lib/ml-batched-timer.h
Examining data/syslog-ng-3.28.1/lib/module-config.c
Examining data/syslog-ng-3.28.1/lib/module-config.h
Examining data/syslog-ng-3.28.1/lib/msg-format.c
Examining data/syslog-ng-3.28.1/lib/msg-format.h
Examining data/syslog-ng-3.28.1/lib/msg-stats.c
Examining data/syslog-ng-3.28.1/lib/msg-stats.h
Examining data/syslog-ng-3.28.1/lib/parse-number.c
Examining data/syslog-ng-3.28.1/lib/parse-number.h
Examining data/syslog-ng-3.28.1/lib/parser/parser-expr-parser.c
Examining data/syslog-ng-3.28.1/lib/parser/parser-expr-parser.h
Examining data/syslog-ng-3.28.1/lib/parser/parser-expr.c
Examining data/syslog-ng-3.28.1/lib/parser/parser-expr.h
Examining data/syslog-ng-3.28.1/lib/pathutils.c
Examining data/syslog-ng-3.28.1/lib/pathutils.h
Examining data/syslog-ng-3.28.1/lib/pe-versioning.h
Examining data/syslog-ng-3.28.1/lib/persist-state.c
Examining data/syslog-ng-3.28.1/lib/persist-state.h
Examining data/syslog-ng-3.28.1/lib/persistable-state-header.h
Examining data/syslog-ng-3.28.1/lib/persistable-state-presenter.c
Examining data/syslog-ng-3.28.1/lib/persistable-state-presenter.h
Examining data/syslog-ng-3.28.1/lib/plugin-types.h
Examining data/syslog-ng-3.28.1/lib/plugin.c
Examining data/syslog-ng-3.28.1/lib/plugin.h
Examining data/syslog-ng-3.28.1/lib/poll-events.c
Examining data/syslog-ng-3.28.1/lib/poll-events.h
Examining data/syslog-ng-3.28.1/lib/poll-fd-events.c
Examining data/syslog-ng-3.28.1/lib/poll-fd-events.h
Examining data/syslog-ng-3.28.1/lib/pragma-parser.c
Examining data/syslog-ng-3.28.1/lib/pragma-parser.h
Examining data/syslog-ng-3.28.1/lib/presented-persistable-state.h
Examining data/syslog-ng-3.28.1/lib/rcptid.c
Examining data/syslog-ng-3.28.1/lib/rcptid.h
Examining data/syslog-ng-3.28.1/lib/reloc.c
Examining data/syslog-ng-3.28.1/lib/reloc.h
Examining data/syslog-ng-3.28.1/lib/resolved-configurable-paths.c
Examining data/syslog-ng-3.28.1/lib/resolved-configurable-paths.h
Examining data/syslog-ng-3.28.1/lib/rewrite/rewrite-expr-parser.c
Examining data/syslog-ng-3.28.1/lib/rewrite/rewrite-expr-parser.h
Examining data/syslog-ng-3.28.1/lib/rewrite/rewrite-expr.c
Examining data/syslog-ng-3.28.1/lib/rewrite/rewrite-expr.h
Examining data/syslog-ng-3.28.1/lib/rewrite/rewrite-groupset.c
Examining data/syslog-ng-3.28.1/lib/rewrite/rewrite-groupset.h
Examining data/syslog-ng-3.28.1/lib/rewrite/rewrite-set-facility.c
Examining data/syslog-ng-3.28.1/lib/rewrite/rewrite-set-facility.h
Examining data/syslog-ng-3.28.1/lib/rewrite/rewrite-set-severity.c
Examining data/syslog-ng-3.28.1/lib/rewrite/rewrite-set-severity.h
Examining data/syslog-ng-3.28.1/lib/rewrite/rewrite-set-tag.c
Examining data/syslog-ng-3.28.1/lib/rewrite/rewrite-set-tag.h
Examining data/syslog-ng-3.28.1/lib/rewrite/rewrite-set.c
Examining data/syslog-ng-3.28.1/lib/rewrite/rewrite-set.h
Examining data/syslog-ng-3.28.1/lib/rewrite/rewrite-subst.c
Examining data/syslog-ng-3.28.1/lib/rewrite/rewrite-subst.h
Examining data/syslog-ng-3.28.1/lib/rewrite/rewrite-unset.c
Examining data/syslog-ng-3.28.1/lib/rewrite/rewrite-unset.h
Examining data/syslog-ng-3.28.1/lib/rewrite/tests/test_rewrite.c
Examining data/syslog-ng-3.28.1/lib/rewrite/tests/test_set_facility.c
Examining data/syslog-ng-3.28.1/lib/rewrite/tests/test_set_severity.c
Examining data/syslog-ng-3.28.1/lib/ringbuffer.c
Examining data/syslog-ng-3.28.1/lib/ringbuffer.h
Examining data/syslog-ng-3.28.1/lib/run-id.c
Examining data/syslog-ng-3.28.1/lib/run-id.h
Examining data/syslog-ng-3.28.1/lib/scanner/csv-scanner/csv-scanner.c
Examining data/syslog-ng-3.28.1/lib/scanner/csv-scanner/csv-scanner.h
Examining data/syslog-ng-3.28.1/lib/scanner/csv-scanner/tests/test_csv_scanner.c
Examining data/syslog-ng-3.28.1/lib/scanner/kv-scanner/kv-scanner.c
Examining data/syslog-ng-3.28.1/lib/scanner/kv-scanner/kv-scanner.h
Examining data/syslog-ng-3.28.1/lib/scanner/kv-scanner/tests/test_kv_scanner.c
Examining data/syslog-ng-3.28.1/lib/scanner/list-scanner/list-scanner.c
Examining data/syslog-ng-3.28.1/lib/scanner/list-scanner/list-scanner.h
Examining data/syslog-ng-3.28.1/lib/scanner/list-scanner/tests/test_list_scanner.c
Examining data/syslog-ng-3.28.1/lib/scanner/xml-scanner/tests/test_xml_scanner.c
Examining data/syslog-ng-3.28.1/lib/scanner/xml-scanner/xml-scanner.c
Examining data/syslog-ng-3.28.1/lib/scanner/xml-scanner/xml-scanner.h
Examining data/syslog-ng-3.28.1/lib/scratch-buffers.c
Examining data/syslog-ng-3.28.1/lib/scratch-buffers.h
Examining data/syslog-ng-3.28.1/lib/secret-storage/nondumpable-allocator.c
Examining data/syslog-ng-3.28.1/lib/secret-storage/nondumpable-allocator.h
Examining data/syslog-ng-3.28.1/lib/secret-storage/secret-storage.c
Examining data/syslog-ng-3.28.1/lib/secret-storage/secret-storage.h
Examining data/syslog-ng-3.28.1/lib/secret-storage/tests/test_nondumpable_allocator.c
Examining data/syslog-ng-3.28.1/lib/secret-storage/tests/test_secret_storage.c
Examining data/syslog-ng-3.28.1/lib/seqnum.h
Examining data/syslog-ng-3.28.1/lib/serialize.c
Examining data/syslog-ng-3.28.1/lib/serialize.h
Examining data/syslog-ng-3.28.1/lib/service-management.c
Examining data/syslog-ng-3.28.1/lib/service-management.h
Examining data/syslog-ng-3.28.1/lib/signal-handler.c
Examining data/syslog-ng-3.28.1/lib/signal-handler.h
Examining data/syslog-ng-3.28.1/lib/signal-slot-connector/signal-slot-connector.c
Examining data/syslog-ng-3.28.1/lib/signal-slot-connector/signal-slot-connector.h
Examining data/syslog-ng-3.28.1/lib/signal-slot-connector/tests/test_signal_slots.c
Examining data/syslog-ng-3.28.1/lib/stats/stats-cluster-logpipe.c
Examining data/syslog-ng-3.28.1/lib/stats/stats-cluster-logpipe.h
Examining data/syslog-ng-3.28.1/lib/stats/stats-cluster-single.c
Examining data/syslog-ng-3.28.1/lib/stats/stats-cluster-single.h
Examining data/syslog-ng-3.28.1/lib/stats/stats-cluster.c
Examining data/syslog-ng-3.28.1/lib/stats/stats-cluster.h
Examining data/syslog-ng-3.28.1/lib/stats/stats-control.c
Examining data/syslog-ng-3.28.1/lib/stats/stats-control.h
Examining data/syslog-ng-3.28.1/lib/stats/stats-counter.h
Examining data/syslog-ng-3.28.1/lib/stats/stats-csv.c
Examining data/syslog-ng-3.28.1/lib/stats/stats-csv.h
Examining data/syslog-ng-3.28.1/lib/stats/stats-log.c
Examining data/syslog-ng-3.28.1/lib/stats/stats-log.h
Examining data/syslog-ng-3.28.1/lib/stats/stats-query-commands.c
Examining data/syslog-ng-3.28.1/lib/stats/stats-query-commands.h
Examining data/syslog-ng-3.28.1/lib/stats/stats-query.c
Examining data/syslog-ng-3.28.1/lib/stats/stats-query.h
Examining data/syslog-ng-3.28.1/lib/stats/stats-registry.c
Examining data/syslog-ng-3.28.1/lib/stats/stats-registry.h
Examining data/syslog-ng-3.28.1/lib/stats/stats.c
Examining data/syslog-ng-3.28.1/lib/stats/stats.h
Examining data/syslog-ng-3.28.1/lib/stats/tests/test_dynamic_ctr_reg.c
Examining data/syslog-ng-3.28.1/lib/stats/tests/test_external_ctr_reg.c
Examining data/syslog-ng-3.28.1/lib/stats/tests/test_stats_cluster.c
Examining data/syslog-ng-3.28.1/lib/stats/tests/test_stats_query.c
Examining data/syslog-ng-3.28.1/lib/str-format.c
Examining data/syslog-ng-3.28.1/lib/str-format.h
Examining data/syslog-ng-3.28.1/lib/str-repr/decode.c
Examining data/syslog-ng-3.28.1/lib/str-repr/decode.h
Examining data/syslog-ng-3.28.1/lib/str-repr/encode.c
Examining data/syslog-ng-3.28.1/lib/str-repr/encode.h
Examining data/syslog-ng-3.28.1/lib/str-repr/tests/test_decode.c
Examining data/syslog-ng-3.28.1/lib/str-repr/tests/test_encode.c
Examining data/syslog-ng-3.28.1/lib/str-utils.c
Examining data/syslog-ng-3.28.1/lib/str-utils.h
Examining data/syslog-ng-3.28.1/lib/string-list.c
Examining data/syslog-ng-3.28.1/lib/string-list.h
Examining data/syslog-ng-3.28.1/lib/syslog-names.c
Examining data/syslog-ng-3.28.1/lib/syslog-names.h
Examining data/syslog-ng-3.28.1/lib/syslog-ng.h
Examining data/syslog-ng-3.28.1/lib/template/common-template-typedefs.h
Examining data/syslog-ng-3.28.1/lib/template/compiler.c
Examining data/syslog-ng-3.28.1/lib/template/compiler.h
Examining data/syslog-ng-3.28.1/lib/template/escaping.c
Examining data/syslog-ng-3.28.1/lib/template/escaping.h
Examining data/syslog-ng-3.28.1/lib/template/function.h
Examining data/syslog-ng-3.28.1/lib/template/macros.c
Examining data/syslog-ng-3.28.1/lib/template/macros.h
Examining data/syslog-ng-3.28.1/lib/template/repr.c
Examining data/syslog-ng-3.28.1/lib/template/repr.h
Examining data/syslog-ng-3.28.1/lib/template/simple-function.c
Examining data/syslog-ng-3.28.1/lib/template/simple-function.h
Examining data/syslog-ng-3.28.1/lib/template/templates.c
Examining data/syslog-ng-3.28.1/lib/template/templates.h
Examining data/syslog-ng-3.28.1/lib/template/tests/test_macro.c
Examining data/syslog-ng-3.28.1/lib/template/tests/test_template.c
Examining data/syslog-ng-3.28.1/lib/template/tests/test_template_compile.c
Examining data/syslog-ng-3.28.1/lib/template/tests/test_template_on_error.c
Examining data/syslog-ng-3.28.1/lib/template/tests/test_template_speed.c
Examining data/syslog-ng-3.28.1/lib/template/user-function.c
Examining data/syslog-ng-3.28.1/lib/template/user-function.h
Examining data/syslog-ng-3.28.1/lib/tests/test_apphook.c
Examining data/syslog-ng-3.28.1/lib/tests/test_atomic_gssize.c
Examining data/syslog-ng-3.28.1/lib/tests/test_cache.c
Examining data/syslog-ng-3.28.1/lib/tests/test_cfg_lexer_subst.c
Examining data/syslog-ng-3.28.1/lib/tests/test_cfg_tree.c
Examining data/syslog-ng-3.28.1/lib/tests/test_dynamic_window.c
Examining data/syslog-ng-3.28.1/lib/tests/test_host_resolve.c
Examining data/syslog-ng-3.28.1/lib/tests/test_hostname.c
Examining data/syslog-ng-3.28.1/lib/tests/test_lexer.c
Examining data/syslog-ng-3.28.1/lib/tests/test_lexer_block.c
Examining data/syslog-ng-3.28.1/lib/tests/test_logqueue.c
Examining data/syslog-ng-3.28.1/lib/tests/test_logsource.c
Examining data/syslog-ng-3.28.1/lib/tests/test_messages.c
Examining data/syslog-ng-3.28.1/lib/tests/test_parse_number.c
Examining data/syslog-ng-3.28.1/lib/tests/test_pathutils.c
Examining data/syslog-ng-3.28.1/lib/tests/test_persist_state.c
Examining data/syslog-ng-3.28.1/lib/tests/test_pragma.c
Examining data/syslog-ng-3.28.1/lib/tests/test_rcptid.c
Examining data/syslog-ng-3.28.1/lib/tests/test_reloc.c
Examining data/syslog-ng-3.28.1/lib/tests/test_runid.c
Examining data/syslog-ng-3.28.1/lib/tests/test_scratch_buffers.c
Examining data/syslog-ng-3.28.1/lib/tests/test_str-utils.c
Examining data/syslog-ng-3.28.1/lib/tests/test_str_format.c
Examining data/syslog-ng-3.28.1/lib/tests/test_string_list.c
Examining data/syslog-ng-3.28.1/lib/tests/test_type_hints.c
Examining data/syslog-ng-3.28.1/lib/tests/test_userdb.c
Examining data/syslog-ng-3.28.1/lib/tests/test_utf8utils.c
Examining data/syslog-ng-3.28.1/lib/tests/test_window_size_counter.c
Examining data/syslog-ng-3.28.1/lib/thread-utils.h
Examining data/syslog-ng-3.28.1/lib/timeutils/cache.c
Examining data/syslog-ng-3.28.1/lib/timeutils/cache.h
Examining data/syslog-ng-3.28.1/lib/timeutils/conv.c
Examining data/syslog-ng-3.28.1/lib/timeutils/conv.h
Examining data/syslog-ng-3.28.1/lib/timeutils/format.c
Examining data/syslog-ng-3.28.1/lib/timeutils/format.h
Examining data/syslog-ng-3.28.1/lib/timeutils/misc.c
Examining data/syslog-ng-3.28.1/lib/timeutils/misc.h
Examining data/syslog-ng-3.28.1/lib/timeutils/names.c
Examining data/syslog-ng-3.28.1/lib/timeutils/names.h
Examining data/syslog-ng-3.28.1/lib/timeutils/scan-timestamp.c
Examining data/syslog-ng-3.28.1/lib/timeutils/scan-timestamp.h
Examining data/syslog-ng-3.28.1/lib/timeutils/tests/test_conv.c
Examining data/syslog-ng-3.28.1/lib/timeutils/tests/test_scan-timestamp.c
Examining data/syslog-ng-3.28.1/lib/timeutils/tests/test_unixtime.c
Examining data/syslog-ng-3.28.1/lib/timeutils/tests/test_wallclocktime.c
Examining data/syslog-ng-3.28.1/lib/timeutils/unixtime.c
Examining data/syslog-ng-3.28.1/lib/timeutils/unixtime.h
Examining data/syslog-ng-3.28.1/lib/timeutils/wallclocktime.c
Examining data/syslog-ng-3.28.1/lib/timeutils/wallclocktime.h
Examining data/syslog-ng-3.28.1/lib/timeutils/zonecache.c
Examining data/syslog-ng-3.28.1/lib/timeutils/zonecache.h
Examining data/syslog-ng-3.28.1/lib/timeutils/zonedb.c
Examining data/syslog-ng-3.28.1/lib/timeutils/zonedb.h
Examining data/syslog-ng-3.28.1/lib/timeutils/zoneinfo.c
Examining data/syslog-ng-3.28.1/lib/timeutils/zoneinfo.h
Examining data/syslog-ng-3.28.1/lib/tls-support.h
Examining data/syslog-ng-3.28.1/lib/tlscontext.c
Examining data/syslog-ng-3.28.1/lib/tlscontext.h
Examining data/syslog-ng-3.28.1/lib/transport/logtransport.c
Examining data/syslog-ng-3.28.1/lib/transport/logtransport.h
Examining data/syslog-ng-3.28.1/lib/transport/multitransport.c
Examining data/syslog-ng-3.28.1/lib/transport/multitransport.h
Examining data/syslog-ng-3.28.1/lib/transport/tests/test_aux_data.c
Examining data/syslog-ng-3.28.1/lib/transport/tests/test_multitransport.c
Examining data/syslog-ng-3.28.1/lib/transport/tests/test_transport_factory.c
Examining data/syslog-ng-3.28.1/lib/transport/tests/test_transport_factory_id.c
Examining data/syslog-ng-3.28.1/lib/transport/tests/test_transport_factory_registry.c
Examining data/syslog-ng-3.28.1/lib/transport/transport-aux-data.c
Examining data/syslog-ng-3.28.1/lib/transport/transport-aux-data.h
Examining data/syslog-ng-3.28.1/lib/transport/transport-factory-id.c
Examining data/syslog-ng-3.28.1/lib/transport/transport-factory-id.h
Examining data/syslog-ng-3.28.1/lib/transport/transport-factory-registry.c
Examining data/syslog-ng-3.28.1/lib/transport/transport-factory-registry.h
Examining data/syslog-ng-3.28.1/lib/transport/transport-factory-socket.c
Examining data/syslog-ng-3.28.1/lib/transport/transport-factory-socket.h
Examining data/syslog-ng-3.28.1/lib/transport/transport-factory-tls.c
Examining data/syslog-ng-3.28.1/lib/transport/transport-factory-tls.h
Examining data/syslog-ng-3.28.1/lib/transport/transport-factory.h
Examining data/syslog-ng-3.28.1/lib/transport/transport-file.c
Examining data/syslog-ng-3.28.1/lib/transport/transport-file.h
Examining data/syslog-ng-3.28.1/lib/transport/transport-pipe.c
Examining data/syslog-ng-3.28.1/lib/transport/transport-pipe.h
Examining data/syslog-ng-3.28.1/lib/transport/transport-socket.c
Examining data/syslog-ng-3.28.1/lib/transport/transport-socket.h
Examining data/syslog-ng-3.28.1/lib/transport/transport-tls.c
Examining data/syslog-ng-3.28.1/lib/transport/transport-tls.h
Examining data/syslog-ng-3.28.1/lib/transport/transport-udp-socket.c
Examining data/syslog-ng-3.28.1/lib/transport/transport-udp-socket.h
Examining data/syslog-ng-3.28.1/lib/type-hinting.c
Examining data/syslog-ng-3.28.1/lib/type-hinting.h
Examining data/syslog-ng-3.28.1/lib/userdb.c
Examining data/syslog-ng-3.28.1/lib/userdb.h
Examining data/syslog-ng-3.28.1/lib/utf8utils.c
Examining data/syslog-ng-3.28.1/lib/utf8utils.h
Examining data/syslog-ng-3.28.1/lib/uuid.c
Examining data/syslog-ng-3.28.1/lib/uuid.h
Examining data/syslog-ng-3.28.1/lib/value-pairs/cmdline.c
Examining data/syslog-ng-3.28.1/lib/value-pairs/cmdline.h
Examining data/syslog-ng-3.28.1/lib/value-pairs/evttag.c
Examining data/syslog-ng-3.28.1/lib/value-pairs/evttag.h
Examining data/syslog-ng-3.28.1/lib/value-pairs/internals.h
Examining data/syslog-ng-3.28.1/lib/value-pairs/tests/test_value_pairs.c
Examining data/syslog-ng-3.28.1/lib/value-pairs/tests/test_value_pairs_walk.c
Examining data/syslog-ng-3.28.1/lib/value-pairs/transforms.c
Examining data/syslog-ng-3.28.1/lib/value-pairs/transforms.h
Examining data/syslog-ng-3.28.1/lib/value-pairs/value-pairs.c
Examining data/syslog-ng-3.28.1/lib/value-pairs/value-pairs.h
Examining data/syslog-ng-3.28.1/lib/versioning.h
Examining data/syslog-ng-3.28.1/lib/window-size-counter.c
Examining data/syslog-ng-3.28.1/lib/window-size-counter.h
Examining data/syslog-ng-3.28.1/libtest/config_parse_lib.c
Examining data/syslog-ng-3.28.1/libtest/config_parse_lib.h
Examining data/syslog-ng-3.28.1/libtest/cr_template.c
Examining data/syslog-ng-3.28.1/libtest/cr_template.h
Examining data/syslog-ng-3.28.1/libtest/fake-time.c
Examining data/syslog-ng-3.28.1/libtest/fake-time.h
Examining data/syslog-ng-3.28.1/libtest/grab-logging.c
Examining data/syslog-ng-3.28.1/libtest/grab-logging.h
Examining data/syslog-ng-3.28.1/libtest/libtest.c
Examining data/syslog-ng-3.28.1/libtest/mock-cfg-parser.c
Examining data/syslog-ng-3.28.1/libtest/mock-cfg-parser.h
Examining data/syslog-ng-3.28.1/libtest/mock-transport.c
Examining data/syslog-ng-3.28.1/libtest/mock-transport.h
Examining data/syslog-ng-3.28.1/libtest/msg_parse_lib.c
Examining data/syslog-ng-3.28.1/libtest/msg_parse_lib.h
Examining data/syslog-ng-3.28.1/libtest/persist_lib.c
Examining data/syslog-ng-3.28.1/libtest/persist_lib.h
Examining data/syslog-ng-3.28.1/libtest/proto_lib.c
Examining data/syslog-ng-3.28.1/libtest/proto_lib.h
Examining data/syslog-ng-3.28.1/libtest/queue_utils_lib.c
Examining data/syslog-ng-3.28.1/libtest/queue_utils_lib.h
Examining data/syslog-ng-3.28.1/libtest/stopwatch.c
Examining data/syslog-ng-3.28.1/libtest/stopwatch.h
Examining data/syslog-ng-3.28.1/libtest/tests/test_mock_transport.c
Examining data/syslog-ng-3.28.1/libtest/testutils.c
Examining data/syslog-ng-3.28.1/libtest/testutils.h
Examining data/syslog-ng-3.28.1/modules/add-contextual-data/add-contextual-data-filter-selector.c
Examining data/syslog-ng-3.28.1/modules/add-contextual-data/add-contextual-data-filter-selector.h
Examining data/syslog-ng-3.28.1/modules/add-contextual-data/add-contextual-data-glob-selector.c
Examining data/syslog-ng-3.28.1/modules/add-contextual-data/add-contextual-data-glob-selector.h
Examining data/syslog-ng-3.28.1/modules/add-contextual-data/add-contextual-data-parser.c
Examining data/syslog-ng-3.28.1/modules/add-contextual-data/add-contextual-data-parser.h
Examining data/syslog-ng-3.28.1/modules/add-contextual-data/add-contextual-data-plugin.c
Examining data/syslog-ng-3.28.1/modules/add-contextual-data/add-contextual-data-selector.h
Examining data/syslog-ng-3.28.1/modules/add-contextual-data/add-contextual-data-template-selector.c
Examining data/syslog-ng-3.28.1/modules/add-contextual-data/add-contextual-data-template-selector.h
Examining data/syslog-ng-3.28.1/modules/add-contextual-data/add-contextual-data.c
Examining data/syslog-ng-3.28.1/modules/add-contextual-data/add-contextual-data.h
Examining data/syslog-ng-3.28.1/modules/add-contextual-data/context-info-db.c
Examining data/syslog-ng-3.28.1/modules/add-contextual-data/context-info-db.h
Examining data/syslog-ng-3.28.1/modules/add-contextual-data/contextual-data-record-scanner.c
Examining data/syslog-ng-3.28.1/modules/add-contextual-data/contextual-data-record-scanner.h
Examining data/syslog-ng-3.28.1/modules/add-contextual-data/contextual-data-record.c
Examining data/syslog-ng-3.28.1/modules/add-contextual-data/contextual-data-record.h
Examining data/syslog-ng-3.28.1/modules/add-contextual-data/tests/test_context_info_db.c
Examining data/syslog-ng-3.28.1/modules/add-contextual-data/tests/test_filter_selector.c
Examining data/syslog-ng-3.28.1/modules/add-contextual-data/tests/test_glob_selector.c
Examining data/syslog-ng-3.28.1/modules/add-contextual-data/tests/test_template_selector.c
Examining data/syslog-ng-3.28.1/modules/afamqp/afamqp-parser.c
Examining data/syslog-ng-3.28.1/modules/afamqp/afamqp-parser.h
Examining data/syslog-ng-3.28.1/modules/afamqp/afamqp-plugin.c
Examining data/syslog-ng-3.28.1/modules/afamqp/afamqp.c
Examining data/syslog-ng-3.28.1/modules/afamqp/afamqp.h
Examining data/syslog-ng-3.28.1/modules/afamqp/compat/amqp-compat.c
Examining data/syslog-ng-3.28.1/modules/afamqp/compat/amqp-compat.h
Examining data/syslog-ng-3.28.1/modules/affile/affile-dest-internal-queue-filter.h
Examining data/syslog-ng-3.28.1/modules/affile/affile-dest.c
Examining data/syslog-ng-3.28.1/modules/affile/affile-dest.h
Examining data/syslog-ng-3.28.1/modules/affile/affile-parser.c
Examining data/syslog-ng-3.28.1/modules/affile/affile-parser.h
Examining data/syslog-ng-3.28.1/modules/affile/affile-plugin.c
Examining data/syslog-ng-3.28.1/modules/affile/affile-source.c
Examining data/syslog-ng-3.28.1/modules/affile/affile-source.h
Examining data/syslog-ng-3.28.1/modules/affile/collection-comparator.c
Examining data/syslog-ng-3.28.1/modules/affile/collection-comparator.h
Examining data/syslog-ng-3.28.1/modules/affile/directory-monitor-factory.c
Examining data/syslog-ng-3.28.1/modules/affile/directory-monitor-factory.h
Examining data/syslog-ng-3.28.1/modules/affile/directory-monitor-inotify.c
Examining data/syslog-ng-3.28.1/modules/affile/directory-monitor-inotify.h
Examining data/syslog-ng-3.28.1/modules/affile/directory-monitor-poll.c
Examining data/syslog-ng-3.28.1/modules/affile/directory-monitor-poll.h
Examining data/syslog-ng-3.28.1/modules/affile/directory-monitor.c
Examining data/syslog-ng-3.28.1/modules/affile/directory-monitor.h
Examining data/syslog-ng-3.28.1/modules/affile/file-list.c
Examining data/syslog-ng-3.28.1/modules/affile/file-list.h
Examining data/syslog-ng-3.28.1/modules/affile/file-opener.c
Examining data/syslog-ng-3.28.1/modules/affile/file-opener.h
Examining data/syslog-ng-3.28.1/modules/affile/file-reader.c
Examining data/syslog-ng-3.28.1/modules/affile/file-reader.h
Examining data/syslog-ng-3.28.1/modules/affile/file-specializations.h
Examining data/syslog-ng-3.28.1/modules/affile/linux-kmsg.c
Examining data/syslog-ng-3.28.1/modules/affile/logproto-file-reader.c
Examining data/syslog-ng-3.28.1/modules/affile/logproto-file-reader.h
Examining data/syslog-ng-3.28.1/modules/affile/logproto-file-writer.c
Examining data/syslog-ng-3.28.1/modules/affile/logproto-file-writer.h
Examining data/syslog-ng-3.28.1/modules/affile/named-pipe.c
Examining data/syslog-ng-3.28.1/modules/affile/named-pipe.h
Examining data/syslog-ng-3.28.1/modules/affile/poll-file-changes.c
Examining data/syslog-ng-3.28.1/modules/affile/poll-file-changes.h
Examining data/syslog-ng-3.28.1/modules/affile/poll-multiline-file-changes.c
Examining data/syslog-ng-3.28.1/modules/affile/poll-multiline-file-changes.h
Examining data/syslog-ng-3.28.1/modules/affile/regular-files.c
Examining data/syslog-ng-3.28.1/modules/affile/stdin.c
Examining data/syslog-ng-3.28.1/modules/affile/stdin.h
Examining data/syslog-ng-3.28.1/modules/affile/tests/test_collection_comparator.c
Examining data/syslog-ng-3.28.1/modules/affile/tests/test_directory_monitor.c
Examining data/syslog-ng-3.28.1/modules/affile/tests/test_file_list.c
Examining data/syslog-ng-3.28.1/modules/affile/tests/test_file_opener.c
Examining data/syslog-ng-3.28.1/modules/affile/tests/test_file_writer.c
Examining data/syslog-ng-3.28.1/modules/affile/tests/test_wildcard_file_reader.c
Examining data/syslog-ng-3.28.1/modules/affile/tests/test_wildcard_source.c
Examining data/syslog-ng-3.28.1/modules/affile/transport-prockmsg.c
Examining data/syslog-ng-3.28.1/modules/affile/transport-prockmsg.h
Examining data/syslog-ng-3.28.1/modules/affile/wildcard-file-reader.c
Examining data/syslog-ng-3.28.1/modules/affile/wildcard-file-reader.h
Examining data/syslog-ng-3.28.1/modules/affile/wildcard-source.c
Examining data/syslog-ng-3.28.1/modules/affile/wildcard-source.h
Examining data/syslog-ng-3.28.1/modules/afmongodb/afmongodb-parser.c
Examining data/syslog-ng-3.28.1/modules/afmongodb/afmongodb-parser.h
Examining data/syslog-ng-3.28.1/modules/afmongodb/afmongodb-private.h
Examining data/syslog-ng-3.28.1/modules/afmongodb/afmongodb.c
Examining data/syslog-ng-3.28.1/modules/afmongodb/afmongodb.h
Examining data/syslog-ng-3.28.1/modules/afmongodb/tests/test-mongodb-config.c
Examining data/syslog-ng-3.28.1/modules/afprog/afprog-parser.c
Examining data/syslog-ng-3.28.1/modules/afprog/afprog-parser.h
Examining data/syslog-ng-3.28.1/modules/afprog/afprog-plugin.c
Examining data/syslog-ng-3.28.1/modules/afprog/afprog.c
Examining data/syslog-ng-3.28.1/modules/afprog/afprog.h
Examining data/syslog-ng-3.28.1/modules/afsmtp/afsmtp-parser.c
Examining data/syslog-ng-3.28.1/modules/afsmtp/afsmtp-parser.h
Examining data/syslog-ng-3.28.1/modules/afsmtp/afsmtp.c
Examining data/syslog-ng-3.28.1/modules/afsmtp/afsmtp.h
Examining data/syslog-ng-3.28.1/modules/afsnmp/afsnmp-parser.c
Examining data/syslog-ng-3.28.1/modules/afsnmp/afsnmp-parser.h
Examining data/syslog-ng-3.28.1/modules/afsnmp/afsnmp-plugin.c
Examining data/syslog-ng-3.28.1/modules/afsnmp/afsnmpdest.c
Examining data/syslog-ng-3.28.1/modules/afsnmp/afsnmpdest.h
Examining data/syslog-ng-3.28.1/modules/afsnmp/snmptrapd-header-parser.c
Examining data/syslog-ng-3.28.1/modules/afsnmp/snmptrapd-header-parser.h
Examining data/syslog-ng-3.28.1/modules/afsnmp/snmptrapd-nv-context.h
Examining data/syslog-ng-3.28.1/modules/afsnmp/snmptrapd-parser.c
Examining data/syslog-ng-3.28.1/modules/afsnmp/snmptrapd-parser.h
Examining data/syslog-ng-3.28.1/modules/afsnmp/tests/test_afsnmp_dest.c
Examining data/syslog-ng-3.28.1/modules/afsnmp/tests/test_snmptrapd_parser.c
Examining data/syslog-ng-3.28.1/modules/afsnmp/tests/test_varbindlist_scanner.c
Examining data/syslog-ng-3.28.1/modules/afsnmp/varbindlist-scanner.c
Examining data/syslog-ng-3.28.1/modules/afsnmp/varbindlist-scanner.h
Examining data/syslog-ng-3.28.1/modules/afsocket/afinet-dest-failover.c
Examining data/syslog-ng-3.28.1/modules/afsocket/afinet-dest-failover.h
Examining data/syslog-ng-3.28.1/modules/afsocket/afinet-dest.c
Examining data/syslog-ng-3.28.1/modules/afsocket/afinet-dest.h
Examining data/syslog-ng-3.28.1/modules/afsocket/afinet-source.c
Examining data/syslog-ng-3.28.1/modules/afsocket/afinet-source.h
Examining data/syslog-ng-3.28.1/modules/afsocket/afinet.c
Examining data/syslog-ng-3.28.1/modules/afsocket/afinet.h
Examining data/syslog-ng-3.28.1/modules/afsocket/afsocket-dest.c
Examining data/syslog-ng-3.28.1/modules/afsocket/afsocket-dest.h
Examining data/syslog-ng-3.28.1/modules/afsocket/afsocket-parser.c
Examining data/syslog-ng-3.28.1/modules/afsocket/afsocket-parser.h
Examining data/syslog-ng-3.28.1/modules/afsocket/afsocket-plugin.c
Examining data/syslog-ng-3.28.1/modules/afsocket/afsocket-source.c
Examining data/syslog-ng-3.28.1/modules/afsocket/afsocket-source.h
Examining data/syslog-ng-3.28.1/modules/afsocket/afsocket-systemd-override.h
Examining data/syslog-ng-3.28.1/modules/afsocket/afsocket.c
Examining data/syslog-ng-3.28.1/modules/afsocket/afsocket.h
Examining data/syslog-ng-3.28.1/modules/afsocket/afunix-dest.c
Examining data/syslog-ng-3.28.1/modules/afsocket/afunix-dest.h
Examining data/syslog-ng-3.28.1/modules/afsocket/afunix-source.c
Examining data/syslog-ng-3.28.1/modules/afsocket/afunix-source.h
Examining data/syslog-ng-3.28.1/modules/afsocket/socket-options-inet.c
Examining data/syslog-ng-3.28.1/modules/afsocket/socket-options-inet.h
Examining data/syslog-ng-3.28.1/modules/afsocket/socket-options.c
Examining data/syslog-ng-3.28.1/modules/afsocket/socket-options.h
Examining data/syslog-ng-3.28.1/modules/afsocket/systemd-syslog-source.c
Examining data/syslog-ng-3.28.1/modules/afsocket/systemd-syslog-source.h
Examining data/syslog-ng-3.28.1/modules/afsocket/tests/test-transport-mapper-inet.c
Examining data/syslog-ng-3.28.1/modules/afsocket/tests/test-transport-mapper-unix.c
Examining data/syslog-ng-3.28.1/modules/afsocket/tests/test-transport-mapper.c
Examining data/syslog-ng-3.28.1/modules/afsocket/tests/transport-mapper-lib.c
Examining data/syslog-ng-3.28.1/modules/afsocket/tests/transport-mapper-lib.h
Examining data/syslog-ng-3.28.1/modules/afsocket/transport-mapper-inet.c
Examining data/syslog-ng-3.28.1/modules/afsocket/transport-mapper-inet.h
Examining data/syslog-ng-3.28.1/modules/afsocket/transport-mapper-unix.c
Examining data/syslog-ng-3.28.1/modules/afsocket/transport-mapper-unix.h
Examining data/syslog-ng-3.28.1/modules/afsocket/transport-mapper.c
Examining data/syslog-ng-3.28.1/modules/afsocket/transport-mapper.h
Examining data/syslog-ng-3.28.1/modules/afsocket/transport-unix-socket.c
Examining data/syslog-ng-3.28.1/modules/afsocket/transport-unix-socket.h
Examining data/syslog-ng-3.28.1/modules/afsocket/unix-credentials.c
Examining data/syslog-ng-3.28.1/modules/afsocket/unix-credentials.h
Examining data/syslog-ng-3.28.1/modules/afsql/afsql-parser.c
Examining data/syslog-ng-3.28.1/modules/afsql/afsql-parser.h
Examining data/syslog-ng-3.28.1/modules/afsql/afsql-plugin.c
Examining data/syslog-ng-3.28.1/modules/afsql/afsql.c
Examining data/syslog-ng-3.28.1/modules/afsql/afsql.h
Examining data/syslog-ng-3.28.1/modules/afstomp/afstomp-parser.c
Examining data/syslog-ng-3.28.1/modules/afstomp/afstomp-parser.h
Examining data/syslog-ng-3.28.1/modules/afstomp/afstomp.c
Examining data/syslog-ng-3.28.1/modules/afstomp/afstomp.h
Examining data/syslog-ng-3.28.1/modules/afstomp/stomp.c
Examining data/syslog-ng-3.28.1/modules/afstomp/stomp.h
Examining data/syslog-ng-3.28.1/modules/afstomp/tests/test_stomp_proto.c
Examining data/syslog-ng-3.28.1/modules/afstreams/afstreams-parser.c
Examining data/syslog-ng-3.28.1/modules/afstreams/afstreams-parser.h
Examining data/syslog-ng-3.28.1/modules/afstreams/afstreams-plugin.c
Examining data/syslog-ng-3.28.1/modules/afstreams/afstreams.c
Examining data/syslog-ng-3.28.1/modules/afstreams/afstreams.h
Examining data/syslog-ng-3.28.1/modules/afuser/afuser-parser.c
Examining data/syslog-ng-3.28.1/modules/afuser/afuser-parser.h
Examining data/syslog-ng-3.28.1/modules/afuser/afuser-plugin.c
Examining data/syslog-ng-3.28.1/modules/afuser/afuser.c
Examining data/syslog-ng-3.28.1/modules/afuser/afuser.h
Examining data/syslog-ng-3.28.1/modules/appmodel/app-parser-generator.c
Examining data/syslog-ng-3.28.1/modules/appmodel/app-parser-generator.h
Examining data/syslog-ng-3.28.1/modules/appmodel/application.c
Examining data/syslog-ng-3.28.1/modules/appmodel/application.h
Examining data/syslog-ng-3.28.1/modules/appmodel/appmodel-context.c
Examining data/syslog-ng-3.28.1/modules/appmodel/appmodel-context.h
Examining data/syslog-ng-3.28.1/modules/appmodel/appmodel-parser.c
Examining data/syslog-ng-3.28.1/modules/appmodel/appmodel-parser.h
Examining data/syslog-ng-3.28.1/modules/appmodel/appmodel-plugin.c
Examining data/syslog-ng-3.28.1/modules/appmodel/appmodel.c
Examining data/syslog-ng-3.28.1/modules/appmodel/appmodel.h
Examining data/syslog-ng-3.28.1/modules/appmodel/tests/test_app_parser_generator.c
Examining data/syslog-ng-3.28.1/modules/appmodel/tests/test_application.c
Examining data/syslog-ng-3.28.1/modules/appmodel/tests/test_appmodel.c
Examining data/syslog-ng-3.28.1/modules/appmodel/tests/test_appmodel_context.c
Examining data/syslog-ng-3.28.1/modules/azure-auth-header/azure-auth-header-parser.c
Examining data/syslog-ng-3.28.1/modules/azure-auth-header/azure-auth-header-parser.h
Examining data/syslog-ng-3.28.1/modules/azure-auth-header/azure-auth-header-plugin.c
Examining data/syslog-ng-3.28.1/modules/azure-auth-header/azure-auth-header.c
Examining data/syslog-ng-3.28.1/modules/azure-auth-header/azure-auth-header.h
Examining data/syslog-ng-3.28.1/modules/basicfuncs/basic-funcs.c
Examining data/syslog-ng-3.28.1/modules/basicfuncs/cond-funcs.c
Examining data/syslog-ng-3.28.1/modules/basicfuncs/context-funcs.c
Examining data/syslog-ng-3.28.1/modules/basicfuncs/fname-funcs.c
Examining data/syslog-ng-3.28.1/modules/basicfuncs/ip-funcs.c
Examining data/syslog-ng-3.28.1/modules/basicfuncs/list-funcs.c
Examining data/syslog-ng-3.28.1/modules/basicfuncs/misc-funcs.c
Examining data/syslog-ng-3.28.1/modules/basicfuncs/numeric-funcs.c
Examining data/syslog-ng-3.28.1/modules/basicfuncs/str-funcs.c
Examining data/syslog-ng-3.28.1/modules/basicfuncs/tests/test_basicfuncs.c
Examining data/syslog-ng-3.28.1/modules/basicfuncs/tf-iterate.c
Examining data/syslog-ng-3.28.1/modules/basicfuncs/tf-map.c
Examining data/syslog-ng-3.28.1/modules/basicfuncs/tf-template.c
Examining data/syslog-ng-3.28.1/modules/basicfuncs/urlencode.c
Examining data/syslog-ng-3.28.1/modules/cef/cef-plugin.c
Examining data/syslog-ng-3.28.1/modules/cef/format-cef-extension.c
Examining data/syslog-ng-3.28.1/modules/cef/format-cef-extension.h
Examining data/syslog-ng-3.28.1/modules/cef/tests/test-format-cef-extension.c
Examining data/syslog-ng-3.28.1/modules/confgen/confgen-plugin.c
Examining data/syslog-ng-3.28.1/modules/confgen/confgen.h
Examining data/syslog-ng-3.28.1/modules/confgen/tests/test_confgen.c
Examining data/syslog-ng-3.28.1/modules/cryptofuncs/cryptofuncs.c
Examining data/syslog-ng-3.28.1/modules/cryptofuncs/tests/test_cryptofuncs.c
Examining data/syslog-ng-3.28.1/modules/csvparser/csvparser-parser.c
Examining data/syslog-ng-3.28.1/modules/csvparser/csvparser-parser.h
Examining data/syslog-ng-3.28.1/modules/csvparser/csvparser-plugin.c
Examining data/syslog-ng-3.28.1/modules/csvparser/csvparser.c
Examining data/syslog-ng-3.28.1/modules/csvparser/csvparser.h
Examining data/syslog-ng-3.28.1/modules/csvparser/tests/test_csvparser.c
Examining data/syslog-ng-3.28.1/modules/csvparser/tests/test_csvparser_perf.c
Examining data/syslog-ng-3.28.1/modules/csvparser/tests/test_csvparser_statistics.c
Examining data/syslog-ng-3.28.1/modules/dbparser/correllation-context.c
Examining data/syslog-ng-3.28.1/modules/dbparser/correllation-context.h
Examining data/syslog-ng-3.28.1/modules/dbparser/correllation-key.c
Examining data/syslog-ng-3.28.1/modules/dbparser/correllation-key.h
Examining data/syslog-ng-3.28.1/modules/dbparser/correllation.c
Examining data/syslog-ng-3.28.1/modules/dbparser/correllation.h
Examining data/syslog-ng-3.28.1/modules/dbparser/dbparser-parser.c
Examining data/syslog-ng-3.28.1/modules/dbparser/dbparser-parser.h
Examining data/syslog-ng-3.28.1/modules/dbparser/dbparser-plugin.c
Examining data/syslog-ng-3.28.1/modules/dbparser/dbparser.c
Examining data/syslog-ng-3.28.1/modules/dbparser/dbparser.h
Examining data/syslog-ng-3.28.1/modules/dbparser/groupingby.c
Examining data/syslog-ng-3.28.1/modules/dbparser/groupingby.h
Examining data/syslog-ng-3.28.1/modules/dbparser/patterndb.c
Examining data/syslog-ng-3.28.1/modules/dbparser/patterndb.h
Examining data/syslog-ng-3.28.1/modules/dbparser/patternize.c
Examining data/syslog-ng-3.28.1/modules/dbparser/patternize.h
Examining data/syslog-ng-3.28.1/modules/dbparser/pdb-action.c
Examining data/syslog-ng-3.28.1/modules/dbparser/pdb-action.h
Examining data/syslog-ng-3.28.1/modules/dbparser/pdb-context.c
Examining data/syslog-ng-3.28.1/modules/dbparser/pdb-context.h
Examining data/syslog-ng-3.28.1/modules/dbparser/pdb-error.c
Examining data/syslog-ng-3.28.1/modules/dbparser/pdb-error.h
Examining data/syslog-ng-3.28.1/modules/dbparser/pdb-example.c
Examining data/syslog-ng-3.28.1/modules/dbparser/pdb-example.h
Examining data/syslog-ng-3.28.1/modules/dbparser/pdb-file.c
Examining data/syslog-ng-3.28.1/modules/dbparser/pdb-file.h
Examining data/syslog-ng-3.28.1/modules/dbparser/pdb-load.c
Examining data/syslog-ng-3.28.1/modules/dbparser/pdb-load.h
Examining data/syslog-ng-3.28.1/modules/dbparser/pdb-lookup-params.c
Examining data/syslog-ng-3.28.1/modules/dbparser/pdb-lookup-params.h
Examining data/syslog-ng-3.28.1/modules/dbparser/pdb-program.c
Examining data/syslog-ng-3.28.1/modules/dbparser/pdb-program.h
Examining data/syslog-ng-3.28.1/modules/dbparser/pdb-ratelimit.c
Examining data/syslog-ng-3.28.1/modules/dbparser/pdb-ratelimit.h
Examining data/syslog-ng-3.28.1/modules/dbparser/pdb-rule.c
Examining data/syslog-ng-3.28.1/modules/dbparser/pdb-rule.h
Examining data/syslog-ng-3.28.1/modules/dbparser/pdb-ruleset.c
Examining data/syslog-ng-3.28.1/modules/dbparser/pdb-ruleset.h
Examining data/syslog-ng-3.28.1/modules/dbparser/pdbtool/pdbtool.c
Examining data/syslog-ng-3.28.1/modules/dbparser/radix.c
Examining data/syslog-ng-3.28.1/modules/dbparser/radix.h
Examining data/syslog-ng-3.28.1/modules/dbparser/stateful-parser.c
Examining data/syslog-ng-3.28.1/modules/dbparser/stateful-parser.h
Examining data/syslog-ng-3.28.1/modules/dbparser/synthetic-context.c
Examining data/syslog-ng-3.28.1/modules/dbparser/synthetic-context.h
Examining data/syslog-ng-3.28.1/modules/dbparser/synthetic-message.c
Examining data/syslog-ng-3.28.1/modules/dbparser/synthetic-message.h
Examining data/syslog-ng-3.28.1/modules/dbparser/tests/test_grouping_by.c
Examining data/syslog-ng-3.28.1/modules/dbparser/tests/test_parsers.c
Examining data/syslog-ng-3.28.1/modules/dbparser/tests/test_parsers_e2e.c
Examining data/syslog-ng-3.28.1/modules/dbparser/tests/test_patterndb.c
Examining data/syslog-ng-3.28.1/modules/dbparser/tests/test_patterndb.h
Examining data/syslog-ng-3.28.1/modules/dbparser/tests/test_patternize.c
Examining data/syslog-ng-3.28.1/modules/dbparser/tests/test_radix.c
Examining data/syslog-ng-3.28.1/modules/dbparser/tests/test_timer_wheel.c
Examining data/syslog-ng-3.28.1/modules/dbparser/timerwheel.c
Examining data/syslog-ng-3.28.1/modules/dbparser/timerwheel.h
Examining data/syslog-ng-3.28.1/modules/diskq/diskq-options.c
Examining data/syslog-ng-3.28.1/modules/diskq/diskq-options.h
Examining data/syslog-ng-3.28.1/modules/diskq/diskq-parser.c
Examining data/syslog-ng-3.28.1/modules/diskq/diskq-parser.h
Examining data/syslog-ng-3.28.1/modules/diskq/diskq-plugin.c
Examining data/syslog-ng-3.28.1/modules/diskq/diskq.c
Examining data/syslog-ng-3.28.1/modules/diskq/diskq.h
Examining data/syslog-ng-3.28.1/modules/diskq/dqtool.c
Examining data/syslog-ng-3.28.1/modules/diskq/logqueue-disk-non-reliable.c
Examining data/syslog-ng-3.28.1/modules/diskq/logqueue-disk-non-reliable.h
Examining data/syslog-ng-3.28.1/modules/diskq/logqueue-disk-reliable.c
Examining data/syslog-ng-3.28.1/modules/diskq/logqueue-disk-reliable.h
Examining data/syslog-ng-3.28.1/modules/diskq/logqueue-disk.c
Examining data/syslog-ng-3.28.1/modules/diskq/logqueue-disk.h
Examining data/syslog-ng-3.28.1/modules/diskq/qdisk.c
Examining data/syslog-ng-3.28.1/modules/diskq/qdisk.h
Examining data/syslog-ng-3.28.1/modules/diskq/tests/test_diskq.c
Examining data/syslog-ng-3.28.1/modules/diskq/tests/test_diskq_full.c
Examining data/syslog-ng-3.28.1/modules/diskq/tests/test_diskq_tools.h
Examining data/syslog-ng-3.28.1/modules/diskq/tests/test_diskq_truncate.c
Examining data/syslog-ng-3.28.1/modules/diskq/tests/test_reliable_backlog.c
Examining data/syslog-ng-3.28.1/modules/examples/example-plugins.c
Examining data/syslog-ng-3.28.1/modules/examples/inner-destinations/http-test-slots/http-test-slots-parser.c
Examining data/syslog-ng-3.28.1/modules/examples/inner-destinations/http-test-slots/http-test-slots-parser.h
Examining data/syslog-ng-3.28.1/modules/examples/inner-destinations/http-test-slots/http-test-slots.c
Examining data/syslog-ng-3.28.1/modules/examples/inner-destinations/http-test-slots/http-test-slots.h
Examining data/syslog-ng-3.28.1/modules/examples/sources/msg-generator/msg-generator-parser.c
Examining data/syslog-ng-3.28.1/modules/examples/sources/msg-generator/msg-generator-parser.h
Examining data/syslog-ng-3.28.1/modules/examples/sources/msg-generator/msg-generator-source-options.h
Examining data/syslog-ng-3.28.1/modules/examples/sources/msg-generator/msg-generator-source.c
Examining data/syslog-ng-3.28.1/modules/examples/sources/msg-generator/msg-generator-source.h
Examining data/syslog-ng-3.28.1/modules/examples/sources/msg-generator/msg-generator.c
Examining data/syslog-ng-3.28.1/modules/examples/sources/msg-generator/msg-generator.h
Examining data/syslog-ng-3.28.1/modules/examples/sources/threaded-diskq-source/threaded-diskq-source-parser.c
Examining data/syslog-ng-3.28.1/modules/examples/sources/threaded-diskq-source/threaded-diskq-source-parser.h
Examining data/syslog-ng-3.28.1/modules/examples/sources/threaded-diskq-source/threaded-diskq-source.c
Examining data/syslog-ng-3.28.1/modules/examples/sources/threaded-diskq-source/threaded-diskq-source.h
Examining data/syslog-ng-3.28.1/modules/examples/sources/threaded-random-generator/threaded-random-generator-parser.c
Examining data/syslog-ng-3.28.1/modules/examples/sources/threaded-random-generator/threaded-random-generator-parser.h
Examining data/syslog-ng-3.28.1/modules/examples/sources/threaded-random-generator/threaded-random-generator.c
Examining data/syslog-ng-3.28.1/modules/examples/sources/threaded-random-generator/threaded-random-generator.h
Examining data/syslog-ng-3.28.1/modules/geoip2/geoip-parser-parser.c
Examining data/syslog-ng-3.28.1/modules/geoip2/geoip-parser-parser.h
Examining data/syslog-ng-3.28.1/modules/geoip2/geoip-parser.c
Examining data/syslog-ng-3.28.1/modules/geoip2/geoip-parser.h
Examining data/syslog-ng-3.28.1/modules/geoip2/geoip-plugin.c
Examining data/syslog-ng-3.28.1/modules/geoip2/maxminddb-helper.c
Examining data/syslog-ng-3.28.1/modules/geoip2/maxminddb-helper.h
Examining data/syslog-ng-3.28.1/modules/geoip2/tests/test_geoip_parser.c
Examining data/syslog-ng-3.28.1/modules/geoip2/tfgeoip.c
Examining data/syslog-ng-3.28.1/modules/getent/getent-group.c
Examining data/syslog-ng-3.28.1/modules/getent/getent-passwd.c
Examining data/syslog-ng-3.28.1/modules/getent/getent-protocols.c
Examining data/syslog-ng-3.28.1/modules/getent/getent-services.c
Examining data/syslog-ng-3.28.1/modules/getent/tfgetent.c
Examining data/syslog-ng-3.28.1/modules/graphite/graphite-output.c
Examining data/syslog-ng-3.28.1/modules/graphite/graphite-output.h
Examining data/syslog-ng-3.28.1/modules/graphite/graphite-plugin.c
Examining data/syslog-ng-3.28.1/modules/graphite/tests/test_graphite_output.c
Examining data/syslog-ng-3.28.1/modules/hook-commands/hook-commands-parser.c
Examining data/syslog-ng-3.28.1/modules/hook-commands/hook-commands-parser.h
Examining data/syslog-ng-3.28.1/modules/hook-commands/hook-commands-plugin.c
Examining data/syslog-ng-3.28.1/modules/hook-commands/hook-commands.c
Examining data/syslog-ng-3.28.1/modules/hook-commands/hook-commands.h
Examining data/syslog-ng-3.28.1/modules/http/autodetect-ca-location.c
Examining data/syslog-ng-3.28.1/modules/http/autodetect-ca-location.h
Examining data/syslog-ng-3.28.1/modules/http/http-curl-header-list.c
Examining data/syslog-ng-3.28.1/modules/http/http-curl-header-list.h
Examining data/syslog-ng-3.28.1/modules/http/http-loadbalancer.c
Examining data/syslog-ng-3.28.1/modules/http/http-loadbalancer.h
Examining data/syslog-ng-3.28.1/modules/http/http-parser.c
Examining data/syslog-ng-3.28.1/modules/http/http-parser.h
Examining data/syslog-ng-3.28.1/modules/http/http-plugin.c
Examining data/syslog-ng-3.28.1/modules/http/http-signals.h
Examining data/syslog-ng-3.28.1/modules/http/http-worker.c
Examining data/syslog-ng-3.28.1/modules/http/http-worker.h
Examining data/syslog-ng-3.28.1/modules/http/http.c
Examining data/syslog-ng-3.28.1/modules/http/http.h
Examining data/syslog-ng-3.28.1/modules/http/response-handler.c
Examining data/syslog-ng-3.28.1/modules/http/response-handler.h
Examining data/syslog-ng-3.28.1/modules/http/tests/test_http-loadbalancer.c
Examining data/syslog-ng-3.28.1/modules/http/tests/test_http-response_handlers.c
Examining data/syslog-ng-3.28.1/modules/http/tests/test_http-signal_slot.c
Examining data/syslog-ng-3.28.1/modules/http/tests/test_http.c
Examining data/syslog-ng-3.28.1/modules/java/native/java-class-loader.c
Examining data/syslog-ng-3.28.1/modules/java/native/java-class-loader.h
Examining data/syslog-ng-3.28.1/modules/java/native/java-config.c
Examining data/syslog-ng-3.28.1/modules/java/native/java-config.h
Examining data/syslog-ng-3.28.1/modules/java/native/java-destination.c
Examining data/syslog-ng-3.28.1/modules/java/native/java-destination.h
Examining data/syslog-ng-3.28.1/modules/java/native/java-parser.c
Examining data/syslog-ng-3.28.1/modules/java/native/java-parser.h
Examining data/syslog-ng-3.28.1/modules/java/native/java-plugin.c
Examining data/syslog-ng-3.28.1/modules/java/native/java_machine.c
Examining data/syslog-ng-3.28.1/modules/java/native/java_machine.h
Examining data/syslog-ng-3.28.1/modules/java/proxies/internal-message-sender-proxy.c
Examining data/syslog-ng-3.28.1/modules/java/proxies/java-destination-proxy.c
Examining data/syslog-ng-3.28.1/modules/java/proxies/java-destination-proxy.h
Examining data/syslog-ng-3.28.1/modules/java/proxies/java-logmsg-proxy.c
Examining data/syslog-ng-3.28.1/modules/java/proxies/java-logmsg-proxy.h
Examining data/syslog-ng-3.28.1/modules/java/proxies/java-template-proxy.c
Examining data/syslog-ng-3.28.1/modules/java/proxies/java-template-proxy.h
Examining data/syslog-ng-3.28.1/modules/json/dot-notation.c
Examining data/syslog-ng-3.28.1/modules/json/dot-notation.h
Examining data/syslog-ng-3.28.1/modules/json/format-json.c
Examining data/syslog-ng-3.28.1/modules/json/format-json.h
Examining data/syslog-ng-3.28.1/modules/json/json-parser-parser.c
Examining data/syslog-ng-3.28.1/modules/json/json-parser-parser.h
Examining data/syslog-ng-3.28.1/modules/json/json-parser.c
Examining data/syslog-ng-3.28.1/modules/json/json-parser.h
Examining data/syslog-ng-3.28.1/modules/json/json-plugin.c
Examining data/syslog-ng-3.28.1/modules/json/tests/test_dot_notation.c
Examining data/syslog-ng-3.28.1/modules/json/tests/test_format_json.c
Examining data/syslog-ng-3.28.1/modules/json/tests/test_json_parser.c
Examining data/syslog-ng-3.28.1/modules/kafka/kafka-dest-driver.c
Examining data/syslog-ng-3.28.1/modules/kafka/kafka-dest-driver.h
Examining data/syslog-ng-3.28.1/modules/kafka/kafka-dest-worker.c
Examining data/syslog-ng-3.28.1/modules/kafka/kafka-dest-worker.h
Examining data/syslog-ng-3.28.1/modules/kafka/kafka-parser.c
Examining data/syslog-ng-3.28.1/modules/kafka/kafka-parser.h
Examining data/syslog-ng-3.28.1/modules/kafka/kafka-plugin.c
Examining data/syslog-ng-3.28.1/modules/kafka/kafka-props.c
Examining data/syslog-ng-3.28.1/modules/kafka/kafka-props.h
Examining data/syslog-ng-3.28.1/modules/kafka/tests/test_kafka-props.c
Examining data/syslog-ng-3.28.1/modules/kvformat/format-welf.c
Examining data/syslog-ng-3.28.1/modules/kvformat/format-welf.h
Examining data/syslog-ng-3.28.1/modules/kvformat/kv-parser-parser.c
Examining data/syslog-ng-3.28.1/modules/kvformat/kv-parser-parser.h
Examining data/syslog-ng-3.28.1/modules/kvformat/kv-parser.c
Examining data/syslog-ng-3.28.1/modules/kvformat/kv-parser.h
Examining data/syslog-ng-3.28.1/modules/kvformat/kvformat-plugin.c
Examining data/syslog-ng-3.28.1/modules/kvformat/linux-audit-parser.c
Examining data/syslog-ng-3.28.1/modules/kvformat/linux-audit-parser.h
Examining data/syslog-ng-3.28.1/modules/kvformat/tests/test_format_welf.c
Examining data/syslog-ng-3.28.1/modules/kvformat/tests/test_kv_parser.c
Examining data/syslog-ng-3.28.1/modules/kvformat/tests/test_linux_audit_scanner.c
Examining data/syslog-ng-3.28.1/modules/linux-kmsg-format/linux-kmsg-format-plugin.c
Examining data/syslog-ng-3.28.1/modules/linux-kmsg-format/linux-kmsg-format.c
Examining data/syslog-ng-3.28.1/modules/linux-kmsg-format/linux-kmsg-format.h
Examining data/syslog-ng-3.28.1/modules/linux-kmsg-format/tests/test_linux_format_kmsg.c
Examining data/syslog-ng-3.28.1/modules/map-value-pairs/map-value-pairs-parser.c
Examining data/syslog-ng-3.28.1/modules/map-value-pairs/map-value-pairs-parser.h
Examining data/syslog-ng-3.28.1/modules/map-value-pairs/map-value-pairs-plugin.c
Examining data/syslog-ng-3.28.1/modules/map-value-pairs/map-value-pairs.c
Examining data/syslog-ng-3.28.1/modules/map-value-pairs/map-value-pairs.h
Examining data/syslog-ng-3.28.1/modules/native/native-parser.c
Examining data/syslog-ng-3.28.1/modules/native/native-parser.h
Examining data/syslog-ng-3.28.1/modules/native/parser.c
Examining data/syslog-ng-3.28.1/modules/native/parser.h
Examining data/syslog-ng-3.28.1/modules/openbsd/openbsd-driver.c
Examining data/syslog-ng-3.28.1/modules/openbsd/openbsd-driver.h
Examining data/syslog-ng-3.28.1/modules/openbsd/openbsd-parser.c
Examining data/syslog-ng-3.28.1/modules/openbsd/openbsd-parser.h
Examining data/syslog-ng-3.28.1/modules/openbsd/openbsd-plugin.c
Examining data/syslog-ng-3.28.1/modules/pacctformat/pacct-format-plugin.c
Examining data/syslog-ng-3.28.1/modules/pacctformat/pacct-format.c
Examining data/syslog-ng-3.28.1/modules/pacctformat/pacct-format.h
Examining data/syslog-ng-3.28.1/modules/pseudofile/pseudofile-parser.c
Examining data/syslog-ng-3.28.1/modules/pseudofile/pseudofile-parser.h
Examining data/syslog-ng-3.28.1/modules/pseudofile/pseudofile-plugin.c
Examining data/syslog-ng-3.28.1/modules/pseudofile/pseudofile.c
Examining data/syslog-ng-3.28.1/modules/pseudofile/pseudofile.h
Examining data/syslog-ng-3.28.1/modules/python/compat/compat-python-v2.c
Examining data/syslog-ng-3.28.1/modules/python/compat/compat-python-v3.c
Examining data/syslog-ng-3.28.1/modules/python/compat/compat-python.c
Examining data/syslog-ng-3.28.1/modules/python/compat/compat-python.h
Examining data/syslog-ng-3.28.1/modules/python/python-config.c
Examining data/syslog-ng-3.28.1/modules/python/python-config.h
Examining data/syslog-ng-3.28.1/modules/python/python-debugger.c
Examining data/syslog-ng-3.28.1/modules/python/python-debugger.h
Examining data/syslog-ng-3.28.1/modules/python/python-dest.c
Examining data/syslog-ng-3.28.1/modules/python/python-dest.h
Examining data/syslog-ng-3.28.1/modules/python/python-fetcher.c
Examining data/syslog-ng-3.28.1/modules/python/python-fetcher.h
Examining data/syslog-ng-3.28.1/modules/python/python-global-code-loader.c
Examining data/syslog-ng-3.28.1/modules/python/python-global-code-loader.h
Examining data/syslog-ng-3.28.1/modules/python/python-helpers.c
Examining data/syslog-ng-3.28.1/modules/python/python-helpers.h
Examining data/syslog-ng-3.28.1/modules/python/python-http-header.c
Examining data/syslog-ng-3.28.1/modules/python/python-http-header.h
Examining data/syslog-ng-3.28.1/modules/python/python-integerpointer.c
Examining data/syslog-ng-3.28.1/modules/python/python-integerpointer.h
Examining data/syslog-ng-3.28.1/modules/python/python-logger.c
Examining data/syslog-ng-3.28.1/modules/python/python-logger.h
Examining data/syslog-ng-3.28.1/modules/python/python-logmsg.c
Examining data/syslog-ng-3.28.1/modules/python/python-logmsg.h
Examining data/syslog-ng-3.28.1/modules/python/python-logparser.c
Examining data/syslog-ng-3.28.1/modules/python/python-logparser.h
Examining data/syslog-ng-3.28.1/modules/python/python-logtemplate-options.c
Examining data/syslog-ng-3.28.1/modules/python/python-logtemplate-options.h
Examining data/syslog-ng-3.28.1/modules/python/python-logtemplate.c
Examining data/syslog-ng-3.28.1/modules/python/python-logtemplate.h
Examining data/syslog-ng-3.28.1/modules/python/python-main.c
Examining data/syslog-ng-3.28.1/modules/python/python-main.h
Examining data/syslog-ng-3.28.1/modules/python/python-module.h
Examining data/syslog-ng-3.28.1/modules/python/python-parser.c
Examining data/syslog-ng-3.28.1/modules/python/python-parser.h
Examining data/syslog-ng-3.28.1/modules/python/python-persist.c
Examining data/syslog-ng-3.28.1/modules/python/python-persist.h
Examining data/syslog-ng-3.28.1/modules/python/python-plugin.c
Examining data/syslog-ng-3.28.1/modules/python/python-source.c
Examining data/syslog-ng-3.28.1/modules/python/python-source.h
Examining data/syslog-ng-3.28.1/modules/python/python-tf.c
Examining data/syslog-ng-3.28.1/modules/python/python-tf.h
Examining data/syslog-ng-3.28.1/modules/python/python-value-pairs.c
Examining data/syslog-ng-3.28.1/modules/python/python-value-pairs.h
Examining data/syslog-ng-3.28.1/modules/python/tests/test_python_logmsg.c
Examining data/syslog-ng-3.28.1/modules/python/tests/test_python_persist.c
Examining data/syslog-ng-3.28.1/modules/python/tests/test_python_persist_name.c
Examining data/syslog-ng-3.28.1/modules/python/tests/test_python_template.c
Examining data/syslog-ng-3.28.1/modules/redis/redis-parser.c
Examining data/syslog-ng-3.28.1/modules/redis/redis-parser.h
Examining data/syslog-ng-3.28.1/modules/redis/redis.c
Examining data/syslog-ng-3.28.1/modules/redis/redis.h
Examining data/syslog-ng-3.28.1/modules/riemann/riemann-parser.c
Examining data/syslog-ng-3.28.1/modules/riemann/riemann-parser.h
Examining data/syslog-ng-3.28.1/modules/riemann/riemann-plugin.c
Examining data/syslog-ng-3.28.1/modules/riemann/riemann-worker.c
Examining data/syslog-ng-3.28.1/modules/riemann/riemann-worker.h
Examining data/syslog-ng-3.28.1/modules/riemann/riemann.c
Examining data/syslog-ng-3.28.1/modules/riemann/riemann.h
Examining data/syslog-ng-3.28.1/modules/secure-logging/secure-logging.c
Examining data/syslog-ng-3.28.1/modules/secure-logging/slog.c
Examining data/syslog-ng-3.28.1/modules/secure-logging/slog.h
Examining data/syslog-ng-3.28.1/modules/secure-logging/slogencrypt/slogencrypt.c
Examining data/syslog-ng-3.28.1/modules/secure-logging/slogkey/slogkey.c
Examining data/syslog-ng-3.28.1/modules/secure-logging/slogverify/slogverify.c
Examining data/syslog-ng-3.28.1/modules/secure-logging/tests/test_secure_logging.c
Examining data/syslog-ng-3.28.1/modules/stardate/stardate-plugin.c
Examining data/syslog-ng-3.28.1/modules/stardate/stardate.c
Examining data/syslog-ng-3.28.1/modules/stardate/tests/test_stardate.c
Examining data/syslog-ng-3.28.1/modules/syslogformat/syslog-format-plugin.c
Examining data/syslog-ng-3.28.1/modules/syslogformat/syslog-format.c
Examining data/syslog-ng-3.28.1/modules/syslogformat/syslog-format.h
Examining data/syslog-ng-3.28.1/modules/syslogformat/syslog-parser-parser.c
Examining data/syslog-ng-3.28.1/modules/syslogformat/syslog-parser-parser.h
Examining data/syslog-ng-3.28.1/modules/syslogformat/syslog-parser.c
Examining data/syslog-ng-3.28.1/modules/syslogformat/syslog-parser.h
Examining data/syslog-ng-3.28.1/modules/system-source/system-source.c
Examining data/syslog-ng-3.28.1/modules/systemd-journal/journal-reader.c
Examining data/syslog-ng-3.28.1/modules/systemd-journal/journal-reader.h
Examining data/syslog-ng-3.28.1/modules/systemd-journal/journald-helper.c
Examining data/syslog-ng-3.28.1/modules/systemd-journal/journald-subsystem.c
Examining data/syslog-ng-3.28.1/modules/systemd-journal/journald-subsystem.h
Examining data/syslog-ng-3.28.1/modules/systemd-journal/systemd-journal-parser.c
Examining data/syslog-ng-3.28.1/modules/systemd-journal/systemd-journal-parser.h
Examining data/syslog-ng-3.28.1/modules/systemd-journal/systemd-journal-plugin.c
Examining data/syslog-ng-3.28.1/modules/systemd-journal/systemd-journal.c
Examining data/syslog-ng-3.28.1/modules/systemd-journal/systemd-journal.h
Examining data/syslog-ng-3.28.1/modules/systemd-journal/tests/journald-mock.c
Examining data/syslog-ng-3.28.1/modules/systemd-journal/tests/journald-mock.h
Examining data/syslog-ng-3.28.1/modules/systemd-journal/tests/test-source.c
Examining data/syslog-ng-3.28.1/modules/systemd-journal/tests/test-source.h
Examining data/syslog-ng-3.28.1/modules/systemd-journal/tests/test_systemd_journal.c
Examining data/syslog-ng-3.28.1/modules/tagsparser/tags-parser-parser.c
Examining data/syslog-ng-3.28.1/modules/tagsparser/tags-parser-parser.h
Examining data/syslog-ng-3.28.1/modules/tagsparser/tags-parser-plugin.c
Examining data/syslog-ng-3.28.1/modules/tagsparser/tags-parser.c
Examining data/syslog-ng-3.28.1/modules/tagsparser/tags-parser.h
Examining data/syslog-ng-3.28.1/modules/tagsparser/tests/test_tagsparser.c
Examining data/syslog-ng-3.28.1/modules/timestamp/date-parser.c
Examining data/syslog-ng-3.28.1/modules/timestamp/date-parser.h
Examining data/syslog-ng-3.28.1/modules/timestamp/rewrite-fix-timezone.c
Examining data/syslog-ng-3.28.1/modules/timestamp/rewrite-fix-timezone.h
Examining data/syslog-ng-3.28.1/modules/timestamp/rewrite-guess-timezone.c
Examining data/syslog-ng-3.28.1/modules/timestamp/rewrite-guess-timezone.h
Examining data/syslog-ng-3.28.1/modules/timestamp/rewrite-set-timezone.c
Examining data/syslog-ng-3.28.1/modules/timestamp/rewrite-set-timezone.h
Examining data/syslog-ng-3.28.1/modules/timestamp/tests/test_date.c
Examining data/syslog-ng-3.28.1/modules/timestamp/timestamp-parser.c
Examining data/syslog-ng-3.28.1/modules/timestamp/timestamp-parser.h
Examining data/syslog-ng-3.28.1/modules/timestamp/timestamp-plugin.c
Examining data/syslog-ng-3.28.1/modules/xml/tests/test_xml_parser.c
Examining data/syslog-ng-3.28.1/modules/xml/xml-parser.c
Examining data/syslog-ng-3.28.1/modules/xml/xml-parser.h
Examining data/syslog-ng-3.28.1/modules/xml/xml-plugin.c
Examining data/syslog-ng-3.28.1/modules/xml/xml.c
Examining data/syslog-ng-3.28.1/modules/xml/xml.h
Examining data/syslog-ng-3.28.1/persist-tool/add.c
Examining data/syslog-ng-3.28.1/persist-tool/add.h
Examining data/syslog-ng-3.28.1/persist-tool/dump.c
Examining data/syslog-ng-3.28.1/persist-tool/dump.h
Examining data/syslog-ng-3.28.1/persist-tool/generate.c
Examining data/syslog-ng-3.28.1/persist-tool/generate.h
Examining data/syslog-ng-3.28.1/persist-tool/persist-tool.c
Examining data/syslog-ng-3.28.1/persist-tool/persist-tool.h
Examining data/syslog-ng-3.28.1/syslog-ng-ctl/commands/commands.c
Examining data/syslog-ng-3.28.1/syslog-ng-ctl/commands/commands.h
Examining data/syslog-ng-3.28.1/syslog-ng-ctl/commands/config.c
Examining data/syslog-ng-3.28.1/syslog-ng-ctl/commands/config.h
Examining data/syslog-ng-3.28.1/syslog-ng-ctl/commands/credentials.c
Examining data/syslog-ng-3.28.1/syslog-ng-ctl/commands/credentials.h
Examining data/syslog-ng-3.28.1/syslog-ng-ctl/commands/ctl-stats.c
Examining data/syslog-ng-3.28.1/syslog-ng-ctl/commands/ctl-stats.h
Examining data/syslog-ng-3.28.1/syslog-ng-ctl/commands/license.c
Examining data/syslog-ng-3.28.1/syslog-ng-ctl/commands/license.h
Examining data/syslog-ng-3.28.1/syslog-ng-ctl/commands/query.c
Examining data/syslog-ng-3.28.1/syslog-ng-ctl/commands/query.h
Examining data/syslog-ng-3.28.1/syslog-ng-ctl/commands/verbose.c
Examining data/syslog-ng-3.28.1/syslog-ng-ctl/commands/verbose.h
Examining data/syslog-ng-3.28.1/syslog-ng-ctl/control-client-unix.c
Examining data/syslog-ng-3.28.1/syslog-ng-ctl/control-client.c
Examining data/syslog-ng-3.28.1/syslog-ng-ctl/control-client.h
Examining data/syslog-ng-3.28.1/syslog-ng-ctl/syslog-ng-ctl.c
Examining data/syslog-ng-3.28.1/syslog-ng/main.c
Examining data/syslog-ng-3.28.1/syslog-ng/wrapper.c
Examining data/syslog-ng-3.28.1/tests/loggen/file_reader.c
Examining data/syslog-ng-3.28.1/tests/loggen/file_reader.h
Examining data/syslog-ng-3.28.1/tests/loggen/loggen.c
Examining data/syslog-ng-3.28.1/tests/loggen/loggen_helper.c
Examining data/syslog-ng-3.28.1/tests/loggen/loggen_helper.h
Examining data/syslog-ng-3.28.1/tests/loggen/loggen_plugin.c
Examining data/syslog-ng-3.28.1/tests/loggen/loggen_plugin.h
Examining data/syslog-ng-3.28.1/tests/loggen/logline_generator.c
Examining data/syslog-ng-3.28.1/tests/loggen/logline_generator.h
Examining data/syslog-ng-3.28.1/tests/loggen/socket_plugin/socket_plugin.c
Examining data/syslog-ng-3.28.1/tests/loggen/ssl_plugin/ssl_plugin.c
Examining data/syslog-ng-3.28.1/tests/loggen/tests/test_loggen_filereader.c
Examining data/syslog-ng-3.28.1/tests/unit/test_clone_logmsg.c
Examining data/syslog-ng-3.28.1/tests/unit/test_dnscache.c
Examining data/syslog-ng-3.28.1/tests/unit/test_findcrlf.c
Examining data/syslog-ng-3.28.1/tests/unit/test_hostid.c
Examining data/syslog-ng-3.28.1/tests/unit/test_logwriter.c
Examining data/syslog-ng-3.28.1/tests/unit/test_matcher.c
Examining data/syslog-ng-3.28.1/tests/unit/test_msgparse.c
Examining data/syslog-ng-3.28.1/tests/unit/test_pathutils.c
Examining data/syslog-ng-3.28.1/tests/unit/test_ringbuffer.c
Examining data/syslog-ng-3.28.1/tests/unit/test_serialize.c
Examining data/syslog-ng-3.28.1/tests/unit/test_thread_wakeup.c
Examining data/syslog-ng-3.28.1/tests/unit/test_zone.c

FINAL RESULTS:

data/syslog-ng-3.28.1/lib/file-perms.c:187:30:  [5] (race) chown:
  This accepts filename arguments; if an attacker can move those files, a
  race condition results. (CWE-362). Use fchown( ) instead.
  if (self->file_uid >= 0 && chown(path, (uid_t) self->file_uid, -1) < 0)
data/syslog-ng-3.28.1/lib/file-perms.c:189:30:  [5] (race) chown:
  This accepts filename arguments; if an attacker can move those files, a
  race condition results. (CWE-362). Use fchown( ) instead.
  if (self->file_gid >= 0 && chown(path, -1, (gid_t) self->file_gid) < 0)
data/syslog-ng-3.28.1/lib/file-perms.c:191:31:  [5] (race) chmod:
  This accepts filename arguments; if an attacker can move those files, a
  race condition results. (CWE-362). Use fchmod( ) instead.
  if (self->file_perm >= 0 && chmod(path, (mode_t) self->file_perm) < 0)
data/syslog-ng-3.28.1/lib/file-perms.c:203:29:  [5] (race) chown:
  This accepts filename arguments; if an attacker can move those files, a
  race condition results. (CWE-362). Use fchown( ) instead.
  if (self->dir_uid >= 0 && chown(path, (uid_t) self->dir_uid, -1) < 0)
data/syslog-ng-3.28.1/lib/file-perms.c:205:29:  [5] (race) chown:
  This accepts filename arguments; if an attacker can move those files, a
  race condition results. (CWE-362). Use fchown( ) instead.
  if (self->dir_gid >= 0 && chown(path, -1, (gid_t) self->dir_gid) < 0)
data/syslog-ng-3.28.1/lib/file-perms.c:207:30:  [5] (race) chmod:
  This accepts filename arguments; if an attacker can move those files, a
  race condition results. (CWE-362). Use fchmod( ) instead.
  if (self->dir_perm >= 0 && chmod(path, (mode_t) self->dir_perm) < 0)
data/syslog-ng-3.28.1/modules/afsocket/transport-unix-socket.c:145:17:  [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.
  content_len = readlink(filename, content, sizeof(content));
data/syslog-ng-3.28.1/lib/eventlog/src/evtlog.h:184:9:  [4] (format) syslog:
  If syslog's format strings can be influenced by an attacker, they can be
  exploited (CWE-134). Use a constant format string for syslog.
#define syslog evt_syslog
data/syslog-ng-3.28.1/lib/eventlog/src/evtsyslog.c:69:3:  [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(msgbuf, sizeof(msgbuf), format, ap);
data/syslog-ng-3.28.1/lib/eventlog/src/evtsyslog.c:93:31:  [4] (format) syslog:
  If syslog's format strings can be influenced by an attacker, they can be
  exploited (CWE-134). Use a constant format string for syslog.
      syslog_opts.es_syslog = syslog;
data/syslog-ng-3.28.1/lib/eventlog/src/evttags.c:51: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.
#ifndef snprintf
data/syslog-ng-3.28.1/lib/eventlog/src/evttags.c:52: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.
#define snprintf _snprintf
data/syslog-ng-3.28.1/lib/eventlog/src/evttags.c:52: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.
#define snprintf _snprintf
data/syslog-ng-3.28.1/lib/eventlog/src/evttags.c:117:3:  [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(buf, sizeof(buf), format, ap);
data/syslog-ng-3.28.1/lib/filter/filter-netmask6.c:150: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(address, cidr);
data/syslog-ng-3.28.1/lib/gprocess.c:1017:30:  [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 ((process_opts.core) && access(".", W_OK) < 0)
data/syslog-ng-3.28.1/lib/gprocess.c:1256:20:  [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(G_PROCESS_FAILURE_NOTIFICATION, R_OK | X_OK))
data/syslog-ng-3.28.1/lib/gprocess.c:1288:27:  [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(G_PROCESS_FAILURE_NOTIFICATION, G_PROCESS_FAILURE_NOTIFICATION,
data/syslog-ng-3.28.1/lib/logmsg/logmsg-serialize.c:411: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(sd_element_root, logmsg_sd_prefix);
data/syslog-ng-3.28.1/lib/memtrace.c:191: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.
  len = vsnprintf(buf, sizeof(buf), format, l);
data/syslog-ng-3.28.1/lib/reloc.c:74: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, fmt, __VA_ARGS__);    \
data/syslog-ng-3.28.1/lib/secret-storage/tests/test_nondumpable_allocator.c:34: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(buffer, test_string);
data/syslog-ng-3.28.1/lib/secret-storage/tests/test_nondumpable_allocator.c:68: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(buffer1, test_string1);
data/syslog-ng-3.28.1/lib/secret-storage/tests/test_nondumpable_allocator.c:72: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(buffer2, test_string2);
data/syslog-ng-3.28.1/lib/tests/test_persist_state.c:315:13:  [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.
  cr_assert(access("test_persist_state_temp_file_cleanup_on_cancel.persist", F_OK) != 0,
data/syslog-ng-3.28.1/lib/tests/test_persist_state.c:317:13:  [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.
  cr_assert(access("test_persist_state_temp_file_cleanup_on_cancel.persist-", F_OK) != 0,
data/syslog-ng-3.28.1/lib/tests/test_persist_state.c:328:13:  [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.
  cr_assert(access("test_persist_state_temp_file_cleanup_on_commit_destroy.persist", F_OK) != 0,
data/syslog-ng-3.28.1/lib/tests/test_persist_state.c:330:13:  [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.
  cr_assert(access("test_persist_state_temp_file_cleanup_on_commit_destroy.persist-", F_OK) != 0,
data/syslog-ng-3.28.1/lib/timeutils/zonedb.c:67:21:  [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.
  gboolean result = access(filename, R_OK) == 0;
data/syslog-ng-3.28.1/lib/tlscontext.c:393: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(fname, R_OK) < 0)
data/syslog-ng-3.28.1/libtest/stopwatch.c:57:3:  [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(message_template, args);
data/syslog-ng-3.28.1/libtest/testutils.c:49:7:  [4] (format) vfprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
      vfprintf(stderr, custom_template, custom_args);
data/syslog-ng-3.28.1/libtest/testutils.c:54: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, assertion_failure_template, assertion_failure_args);
data/syslog-ng-3.28.1/modules/afprog/afprog.c:85:3:  [4] (shell) execle:
  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.
  execle("/bin/sh", "/bin/sh", "-c", cmdline, NULL, NULL);
data/syslog-ng-3.28.1/modules/afprog/afprog.c:91:3:  [4] (shell) execl:
  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.
  execl("/bin/sh", "/bin/sh", "-c", cmdline, NULL);
data/syslog-ng-3.28.1/modules/afsnmp/afsnmpdest.c:791:7:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
      sprintf(err_msg, "wrong trap object type: %s", self->trap_type);
data/syslog-ng-3.28.1/modules/confgen/confgen-plugin.c:95: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.
  out = popen(self->exec, "r");
data/syslog-ng-3.28.1/modules/dbparser/pdbtool/pdbtool.c:744: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(argv[arg_pos], R_OK) == -1)
data/syslog-ng-3.28.1/modules/diskq/dqtool.c:226: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, R_OK|W_OK) == F_OK;
data/syslog-ng-3.28.1/modules/diskq/dqtool.c:670:3:  [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(SYSLOG_NG_VERSION "\n");
data/syslog-ng-3.28.1/modules/hook-commands/hook-commands.c:82:8:  [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.
  rc = system(cmd);
data/syslog-ng-3.28.1/modules/python/python-persist.c:358: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(entry->data, value);
data/syslog-ng-3.28.1/modules/secure-logging/slog.c:1019: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.
                  snprintf(key, CTR_LEN_SIMPLE+1, "%"G_GUINT64_FORMAT, logEntryOnDisk);
data/syslog-ng-3.28.1/modules/secure-logging/slog.c:1083:23:  [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(key, CTR_LEN_SIMPLE+1, "%"G_GUINT64_FORMAT, logEntryOnDisk);
data/syslog-ng-3.28.1/modules/secure-logging/slog.c:1159: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.
          snprintf(key, CTR_LEN_SIMPLE+1, "%"G_GUINT64_FORMAT, i);
data/syslog-ng-3.28.1/modules/secure-logging/slogencrypt/slogencrypt.c:136: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.
      sscanf(argv[index], "%"G_GUINT64_FORMAT, &bufSize);
data/syslog-ng-3.28.1/modules/syslogformat/syslog-format.c:598: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(sd_value_name, logmsg_sd_prefix);
data/syslog-ng-3.28.1/modules/systemd-journal/journal-reader.c:449: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(state->cursor, bookmark_data->cursor);
data/syslog-ng-3.28.1/syslog-ng/main.c:139:3:  [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(SYSLOG_NG_PACKAGE_NAME " " SYSLOG_NG_COMBINED_VERSION "\n"
data/syslog-ng-3.28.1/syslog-ng/wrapper.c:50:3:  [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(PATH_SYSLOGNG, argv);
data/syslog-ng-3.28.1/tests/loggen/loggen_helper.c:184: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(saun.sun_path, path);
data/syslog-ng-3.28.1/tests/loggen/loggen_helper.h:59: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, format, ##__VA_ARGS__);\
data/syslog-ng-3.28.1/tests/loggen/loggen_helper.h:69: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(stdout, format, ##__VA_ARGS__);\
data/syslog-ng-3.28.1/lib/crypto.c:67: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("RANDFILE"))
data/syslog-ng-3.28.1/lib/gprocess.c:170: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 (!(e = getenv("LISTEN_PID")))
data/syslog-ng-3.28.1/lib/gprocess.c:183: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 (!(e = getenv("LISTEN_FDS")))
data/syslog-ng-3.28.1/lib/gprocess.c:856: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(process_opts.chroot_dir) < 0)
data/syslog-ng-3.28.1/lib/gprocess.h:68:40:  [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.
void g_process_set_chroot(const gchar *chroot);
data/syslog-ng-3.28.1/lib/logmsg/tests/test_nvtable.c:838:3:  [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(time(NULL));
data/syslog-ng-3.28.1/lib/reloc.c:170: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.
  v = getenv("SYSLOGNG_PREFIX");
data/syslog-ng-3.28.1/modules/affile/directory-monitor.c:108: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.
  if (!realpath(w_name, res))
data/syslog-ng-3.28.1/modules/basicfuncs/misc-funcs.c:30: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 *val = getenv(argv[i]->str);
data/syslog-ng-3.28.1/modules/dbparser/patternize.c:120:11:  [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(time(NULL));
data/syslog-ng-3.28.1/modules/dbparser/tests/test_timer_wheel.c:78:3:  [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/syslog-ng-3.28.1/modules/examples/sources/threaded-random-generator/threaded-random-generator.c:45:32:  [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.
_generate_random_bytes(guint8 *random, guint size, guint flags)
data/syslog-ng-3.28.1/modules/python/python-plugin.c:89:38:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any 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 gchar *current_python_path = getenv("PYTHONPATH");
data/syslog-ng-3.28.1/modules/secure-logging/tests/test_secure_logging.c:414:3:  [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(time(NULL));
data/syslog-ng-3.28.1/syslog-ng/wrapper.c:45:21:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
    cur_ldlibpath = getenv(ldlibpath_name);
data/syslog-ng-3.28.1/lib/cfg-lexer.c:92: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(&context->desc, desc, strlen(desc) + 1);
data/syslog-ng-3.28.1/lib/cfg-lexer.c:342:22:  [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).
      include_file = fopen(filename, "r");
data/syslog-ng-3.28.1/lib/cfg-lexer.c:503: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).
        if (open)
data/syslog-ng-3.28.1/lib/cfg-lexer.c:675: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(lexer_buffer, buffer, length);
data/syslog-ng-3.28.1/lib/cfg-lexer.c:1138:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  memcpy(level->buffer.content, buffer, length);
data/syslog-ng-3.28.1/lib/cfg-parser.c:277: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(filename, "r");
data/syslog-ng-3.28.1/lib/cfg-parser.c:466:40:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
  if (strcasecmp(yesno, "yes") == 0 || atoi(yesno) > 0)
data/syslog-ng-3.28.1/lib/cfg.c:227: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).
  return atoi(cfg_args_get(self->globals, "autoload-compiled-modules") ? : "1");
data/syslog-ng-3.28.1/lib/cfg.c:441:12:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
  if (s && atoi(s))
data/syslog-ng-3.28.1/lib/cfg.c:596:17:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
  output_file = fopen(output_filename, "w+");
data/syslog-ng-3.28.1/lib/cfg.c:641:19:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
  if ((cfg_file = fopen(fname, "r")) != NULL)
data/syslog-ng-3.28.1/lib/compat/getutent.c:47: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).
      utent_fd = open(_PATH_UTMP, O_RDONLY | O_NOCTTY);
data/syslog-ng-3.28.1/lib/compat/tests/test_strtok_r.c:79: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(result + result_idx, token, token_length);
data/syslog-ng-3.28.1/lib/crypto.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 rnd_file[256];
data/syslog-ng-3.28.1/lib/crypto.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 rnd_file[256];
data/syslog-ng-3.28.1/lib/debugger/debugger.c:101: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(expr_node->filename, "r");
data/syslog-ng-3.28.1/lib/dnscache.c:233: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).
      hosts = fopen(self->options->hosts, "r");
data/syslog-ng-3.28.1/lib/eventlog/src/evt_internals.h: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 ec_formatter[32];
data/syslog-ng-3.28.1/lib/eventlog/src/evt_internals.h: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 ec_outmethod[32];
data/syslog-ng-3.28.1/lib/eventlog/src/evtctx.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 buf[128];
data/syslog-ng-3.28.1/lib/eventlog/src/evtctx.c:114: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(ctx->ec_formatter, "plain");
data/syslog-ng-3.28.1/lib/eventlog/src/evtctx.c:115: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(ctx->ec_outmethod, "local");
data/syslog-ng-3.28.1/lib/eventlog/src/evtstr.c:76: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(es->es_buf + es->es_length, str, len);
data/syslog-ng-3.28.1/lib/eventlog/src/evtstr.c:96:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char escaped_buffer[128];
data/syslog-ng-3.28.1/lib/eventlog/src/evtstr.c:108: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(escaped_buffer + escaped_buffer_length, "\\x%02x", (unsigned char) unescaped[i]);
data/syslog-ng-3.28.1/lib/eventlog/src/evtsyslog.c:67:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char msgbuf[1024];
data/syslog-ng-3.28.1/lib/eventlog/src/evttags.c:86:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-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]; /* a 64 bit int fits into 20 characters */
data/syslog-ng-3.28.1/lib/eventlog/src/evttags.c:95:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-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]; /* a 64 bit int fits into 20 characters */
data/syslog-ng-3.28.1/lib/eventlog/src/evttags.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 buf[128];
data/syslog-ng-3.28.1/lib/eventlog/src/evttags.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[1024];
data/syslog-ng-3.28.1/lib/eventlog/src/evttags.c:125:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-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/syslog-ng-3.28.1/lib/eventlog/src/evttags.c:138:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-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/syslog-ng-3.28.1/lib/filter/filter-cmp.c:50:16:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
      gint l = atoi(left);
data/syslog-ng-3.28.1/lib/filter/filter-cmp.c:51:16:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
      gint r = atoi(right);
data/syslog-ng-3.28.1/lib/filter/filter-in-list.c:75:12:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
  stream = fopen(list_file, "r");
data/syslog-ng-3.28.1/lib/filter/filter-netmask6.c:77: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(&ipv6_parts, address, sizeof(*address));
data/syslog-ng-3.28.1/lib/filter/filter-netmask6.c:89: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(network->s6_addr, &ipv6_parts, length);
data/syslog-ng-3.28.1/lib/filter/filter-netmask6.c:155:22:  [2] (integer) atol:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
      self->prefix = atol(slash + 1);
data/syslog-ng-3.28.1/lib/gprocess.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 buf[24] = { '\0' };
data/syslog-ng-3.28.1/lib/gprocess.c:589: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(process_opts.argv_orig, process_opts.argv_start, process_opts.argv_env_len);
data/syslog-ng-3.28.1/lib/gprocess.c:710:20:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
      devnull_fd = open("/dev/null", O_RDONLY);
data/syslog-ng-3.28.1/lib/gprocess.c:716:20:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
      devnull_fd = open("/dev/null", O_WRONLY);
data/syslog-ng-3.28.1/lib/gprocess.c:810: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).
  fd = fopen(pidfile, "w");
data/syslog-ng-3.28.1/lib/gprocess.c:1096:21:  [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).
          ret_num = atoi(ret_buf);
data/syslog-ng-3.28.1/lib/gprocess.c:1339: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(process_opts.argv_start, process_opts.argv_orig, process_opts.argv_env_len);
data/syslog-ng-3.28.1/lib/gsockaddr.c:131: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(buffer, &addr, len);
data/syslog-ng-3.28.1/lib/gsockaddr.c:144: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(buffer, addr, len);
data/syslog-ng-3.28.1/lib/gsockaddr.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[32];
data/syslog-ng-3.28.1/lib/gsockaddr.c:369:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-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/syslog-ng-3.28.1/lib/gsocket.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 sabuf[1024];
data/syslog-ng-3.28.1/lib/host-id.c:37: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.
    unsigned char _raw[sizeof(guint32)];
data/syslog-ng-3.28.1/lib/logmsg/logmsg-serialize-fixup.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(state->msg->sdata, state->updated_sdata_handles, sizeof(state->msg->sdata[0]) * state->msg->num_sdata);
data/syslog-ng-3.28.1/lib/logmsg/logmsg-serialize.c:55: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(&timestamps, msg->timestamps, LM_TS_MAX*sizeof(UnixTime));
data/syslog-ng-3.28.1/lib/logmsg/logmsg.c:285: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(sdata, self->sdata, self->num_sdata * sizeof(self->sdata[0]));
data/syslog-ng-3.28.1/lib/logmsg/logmsg.c:1275: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(self, msg, sizeof(*msg));
data/syslog-ng-3.28.1/lib/logmsg/nvhandle-descriptors.c:59:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  memcpy(new_data, self->data, self->len * sizeof(NVHandleDesc));
data/syslog-ng-3.28.1/lib/logmsg/nvtable-serialize-legacy.c:153: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_entry->vdirect.data, &old_entry->vdirect.data,
data/syslog-ng-3.28.1/lib/logmsg/nvtable-serialize-legacy.c:162: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_entry->vindirect.name, &old_entry->vindirect.name,
data/syslog-ng-3.28.1/lib/logmsg/nvtable-serialize.c:227: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((void *)&meta_data->magic, (const void *) NV_TABLE_MAGIC_V2, 4);
data/syslog-ng-3.28.1/lib/logmsg/nvtable.c:736: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, self, sizeof(NVTable) + self->num_static_entries * sizeof(self->static_entries[0]) + self->index_size *
data/syslog-ng-3.28.1/lib/logmsg/nvtable.c:789: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, self, sizeof(NVTable) + self->num_static_entries * sizeof(self->static_entries[0]) + self->index_size *
data/syslog-ng-3.28.1/lib/logmsg/nvtable.c:795: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(NV_TABLE_ADDR(new, new->size - new->used),
data/syslog-ng-3.28.1/lib/logmsg/tests/test_log_message.c:513: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(tag_name, "%dtagname", i);
data/syslog-ng-3.28.1/lib/logproto/logproto-buffered-server.c:106:23:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
                      memcpy(state->raw_buffer_leftover, raw_buffer, avail_in);
data/syslog-ng-3.28.1/lib/logproto/logproto-buffered-server.c:410: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(self->buffer, buffer, buffer_len);
data/syslog-ng-3.28.1/lib/logproto/logproto-buffered-server.c:676: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(raw_buffer, state->raw_buffer_leftover, state->raw_buffer_leftover_size);
data/syslog-ng-3.28.1/lib/memtrace.c:176: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.
      len = sprintf(buf, "%p,", backtrace[i]);
data/syslog-ng-3.28.1/lib/memtrace.c:193:22:  [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).
  mem_trace_log_fd = open(mem_trace_filename, O_CREAT | O_WRONLY | O_APPEND, 0600);
data/syslog-ng-3.28.1/lib/memtrace.c:227: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 backtrace_buf[MEMTRACE_BACKTRACE_BUF_LEN];
data/syslog-ng-3.28.1/lib/persist-state.c:176: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(&self->header->magic, "SLP4", 4);
data/syslog-ng-3.28.1/lib/persist-state.c:187: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).
  self->fd = open(self->temp_filename, O_RDWR | O_CREAT | O_TRUNC, 0600);
data/syslog-ng-3.28.1/lib/persist-state.c:346: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_to, entry_from, size);
data/syslog-ng-3.28.1/lib/persist-state.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(new_block, &str_len, sizeof(str_len));
data/syslog-ng-3.28.1/lib/persist-state.c:497: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_block + sizeof(str_len), value, len);
data/syslog-ng-3.28.1/lib/persist-state.c:524: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(self->committed_filename, O_RDONLY);
data/syslog-ng-3.28.1/lib/persist-state.c:594:23:  [2] (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_block, value_header + 1, GUINT32_FROM_BE(value_header->size));
data/syslog-ng-3.28.1/lib/persist-state.c:657: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).
  persist_file = fopen(self->committed_filename, "r");
data/syslog-ng-3.28.1/lib/persist-state.c:901: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(block, buf->str, buf->len);
data/syslog-ng-3.28.1/lib/rewrite/tests/test_rewrite.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 raw_config[1024];
data/syslog-ng-3.28.1/lib/rewrite/tests/test_rewrite.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 raw_config[1024];
data/syslog-ng-3.28.1/lib/secret-storage/tests/test_secret_storage.c:273: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(key_fmt, "key%03d", i);
data/syslog-ng-3.28.1/lib/serialize.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(buf, &self->string->str[self->pos], buflen);
data/syslog-ng-3.28.1/lib/serialize.c:192: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, &self->buff[self->pos], buflen);
data/syslog-ng-3.28.1/lib/serialize.c:210: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(self->buff + self->pos, buf, buflen);
data/syslog-ng-3.28.1/lib/signal-handler.c:52: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(&external_sigactions[signum], external_sigaction, sizeof(struct sigaction));
data/syslog-ng-3.28.1/lib/signal-handler.c:135: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(oldact, _get_external_sigaction(signum), sizeof(struct sigaction));
data/syslog-ng-3.28.1/lib/str-utils.h:72:9:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        memcpy(__buf, value, value_len); \
data/syslog-ng-3.28.1/lib/template/repr.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(argv_copy, argv, (argc + 1) * sizeof(argv[0]));
data/syslog-ng-3.28.1/lib/tests/test_cfg_lexer_subst.c:89: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(input_dup, input, input_len);
data/syslog-ng-3.28.1/lib/tests/test_pathutils.c:35: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("test.file", O_CREAT | O_RDWR, 0644);
data/syslog-ng-3.28.1/lib/tests/test_pathutils.c:51: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("test2.file", O_CREAT | O_RDWR, 0644);
data/syslog-ng-3.28.1/lib/tests/test_persist_state.c:82: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(persist_file, O_CREAT | O_RDWR, 0777);
data/syslog-ng-3.28.1/lib/tests/test_persist_state.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(persist_file, O_CREAT | O_RDWR, 0777);
data/syslog-ng-3.28.1/lib/timeutils/wallclocktime.c:173: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 *abday[7];
data/syslog-ng-3.28.1/lib/timeutils/wallclocktime.c:174: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 *day[7];
data/syslog-ng-3.28.1/lib/timeutils/wallclocktime.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 *abmon[12];
data/syslog-ng-3.28.1/lib/timeutils/wallclocktime.c:176: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 *mon[12];
data/syslog-ng-3.28.1/lib/timeutils/wallclocktime.c:177: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 *am_pm[2];
data/syslog-ng-3.28.1/lib/timeutils/wallclocktime.c:251: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 *const nast[5] =
data/syslog-ng-3.28.1/lib/timeutils/wallclocktime.c:255: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 *const nadt[5] =
data/syslog-ng-3.28.1/lib/timeutils/zoneinfo.c:110:12:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  unsigned char buf[4]; /* must be UNSIGNED */
data/syslog-ng-3.28.1/lib/timeutils/zoneinfo.c:136:12:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  unsigned char buf[8]; /* must be UNSIGNED */
data/syslog-ng-3.28.1/lib/tlscontext.c:89: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 md[EVP_MAX_MD_SIZE];
data/syslog-ng-3.28.1/lib/tlscontext.c:607:20:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
  FILE *p12_file = fopen(pkcs12_file, "rb");
data/syslog-ng-3.28.1/lib/tlscontext.c:994: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, secret->data, len);
data/syslog-ng-3.28.1/lib/tlscontext.c:1179: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(pattern_buf, dnsname, dnsname_len);
data/syslog-ng-3.28.1/lib/transport/transport-aux-data.c:39: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(&self->data[self->end_ptr], name, name_len + 1);
data/syslog-ng-3.28.1/lib/transport/transport-aux-data.c:41: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(&self->data[self->end_ptr], value, value_len + 1);
data/syslog-ng-3.28.1/lib/transport/transport-aux-data.h:66: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, src, data_to_copy);
data/syslog-ng-3.28.1/lib/type-hinting.c:182:7:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
      memcpy(tmp, endptr + 1, len);
data/syslog-ng-3.28.1/libtest/mock-transport.c:142:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  memcpy(buffer, all_written_data->str + self->write_buffer_index, data_len);
data/syslog-ng-3.28.1/libtest/mock-transport.c:180: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(buffer, data.iov.iov_base + chunk_offset, written_len);
data/syslog-ng-3.28.1/libtest/mock-transport.c:234: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, current_iov->iov_base + self->current_iov_pos, count);
data/syslog-ng-3.28.1/modules/add-contextual-data/add-contextual-data.c:201:11:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
      f = fopen(absolute_path, "r");
data/syslog-ng-3.28.1/modules/add-contextual-data/add-contextual-data.c:206:11:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
      f = fopen(filename, "r");
data/syslog-ng-3.28.1/modules/add-contextual-data/tests/test_filter_selector.c:48: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).
  gint fd = mkstemp(tmp_filename);
data/syslog-ng-3.28.1/modules/affile/file-opener.c:51: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).
  return self->open(self, name, flags);
data/syslog-ng-3.28.1/modules/affile/file-opener.c:140: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(name, open_flags, mode);
data/syslog-ng-3.28.1/modules/affile/file-opener.h:62: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).
  gint (*open)(FileOpener *self, const gchar *name, gint flags);
data/syslog-ng-3.28.1/modules/affile/logproto-file-writer.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(self->partial, (guchar *) self->buffer[i0].iov_base + pos, ofs);
data/syslog-ng-3.28.1/modules/affile/logproto-file-writer.c:119: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(self->partial + ofs, self->buffer[i].iov_base, self->buffer[i].iov_len);
data/syslog-ng-3.28.1/modules/afprog/afprog.c:125: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).
      devnull = open("/dev/null", O_WRONLY);
data/syslog-ng-3.28.1/modules/afsnmp/afsnmpdest.c:773: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(err_msg, "missing SNMP object");
data/syslog-ng-3.28.1/modules/afsnmp/afsnmpdest.c:779: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(err_msg, "missing host");
data/syslog-ng-3.28.1/modules/afsnmp/afsnmpdest.c:785: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(err_msg, "missing trap_obj");
data/syslog-ng-3.28.1/modules/afsnmp/afsnmpdest.c:798: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(err_msg, "missing engine id");
data/syslog-ng-3.28.1/modules/afsocket/afsocket-source.c:833:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-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/syslog-ng-3.28.1/modules/afsocket/transport-unix-socket.c:62: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/syslog-ng-3.28.1/modules/afsql/afsql.c:689:56:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
    dbi_conn_set_option_numeric(self->dbi_ctx, "port", atoi(self->port));
data/syslog-ng-3.28.1/modules/afstomp/stomp.c:187:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-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_buf[4096];
data/syslog-ng-3.28.1/modules/afstreams/afstreams.c:170: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(self->dev_filename->str, O_RDONLY | O_NOCTTY | O_NONBLOCK);
data/syslog-ng-3.28.1/modules/afuser/afuser.c:130:15:  [2] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant string.
              strcpy(line, "/dev/");
data/syslog-ng-3.28.1/modules/afuser/afuser.c:143: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(line, O_NOCTTY | O_APPEND | O_WRONLY | O_NONBLOCK);
data/syslog-ng-3.28.1/modules/cryptofuncs/cryptofuncs.c:36:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-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_str[37];
data/syslog-ng-3.28.1/modules/dbparser/patternize.c:437:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-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_string[37];
data/syslog-ng-3.28.1/modules/dbparser/patternize.c:558:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char date[12], uuid_string[37];
data/syslog-ng-3.28.1/modules/dbparser/patternize.c:595:20:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
      if (!(file = fopen(input_file, "r")))
data/syslog-ng-3.28.1/modules/dbparser/pdb-action.c:62: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).
      self->rate = atoi(rate);
data/syslog-ng-3.28.1/modules/dbparser/pdb-action.c:68: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).
      self->rate = atoi(rate);
data/syslog-ng-3.28.1/modules/dbparser/pdb-action.c:69:28:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
      self->rate_quantum = atoi(slash + 1);
data/syslog-ng-3.28.1/modules/dbparser/pdb-file.c:42: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).
  pdb = fopen(pdbfile, "r");
data/syslog-ng-3.28.1/modules/dbparser/pdb-load.c:303:43:  [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).
      else if (state->ruleset->version && atoi(state->ruleset->version) < 2)
data/syslog-ng-3.28.1/modules/dbparser/pdb-load.c:309:43:  [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).
      else if (state->ruleset->version && atoi(state->ruleset->version) > 5)
data/syslog-ng-3.28.1/modules/dbparser/pdb-load.c:1142:17:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
  if ((dbfile = fopen(config, "r")) == NULL)
data/syslog-ng-3.28.1/modules/dbparser/pdb-ratelimit.c: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(&self->key, key, sizeof(*key));
data/syslog-ng-3.28.1/modules/dbparser/pdbtool/pdbtool.c:476: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(match_file, O_RDONLY);
data/syslog-ng-3.28.1/modules/dbparser/tests/test_patterndb.c:718:16:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
      int fd = open(files[i], O_CREAT | O_RDWR, 0644);
data/syslog-ng-3.28.1/modules/diskq/dqtool.c:109: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).
  FILE *f = fopen(filename, "rb");
data/syslog-ng-3.28.1/modules/diskq/dqtool.c:274: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).
  gint fd = open(fname, O_RDONLY);
data/syslog-ng-3.28.1/modules/diskq/dqtool.c:285: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).
  gint fd = open(fname, O_RDWR | O_CREAT, S_IRUSR | S_IWUSR);
data/syslog-ng-3.28.1/modules/diskq/dqtool.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[2048] = {0};
data/syslog-ng-3.28.1/modules/diskq/dqtool.c:386: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).
  FILE *f = fopen(filename, "rb");
data/syslog-ng-3.28.1/modules/diskq/qdisk.c:732: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(self->hdr->magic, self->file_id, 4);
data/syslog-ng-3.28.1/modules/diskq/qdisk.c:801: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).
  self->fd = open(filename, openflags, 0600);
data/syslog-ng-3.28.1/modules/diskq/qdisk.c:828: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(self->hdr, p, sizeof(QDiskFileHeader));
data/syslog-ng-3.28.1/modules/examples/sources/threaded-diskq-source/threaded-diskq-source.c:54: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 *file = fopen(self->filename, "rb");
data/syslog-ng-3.28.1/modules/getent/getent-protocols.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[4096];
data/syslog-ng-3.28.1/modules/getent/getent-services.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[4096];
data/syslog-ng-3.28.1/modules/kafka/kafka-props.c:89:20:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
  if (!(self->fp = fopen(filename, "r")))
data/syslog-ng-3.28.1/modules/kafka/kafka-props.c:304: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 sasl_user[128], sasl_pass[128];
data/syslog-ng-3.28.1/modules/linux-kmsg-format/linux-kmsg-format.c:404: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).
  if ((fd = open ("/proc/uptime", O_RDONLY)) == -1)
data/syslog-ng-3.28.1/modules/openbsd/openbsd-driver.c:67: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).
  if ((self->klog = open(OPENBSD_LOG_DEV, O_RDONLY, 0)) == -1)
data/syslog-ng-3.28.1/modules/pseudofile/pseudofile.c:103: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(self->pseudofile_name, O_NOCTTY | O_WRONLY | O_NONBLOCK);
data/syslog-ng-3.28.1/modules/python/python-dest.c:55: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).
    PyObject *open;
data/syslog-ng-3.28.1/modules/python/python-dest.c:188: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).
  if (!self->py.open)
data/syslog-ng-3.28.1/modules/python/python-dest.c:194:38:  [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).
  ret = _py_invoke_function(self->py.open, NULL, self->class, self->super.super.super.id);
data/syslog-ng-3.28.1/modules/python/python-dest.c:401:53:  [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).
  g_ptr_array_add(self->py._refs_to_clean, self->py.open);
data/syslog-ng-3.28.1/modules/secure-logging/secure-logging.c:228:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  memcpy(state->bigMAC, outputmacdata, CMAC_LENGTH);
data/syslog-ng-3.28.1/modules/secure-logging/slog.c:44: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 KEYPATTERN[AES_BLOCKSIZE] = { [0 ... (AES_BLOCKSIZE-1) ] = IPAD };
data/syslog-ng-3.28.1/modules/secure-logging/slog.c:45: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 MACPATTERN[AES_BLOCKSIZE] = { [0 ... (AES_BLOCKSIZE-1) ] = OPAD };
data/syslog-ng-3.28.1/modules/secure-logging/slog.c:46: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 GAMMA[AES_BLOCKSIZE] = { [0 ... (AES_BLOCKSIZE-1) ] =  EPAD};
data/syslog-ng-3.28.1/modules/secure-logging/slog.c:304: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 encKey[KEY_LENGTH];
data/syslog-ng-3.28.1/modules/secure-logging/slog.c:305: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 MACKey[KEY_LENGTH];
data/syslog-ng-3.28.1/modules/secure-logging/slog.c:315: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 bigBuf[AES_BLOCKSIZE+IV_LENGTH+AES_BLOCKSIZE+slen];
data/syslog-ng-3.28.1/modules/secure-logging/slog.c:354: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(bigBuf, inputBigMac, AES_BLOCKSIZE);
data/syslog-ng-3.28.1/modules/secure-logging/slog.c:445:12:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  unsigned char buf[KEY_LENGTH];
data/syslog-ng-3.28.1/modules/secure-logging/slog.c:447: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(key, buf, KEY_LENGTH);
data/syslog-ng-3.28.1/modules/secure-logging/slog.c:466:12:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  unsigned char input[inputLength];
data/syslog-ng-3.28.1/modules/secure-logging/slog.c:467: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(input, originalInput, inputLength);
data/syslog-ng-3.28.1/modules/secure-logging/slog.c:470:12:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  unsigned char buf[outputLength+AES_BLOCKSIZE];
data/syslog-ng-3.28.1/modules/secure-logging/slog.c:486: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(output, buf, outputLength);
data/syslog-ng-3.28.1/modules/secure-logging/slog.c:616: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 keyBuffer[KEY_LENGTH];
data/syslog-ng-3.28.1/modules/secure-logging/slog.c:618: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 zeroBuffer[CMAC_LENGTH];
data/syslog-ng-3.28.1/modules/secure-logging/slog.c:620: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(keyBuffer, outputBuffer, MIN(CMAC_LENGTH, KEY_LENGTH));
data/syslog-ng-3.28.1/modules/secure-logging/slog.c:725: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 keyBuffer[KEY_LENGTH];
data/syslog-ng-3.28.1/modules/secure-logging/slog.c:727: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 zeroBuffer[CMAC_LENGTH];
data/syslog-ng-3.28.1/modules/secure-logging/slog.c:729: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(keyBuffer, macdata, MIN(CMAC_LENGTH, KEY_LENGTH));
data/syslog-ng-3.28.1/modules/secure-logging/slog.c:731: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 testOutput[CMAC_LENGTH];
data/syslog-ng-3.28.1/modules/secure-logging/slog.c:744: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(outputBuffer, macdata, CMAC_LENGTH);
data/syslog-ng-3.28.1/modules/secure-logging/slog.c:854: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 testOutput[CMAC_LENGTH];
data/syslog-ng-3.28.1/modules/secure-logging/slog.c:864: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(destKey, keydata, KEY_LENGTH);
data/syslog-ng-3.28.1/modules/secure-logging/slog.c:991: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 ctrbuf[COUNTER_LENGTH+1];
data/syslog-ng-3.28.1/modules/secure-logging/slog.c:992: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(ctrbuf, input[i]->str, COUNTER_LENGTH);
data/syslog-ng-3.28.1/modules/secure-logging/slog.c:1018:19:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
                  char key[CTR_LEN_SIMPLE+1];
data/syslog-ng-3.28.1/modules/secure-logging/slog.c:1039:23:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
                      memcpy(mainKey, keyZero, KEY_LENGTH);
data/syslog-ng-3.28.1/modules/secure-logging/slog.c:1067: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.
              unsigned char pt[outputLength - IV_LENGTH - AES_BLOCKSIZE];
data/syslog-ng-3.28.1/modules/secure-logging/slog.c:1069: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.
              unsigned char encKey[KEY_LENGTH];
data/syslog-ng-3.28.1/modules/secure-logging/slog.c:1098: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.
                      unsigned char MACKey[KEY_LENGTH];
data/syslog-ng-3.28.1/modules/secure-logging/slog.c:1107: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.
                      unsigned char bigBuf[AES_BLOCKSIZE+IV_LENGTH+AES_BLOCKSIZE+pt_length];
data/syslog-ng-3.28.1/modules/secure-logging/slog.c:1108:23:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
                      memcpy(bigBuf, cmac_tag, AES_BLOCKSIZE);
data/syslog-ng-3.28.1/modules/secure-logging/slog.c:1109:23:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
                      memcpy(&bigBuf[AES_BLOCKSIZE], binBuf, IV_LENGTH+AES_BLOCKSIZE+pt_length);
data/syslog-ng-3.28.1/modules/secure-logging/slog.c:1111: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.
                      unsigned char MACKey[KEY_LENGTH];
data/syslog-ng-3.28.1/modules/secure-logging/slog.c:1158: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 key[CTR_LEN_SIMPLE+1];
data/syslog-ng-3.28.1/modules/secure-logging/slog.c:1207: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[COUNTER_LENGTH+1];
data/syslog-ng-3.28.1/modules/secure-logging/slog.c:1208: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, input[0]->str, COUNTER_LENGTH);
data/syslog-ng-3.28.1/modules/secure-logging/slog.c:1220: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(startingEntry, tempInt, sizeof(guint64));
data/syslog-ng-3.28.1/modules/secure-logging/slog.c:1260: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 keyZero[KEY_LENGTH];
data/syslog-ng-3.28.1/modules/secure-logging/slog.c:1261: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(keyZero, mainKey, KEY_LENGTH);
data/syslog-ng-3.28.1/modules/secure-logging/slog.c:1357: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 cmac_tag[CMAC_LENGTH];
data/syslog-ng-3.28.1/modules/secure-logging/slog.c:1358: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(cmac_tag, previousMAC, CMAC_LENGTH);
data/syslog-ng-3.28.1/modules/secure-logging/slog.c:1563: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 keyZero[KEY_LENGTH];
data/syslog-ng-3.28.1/modules/secure-logging/slog.c:1564: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(keyZero, mainKey, KEY_LENGTH);
data/syslog-ng-3.28.1/modules/secure-logging/slog.c:1662: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 cmac_tag[CMAC_LENGTH];
data/syslog-ng-3.28.1/modules/secure-logging/slogencrypt/slogencrypt.c:83:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-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[KEY_LENGTH];
data/syslog-ng-3.28.1/modules/secure-logging/slogencrypt/slogencrypt.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 mac[CMAC_LENGTH];
data/syslog-ng-3.28.1/modules/secure-logging/slogencrypt/slogencrypt.c:148:21:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
  FILE *inputFile = fopen(inputlog, "r");
data/syslog-ng-3.28.1/modules/secure-logging/slogencrypt/slogencrypt.c:156:22:  [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 *outputFile = fopen(outputlog, "w");
data/syslog-ng-3.28.1/modules/secure-logging/slogencrypt/slogencrypt.c:177: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 outputmacdata[CMAC_LENGTH];
data/syslog-ng-3.28.1/modules/secure-logging/slogencrypt/slogencrypt.c:190: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(mac, outputmacdata, CMAC_LENGTH);
data/syslog-ng-3.28.1/modules/secure-logging/slogkey/slogkey.c:151: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 key[KEY_LENGTH];
data/syslog-ng-3.28.1/modules/secure-logging/slogverify/slogverify.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 key[KEY_LENGTH];
data/syslog-ng-3.28.1/modules/secure-logging/slogverify/slogverify.c:66: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).
  FILE *bigMAC = fopen(MACfile, "r");
data/syslog-ng-3.28.1/modules/secure-logging/slogverify/slogverify.c:73: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 MAC[CMAC_LENGTH];
data/syslog-ng-3.28.1/modules/secure-logging/slogverify/slogverify.c:79:17:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
  FILE *input = fopen(inputlog, "r");
data/syslog-ng-3.28.1/modules/secure-logging/slogverify/slogverify.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 previousKey[KEY_LENGTH];
data/syslog-ng-3.28.1/modules/secure-logging/slogverify/slogverify.c:126:26:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
  FILE *previousBigMAC = fopen(prevMAC, "r");
data/syslog-ng-3.28.1/modules/secure-logging/slogverify/slogverify.c:133: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 previousMAC[CMAC_LENGTH];
data/syslog-ng-3.28.1/modules/secure-logging/slogverify/slogverify.c:140:25:  [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 *currentBigMAC = fopen(curMAC, "r");
data/syslog-ng-3.28.1/modules/secure-logging/slogverify/slogverify.c:147: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 currentMAC[CMAC_LENGTH];
data/syslog-ng-3.28.1/modules/secure-logging/slogverify/slogverify.c:153:17:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
  FILE *input = fopen(inputlog, "r");
data/syslog-ng-3.28.1/modules/secure-logging/slogverify/slogverify.c:264:17:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
      bufSize = atoi(argv[index]);
data/syslog-ng-3.28.1/modules/secure-logging/tests/test_secure_logging.c:184: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 keyZero[KEY_LENGTH];
data/syslog-ng-3.28.1/modules/secure-logging/tests/test_secure_logging.c:185: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(keyZero, hostkey, KEY_LENGTH);
data/syslog-ng-3.28.1/modules/secure-logging/tests/test_secure_logging.c:200: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 cmac_tag[CMAC_LENGTH];
data/syslog-ng-3.28.1/modules/secure-logging/tests/test_secure_logging.c:224: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 keyZero[KEY_LENGTH];
data/syslog-ng-3.28.1/modules/secure-logging/tests/test_secure_logging.c:225: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(keyZero, hostkey, KEY_LENGTH);
data/syslog-ng-3.28.1/modules/secure-logging/tests/test_secure_logging.c:240: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 cmac_tag[CMAC_LENGTH];
data/syslog-ng-3.28.1/modules/secure-logging/tests/test_secure_logging.c:394: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, testData->hostKey, KEY_LENGTH);
data/syslog-ng-3.28.1/modules/system-source/system-source.c:189: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).
  gint fd = open("/dev/kmsg", O_RDONLY);
data/syslog-ng-3.28.1/modules/system-source/system-source.c:204: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).
  gint fd = open("/proc/kmsg", O_RDONLY);
data/syslog-ng-3.28.1/modules/systemd-journal/journal-reader.c:175:35:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
      msg->pri = (msg->pri & 7) | atoi(value) << 3;
data/syslog-ng-3.28.1/modules/systemd-journal/journal-reader.c:179:36:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
      msg->pri = (msg->pri & ~7) | atoi(value);
data/syslog-ng-3.28.1/persist-tool/add.c:154: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(block, buffer, value_count);
data/syslog-ng-3.28.1/persist-tool/add.c:224:20:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
      input_file = fopen(argv[1], "r");
data/syslog-ng-3.28.1/syslog-ng/main.c:105:21:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
  FILE *f_install = fopen(get_installation_path_for(PATH_INSTALL_DAT), "r");
data/syslog-ng-3.28.1/tests/loggen/file_reader.c:80: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).
          source[i] = fopen(read_file_name, "r");
data/syslog-ng-3.28.1/tests/loggen/file_reader.c:389:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char stamp[32];
data/syslog-ng-3.28.1/tests/loggen/file_reader.c:394: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 tmp[11];
data/syslog-ng-3.28.1/tests/loggen/file_reader.c:408: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, tmp, 10);
data/syslog-ng-3.28.1/tests/loggen/loggen_helper.c:147:27:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
    s_in.sin_port = htons(atoi(port));
data/syslog-ng-3.28.1/tests/loggen/loggen_helper.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 offset[7];
data/syslog-ng-3.28.1/tests/loggen/logline_generator.c:35: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 line_buf_template[MAX_MESSAGE_LENGTH + 1];
data/syslog-ng-3.28.1/tests/loggen/logline_generator.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(buffer, line_buf_template, buffer_length < MAX_MESSAGE_LENGTH ? buffer_length : MAX_MESSAGE_LENGTH);
data/syslog-ng-3.28.1/tests/loggen/logline_generator.c:115:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char stamp[32];
data/syslog-ng-3.28.1/tests/loggen/logline_generator.c:118:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  memcpy(&buffer[pos_timestamp2], stamp, len);
data/syslog-ng-3.28.1/tests/loggen/logline_generator.c:123: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(&buffer[pos_timestamp1], stamp, strlen(stamp));
data/syslog-ng-3.28.1/tests/loggen/logline_generator.c:126:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char intbuf[16];
data/syslog-ng-3.28.1/tests/loggen/logline_generator.c:128:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  memcpy(&buffer[pos_seq], intbuf, 10);
data/syslog-ng-3.28.1/tests/loggen/logline_generator.c:131:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char thread_id_buff[5];
data/syslog-ng-3.28.1/tests/loggen/logline_generator.c:133: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(&buffer[pos_thread_id], thread_id_buff, 4);
data/syslog-ng-3.28.1/tests/unit/test_thread_wakeup.c:133: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(s.sun_path, "almafa");
data/syslog-ng-3.28.1/lib/cfg-lexer-subst.c:110: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).
  lexer = cfg_lexer_new_buffer(configuration, value, strlen(value));
data/syslog-ng-3.28.1/lib/cfg-lexer-subst.c:218: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).
    input_len = strlen(input);
data/syslog-ng-3.28.1/lib/cfg-lexer.c:89: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).
  context = g_malloc(sizeof(CfgLexerContext) + strlen(desc) + 1);
data/syslog-ng-3.28.1/lib/cfg-lexer.c:92:32:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  memcpy(&context->desc, desc, strlen(desc) + 1);
data/syslog-ng-3.28.1/lib/cfg-parser.c:210:21:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      for (gint i = strlen(line_prefix); i < 6; i++)
data/syslog-ng-3.28.1/lib/cfg-parser.c:244:23:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      gint line_len = strlen(line);
data/syslog-ng-3.28.1/lib/cfg-parser.c:260: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).
                           multi_line ? strlen(&line[yylloc->first_column]) + 1
data/syslog-ng-3.28.1/lib/cfg-tree.c:179:5:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120). Risk is low because the source is a
  constant string.
    strncpy(buf, "#unknown", buf_len);
data/syslog-ng-3.28.1/lib/compat/getutent.c:51:8:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  rc = read(utent_fd, &ut, sizeof(ut));
data/syslog-ng-3.28.1/lib/compat/glib.c:192: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).
      memmove (start, start+i, strlen (start+i) + 1);
data/syslog-ng-3.28.1/lib/compat/glib.c:205: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, p+1, strlen (p+1)+1);
data/syslog-ng-3.28.1/lib/compat/glib.c:218: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).
          memmove (p, q, strlen (q)+1);
data/syslog-ng-3.28.1/lib/compat/glib.c:239: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).
        memmove (p, q, strlen (q) + 1);
data/syslog-ng-3.28.1/lib/compat/pio.c:45:9:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  ret = read(fd, buf, count);
data/syslog-ng-3.28.1/lib/compat/strcasestr.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(find);
data/syslog-ng-3.28.1/lib/compat/tests/test_strtok_r.c:68: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).
  gchar *result = (char *)g_malloc(strlen(input)+1);
data/syslog-ng-3.28.1/lib/compat/tests/test_strtok_r.c:78: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).
      token_length = strlen(token);
data/syslog-ng-3.28.1/lib/compat/un.h:34:73:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
#define SUN_LEN(ptr) ((size_t) (((struct sockaddr_un *) 0)->sun_path) + strlen ((ptr)->sun_path))
data/syslog-ng-3.28.1/lib/control/control-server-unix.c:56:10:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  return read(self->control_io.fd, buffer, size);
data/syslog-ng-3.28.1/lib/control/control-server.c:143:14:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  rc = self->read(self, self->input_buffer->str + orig_len, 128);
data/syslog-ng-3.28.1/lib/control/control-server.h:39:9:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  int (*read)(ControlConnection *self, gpointer buffer, gsize size);
data/syslog-ng-3.28.1/lib/control/control.c:33: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).
  return strncmp(cmd->command_name, line, strlen(cmd->command_name));
data/syslog-ng-3.28.1/lib/control/tests/control-server-dummy.c:47:3:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
  strncpy(buffer, self->input->str, size);
data/syslog-ng-3.28.1/lib/debugger/debugger.c:115: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 (buf[0] == 0 || buf[strlen(buf) - 1] != '\n')
data/syslog-ng-3.28.1/lib/debugger/debugger.c:226: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(buf);
data/syslog-ng-3.28.1/lib/debugger/debugger.c:248: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).
  if (command && strlen(command) > 0)
data/syslog-ng-3.28.1/lib/dnscache.c:156: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).
  entry->hostname_len = strlen(hostname);
data/syslog-ng-3.28.1/lib/dnscache.c:255: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).
              len = strlen(buf);
data/syslog-ng-3.28.1/lib/driver.c:163: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).
      self->group_len = strlen(self->super.group);
data/syslog-ng-3.28.1/lib/eventlog/src/evtfmt.c:59: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).
  evt_str_append_escape_bs(es, e->ev_desc, strlen(e->ev_desc), ';');
data/syslog-ng-3.28.1/lib/eventlog/src/evtfmt.c:67: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).
      evt_str_append_escape_bs(es, et->et_value, strlen(et->et_value), '\'');
data/syslog-ng-3.28.1/lib/eventlog/src/evtstr.c:85: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).
  return evt_str_append_len(es, str, strlen(str));
data/syslog-ng-3.28.1/lib/eventlog/src/evttags.c:130:5:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120). Risk is low because the source is a
  constant string.
    strncpy(buf, "none", sizeof(buf));
data/syslog-ng-3.28.1/lib/eventlog/src/evttags.c:143:5:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120). Risk is low because the source is a
  constant string.
    strncpy(buf, "none", sizeof(buf));
data/syslog-ng-3.28.1/lib/filter/filter-in-list.c:91: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).
      line[strlen(line) - 1] = '\0';
data/syslog-ng-3.28.1/lib/filter/filter-netmask.c:83:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen(cidr) >= sizeof(buf) || !slash)
data/syslog-ng-3.28.1/lib/filter/filter-netmask.c:90:7:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
      strncpy(buf, cidr, slash - cidr + 1);
data/syslog-ng-3.28.1/lib/filter/filter-netmask6.c:148:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen(cidr) >= INET6_ADDRSTRLEN + 5 || !slash)
data/syslog-ng-3.28.1/lib/filter/filter-netmask6.c:158:11:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
          strncpy(address, cidr, slash - cidr);
data/syslog-ng-3.28.1/lib/filter/filter-netmask6.c:163: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).
  self->is_valid = ((strlen(address) > 0) && inet_pton(AF_INET6, address, &packet_addr) == 1);
data/syslog-ng-3.28.1/lib/filter/filter-re.c:47: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).
    str_len = strlen(str);
data/syslog-ng-3.28.1/lib/filter/tests/test_filters_common.c:146: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).
  logmsg = log_msg_new(msg, strlen(msg), &parse_options);
data/syslog-ng-3.28.1/lib/filter/tests/test_filters_common.c:185: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).
  logmsg = log_msg_new(msg, strlen(msg), &parse_options);
data/syslog-ng-3.28.1/lib/filter/tests/test_filters_fop.c:41: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).
  CfgLexer *lexer = cfg_lexer_new_buffer(cfg, config_snippet, strlen(config_snippet));
data/syslog-ng-3.28.1/lib/filter/tests/test_filters_in_list.c:56: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).
  log_msg = log_msg_new(msg, strlen(msg), &parse_options);
data/syslog-ng-3.28.1/lib/filter/tests/test_filters_netmask6.c:46: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).
  gsize n = strlen(ipv6);
data/syslog-ng-3.28.1/lib/filter/tests/test_filters_statistics.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).
  LogMessage *logmsg = log_msg_new(msg, strlen(msg), &parse_options);
data/syslog-ng-3.28.1/lib/gprocess.c:577: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).
        lastargv = process_opts.argv[i] + strlen(process_opts.argv[i]);
data/syslog-ng-3.28.1/lib/gprocess.c:582: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).
        lastargv = envp[i] + strlen(envp[i]);
data/syslog-ng-3.28.1/lib/gprocess.c:1022:9:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120). Risk is low because the source is a
  constant string.
        strncpy(buf, "unable-to-query", sizeof(buf));
data/syslog-ng-3.28.1/lib/gprocess.c:1094:11:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      if (read(*fd, ret_buf, sizeof(ret_buf)) > 0)
data/syslog-ng-3.28.1/lib/gsockaddr.c:557:7:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
      strncpy(addr->saun.sun_path, name, sizeof(addr->saun.sun_path) - 1);
data/syslog-ng-3.28.1/lib/host-resolve.c:79: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).
    *result_len = strlen(hname);
data/syslog-ng-3.28.1/lib/host-resolve.c:297:7:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
      strncpy(buf, hp->h_name, buf_len);
data/syslog-ng-3.28.1/lib/hostname.c:103: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).
      end = hostname + strlen(hostname);
data/syslog-ng-3.28.1/lib/hostname.c:109:7:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
      strncpy(end, local_domain, hostname_len - (end - hostname));
data/syslog-ng-3.28.1/lib/logmatcher.c:75: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).
  self->pattern_len = strlen(pattern);
data/syslog-ng-3.28.1/lib/logmatcher.c:143: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).
    value_len = strlen(value);
data/syslog-ng-3.28.1/lib/logmatcher.c:458: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).
    value_len = strlen(value);
data/syslog-ng-3.28.1/lib/logmatcher.c:528: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).
    value_len = strlen(value);
data/syslog-ng-3.28.1/lib/logmsg/logmsg-serialize.c:346:7:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
      strncpy(sd_param_name, sd_element_name, 256);
data/syslog-ng-3.28.1/lib/logmsg/logmsg-serialize.c:347:7:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
      strncpy(sd_param_name + strlen(sd_element_name), name, name_len);
data/syslog-ng-3.28.1/lib/logmsg/logmsg-serialize.c:347: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).
      strncpy(sd_param_name + strlen(sd_element_name), name, name_len);
data/syslog-ng-3.28.1/lib/logmsg/logmsg-serialize.c:378:7:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
      strncpy(sd_param_name, sd_element_name, sd_element_name_len);
data/syslog-ng-3.28.1/lib/logmsg/logmsg-serialize.c:379:7:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
      strncpy(sd_param_name + strlen(sd_element_name), name, name_len);
data/syslog-ng-3.28.1/lib/logmsg/logmsg-serialize.c:379: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).
      strncpy(sd_param_name + strlen(sd_element_name), name, name_len);
data/syslog-ng-3.28.1/lib/logmsg/logmsg-serialize.c:412:3:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
  strncpy(sd_element_root + logmsg_sd_prefix_len, sd_id, sd_id_len);
data/syslog-ng-3.28.1/lib/logmsg/logmsg.c:370: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).
      while (dot && strlen(dot) > 1)
data/syslog-ng-3.28.1/lib/logmsg/logmsg.c:543: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).
    value_len = strlen(value);
data/syslog-ng-3.28.1/lib/logmsg/logmsg.c:1031:52:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
          g_string_append_len(result, sequence_id, strlen(sequence_id));
data/syslog-ng-3.28.1/lib/logmsg/logmsg.c:1061: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).
      g_string_append_len(result, sequence_id, strlen(sequence_id));
data/syslog-ng-3.28.1/lib/logmsg/nvtable.c:61: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/syslog-ng-3.28.1/lib/logmsg/tags-serialize.c:56: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).
  serialize_write_cstring(sa, name, strlen(name));
data/syslog-ng-3.28.1/lib/logmsg/tests/test_log_message.c:52: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).
  msg = log_msg_new(raw_msg, strlen(raw_msg), &parse_options);
data/syslog-ng-3.28.1/lib/logmsg/tests/test_log_message.c:480:67:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      single_sdata_kv_size = NV_ENTRY_DIRECT_HDR + NV_TABLE_BOUND(strlen(key)+1 + strlen(value)+1);
data/syslog-ng-3.28.1/lib/logmsg/tests/test_log_message.c:480:83:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      single_sdata_kv_size = NV_ENTRY_DIRECT_HDR + NV_TABLE_BOUND(strlen(key)+1 + strlen(value)+1);
data/syslog-ng-3.28.1/lib/logmsg/tests/test_logmsg_serialize.c:169: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).
  LogMessage *msg = _create_message_to_be_serialized(raw_msg, strlen(raw_msg));
data/syslog-ng-3.28.1/lib/logmsg/tests/test_logmsg_serialize.c:209: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).
  LogMessage *msg = _create_message_to_be_serialized(RAW_MSG, strlen(RAW_MSG));
data/syslog-ng-3.28.1/lib/logmsg/tests/test_logmsg_serialize.c:231: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).
  LogMessage *msg = _create_message_to_be_serialized(RAW_MSG, strlen(RAW_MSG));
data/syslog-ng-3.28.1/lib/logmsg/tests/test_logmsg_serialize.c:258: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).
  LogMessage *msg = _create_message_to_be_serialized(RAW_MSG, strlen(RAW_MSG));
data/syslog-ng-3.28.1/lib/logmsg/tests/test_logmsg_serialize.c:292:81:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  LogMessage *msg = _create_message_to_be_serialized_with_ts_processed(RAW_MSG, strlen(RAW_MSG), &ls);
data/syslog-ng-3.28.1/lib/logmsg/tests/test_logmsg_serialize.c:319:81:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  LogMessage *msg = _create_message_to_be_serialized_with_ts_processed(RAW_MSG, strlen(RAW_MSG), &ls);
data/syslog-ng-3.28.1/lib/logmsg/tests/test_logmsg_serialize.c:362: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).
  LogMessage *msg = _create_message_to_be_serialized(RAW_MSG, strlen(RAW_MSG));
data/syslog-ng-3.28.1/lib/logmsg/tests/test_logmsg_serialize.c:381: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).
  LogMessage *msg = _create_message_to_be_serialized(RAW_MSG, strlen(RAW_MSG));
data/syslog-ng-3.28.1/lib/logmsg/tests/test_nvhandle_desc_array.c:31: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).
  NVHandleDesc desc0 = { .name = g_strdup("test0"), .flags = 0, .name_len = strlen("test0")};
data/syslog-ng-3.28.1/lib/logmsg/tests/test_nvhandle_desc_array.c:32: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).
  NVHandleDesc desc1 = { .name = g_strdup("test1"), .flags = 1, .name_len = strlen("test1")};
data/syslog-ng-3.28.1/lib/logmsg/tests/test_nvhandle_desc_array.c:33: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).
  NVHandleDesc desc2 = { .name = g_strdup("test2"), .flags = 2, .name_len = strlen("test2")};
data/syslog-ng-3.28.1/lib/logmsg/tests/test_nvhandle_desc_array.c:34: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).
  NVHandleDesc desc3 = { .name = g_strdup("test3"), .flags = 3, .name_len = strlen("test3")};
data/syslog-ng-3.28.1/lib/logmsg/tests/test_nvhandle_desc_array.c:46: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).
  cr_assert_eq(candidate->name_len, strlen("test2"));
data/syslog-ng-3.28.1/lib/logmsg/tests/test_nvtable.c:91: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).
      cr_assert_eq(strlen(name), len);
data/syslog-ng-3.28.1/lib/logmsg/tests/test_nvtable.c:110:16:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      g_assert(strlen(name) == len);
data/syslog-ng-3.28.1/lib/logmsg/tests/test_nvtable.c:134: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).
      g_assert(strlen(name) == len);
data/syslog-ng-3.28.1/lib/logmsg/tests/test_nvtable.c:192:55:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      success = nv_table_add_value(tab, handle, name, strlen(name), value, 128, NULL);
data/syslog-ng-3.28.1/lib/logmsg/tests/test_nvtable.c:199:55:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      success = nv_table_add_value(tab, handle, name, strlen(name), value, 512, NULL);
data/syslog-ng-3.28.1/lib/logmsg/tests/test_nvtable.c:209:55:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      success = nv_table_add_value(tab, handle, name, strlen(name), value, 128, NULL);
data/syslog-ng-3.28.1/lib/logmsg/tests/test_nvtable.c:213:55:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      success = nv_table_add_value(tab, handle, name, strlen(name), value, 64, NULL);
data/syslog-ng-3.28.1/lib/logmsg/tests/test_nvtable.c:221:55:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      success = nv_table_add_value(tab, handle, name, strlen(name), value, 64, NULL);
data/syslog-ng-3.28.1/lib/logmsg/tests/test_nvtable.c:225:55:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      success = nv_table_add_value(tab, handle, name, strlen(name), value, 128, NULL);
data/syslog-ng-3.28.1/lib/logmsg/tests/test_nvtable.c:233:55:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      success = nv_table_add_value(tab, handle, name, strlen(name), value, 64, NULL);
data/syslog-ng-3.28.1/lib/logmsg/tests/test_nvtable.c:236:55:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      success = nv_table_add_value(tab, handle, name, strlen(name), value, 512, NULL);
data/syslog-ng-3.28.1/lib/logmsg/tests/test_nvtable.c:253:68:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
          success = nv_table_add_value_indirect(tab, handle, name, strlen(name),
data/syslog-ng-3.28.1/lib/logmsg/tests/test_nvtable.c:262:59:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
          success = nv_table_add_value(tab, handle, name, strlen(name), value, 1, NULL);
data/syslog-ng-3.28.1/lib/logmsg/tests/test_nvtable.c:274:68:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
          success = nv_table_add_value_indirect(tab, handle, name, strlen(name),
data/syslog-ng-3.28.1/lib/logmsg/tests/test_nvtable.c:284:59:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
          success = nv_table_add_value(tab, handle, name, strlen(name), value, 128, NULL);
data/syslog-ng-3.28.1/lib/logmsg/tests/test_nvtable.c:296:68:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
          success = nv_table_add_value_indirect(tab, handle, name, strlen(name),
data/syslog-ng-3.28.1/lib/logmsg/tests/test_nvtable.c:305:59:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
          success = nv_table_add_value(tab, handle, name, strlen(name), value, 256, NULL);
data/syslog-ng-3.28.1/lib/logmsg/tests/test_nvtable.c:378:60:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  success = nv_table_add_value_indirect(tab, handle, name, strlen(name),
data/syslog-ng-3.28.1/lib/logmsg/tests/test_nvtable.c:397:60:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  success = nv_table_add_value_indirect(tab, handle, name, strlen(name),
data/syslog-ng-3.28.1/lib/logmsg/tests/test_nvtable.c:413:60:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  success = nv_table_add_value_indirect(tab, handle, name, strlen(name),
data/syslog-ng-3.28.1/lib/logmsg/tests/test_nvtable.c:421:60:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  success = nv_table_add_value_indirect(tab, handle, name, strlen(name),
data/syslog-ng-3.28.1/lib/logmsg/tests/test_nvtable.c:444: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).
  success = nv_table_add_value(tab, handle, name, strlen(name), value, 64, NULL);
data/syslog-ng-3.28.1/lib/logmsg/tests/test_nvtable.c:448:60:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  success = nv_table_add_value_indirect(tab, handle, name, strlen(name),
data/syslog-ng-3.28.1/lib/logmsg/tests/test_nvtable.c:466: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).
  success = nv_table_add_value(tab, handle, name, strlen(name), value, 1, NULL);
data/syslog-ng-3.28.1/lib/logmsg/tests/test_nvtable.c:470:60:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  success = nv_table_add_value_indirect(tab, handle, name, strlen(name),
data/syslog-ng-3.28.1/lib/logmsg/tests/test_nvtable.c:488: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).
  success = nv_table_add_value(tab, handle, name, strlen(name), value, 1, NULL);
data/syslog-ng-3.28.1/lib/logmsg/tests/test_nvtable.c:491:60:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  success = nv_table_add_value_indirect(tab, handle, name, strlen(name),
data/syslog-ng-3.28.1/lib/logmsg/tests/test_nvtable.c:517:68:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  success = nv_table_add_value_indirect(tab, DYN_HANDLE, DYN_NAME, strlen(DYN_NAME),
data/syslog-ng-3.28.1/lib/logmsg/tests/test_nvtable.c:524:60:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  success = nv_table_add_value_indirect(tab, handle, name, strlen(name),
data/syslog-ng-3.28.1/lib/logmsg/tests/test_nvtable.c:539:68:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  success = nv_table_add_value_indirect(tab, DYN_HANDLE, DYN_NAME, strlen(DYN_NAME),
data/syslog-ng-3.28.1/lib/logmsg/tests/test_nvtable.c:546:60:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  success = nv_table_add_value_indirect(tab, handle, name, strlen(name),
data/syslog-ng-3.28.1/lib/logmsg/tests/test_nvtable.c:566:68:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  success = nv_table_add_value_indirect(tab, DYN_HANDLE, DYN_NAME, strlen(DYN_NAME),
data/syslog-ng-3.28.1/lib/logmsg/tests/test_nvtable.c:572:60:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  success = nv_table_add_value_indirect(tab, handle, name, strlen(name),
data/syslog-ng-3.28.1/lib/logmsg/tests/test_nvtable.c:580:60:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  success = nv_table_add_value_indirect(tab, handle, name, strlen(name),
data/syslog-ng-3.28.1/lib/logmsg/tests/test_nvtable.c:598:68:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  success = nv_table_add_value_indirect(tab, DYN_HANDLE, DYN_NAME, strlen(DYN_NAME),
data/syslog-ng-3.28.1/lib/logmsg/tests/test_nvtable.c:604:60:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  success = nv_table_add_value_indirect(tab, handle, name, strlen(name),
data/syslog-ng-3.28.1/lib/logmsg/tests/test_nvtable.c:612:60:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  success = nv_table_add_value_indirect(tab, handle, name, strlen(name),
data/syslog-ng-3.28.1/lib/logmsg/tests/test_nvtable.c:630:68:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  success = nv_table_add_value_indirect(tab, DYN_HANDLE, DYN_NAME, strlen(DYN_NAME),
data/syslog-ng-3.28.1/lib/logmsg/tests/test_nvtable.c:636:60:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  success = nv_table_add_value_indirect(tab, handle, name, strlen(name),
data/syslog-ng-3.28.1/lib/logmsg/tests/test_nvtable.c:644:60:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  success = nv_table_add_value_indirect(tab, handle, name, strlen(name),
data/syslog-ng-3.28.1/lib/logmsg/tests/test_nvtable.c:666:68:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  success = nv_table_add_value_indirect(tab, DYN_HANDLE, DYN_NAME, strlen(DYN_NAME),
data/syslog-ng-3.28.1/lib/logmsg/tests/test_nvtable.c:672: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).
  success = nv_table_add_value(tab, handle, name, strlen(name), value, 64, NULL);
data/syslog-ng-3.28.1/lib/logmsg/tests/test_nvtable.c:676:60:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  success = nv_table_add_value_indirect(tab, handle, name, strlen(name),
data/syslog-ng-3.28.1/lib/logmsg/tests/test_nvtable.c:695:68:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  success = nv_table_add_value_indirect(tab, DYN_HANDLE, DYN_NAME, strlen(DYN_NAME),
data/syslog-ng-3.28.1/lib/logmsg/tests/test_nvtable.c:701: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).
  success = nv_table_add_value(tab, handle, name, strlen(name), value, 16, NULL);
data/syslog-ng-3.28.1/lib/logmsg/tests/test_nvtable.c:705:60:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  success = nv_table_add_value_indirect(tab, handle, name, strlen(name),
data/syslog-ng-3.28.1/lib/logmsg/tests/test_nvtable.c:723:68:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  success = nv_table_add_value_indirect(tab, DYN_HANDLE, DYN_NAME, strlen(DYN_NAME),
data/syslog-ng-3.28.1/lib/logmsg/tests/test_nvtable.c:729: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).
  success = nv_table_add_value(tab, handle, name, strlen(name), value, 16, NULL);
data/syslog-ng-3.28.1/lib/logmsg/tests/test_nvtable.c:733:60:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  success = nv_table_add_value_indirect(tab, handle, name, strlen(name),
data/syslog-ng-3.28.1/lib/logmsg/tests/test_nvtable.c:753:60:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  success = nv_table_add_value_indirect(tab, handle, name, strlen(name),
data/syslog-ng-3.28.1/lib/logmsg/tests/test_nvtable.c:796:60:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  success = nv_table_add_value_indirect(tab, handle, name, strlen(name),
data/syslog-ng-3.28.1/lib/logmsg/tests/test_nvtable.c:814:60:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  success = nv_table_add_value_indirect(tab, handle, name, strlen(name),
data/syslog-ng-3.28.1/lib/logmsg/tests/test_nvtable.c:852:59:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
          success = nv_table_add_value(tab, handle, name, strlen(name), name, strlen(name), NULL);
data/syslog-ng-3.28.1/lib/logmsg/tests/test_nvtable.c:852:79:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
          success = nv_table_add_value(tab, handle, name, strlen(name), name, strlen(name), NULL);
data/syslog-ng-3.28.1/lib/logmsg/tests/test_nvtable.c:861: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).
          assert_nvtable(tab, handles[i], name, strlen(name));
data/syslog-ng-3.28.1/lib/logmsg/tests/test_nvtable.c:876: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).
  success = nv_table_add_value(tab, STATIC_HANDLE, STATIC_NAME, strlen(STATIC_NAME), "value", 5, NULL);
data/syslog-ng-3.28.1/lib/logmsg/tests/test_nvtable.c:893: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).
  success = nv_table_add_value(tab, STATIC_HANDLE, STATIC_NAME, strlen(STATIC_NAME), "value", 5, NULL);
data/syslog-ng-3.28.1/lib/logmsg/tests/test_nvtable.c:912: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).
  success = nv_table_add_value(tab, STATIC_HANDLE, STATIC_NAME, strlen(STATIC_NAME), "value", 5, NULL);
data/syslog-ng-3.28.1/lib/logmsg/tests/test_nvtable.c:933: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).
  success = nv_table_add_value(tab, STATIC_HANDLE, STATIC_NAME, strlen(STATIC_NAME), "value", 5, NULL);
data/syslog-ng-3.28.1/lib/logmsg/tests/test_nvtable.c:953: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).
  success = nv_table_add_value(tab, STATIC_HANDLE, STATIC_NAME, strlen(STATIC_NAME), "value", 5, NULL);
data/syslog-ng-3.28.1/lib/logmsg/tests/test_nvtable.c:973:70:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  success = nv_table_add_value(tab_ref1, STATIC_HANDLE, STATIC_NAME, strlen(STATIC_NAME), "value", 5, NULL);
data/syslog-ng-3.28.1/lib/logmsg/tests/test_nvtable.c:1008:59:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  success = nv_table_add_value(tab, DYN_HANDLE, DYN_NAME, strlen(DYN_NAME), "foo", 3, NULL);
data/syslog-ng-3.28.1/lib/logmsg/tests/test_nvtable.c:1033:55:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  nv_table_add_value(tab, STATIC_HANDLE, STATIC_NAME, strlen(DYN_NAME), "static-foo", 10, NULL);
data/syslog-ng-3.28.1/lib/logmsg/tests/test_nvtable.c:1034:66:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  nv_table_add_value_indirect(tab, DYN_HANDLE, indirect_nv_name, strlen(indirect_nv_name),
data/syslog-ng-3.28.1/lib/logmsg/tests/test_nvtable.c:1064: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).
  nv_table_add_value(tab1, STATIC_HANDLE, STATIC_NAME, strlen(DYN_NAME), "static-foo", 10, NULL);
data/syslog-ng-3.28.1/lib/logmsg/tests/test_nvtable.c:1065: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).
  nv_table_add_value(tab1, DYN_HANDLE, DYN_NAME, strlen(DYN_NAME), "dyn-foo", 7, NULL);
data/syslog-ng-3.28.1/lib/logmsg/tests/test_nvtable.c:1066:69:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  nv_table_add_value_indirect(tab1, DYN_HANDLE+1, indirect_nv_name, strlen(indirect_nv_name),
data/syslog-ng-3.28.1/lib/logmsg/tests/test_nvtable.c:1102: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).
  nv_table_add_value(tab1, STATIC_HANDLE, STATIC_NAME, strlen(DYN_NAME), "static-foo", 10, NULL);
data/syslog-ng-3.28.1/lib/logmsg/tests/test_nvtable.c:1103: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).
  nv_table_add_value(tab1, DYN_HANDLE, DYN_NAME, strlen(DYN_NAME), "dyn-foo", 7, NULL);
data/syslog-ng-3.28.1/lib/logmsg/tests/test_nvtable.c:1104:69:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  nv_table_add_value_indirect(tab1, DYN_HANDLE+1, indirect_nv_name, strlen(indirect_nv_name),
data/syslog-ng-3.28.1/lib/logproto/logproto-text-server.c:76:60:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      if (strncasecmp(encoding, fixed_encodings[i].prefix, strlen(fixed_encodings[i].prefix)) == 0)
data/syslog-ng-3.28.1/lib/logsource.c:566: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).
    self->options->host_override_len = strlen(self->options->host_override);
data/syslog-ng-3.28.1/lib/logsource.c:574: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).
    self->options->program_override_len = strlen(self->options->program_override);
data/syslog-ng-3.28.1/lib/mainloop-control.c:225:47:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (secret_storage_store_secret(id, secret, strlen(secret)))
data/syslog-ng-3.28.1/lib/mainloop-control.c:230: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).
  secret_storage_wipe(secret, strlen(secret));
data/syslog-ng-3.28.1/lib/memtrace.c:133: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).
          mem_trace_filename = g_new0(gchar, strlen("/var/tmp/") + strlen(tracefile) + 1);
data/syslog-ng-3.28.1/lib/memtrace.c:133:68:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
          mem_trace_filename = g_new0(gchar, strlen("/var/tmp/") + strlen(tracefile) + 1);
data/syslog-ng-3.28.1/lib/memtrace.c:135:22:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
                     strlen("/var/tmp/") + strlen(tracefile) + 1,
data/syslog-ng-3.28.1/lib/memtrace.c:135: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).
                     strlen("/var/tmp/") + strlen(tracefile) + 1,
data/syslog-ng-3.28.1/lib/messages.h:84: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).
          timestamp[strlen(timestamp) - 1] = 0;           \
data/syslog-ng-3.28.1/lib/parse-number.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).
  suffix_len = strlen(suffix);
data/syslog-ng-3.28.1/lib/parser/parser-expr.h:65: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).
    input_len = strlen(input);
data/syslog-ng-3.28.1/lib/persist-state.c:889: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(value);
data/syslog-ng-3.28.1/lib/plugin.c:469:60:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
              module_name = g_strndup(so_basename, (gint) (strlen(so_basename) - strlen(G_MODULE_SUFFIX) - 1));
data/syslog-ng-3.28.1/lib/plugin.c:469:82:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
              module_name = g_strndup(so_basename, (gint) (strlen(so_basename) - strlen(G_MODULE_SUFFIX) - 1));
data/syslog-ng-3.28.1/lib/plugin.c:602:60:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
              module_name = g_strndup(so_basename, (gint) (strlen(so_basename) - strlen(G_MODULE_SUFFIX) - 1));
data/syslog-ng-3.28.1/lib/plugin.c:602:82:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
              module_name = g_strndup(so_basename, (gint) (strlen(so_basename) - strlen(G_MODULE_SUFFIX) - 1));
data/syslog-ng-3.28.1/lib/pragma-parser.c:39:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen(value) > strlen("xxx.yyy"))
data/syslog-ng-3.28.1/lib/pragma-parser.c:39: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(value) > strlen("xxx.yyy"))
data/syslog-ng-3.28.1/lib/scanner/csv-scanner/csv-scanner.c:92: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).
  options->quotes_start = g_malloc((strlen(quote_pairs) / 2) + 1);
data/syslog-ng-3.28.1/lib/scanner/csv-scanner/csv-scanner.c:93: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).
  options->quotes_end = g_malloc((strlen(quote_pairs) / 2) + 1);
data/syslog-ng-3.28.1/lib/scanner/csv-scanner/csv-scanner.c:213: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).
      gint len = strlen(l->data);
data/syslog-ng-3.28.1/lib/scanner/kv-scanner/kv-scanner.c:94:11:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    len = strlen(stray_word);
data/syslog-ng-3.28.1/lib/scanner/kv-scanner/kv-scanner.c:342: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).
  self->pair_separator_len = strlen(self->pair_separator);
data/syslog-ng-3.28.1/lib/scanner/list-scanner/list-scanner.c:89: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).
    value_len = strlen(value);
data/syslog-ng-3.28.1/lib/scanner/list-scanner/tests/test_list_scanner.c:47: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).
  cr_assert_eq(key_len, strlen(expected_key));
data/syslog-ng-3.28.1/lib/scanner/xml-scanner/tests/test_xml_scanner.c:173: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).
  xml_scanner_parse(xml_scanner, input, strlen(input), &error);
data/syslog-ng-3.28.1/lib/scanner/xml-scanner/xml-scanner.c:218: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).
  guint tag_length = strlen(element_name);
data/syslog-ng-3.28.1/lib/secret-storage/secret-storage.c:162: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(secret) + 1;
data/syslog-ng-3.28.1/lib/secret-storage/tests/test_nondumpable_allocator.c:33: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).
  gpointer buffer = nondumpable_buffer_alloc(strlen(test_string));
data/syslog-ng-3.28.1/lib/secret-storage/tests/test_nondumpable_allocator.c:67: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).
  gpointer buffer1 = nondumpable_buffer_alloc(strlen(test_string1));
data/syslog-ng-3.28.1/lib/secret-storage/tests/test_nondumpable_allocator.c:71: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).
  gpointer buffer2 = nondumpable_buffer_alloc(strlen(test_string2));
data/syslog-ng-3.28.1/lib/serialize.h:257: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/syslog-ng-3.28.1/lib/str-repr/encode.c:34: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).
    str_len = strlen(str);
data/syslog-ng-3.28.1/lib/str-repr/tests/test_encode.c:53: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).
  str_repr_encode(str, input, strlen(input), NULL);
data/syslog-ng-3.28.1/lib/str-repr/tests/test_encode.c:58: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).
  str_repr_encode(str, space_ended_input, strlen(input), ",");
data/syslog-ng-3.28.1/lib/str-repr/tests/test_encode.c:126: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).
  gsize value_len = strlen(value_to_encode);
data/syslog-ng-3.28.1/lib/template/compiler.c:179:88:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      log_template_compiler_fill_compile_error(error, "Invalid macro, '}' is missing", strlen(self->template->template));
data/syslog-ng-3.28.1/lib/template/escaping.c:37: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(sstr);
data/syslog-ng-3.28.1/lib/template/macros.c:584: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).
      result_append(result, ip, strlen(ip), escape);
data/syslog-ng-3.28.1/lib/template/macros.c:601: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).
      result_append(result, ip, strlen(ip), escape);
data/syslog-ng-3.28.1/lib/template/macros.c:636: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).
          result_append(result, context_id, strlen(context_id), escape);
data/syslog-ng-3.28.1/lib/template/repr.c:34: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).
  e->text_len = strlen(text);
data/syslog-ng-3.28.1/lib/template/repr.c:49: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).
  e->text_len = strlen(text);
data/syslog-ng-3.28.1/lib/template/repr.c:134: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).
  e->text_len = strlen(text);
data/syslog-ng-3.28.1/lib/template/templates.c:432: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(strictness, "silently-", strlen("silently-")) == 0)
data/syslog-ng-3.28.1/lib/template/templates.c:435: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).
      p = strictness + strlen("silently-");
data/syslog-ng-3.28.1/lib/tests/test_cfg_lexer_subst.c:85: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).
  gsize input_len = strlen(input);
data/syslog-ng-3.28.1/lib/tests/test_cfg_lexer_subst.c:106: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).
  cr_assert_eq(result_len, strlen(expected_output), "length returned by invoke_result is invalid");
data/syslog-ng-3.28.1/lib/tests/test_cfg_lexer_subst.c:116: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).
  _assert_invoke_result(subst, input_dup, strlen(input), expected_output);
data/syslog-ng-3.28.1/lib/tests/test_cfg_lexer_subst.c:145: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).
  result = cfg_lexer_subst_invoke(subst, input_dup, strlen(input), &result_len, &error);
data/syslog-ng-3.28.1/lib/tests/test_host_resolve.c:50: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).
  cr_assert_eq(result_len, strlen(result), "returned length is not true");
data/syslog-ng-3.28.1/lib/tests/test_host_resolve.c:133: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).
  cr_assert_eq(result_len, strlen(result), "returned length is not true");
data/syslog-ng-3.28.1/lib/tests/test_hostname.c:61:3:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120). Risk is low because the source is a
  constant string.
  strncpy(buf, "bzorp.balabit", buflen);
data/syslog-ng-3.28.1/lib/tests/test_logsource.c:153: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).
  *result_len = strlen(test_hostname);
data/syslog-ng-3.28.1/lib/tests/test_logsource.c:230: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).
  cr_assert_eq(strlen(actual_hostname), expected_hostname_len);
data/syslog-ng-3.28.1/lib/tests/test_str-utils.c:83: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).
  cr_assert(result - test_data->str <= strlen(test_data->str),
data/syslog-ng-3.28.1/lib/tests/test_str_format.c:78: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).
  gint left = strlen(buf);
data/syslog-ng-3.28.1/lib/tests/test_str_format.c:84: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 (field == -1 || field == strlen(input))
data/syslog-ng-3.28.1/lib/tests/test_str_format.c:92: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).
      cr_assert(left == strlen(input) - field);
data/syslog-ng-3.28.1/lib/tests/test_str_format.c:107: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).
  gint left = strlen(buf);
data/syslog-ng-3.28.1/lib/timeutils/tests/test_scan-timestamp.c:56: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).
  gint length = strlen(ts);
data/syslog-ng-3.28.1/lib/timeutils/tests/test_scan-timestamp.c:67:3:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
  strncpy(isotimestamp, result->str, 32);
data/syslog-ng-3.28.1/lib/timeutils/tests/test_scan-timestamp.c:77: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).
  gint length = strlen(ts);
data/syslog-ng-3.28.1/lib/timeutils/tests/test_scan-timestamp.c:87:3:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
  strncpy(isotimestamp, result->str, 32);
data/syslog-ng-3.28.1/lib/timeutils/tests/test_scan-timestamp.c:310: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).
  gint length = strlen(ts);
data/syslog-ng-3.28.1/lib/timeutils/tests/test_scan-timestamp.c:326: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).
  gint length = strlen(ts);
data/syslog-ng-3.28.1/lib/timeutils/tests/test_scan-timestamp.c:341: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).
  gint left = strlen(month);
data/syslog-ng-3.28.1/lib/timeutils/tests/test_scan-timestamp.c:369: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).
  gint left = strlen(month);
data/syslog-ng-3.28.1/lib/timeutils/tests/test_scan-timestamp.c:403: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).
  gint left = strlen(day);
data/syslog-ng-3.28.1/lib/timeutils/tests/test_scan-timestamp.c:426: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).
  gint left = strlen(day);
data/syslog-ng-3.28.1/lib/timeutils/wallclocktime.c:932: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).
          len = strlen(*n1);
data/syslog-ng-3.28.1/lib/timeutils/zoneinfo.c:548:37:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if ((*tz == '+' || *tz == '-') && strlen(tz) == 6 &&
data/syslog-ng-3.28.1/lib/transport/logtransport.h:38:12:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  gssize (*read)(LogTransport *self, gpointer buf, gsize count, LogTransportAuxData *aux);
data/syslog-ng-3.28.1/lib/transport/logtransport.h:59:16:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  return self->read(self, buf, count, aux);
data/syslog-ng-3.28.1/lib/transport/tests/test_aux_data.c:69: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).
  cr_assert_eq(value_len, strlen(value), "foreach() length mismatch");
data/syslog-ng-3.28.1/lib/transport/tests/test_multitransport.c:89:51:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  cr_expect_eq(multi_transport->active_transport->read, default_read);
data/syslog-ng-3.28.1/lib/transport/tests/test_multitransport.c:98:51:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  cr_expect_eq(multi_transport->active_transport->read, default_read);
data/syslog-ng-3.28.1/lib/transport/tests/test_multitransport.c:104:51:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  cr_expect_eq(multi_transport->active_transport->read, fake_read);
data/syslog-ng-3.28.1/lib/transport/tests/test_transport_factory.c:102:38:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  cr_expect_eq(fake_transport->super.read, _fake_read);
data/syslog-ng-3.28.1/lib/transport/transport-aux-data.c:34: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).
  gsize name_len = strlen(name);
data/syslog-ng-3.28.1/lib/transport/transport-aux-data.c:35: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).
  gsize value_len = strlen(value);
data/syslog-ng-3.28.1/lib/transport/transport-aux-data.c:69: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).
      gsize name_len = strlen(p);
data/syslog-ng-3.28.1/lib/transport/transport-aux-data.c:71: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).
      gsize value_len = strlen(value);
data/syslog-ng-3.28.1/lib/transport/transport-file.c:37:12:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      rc = read(self->fd, buf, buflen);
data/syslog-ng-3.28.1/lib/type-hinting.c:175: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).
      gsize len = strlen(endptr) - 1, p;
data/syslog-ng-3.28.1/lib/utf8utils.c:132:76:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  _append_unsafe_utf8_as_escaped_with_specific_length(escaped_output, raw, strlen(raw), unsafe_chars, control_format,
data/syslog-ng-3.28.1/lib/utf8utils.c:186: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).
    str_len = strlen(str);
data/syslog-ng-3.28.1/lib/utf8utils.c:227: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).
    str_len = strlen(str);
data/syslog-ng-3.28.1/lib/value-pairs/cmdline.c:289: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 (!g_strstr_len (value, strlen (value), "="))
data/syslog-ng-3.28.1/lib/value-pairs/tests/test_value_pairs.c: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).
  msg = log_msg_new(text, strlen(text), &parse_options);
data/syslog-ng-3.28.1/lib/value-pairs/tests/test_value_pairs_walk.c:126:59:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  log_msg_set_value_by_name(msg, "root.test.alma", value, strlen(value));
data/syslog-ng-3.28.1/lib/value-pairs/tests/test_value_pairs_walk.c:127:60:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  log_msg_set_value_by_name(msg, "root.test.korte", value, strlen(value));
data/syslog-ng-3.28.1/lib/value-pairs/transforms.c:224: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).
  vpt->old_prefix_len = strlen(prefix);
data/syslog-ng-3.28.1/lib/value-pairs/transforms.c:226: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).
  vpt->new_prefix_len = strlen(vpt->new_prefix);
data/syslog-ng-3.28.1/lib/value-pairs/value-pairs.c:566: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).
  nt->prefix_len = strlen(nt->prefix);
data/syslog-ng-3.28.1/lib/value-pairs/value-pairs.c:959: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 ((id = log_macro_lookup(name, strlen(name))))
data/syslog-ng-3.28.1/libtest/config_parse_lib.c:36: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 (!config_to_parse || strlen(config_to_parse) == 0)
data/syslog-ng-3.28.1/libtest/config_parse_lib.c:72:61:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  lexer = cfg_lexer_new_buffer(configuration, delimited[1], strlen(delimited[1]));
data/syslog-ng-3.28.1/libtest/config_parse_lib.c:119:74:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  CfgLexer *lexer = cfg_lexer_new_buffer(configuration, config_to_parse, strlen(config_to_parse));
data/syslog-ng-3.28.1/libtest/config_parse_lib.c:133: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 (!config_to_parse || strlen(config_to_parse) == 0)
data/syslog-ng-3.28.1/libtest/cr_template.c:80: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).
  msg = log_msg_new(msg_str, strlen(msg_str), &parse_options);
data/syslog-ng-3.28.1/libtest/cr_template.c:162: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).
  gint prefix_len = strlen(prefix);
data/syslog-ng-3.28.1/libtest/cr_template.c:174: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).
  expected_len = (expected_len >= 0 ? expected_len : strlen(expected));
data/syslog-ng-3.28.1/libtest/cr_template.c:291: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).
                                    (int) strlen(template) - 1,
data/syslog-ng-3.28.1/libtest/mock-cfg-parser.c:45: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).
  cfg_lexer_include_buffer(self->lexer, "#test-buffer", buffer, strlen(buffer));
data/syslog-ng-3.28.1/libtest/mock-transport.c:334:14:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    length = strlen(buffer);
data/syslog-ng-3.28.1/libtest/proto_lib.c:92: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).
    expected_msg_len = strlen(expected_msg);
data/syslog-ng-3.28.1/libtest/proto_lib.c:117: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).
        expected_msg_len = strlen(expected_msg);
data/syslog-ng-3.28.1/libtest/tests/test_mock_transport.c:98:55:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  struct iovec iov = { .iov_base = buffer, .iov_len = strlen(buffer) + 1 };
data/syslog-ng-3.28.1/libtest/tests/test_mock_transport.c:115:55:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  struct iovec iov = { .iov_base = buffer, .iov_len = strlen(buffer) + 1 };
data/syslog-ng-3.28.1/libtest/testutils.c:159: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).
    actual_len = strlen(actual);
data/syslog-ng-3.28.1/libtest/testutils.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).
    expected_len = strlen(expected);
data/syslog-ng-3.28.1/libtest/testutils.c:435: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).
    expected_value_len = strlen(expected_value);
data/syslog-ng-3.28.1/modules/add-contextual-data/context-info-db.c:308: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).
  *line_buf_len = strlen(*line_buf);
data/syslog-ng-3.28.1/modules/add-contextual-data/tests/test_context_info_db.c:219: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).
  FILE *fp = fmemopen(csv_content, strlen(csv_content), "r");
data/syslog-ng-3.28.1/modules/add-contextual-data/tests/test_context_info_db.c:341: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).
  FILE *fp = fmemopen(csv_content, strlen(csv_content), "r");
data/syslog-ng-3.28.1/modules/add-contextual-data/tests/test_context_info_db.c:363: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).
  FILE *fp = fmemopen(csv_content, strlen(csv_content), "r");
data/syslog-ng-3.28.1/modules/add-contextual-data/tests/test_context_info_db.c:451: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).
  FILE *fp = fmemopen(csv_content, strlen(csv_content), "r");
data/syslog-ng-3.28.1/modules/add-contextual-data/tests/test_context_info_db.c:474: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).
  FILE *fp = fmemopen(csv_content, strlen(csv_content), "r");
data/syslog-ng-3.28.1/modules/add-contextual-data/tests/test_filter_selector.c:96:78:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  AddContextualDataSelector *selector = _create_filter_selector(cfg_content, strlen(cfg_content), ordered_filters);
data/syslog-ng-3.28.1/modules/add-contextual-data/tests/test_filter_selector.c:112:78:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  AddContextualDataSelector *selector = _create_filter_selector(cfg_content, strlen(cfg_content), ordered_filters);
data/syslog-ng-3.28.1/modules/add-contextual-data/tests/test_filter_selector.c:128:78:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  AddContextualDataSelector *selector = _create_filter_selector(cfg_content, strlen(cfg_content), ordered_filters);
data/syslog-ng-3.28.1/modules/add-contextual-data/tests/test_filter_selector.c:147:78:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  AddContextualDataSelector *selector = _create_filter_selector(cfg_content, strlen(cfg_content), ordered_filters);
data/syslog-ng-3.28.1/modules/add-contextual-data/tests/test_filter_selector.c:160:78:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  AddContextualDataSelector *selector = _create_filter_selector(cfg_content, strlen(cfg_content), NULL);
data/syslog-ng-3.28.1/modules/affile/tests/test_directory_monitor.c:60:80:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      gboolean res = g_file_set_contents(file_list_full_path[i], file_list[i], strlen(file_list[i]), &error);
data/syslog-ng-3.28.1/modules/affile/tests/test_file_writer.c:60:73:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  status = log_proto_client_post(fw, msg, (guchar *) g_strdup(payload), strlen(payload) + 1, &consumed);
data/syslog-ng-3.28.1/modules/affile/tests/test_file_writer.c:83: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).
      status = log_proto_client_post(fw, msg, (guchar *) g_strdup(payload), strlen(payload) + 1, &consumed);
data/syslog-ng-3.28.1/modules/affile/tests/test_file_writer.c:92: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).
  cr_assert_eq(count, MESSAGE_COUNT * (strlen(payload) + 1));
data/syslog-ng-3.28.1/modules/affile/tests/test_file_writer.c:96: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).
      const gchar *output_element = output_buffer + i * (strlen(payload) + 1);
data/syslog-ng-3.28.1/modules/affile/tests/test_file_writer.c:112: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).
      status = log_proto_client_post(fw, msg, (guchar *) g_strdup(payload), strlen(payload) + 1, &consumed);
data/syslog-ng-3.28.1/modules/affile/tests/test_file_writer.c:121:73:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  status = log_proto_client_post(fw, msg, (guchar *) g_strdup(payload), strlen(payload) + 1, &consumed);
data/syslog-ng-3.28.1/modules/affile/tests/test_file_writer.c:126: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).
  cr_assert_eq(count, BATCH_SIZE * (strlen(payload) + 1));
data/syslog-ng-3.28.1/modules/affile/tests/test_file_writer.c:141: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).
      status = log_proto_client_post(fw, msg, (guchar *) g_strdup(payload), strlen(payload) + 1, &consumed);
data/syslog-ng-3.28.1/modules/affile/tests/test_file_writer.c:152: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).
  cr_assert_eq(count, BATCH_SIZE * (strlen(payload) + 1));
data/syslog-ng-3.28.1/modules/affile/tests/test_file_writer.c:156: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).
      const gchar *output_element = output_buffer + i * (strlen(payload) + 1);
data/syslog-ng-3.28.1/modules/affile/transport-prockmsg.c:48:12:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      rc = read(self->super.fd, buf, buflen);
data/syslog-ng-3.28.1/modules/afmongodb/afmongodb.c:443: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 (!self->const_db || !strlen(self->const_db))
data/syslog-ng-3.28.1/modules/afsmtp/afsmtp.c:81: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 (str); i++)
data/syslog-ng-3.28.1/modules/afsnmp/afsnmpdest.c:245: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).
  gsize eidlength = strlen(eid);
data/syslog-ng-3.28.1/modules/afsocket/socket-options-inet.c:52:74:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  rc = setsockopt(fd, SOL_SOCKET, SO_BINDTODEVICE, self->interface_name, strlen(self->interface_name));
data/syslog-ng-3.28.1/modules/afsocket/transport-unix-socket.c:73:12:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      rc = read(fd, buf + pos, count);
data/syslog-ng-3.28.1/modules/afsql/afsql.c:89:13:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  int len = strlen(port);
data/syslog-ng-3.28.1/modules/afsql/afsql.c:387: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).
      if ((strlen(table) + strlen(column)) > 25)
data/syslog-ng-3.28.1/modules/afsql/afsql.c:387: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(table) + strlen(column)) > 25)
data/syslog-ng-3.28.1/modules/afsql/afsql.c:394: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).
          MD5((guchar *)cat, strlen(cat), hash);
data/syslog-ng-3.28.1/modules/afsql/afsql.c:651:12:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120). Risk is low because the source is a
  constant character.
    return strncpy(buf, "/", buflen);
data/syslog-ng-3.28.1/modules/afstomp/stomp.c:190:9:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  res = read(connection->socket, tmp_buf, sizeof(tmp_buf));
data/syslog-ng-3.28.1/modules/afstomp/stomp.c:197:13:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      res = read(connection->socket, tmp_buf, sizeof(tmp_buf));
data/syslog-ng-3.28.1/modules/afuser/afuser.c:135:11:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
          strncpy(p, ut->ut_line, sizeof(line) - (p - line));
data/syslog-ng-3.28.1/modules/afuser/afuser.c:146: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 (write(fd, buf, strlen(buf)) < 0 && errno == EAGAIN)
data/syslog-ng-3.28.1/modules/basicfuncs/cond-funcs.c:40: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).
  lexer = cfg_lexer_new_buffer(parent->cfg, argv[1], strlen(argv[1]));
data/syslog-ng-3.28.1/modules/basicfuncs/list-funcs.c:430: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).
      return (strncmp(string, self->pattern, strlen(self->pattern)) == 0);
data/syslog-ng-3.28.1/modules/basicfuncs/str-funcs.c:419: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).
      gint len = strlen(argv[3]);
data/syslog-ng-3.28.1/modules/basicfuncs/tests/test_basicfuncs.c:107: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).
  *result_len = strlen(hostname);
data/syslog-ng-3.28.1/modules/csvparser/csvparser.c:96: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).
      self->prefix_len = strlen(prefix);
data/syslog-ng-3.28.1/modules/csvparser/tests/test_csvparser.c:873: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).
  logmsg = log_msg_new(param->msg, strlen(param->msg), &parse_options);
data/syslog-ng-3.28.1/modules/csvparser/tests/test_csvparser.c:919: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).
          cr_assert(strlen(param->expected_values[i]) == value_len,
data/syslog-ng-3.28.1/modules/csvparser/tests/test_csvparser.c:922: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).
                    (int)strlen(param->expected_values[i]),
data/syslog-ng-3.28.1/modules/csvparser/tests/test_csvparser_perf.c:123:57:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  printf("      %-90.*s speed: %12.3f msg/sec\n", (int) strlen(input), input, i * 1e6 / g_time_val_diff(&end, &start));
data/syslog-ng-3.28.1/modules/dbparser/patternize.c:471: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).
  if (skey[strlen(skey) -1] == PTZ_SEPARATOR_CHAR)
data/syslog-ng-3.28.1/modules/dbparser/patternize.c:472: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).
    skey[strlen(skey) -1] = 0;
data/syslog-ng-3.28.1/modules/dbparser/patternize.c:543: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).
          samplestr_escaped = g_markup_escape_text(samplestr, strlen(samplestr));
data/syslog-ng-3.28.1/modules/dbparser/patternize.c:616: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(line);
data/syslog-ng-3.28.1/modules/dbparser/pdb-action.c:34:52:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  lexer = cfg_lexer_new_buffer(cfg, filter_string, strlen(filter_string));
data/syslog-ng-3.28.1/modules/dbparser/pdbtool/pdbtool.c:427:66:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      lexer = cfg_lexer_new_buffer(configuration, filter_string, strlen(filter_string));
data/syslog-ng-3.28.1/modules/dbparser/pdbtool/pdbtool.c:460:59:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      log_msg_set_value(msg, LM_V_MESSAGE, match_message, strlen(match_message));
data/syslog-ng-3.28.1/modules/dbparser/pdbtool/pdbtool.c:462:61:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        log_msg_set_value(msg, LM_V_PROGRAM, match_program, strlen(match_program));
data/syslog-ng-3.28.1/modules/dbparser/pdbtool/pdbtool.c:677: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).
  if (!(value && strncmp(value, test_value, value_len) == 0 && value_len == strlen(test_value)))
data/syslog-ng-3.28.1/modules/dbparser/pdbtool/pdbtool.c:702:86:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  node = r_find_node(pattern_db_get_ruleset(patterndb)->programs, (gchar *) program, strlen(program), NULL);
data/syslog-ng-3.28.1/modules/dbparser/pdbtool/pdbtool.c:709:91:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      matching_ids = r_find_all_applicable_nodes(program_rules->rules, (gchar *) message, strlen(message),
data/syslog-ng-3.28.1/modules/dbparser/pdbtool/pdbtool.c:790:70:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
              log_msg_set_value(msg, LM_V_MESSAGE, example->message, strlen(example->message));
data/syslog-ng-3.28.1/modules/dbparser/pdbtool/pdbtool.c:792:72:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
                log_msg_set_value(msg, LM_V_PROGRAM, example->program, strlen(example->program));
data/syslog-ng-3.28.1/modules/dbparser/pdbtool/pdbtool.c:912:96:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      RNode *ruleset = r_find_node(pattern_db_get_ruleset(patterndb)->programs, match_program, strlen(match_program), NULL);
data/syslog-ng-3.28.1/modules/dbparser/pdbtool/pdbtool.c:1025:70:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      RNode *ruleset = r_find_node(rule_set.programs, match_program, strlen(match_program), NULL);
data/syslog-ng-3.28.1/modules/dbparser/radix.c:151: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).
  rc = pcre_exec(self->re, self->extra, str, strlen(str), 0, 0, matches, matches_size);
data/syslog-ng-3.28.1/modules/dbparser/radix.c:224: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(str);
data/syslog-ng-3.28.1/modules/dbparser/radix.c:648: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 (params[2] && (strlen(params[2]) > 1))
data/syslog-ng-3.28.1/modules/dbparser/radix.c:650: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).
              gint len = strlen(params[2]);
data/syslog-ng-3.28.1/modules/dbparser/radix.c:742:47:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
          if (params_len >= 2 && params[2] && strlen(params[2]) == 2)
data/syslog-ng-3.28.1/modules/dbparser/radix.c:930: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).
  gint keylen = strlen(key);
data/syslog-ng-3.28.1/modules/dbparser/radix.c:1517: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).
  node->keylen = (key ? strlen(key) : -1);
data/syslog-ng-3.28.1/modules/dbparser/tests/test_parsers_e2e.c:84: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).
  g_file_set_contents(*filename, pdb, strlen(pdb), NULL);
data/syslog-ng-3.28.1/modules/dbparser/tests/test_patterndb.c:79: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).
  g_file_set_contents(*filename, pdb, strlen(pdb), NULL);
data/syslog-ng-3.28.1/modules/dbparser/tests/test_patterndb.c:146: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).
  log_msg_set_value(msg, LM_V_MESSAGE, message, strlen(message));
data/syslog-ng-3.28.1/modules/dbparser/tests/test_patterndb.c:147: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).
  log_msg_set_value(msg, LM_V_PROGRAM, program, strlen(program));
data/syslog-ng-3.28.1/modules/dbparser/tests/test_patterndb.c:148: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).
  log_msg_set_value(msg, LM_V_HOST, MYHOST, strlen(MYHOST));
data/syslog-ng-3.28.1/modules/dbparser/tests/test_patterndb.c:149: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).
  log_msg_set_value(msg, LM_V_PID, MYPID, strlen(MYPID));
data/syslog-ng-3.28.1/modules/dbparser/tests/test_patterndb.c:684:67:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  g_file_set_contents(filename, pdb_tag_outside_of_rule_skeleton, strlen(pdb_tag_outside_of_rule_skeleton), NULL);
data/syslog-ng-3.28.1/modules/dbparser/tests/test_patternize.c:79: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(logline);
data/syslog-ng-3.28.1/modules/dbparser/tests/test_radix.c:70: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).
  RNode *ret = r_find_node(root, (gchar *)key, strlen(key), NULL);
data/syslog-ng-3.28.1/modules/dbparser/tests/test_radix.c:99: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).
  RNode *ret = r_find_node(root, (gchar *) key, strlen(key), matches);
data/syslog-ng-3.28.1/modules/dbparser/tests/test_radix.c:125: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).
              cr_expect_eq(match->len, strlen(expected_value),
data/syslog-ng-3.28.1/modules/dbparser/tests/test_radix.c:127: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).
                           key, match->len, strlen(expected_value));
data/syslog-ng-3.28.1/modules/diskq/diskq-options.c:103: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 int length = strlen(path);
data/syslog-ng-3.28.1/modules/diskq/dqtool.c:318:20:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  while ((read_n = read(src_fd, buf, sizeof(buf))) > 0)
data/syslog-ng-3.28.1/modules/examples/sources/threaded-random-generator/threaded-random-generator.c:89: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(self->freq * 1000);
data/syslog-ng-3.28.1/modules/geoip2/geoip-parser.c:151:8:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (!strlen(str))
data/syslog-ng-3.28.1/modules/geoip2/geoip-parser.c:153: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 (str[strlen(str)-1] == '.')
data/syslog-ng-3.28.1/modules/geoip2/geoip-parser.c:154: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).
    str[strlen(str)-1] = 0;
data/syslog-ng-3.28.1/modules/java/native/java-class-loader.c:40: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 (class_path && (strlen(class_path) > 0))
data/syslog-ng-3.28.1/modules/java/proxies/java-destination-proxy.c:282:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen(c_string) == 0)
data/syslog-ng-3.28.1/modules/json/dot-notation.c:165: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 (i == 0 && strlen(levels[i]) == 0)
data/syslog-ng-3.28.1/modules/json/json-parser.c:63: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).
  self->marker_len = marker ? strlen(marker) : 0;
data/syslog-ng-3.28.1/modules/json/tests/test_dot_notation.c:38: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).
  jso = json_tokener_parse_ex(tok, json, strlen(json));
data/syslog-ng-3.28.1/modules/kafka/kafka-props.c:117: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).
  gchar *end = start + strlen(start) - 1;
data/syslog-ng-3.28.1/modules/kafka/kafka-props.c:203: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 + 1) >= 4)
data/syslog-ng-3.28.1/modules/kafka/kafka-props.c:208:19:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
                  strncpy(unicode_hex, p+1, sizeof(unicode_hex));
data/syslog-ng-3.28.1/modules/kvformat/kv-parser.c:43: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).
      self->prefix_len = strlen(prefix);
data/syslog-ng-3.28.1/modules/linux-kmsg-format/linux-kmsg-format.c:407:13:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  if ((rc = read (fd, buf, sizeof(buf))) <= 0)
data/syslog-ng-3.28.1/modules/linux-kmsg-format/tests/test_linux_format_kmsg.c:41: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).
  message = log_msg_new(raw_message_str, strlen(raw_message_str), &parse_options);
data/syslog-ng-3.28.1/modules/pacctformat/pacct-format.c:151: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(rec->ac_comm);
data/syslog-ng-3.28.1/modules/python/compat/compat-python-v2.c:46:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen(SYSLOG_NG_PYTHON2_HOME_DIR) > 0)
data/syslog-ng-3.28.1/modules/python/compat/compat-python-v3.c:46:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen(SYSLOG_NG_PYTHON3_HOME_DIR) > 0)
data/syslog-ng-3.28.1/modules/python/python-helpers.c:171: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).
  for (p = input + strlen(input) - 1; p > input && *p != '.'; p--)
data/syslog-ng-3.28.1/modules/python/python-persist.c:346: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).
  gsize value_len = strlen(value) + sizeof(type);
data/syslog-ng-3.28.1/modules/python/python-persist.c:458:57:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  PyObject *key_object = _py_string_from_string(start + strlen(SUBKEY_DELIMITER), -1);
data/syslog-ng-3.28.1/modules/python/tests/test_python_logmsg.c:118: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).
  LogMessage *msg = log_msg_new(raw_msg, strlen(raw_msg), &parse_options);
data/syslog-ng-3.28.1/modules/python/tests/test_python_logmsg.c:146: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).
  LogMessage *msg = log_msg_new(raw_msg, strlen(raw_msg), &parse_options);
data/syslog-ng-3.28.1/modules/python/tests/test_python_logmsg.c:157: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).
    gssize len = strlen(test_value);
data/syslog-ng-3.28.1/modules/python/tests/test_python_logmsg.c:203: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).
  cr_assert_eq(msg_length, strlen(test_str_msg));
data/syslog-ng-3.28.1/modules/python/tests/test_python_template.c:104:75:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  syslog_format_handler(&template_parse_options, (const guchar *)raw_msg, strlen(raw_msg), msg);
data/syslog-ng-3.28.1/modules/secure-logging/slog.c:533:42:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if(1 != EVP_DigestUpdate(ctx, macAddr, strlen(macAddr)))
data/syslog-ng-3.28.1/modules/secure-logging/slog.c:536: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(1 != EVP_DigestUpdate(ctx, serial, strlen(serial)))
data/syslog-ng-3.28.1/modules/secure-logging/slog.c:1177:7:  [1] (buffer) equal:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
  if (equal != 0)
data/syslog-ng-3.28.1/modules/secure-logging/slogverify/slogverify.c:91:16:  [1] (buffer) fgetc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      char c = fgetc(input);
data/syslog-ng-3.28.1/modules/secure-logging/slogverify/slogverify.c:164:16:  [1] (buffer) fgetc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      char c = fgetc(input);
data/syslog-ng-3.28.1/modules/secure-logging/tests/test_secure_logging.c:255: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).
      LogMessage *result = log_msg_new(plaintextMessage, strlen(plaintextMessage), &test_parse_options);
data/syslog-ng-3.28.1/modules/secure-logging/tests/test_secure_logging.c:286: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).
  g_strlcpy(buf, template, strlen(template)+1);
data/syslog-ng-3.28.1/modules/secure-logging/tests/test_secure_logging.c:691:74:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  stop_stopwatch_and_display_result(PERFORMANCE_COUNTER, "%-90.*s", (int)strlen(slog_templ->template) - 1,
data/syslog-ng-3.28.1/modules/stardate/tests/test_stardate.c:42: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).
  LogMessage *logmsg = log_msg_new(msg_str, strlen(msg_str), &parse_options);
data/syslog-ng-3.28.1/modules/syslogformat/syslog-format.c:600:11:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
          strncpy(sd_value_name + logmsg_sd_prefix_len, sd_id_name, sizeof(sd_value_name) - logmsg_sd_prefix_len);
data/syslog-ng-3.28.1/modules/syslogformat/syslog-format.c:642:15:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
              strncpy(&sd_value_name[logmsg_sd_prefix_len + 1 + sd_id_len], sd_param_name,
data/syslog-ng-3.28.1/modules/systemd-journal/journal-reader.c:218: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).
  gssize value_len = MIN(strlen(value), options->max_field_size);
data/syslog-ng-3.28.1/modules/systemd-journal/tests/journald-mock.c:120: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).
  *length = strlen(*data);
data/syslog-ng-3.28.1/modules/systemd-journal/tests/journald-mock.c:171:13:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      res = read(self->fds[0], &data, 1);
data/syslog-ng-3.28.1/modules/xml/xml.c:43:8:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (!strlen(str))
data/syslog-ng-3.28.1/modules/xml/xml.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).
  if (str[strlen(str)-1] == '.')
data/syslog-ng-3.28.1/modules/xml/xml.c:46: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).
    str[strlen(str)-1] = 0;
data/syslog-ng-3.28.1/persist-tool/add.c:77: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).
  if (!p || strlen(p)<1)
data/syslog-ng-3.28.1/persist-tool/add.c:247: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(line) > 3)
data/syslog-ng-3.28.1/syslog-ng-ctl/commands/commands.c:119: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).
  secret_storage_wipe(dispatchable_command, strlen(dispatchable_command));
data/syslog-ng-3.28.1/syslog-ng-ctl/commands/credentials.c:127: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).
  secret_storage_wipe(secret_to_store, strlen(secret_to_store));
data/syslog-ng-3.28.1/syslog-ng-ctl/commands/credentials.c:131: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).
    secret_storage_wipe(credentials_secret, strlen(credentials_secret));
data/syslog-ng-3.28.1/syslog-ng-ctl/commands/credentials.c:135: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).
  secret_storage_wipe(answer, strlen(answer));
data/syslog-ng-3.28.1/syslog-ng-ctl/control-client-unix.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).
  return write(self->control_socket, cmd, strlen(cmd));
data/syslog-ng-3.28.1/syslog-ng-ctl/control-client-unix.c:98:18:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      if ((len = read(self->control_socket, buff, BUFF_LEN - 1)) < 0)
data/syslog-ng-3.28.1/syslog-ng/main.c:112:56:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      if (strncmp(line, INSTALL_DAT_INSTALLER_VERSION, strlen(INSTALL_DAT_INSTALLER_VERSION)) == 0)
data/syslog-ng-3.28.1/tests/loggen/file_reader.c:155: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).
  return safe_copy_n_string(dest, src, strlen(src), buffsize, element_name);
data/syslog-ng-3.28.1/tests/loggen/file_reader.c:186:55:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      safe_copy_string(elements->message, sdata_end + strlen(RFC5424_BOM), PARS_BUF_MSG_SIZE, "msg");
data/syslog-ng-3.28.1/tests/loggen/file_reader.c:415: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(parsed_elements.pid))
data/syslog-ng-3.28.1/tests/loggen/loggen_helper.c:178:7:  [1] (buffer) strlen:
  Does not handle strings that 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) >= max_target_path_size)
data/syslog-ng-3.28.1/tests/loggen/loggen_helper.c:249:3:  [1] (buffer) strncat:
  Easily used incorrectly (e.g., incorrectly computing the correct maximum
  size to add) [MS-banned] (CWE-120). Consider strcat_s, strlcat, snprintf,
  or automatically resizing strings.
  strncat(timestamp, offset, timestamp_size - strlen(timestamp) -1);
data/syslog-ng-3.28.1/tests/loggen/loggen_helper.c:249: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).
  strncat(timestamp, offset, timestamp_size - strlen(timestamp) -1);
data/syslog-ng-3.28.1/tests/loggen/logline_generator.c:67: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).
      pos_seq = 68 + hdr_len + strlen(sdata) - 1;
data/syslog-ng-3.28.1/tests/loggen/logline_generator.c:69: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).
      pos_timestamp2 = 120 + hdr_len + strlen(sdata) - 1;
data/syslog-ng-3.28.1/tests/loggen/logline_generator.c:123: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).
  memcpy(&buffer[pos_timestamp1], stamp, strlen(stamp));
data/syslog-ng-3.28.1/tests/loggen/logline_generator.c:135: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(buffer);
data/syslog-ng-3.28.1/tests/loggen/socket_plugin/socket_plugin.c:391: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).
      while (sent < strlen(message))
data/syslog-ng-3.28.1/tests/loggen/socket_plugin/socket_plugin.c:393:55:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
          ssize_t rc = send_plain(fd, message + sent, strlen(message) - sent);
data/syslog-ng-3.28.1/tests/loggen/ssl_plugin/ssl_plugin.c:370: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).
      while (sent < strlen(message))
data/syslog-ng-3.28.1/tests/loggen/ssl_plugin/ssl_plugin.c:372:55:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
          ssize_t rc = SSL_write(ssl, message + sent, strlen(message) - sent);
data/syslog-ng-3.28.1/tests/unit/test_clone_logmsg.c:107: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).
  original_log_message = log_msg_new(msg, strlen(msg), &parse_options);
data/syslog-ng-3.28.1/tests/unit/test_clone_logmsg.c:109: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).
  log_message = log_msg_new(msg, strlen(msg), &parse_options);
data/syslog-ng-3.28.1/tests/unit/test_logwriter.c:114: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).
  msg = log_msg_new(msg_string, strlen(msg_string), &parse_options);
data/syslog-ng-3.28.1/tests/unit/test_matcher.c:44: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).
  msg = log_msg_new(log, strlen(log), &parse_options);
data/syslog-ng-3.28.1/tests/unit/test_msgparse.c:86: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).
  message = log_msg_new(raw_message_str, strlen(raw_message_str), &parse_options);
data/syslog-ng-3.28.1/tests/unit/test_thread_wakeup.c:152:34:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      gint count G_GNUC_UNUSED = read(pair[1], buf, sizeof(buf));

ANALYSIS SUMMARY:

Hits = 756
Lines analyzed = 196328 in approximately 4.80 seconds (40873 lines/second)
Physical Source Lines of Code (SLOC) = 131827
Hits@level = [0] 311 [1] 427 [2] 261 [3]  15 [4]  46 [5]   7
Hits@level+ = [0+] 1067 [1+] 756 [2+] 329 [3+]  68 [4+]  53 [5+]   7
Hits/KSLOC@level+ = [0+] 8.09394 [1+] 5.73479 [2+] 2.4957 [3+] 0.515828 [4+] 0.402042 [5+] 0.0530999
Dot directories skipped = 3 (--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.