dhcp-4.4.3-21.fc43

List of Findings

Error: SHELLCHECK_WARNING (CWE-156): [#def1]
/usr/bin/dhclient-script:63:18: warning[SC2046]: Quote this to prevent word splitting.
#   61|           OLD_HOSTNAME=$HOSTNAME
#   62|           if [ -n "${new_ip_address}" ]; then
#   63|->             eval $(/usr/bin/ipcalc --silent --hostname "${new_ip_address}" ; echo "status=$?")
#   64|           elif [ -n "${new_ip6_address}" ]; then
#   65|               eval $(/usr/bin/ipcalc --silent --hostname "${new_ip6_address}" ; echo "status=$?")

Error: SHELLCHECK_WARNING (CWE-156): [#def2]
/usr/bin/dhclient-script:65:18: warning[SC2046]: Quote this to prevent word splitting.
#   63|               eval $(/usr/bin/ipcalc --silent --hostname "${new_ip_address}" ; echo "status=$?")
#   64|           elif [ -n "${new_ip6_address}" ]; then
#   65|->             eval $(/usr/bin/ipcalc --silent --hostname "${new_ip6_address}" ; echo "status=$?")
#   66|           fi
#   67|   

Error: SHELLCHECK_WARNING (CWE-457): [#def3]
/usr/bin/dhclient-script:99:11: warning[SC2154]: reason is referenced but not assigned.
#   97|       [ "${PEERDNS}" = "no" ] && return
#   98|   
#   99|->     if [ "${reason}" = "RENEW" ] &&
#  100|          [ "${new_domain_name}" = "${old_domain_name}" ] &&
#  101|          [ "${new_domain_name_servers}" = "${old_domain_name_servers}" ]; then

Error: SHELLCHECK_WARNING (CWE-457): [#def4]
/usr/bin/dhclient-script:100:34: warning[SC2154]: old_domain_name is referenced but not assigned.
#   98|   
#   99|       if [ "${reason}" = "RENEW" ] &&
#  100|->        [ "${new_domain_name}" = "${old_domain_name}" ] &&
#  101|          [ "${new_domain_name_servers}" = "${old_domain_name_servers}" ]; then
#  102|           return

Error: SHELLCHECK_WARNING (CWE-457): [#def5]
/usr/bin/dhclient-script:101:42: warning[SC2154]: old_domain_name_servers is referenced but not assigned.
#   99|       if [ "${reason}" = "RENEW" ] &&
#  100|          [ "${new_domain_name}" = "${old_domain_name}" ] &&
#  101|->        [ "${new_domain_name_servers}" = "${old_domain_name_servers}" ]; then
#  102|           return
#  103|       fi

Error: SHELLCHECK_WARNING (CWE-398): [#def6]
/usr/bin/dhclient-script:220:23: warning[SC2044]: For loops over find output are fragile. Use find -exec or a while read loop.
#  218|   
#  219|       if [ -d "${dir}" ]; then
#  220|->         for script in $(find $dir -executable ! -empty); do
#  221|               run_hook ${script} || return $?
#  222|           done

Error: SHELLCHECK_WARNING (CWE-477): [#def7]
/usr/bin/dhclient-script:266:21: warning[SC2166]: Prefer [ p ] && [ q ] as [ p -a q ] is not well defined.
#  264|       nm="${2}"
#  265|   
#  266|->     if [ -n "${ip}" -a -n "${nm}" ]; then
#  267|           if [[ "${nm}" = *.* ]]; then
#  268|               ipcalc -s -n "${ip}" "${nm}" | cut -d '=' -f 2

Error: SHELLCHECK_WARNING (CWE-477): [#def8]
/usr/bin/dhclient-script:280:21: warning[SC2166]: Prefer [ p ] && [ q ] as [ p -a q ] is not well defined.
#  278|       nm="${2}"
#  279|   
#  280|->     if [ -n "${ip}" -a -n "${nm}" ]; then
#  281|           ipcalc -s -p "${ip}" "${nm}" | cut -d '=' -f 2
#  282|       fi

Error: SHELLCHECK_WARNING (CWE-563): [#def9]
/usr/bin/dhclient-script:288:13: warning[SC2034]: mask appears unused. Verify use (or export if used externally).
#  286|       let ip=$(IFS='.' ip2num "${1}")
#  287|       let bits=32
#  288|->     let mask='255'
#  289|       for ((i=0; i <= 3; i++, 'mask<<=8')); do
#  290|           let v='ip&mask'

Error: SHELLCHECK_WARNING (CWE-457): [#def10]
/usr/bin/dhclient-script:303:54: warning[SC2154]: new_subnet_mask is referenced but not assigned.
#  301|       # handle DHCP servers that give us a router not on our subnet
#  302|       router="${1}"
#  303|->     routersubnet="$(get_network_address "${router}" "${new_subnet_mask}")"
#  304|       mysubnet="$(get_network_address "${new_ip_address}" "${new_subnet_mask}")"
#  305|   

Error: SHELLCHECK_WARNING (CWE-457): [#def11]
/usr/bin/dhclient-script:389:69: warning[SC2154]: new_broadcast_address is referenced but not assigned.
#  387|   
#  388|       # replace = add if it doesn't exist or override (update lifetimes) if it's there
#  389|->     ip -4 addr replace "${new_ip_address}/${new_prefix}" broadcast "${new_broadcast_address}" dev "${interface}" \
#  390|          valid_lft "${new_dhcp_lease_time}" preferred_lft "${new_dhcp_lease_time}" >/dev/null 2>&1
#  391|   

Error: SHELLCHECK_WARNING (CWE-457): [#def12]
/usr/bin/dhclient-script:394:13: warning[SC2154]: old_subnet_mask is referenced but not assigned.
#  392|       if [ "${reason}" = "BOUND" ] || [ "${reason}" = "REBOOT" ] ||
#  393|          [ ! "${old_ip_address}" = "${new_ip_address}" ] ||
#  394|->        [ ! "${old_subnet_mask}" = "${new_subnet_mask}" ] ||
#  395|          [ ! "${old_network_number}" = "${new_network_number}" ] ||
#  396|          [ ! "${old_broadcast_address}" = "${new_broadcast_address}" ] ||

Error: SHELLCHECK_WARNING (CWE-457): [#def13]
/usr/bin/dhclient-script:395:13: warning[SC2154]: old_network_number is referenced but not assigned.
#  393|          [ ! "${old_ip_address}" = "${new_ip_address}" ] ||
#  394|          [ ! "${old_subnet_mask}" = "${new_subnet_mask}" ] ||
#  395|->        [ ! "${old_network_number}" = "${new_network_number}" ] ||
#  396|          [ ! "${old_broadcast_address}" = "${new_broadcast_address}" ] ||
#  397|          [ ! "${old_routers}" = "${new_routers}" ] ||

Error: SHELLCHECK_WARNING (CWE-457): [#def14]
/usr/bin/dhclient-script:395:39: warning[SC2154]: new_network_number is referenced but not assigned.
#  393|          [ ! "${old_ip_address}" = "${new_ip_address}" ] ||
#  394|          [ ! "${old_subnet_mask}" = "${new_subnet_mask}" ] ||
#  395|->        [ ! "${old_network_number}" = "${new_network_number}" ] ||
#  396|          [ ! "${old_broadcast_address}" = "${new_broadcast_address}" ] ||
#  397|          [ ! "${old_routers}" = "${new_routers}" ] ||

Error: SHELLCHECK_WARNING (CWE-457): [#def15]
/usr/bin/dhclient-script:396:13: warning[SC2154]: old_broadcast_address is referenced but not assigned.
#  394|          [ ! "${old_subnet_mask}" = "${new_subnet_mask}" ] ||
#  395|          [ ! "${old_network_number}" = "${new_network_number}" ] ||
#  396|->        [ ! "${old_broadcast_address}" = "${new_broadcast_address}" ] ||
#  397|          [ ! "${old_routers}" = "${new_routers}" ] ||
#  398|          [ ! "${old_interface_mtu}" = "${new_interface_mtu}" ]; then

Error: SHELLCHECK_WARNING (CWE-457): [#def16]
/usr/bin/dhclient-script:397:13: warning[SC2154]: old_routers is referenced but not assigned.
#  395|          [ ! "${old_network_number}" = "${new_network_number}" ] ||
#  396|          [ ! "${old_broadcast_address}" = "${new_broadcast_address}" ] ||
#  397|->        [ ! "${old_routers}" = "${new_routers}" ] ||
#  398|          [ ! "${old_interface_mtu}" = "${new_interface_mtu}" ]; then
#  399|   

Error: SHELLCHECK_WARNING (CWE-457): [#def17]
/usr/bin/dhclient-script:398:13: warning[SC2154]: old_interface_mtu is referenced but not assigned.
#  396|          [ ! "${old_broadcast_address}" = "${new_broadcast_address}" ] ||
#  397|          [ ! "${old_routers}" = "${new_routers}" ] ||
#  398|->        [ ! "${old_interface_mtu}" = "${new_interface_mtu}" ]; then
#  399|   
#  400|           # The 576 MTU is only used for X.25 and dialup connections

Error: SHELLCHECK_WARNING (CWE-140): [#def18]
/usr/bin/dhclient-script:413:42: warning[SC2206]: Quote to prevent word splitting/globbing, or split robustly with mapfile or read -a.
#  411|              [ -n "${new_static_routes}" ]; then
#  412|               if [ -n "${new_classless_static_routes}" ]; then
#  413|->                 IFS=', |' static_routes=(${new_classless_static_routes})
#  414|                   # If the DHCP server returns both a Classless Static Routes option and
#  415|                   # a Router option, the DHCP client MUST ignore the Router option. (RFC3442)

Error: SHELLCHECK_WARNING (CWE-140): [#def19]
/usr/bin/dhclient-script:418:42: warning[SC2206]: Quote to prevent word splitting/globbing, or split robustly with mapfile or read -a.
#  416|                   new_routers=""
#  417|               else
#  418|->                 IFS=', |' static_routes=(${new_static_routes})
#  419|               fi
#  420|               route_targets=()

Error: SHELLCHECK_WARNING (CWE-140): [#def20]
/usr/bin/dhclient-script:431:45: warning[SC2206]: Quote to prevent word splitting/globbing, or split robustly with mapfile or read -a.
#  429|                           prefix=${target%%.*}
#  430|                           target=${target#*.}
#  431|->                         IFS="." target_arr=(${target})
#  432|                           unset IFS
#  433|                           ((pads=4-${#target_arr[@]}))

Error: SHELLCHECK_WARNING (CWE-563): [#def21]
/usr/bin/dhclient-script:434:25: warning[SC2034]: j appears unused. Verify use (or export if used externally).
#  432|                           unset IFS
#  433|                           ((pads=4-${#target_arr[@]}))
#  434|->                         for j in $(seq $pads); do
#  435|                               target="${target}.0"
#  436|                           done

Error: SHELLCHECK_WARNING (CWE-140): [#def22]
/usr/bin/dhclient-script:479:40: warning[SC2206]: Quote to prevent word splitting/globbing, or split robustly with mapfile or read -a.
#  477|                           logmessage "failed to create static route: ${target}/${prefix} via ${gateway} dev ${interface} ${metric}"
#  478|                       else
#  479|->                         route_targets=(${route_targets[@]} ${target})
#  480|                       fi
#  481|                   fi

Error: SHELLCHECK_WARNING (CWE-140): [#def23]
/usr/bin/dhclient-script:479:60: warning[SC2206]: Quote to prevent word splitting/globbing, or split robustly with mapfile or read -a.
#  477|                           logmessage "failed to create static route: ${target}/${prefix} via ${gateway} dev ${interface} ${metric}"
#  478|                       else
#  479|->                         route_targets=(${route_targets[@]} ${target})
#  480|                       fi
#  481|                   fi

Error: SHELLCHECK_WARNING (CWE-140): [#def24]
/usr/bin/dhclient-script:511:38: warning[SC2206]: Quote to prevent word splitting/globbing, or split robustly with mapfile or read -a.
#  509|                       fi
#  510|   
#  511|->                     default_routers=(${default_routers[@]} ${router})
#  512|                       add_default_gateway "${router}" "${metric}"
#  513|                       let i=i+1

Error: SHELLCHECK_WARNING (CWE-140): [#def25]
/usr/bin/dhclient-script:511:60: warning[SC2206]: Quote to prevent word splitting/globbing, or split robustly with mapfile or read -a.
#  509|                       fi
#  510|   
#  511|->                     default_routers=(${default_routers[@]} ${router})
#  512|                       add_default_gateway "${router}" "${metric}"
#  513|                       let i=i+1

Error: SHELLCHECK_WARNING (CWE-457): [#def26]
/usr/bin/dhclient-script:531:77: warning[SC2154]: alias_broadcast_address is referenced but not assigned.
#  529|           # Reset the alias address (fix: this should really only do this on changes)
#  530|           ip -4 addr flush dev "${interface}" label "${interface}:0" >/dev/null 2>&1
#  531|->         ip -4 addr replace "${alias_ip_address}/${alias_prefix}" broadcast "${alias_broadcast_address}" dev "${interface}" label "${interface}:0"
#  532|           ip -4 route replace "${alias_ip_address}/32" dev "${interface}"
#  533|       fi

Error: SHELLCHECK_WARNING (CWE-457): [#def27]
/usr/bin/dhclient-script:600:58: warning[SC2154]: new_preferred_life is referenced but not assigned.
#  598|               ip -6 addr replace "${new_ip6_address}/${new_ip6_prefixlen}" \
#  599|                   dev "${interface}" scope global valid_lft "${new_max_life}" \
#  600|->                                           preferred_lft "${new_preferred_life}"
#  601|   
#  602|               # repeatedly test whether newly added address passed

Error: SHELLCHECK_WARNING (CWE-457): [#def28]
/usr/bin/dhclient-script:662:51: warning[SC2154]: old_dhcp6_name_servers is referenced but not assigned.
#  660|               fi
#  661|   
#  662|->             if [ ! "${new_dhcp6_name_servers}" = "${old_dhcp6_name_servers}" ] ||
#  663|                  [ ! "${new_dhcp6_domain_search}" = "${old_dhcp6_domain_search}" ]; then
#  664|                   make_resolv_conf

Error: SHELLCHECK_WARNING (CWE-457): [#def29]
/usr/bin/dhclient-script:663:52: warning[SC2154]: old_dhcp6_domain_search is referenced but not assigned.
#  661|   
#  662|               if [ ! "${new_dhcp6_name_servers}" = "${old_dhcp6_name_servers}" ] ||
#  663|->                [ ! "${new_dhcp6_domain_search}" = "${old_dhcp6_domain_search}" ]; then
#  664|                   make_resolv_conf
#  665|               fi

Error: SHELLCHECK_WARNING (CWE-156): [#def30]
/usr/bin/dhclient-script:706:10: warning[SC2046]: Quote this to prevent word splitting.
#  704|       fi;
#  705|   
#  706|->     eval $(echo "${newres}" > "${RESOLVCONF}"; echo "status=$?")
#  707|       if [[ $status -eq 0 ]]; then
#  708|           logger -p local7.notice -t "NET" -i "${0} : updated ${RESOLVCONF}";

Error: SHELLCHECK_WARNING: [#def31]
/usr/bin/dhclient-script:706:61: warning[SC2320]: This $? refers to echo/printf, not a previous command. Assign to variable to avoid it being overwritten.
#  704|       fi;
#  705|   
#  706|->     eval $(echo "${newres}" > "${RESOLVCONF}"; echo "status=$?")
#  707|       if [[ $status -eq 0 ]]; then
#  708|           logger -p local7.notice -t "NET" -i "${0} : updated ${RESOLVCONF}";

Error: SHELLCHECK_WARNING (CWE-480): [#def32]
/usr/bin/dhclient-script:727:16: warning[SC1007]: Remove space after = if trying to assign a value (for empty string, use var='' ... ).
#  725|           awk '{ print toupper($0) }' < /sys/class/net/${1}/address
#  726|       elif [ -d "/sys/class/net/${1}" ]; then
#  727|->         LC_ALL= LANG= ip -o link show ${1} 2>/dev/null | \
#  728|               awk '{ print toupper(gensub(/.*link\/[^ ]* ([[:alnum:]:]*).*/,
#  729|                                           "\\1", 1)); }'

Error: SHELLCHECK_WARNING (CWE-480): [#def33]
/usr/bin/dhclient-script:727:22: warning[SC1007]: Remove space after = if trying to assign a value (for empty string, use var='' ... ).
#  725|           awk '{ print toupper($0) }' < /sys/class/net/${1}/address
#  726|       elif [ -d "/sys/class/net/${1}" ]; then
#  727|->         LC_ALL= LANG= ip -o link show ${1} 2>/dev/null | \
#  728|               awk '{ print toupper(gensub(/.*link\/[^ ]* ([[:alnum:]:]*).*/,
#  729|                                           "\\1", 1)); }'

Error: SHELLCHECK_WARNING (CWE-477): [#def34]
/usr/bin/dhclient-script:738:29: warning[SC2166]: Prefer [ p ] && [ q ] as [ p -a q ] is not well defined.
#  736|       # https://bugzilla.redhat.com/1475279
#  737|       # Remove broken link and hope NM will survive
#  738|->     if [ -h "${RESOLVCONF}" -a ! -e "${RESOLVCONF}" ];
#  739|       then
#  740|           logmessage "${RESOLVCONF} is broken symlink. Recreating..."

Error: SHELLCHECK_WARNING (CWE-571): [#def35]
/usr/bin/dhclient-script:776:11: warning[SC2155]: Declare and assign separately to avoid masking return values.
#  774|         return
#  775|       fi
#  776|->     local addr=$(get_hwaddr ${1})
#  777|       if [ -n "$addr" ]; then
#  778|         nconfig=$(get_config_by_hwaddr ${addr})

Error: SHELLCHECK_WARNING (CWE-252): [#def36]
/usr/bin/dhclient-script:819:9: warning[SC2164]: Use 'cd ... || exit' or 'cd ... || return' in case cd fails.
#  817|   ## for example in container. Don't flood stderr then
#  818|   if [ -d /etc/sysconfig/network-scripts ]; then
#  819|->         cd /etc/sysconfig/network-scripts
#  820|           CONFIG="${interface}"
#  821|           need_config "${CONFIG}"

Error: SHELLCHECK_WARNING (CWE-457): [#def37]
/usr/bin/dhclient-script:834:51: warning[SC2154]: alias_subnet_mask is referenced but not assigned.
#  832|   new_prefix="$(get_prefix "${new_ip_address}" "${new_subnet_mask}")"
#  833|   old_prefix="$(get_prefix "${old_ip_address}" "${old_subnet_mask}")"
#  834|-> alias_prefix="$(get_prefix "${alias_ip_address}" "${alias_subnet_mask}")"
#  835|   
#  836|   case "${reason}" in

Error: SHELLCHECK_WARNING (CWE-563): [#def38]
/usr/lib/NetworkManager/dispatcher.d/11-dhclient:6:1: warning[SC2034]: SAVEDIR appears unused. Verify use (or export if used externally).
#    4|   PATH=/bin:/usr/bin:/sbin
#    5|   ETCDIR=/etc/dhcp
#    6|-> SAVEDIR=/var/lib/dhclient
#    7|   interface=$1
#    8|   

Error: SHELLCHECK_WARNING (CWE-477): [#def39]
/usr/lib/NetworkManager/dispatcher.d/11-dhclient:29:46: warning[SC2166]: Prefer [ p ] || [ q ] as [ p -o q ] is not well defined.
#   27|                   "${subsystem}_config"
#   28|               elif [ "$2" = "dhcp4-change" ]; then
#   29|->                 if [ "$subsystem" = "chrony" -o "$subsystem" = "ntp" ]; then
#   30|                       "${subsystem}_config"
#   31|                   fi

Error: SHELLCHECK_WARNING (CWE-252): [#def40]
/usr/lib64/pm-utils/sleep.d/56dhclient:17:5: warning[SC2164]: Use 'cd ... || exit' or 'cd ... || return' in case cd fails.
#   15|       [ -f ${PM_DHCLIENT_SUSPEND} ] && /bin/rm -f ${PM_DHCLIENT_SUSPEND}
#   16|   
#   17|->     cd /etc/sysconfig/network-scripts
#   18|       for ifcfg in ifcfg-* ; do
#   19|           # Clear relevant parameters set by previous interface

Error: SHELLCHECK_WARNING (CWE-252): [#def41]
/usr/lib64/pm-utils/sleep.d/56dhclient:44:5: warning[SC2164]: Use 'cd ... || exit' or 'cd ... || return' in case cd fails.
#   42|       [ ! -x /sbin/ifup ] && return
#   43|   
#   44|->     cd /etc/sysconfig/network-scripts
#   45|       while read device ; do
#   46|           /sbin/ifup ${device}

Error: CPPCHECK_WARNING (CWE-457): [#def42]
dhcp-4.4.3-P1/bind/bind-9.11.36/lib/dns/adb.c:917: error[uninitvar]: Uninitialized variable: &in6a
#  915|   			INSIST(rdata.length == 16);
#  916|   			memmove(in6a.s6_addr, rdata.data, 16);
#  917|-> 			isc_sockaddr_fromin6(&sockaddr, &in6a, 0);
#  918|   			hookhead = &adbname->v6;
#  919|   		}

Error: GCC_ANALYZER_WARNING (CWE-465): [#def43]
dhcp-4.4.3-P1/bind/bind-9.11.36/lib/dns/dst_api.c:396:12: warning[-Wanalyzer-deref-before-check]: check of ‘**dctxp.key’ for NULL after already dereferencing it
dhcp-4.4.3-P1/bind/bind-9.11.36/lib/dns/dst_api.c:391:9: branch_true: following ‘true’ branch...
dhcp-4.4.3-P1/bind/bind-9.11.36/lib/dns/dst_api.c:394:9: branch_true: following ‘true’ branch...
dhcp-4.4.3-P1/bind/bind-9.11.36/lib/dns/dst_api.c:395:9: branch_true: ...to here
dhcp-4.4.3-P1/bind/bind-9.11.36/lib/dns/dst_api.c:396:12: danger: pointer ‘**dctxp.key’ is checked for NULL here but it was already dereferenced at [(3)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/2)
#  394|   	INSIST(dctx->key->func->destroyctx != NULL);
#  395|   	dctx->key->func->destroyctx(dctx);
#  396|-> 	if (dctx->key != NULL)
#  397|   		dst_key_free(&dctx->key);
#  398|   	dctx->magic = 0;

Error: CPPCHECK_WARNING (CWE-457): [#def44]
dhcp-4.4.3-P1/bind/bind-9.11.36/lib/dns/masterdump.c:1013: warning[uninitvar]: Uninitialized variables: sorted.magic, sorted.methods, sorted.link, sorted.rdclass, sorted.type, sorted.ttl, sorted.trust, sorted.covers, sorted.attributes, sorted.count, sorted.resign, sorted.private1, sorted.private2, sorted.private3, sorted.privateuint4, sorted.private5, sorted.private6, sorted.private7
# 1011|   	INSIST(n <= MAXSORT);
# 1012|   
# 1013|-> 	qsort(sorted, n, sizeof(sorted[0]), dump_order_compare);
# 1014|   
# 1015|   	for (i = 0; i < n; i++) {

Error: CPPCHECK_WARNING (CWE-476): [#def45]
dhcp-4.4.3-P1/bind/bind-9.11.36/lib/dns/rbtdb.c:3891: warning[nullPointer]: Possible null pointer dereference: firstp
# 3889|   
# 3890|   	for (;;) {
# 3891|-> 		if (*firstp) {
# 3892|   			/*
# 3893|   			 * Construct the name of the second node to check.

Error: CPPCHECK_WARNING (CWE-457): [#def46]
dhcp-4.4.3-P1/bind/bind-9.11.36/lib/dns/rdata.c:558: error[uninitvar]: Uninitialized variable: len
#  556|   	unsigned int i;
#  557|   
#  558|-> 	for (i = 0; i < sr->length; i += len) {
#  559|   		/*
#  560|   		 * Check for overflow.

Error: CPPCHECK_WARNING (CWE-457): [#def47]
dhcp-4.4.3-P1/bind/bind-9.11.36/lib/dns/rdata.c:1773: warning[uninitvar]: Uninitialized variable: tr.base
# 1771|   		isc_textregion_t tr;
# 1772|   		isc_buffer_usedregion(target, (isc_region_t *)&tr);
# 1773|-> 		if (tr.base[tr.length - 1] == ':') {
# 1774|   			if (isc_buffer_availablelength(target) == 0) {
# 1775|   				return (ISC_R_NOSPACE);

Error: CPPCHECK_WARNING (CWE-457): [#def48]
dhcp-4.4.3-P1/bind/bind-9.11.36/lib/dns/resolver.c:6511: error[uninitvar]: Uninitialized variable: &in6a
# 6509|   			INSIST(rdata.length == sizeof(in6a.s6_addr));
# 6510|   			memmove(in6a.s6_addr, rdata.data, sizeof(in6a.s6_addr));
# 6511|-> 			isc_netaddr_fromin6(&netaddr, &in6a);
# 6512|   		}
# 6513|   

Error: CPPCHECK_WARNING (CWE-562): [#def49]
dhcp-4.4.3-P1/bind/bind-9.11.36/lib/dns/tkey.c:1344: error[autoVariables]: Address of local auto-variable assigned to a function parameter.
# 1342|   	}
# 1343|   
# 1344|-> 	isc_buffer_init(outtoken, array, sizeof(array));
# 1345|   	isc_buffer_init(&intoken, rtkey.key, rtkey.keylen);
# 1346|   	RETERR(dst_gssapi_initctx(gname, &intoken, outtoken, context,

Error: CPPCHECK_WARNING (CWE-457): [#def50]
dhcp-4.4.3-P1/bind/bind-9.11.36/lib/dns/tsig.c:913: error[uninitvar]: Uninitialized variable: tsig.other
#  911|   		tsig.otherlen = BADTIMELEN;
#  912|   		tsig.other = badtimedata;
#  913|-> 		isc_buffer_init(&otherbuf, tsig.other, tsig.otherlen);
#  914|   		isc_buffer_putuint48(&otherbuf, tsig.timesigned);
#  915|   	}

Error: GCC_ANALYZER_WARNING (CWE-476): [#def51]
dhcp-4.4.3-P1/bind/bind-9.11.36/lib/dns/validator.c:2427:21: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘rdataset’
dhcp-4.4.3-P1/bind/bind-9.11.36/lib/dns/validator.c:2831:1: enter_function: entry to ‘nsecvalidate’
dhcp-4.4.3-P1/bind/bind-9.11.36/lib/dns/validator.c:2885:12: branch_true: following ‘true’ branch...
dhcp-4.4.3-P1/bind/bind-9.11.36/lib/dns/validator.c:2886:26: call_function: calling ‘findnsec3proofs’ from ‘nsecvalidate’
# 2425|   	     result = val_rdataset_next(val, &name, &rdataset))
# 2426|   	{
# 2427|-> 		if (rdataset->type != type ||
# 2428|   		    rdataset->trust != dns_trust_secure)
# 2429|   			continue;

Error: GCC_ANALYZER_WARNING (CWE-457): [#def52]
dhcp-4.4.3-P1/bind/bind-9.11.36/lib/isc/base32.c:212:30: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘*ctx.val[1]’
dhcp-4.4.3-P1/bind/bind-9.11.36/lib/isc/base32.c:386:1: enter_function: entry to ‘base32_decoderegion’
dhcp-4.4.3-P1/bind/bind-9.11.36/lib/isc/base32.c:392:16: branch_true: following ‘true’ branch...
dhcp-4.4.3-P1/bind/bind-9.11.36/lib/isc/base32.c:393:26: branch_true: ...to here
dhcp-4.4.3-P1/bind/bind-9.11.36/lib/isc/base32.c:394:17: call_function: calling ‘base32_decode_char’ from ‘base32_decoderegion’
dhcp-4.4.3-P1/bind/bind-9.11.36/lib/isc/base32.c:394:17: return_function: returning to ‘base32_decoderegion’ from ‘base32_decode_char’
dhcp-4.4.3-P1/bind/bind-9.11.36/lib/isc/base32.c:394:17: branch_false: following ‘false’ branch...
dhcp-4.4.3-P1/bind/bind-9.11.36/lib/isc/base32.c:395:17: branch_false: ...to here
dhcp-4.4.3-P1/bind/bind-9.11.36/lib/isc/base32.c:395:17: branch_true: following ‘true’ branch...
dhcp-4.4.3-P1/bind/bind-9.11.36/lib/isc/base32.c:395:17: branch_true: ...to here
dhcp-4.4.3-P1/bind/bind-9.11.36/lib/isc/base32.c:392:16: branch_true: following ‘true’ branch...
dhcp-4.4.3-P1/bind/bind-9.11.36/lib/isc/base32.c:393:26: branch_true: ...to here
dhcp-4.4.3-P1/bind/bind-9.11.36/lib/isc/base32.c:394:17: call_function: calling ‘base32_decode_char’ from ‘base32_decoderegion’
#  210|   			return (ISC_R_BADBASE32);
#  211|   		case 2:
#  212|-> 			if ((ctx->val[1]&0x03) != 0) {
#  213|   				return (ISC_R_BADBASE32);
#  214|   			}

Error: GCC_ANALYZER_WARNING (CWE-457): [#def53]
dhcp-4.4.3-P1/bind/bind-9.11.36/lib/isc/base32.c:220:30: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘*ctx.val[3]’
dhcp-4.4.3-P1/bind/bind-9.11.36/lib/isc/base32.c:386:1: enter_function: entry to ‘base32_decoderegion’
dhcp-4.4.3-P1/bind/bind-9.11.36/lib/isc/base32.c:392:16: branch_true: following ‘true’ branch...
dhcp-4.4.3-P1/bind/bind-9.11.36/lib/isc/base32.c:393:26: branch_true: ...to here
dhcp-4.4.3-P1/bind/bind-9.11.36/lib/isc/base32.c:394:17: call_function: calling ‘base32_decode_char’ from ‘base32_decoderegion’
dhcp-4.4.3-P1/bind/bind-9.11.36/lib/isc/base32.c:394:17: return_function: returning to ‘base32_decoderegion’ from ‘base32_decode_char’
dhcp-4.4.3-P1/bind/bind-9.11.36/lib/isc/base32.c:394:17: branch_false: following ‘false’ branch...
dhcp-4.4.3-P1/bind/bind-9.11.36/lib/isc/base32.c:395:17: branch_false: ...to here
dhcp-4.4.3-P1/bind/bind-9.11.36/lib/isc/base32.c:395:17: branch_true: following ‘true’ branch...
dhcp-4.4.3-P1/bind/bind-9.11.36/lib/isc/base32.c:395:17: branch_true: ...to here
dhcp-4.4.3-P1/bind/bind-9.11.36/lib/isc/base32.c:392:16: branch_true: following ‘true’ branch...
dhcp-4.4.3-P1/bind/bind-9.11.36/lib/isc/base32.c:393:26: branch_true: ...to here
dhcp-4.4.3-P1/bind/bind-9.11.36/lib/isc/base32.c:394:17: call_function: calling ‘base32_decode_char’ from ‘base32_decoderegion’
#  218|   			return (ISC_R_BADBASE32);
#  219|   		case 4:
#  220|-> 			if ((ctx->val[3]&0x0f) != 0) {
#  221|   				return (ISC_R_BADBASE32);
#  222|   			}

Error: GCC_ANALYZER_WARNING (CWE-457): [#def54]
dhcp-4.4.3-P1/bind/bind-9.11.36/lib/isc/base32.c:226:30: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘*ctx.val[4]’
dhcp-4.4.3-P1/bind/bind-9.11.36/lib/isc/base32.c:386:1: enter_function: entry to ‘base32_decoderegion’
dhcp-4.4.3-P1/bind/bind-9.11.36/lib/isc/base32.c:392:16: branch_true: following ‘true’ branch...
dhcp-4.4.3-P1/bind/bind-9.11.36/lib/isc/base32.c:393:26: branch_true: ...to here
dhcp-4.4.3-P1/bind/bind-9.11.36/lib/isc/base32.c:394:17: call_function: calling ‘base32_decode_char’ from ‘base32_decoderegion’
dhcp-4.4.3-P1/bind/bind-9.11.36/lib/isc/base32.c:394:17: return_function: returning to ‘base32_decoderegion’ from ‘base32_decode_char’
dhcp-4.4.3-P1/bind/bind-9.11.36/lib/isc/base32.c:394:17: branch_false: following ‘false’ branch...
dhcp-4.4.3-P1/bind/bind-9.11.36/lib/isc/base32.c:395:17: branch_false: ...to here
dhcp-4.4.3-P1/bind/bind-9.11.36/lib/isc/base32.c:395:17: branch_true: following ‘true’ branch...
dhcp-4.4.3-P1/bind/bind-9.11.36/lib/isc/base32.c:395:17: branch_true: ...to here
dhcp-4.4.3-P1/bind/bind-9.11.36/lib/isc/base32.c:392:16: branch_true: following ‘true’ branch...
dhcp-4.4.3-P1/bind/bind-9.11.36/lib/isc/base32.c:393:26: branch_true: ...to here
dhcp-4.4.3-P1/bind/bind-9.11.36/lib/isc/base32.c:394:17: call_function: calling ‘base32_decode_char’ from ‘base32_decoderegion’
#  224|   			break;
#  225|   		case 5:
#  226|-> 			if ((ctx->val[4]&0x01) != 0) {
#  227|   				return (ISC_R_BADBASE32);
#  228|   			}

Error: GCC_ANALYZER_WARNING (CWE-457): [#def55]
dhcp-4.4.3-P1/bind/bind-9.11.36/lib/isc/base32.c:234:30: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘*ctx.val[6]’
dhcp-4.4.3-P1/bind/bind-9.11.36/lib/isc/base32.c:386:1: enter_function: entry to ‘base32_decoderegion’
dhcp-4.4.3-P1/bind/bind-9.11.36/lib/isc/base32.c:392:16: branch_true: following ‘true’ branch...
dhcp-4.4.3-P1/bind/bind-9.11.36/lib/isc/base32.c:393:26: branch_true: ...to here
dhcp-4.4.3-P1/bind/bind-9.11.36/lib/isc/base32.c:394:17: call_function: calling ‘base32_decode_char’ from ‘base32_decoderegion’
dhcp-4.4.3-P1/bind/bind-9.11.36/lib/isc/base32.c:394:17: return_function: returning to ‘base32_decoderegion’ from ‘base32_decode_char’
dhcp-4.4.3-P1/bind/bind-9.11.36/lib/isc/base32.c:394:17: branch_false: following ‘false’ branch...
dhcp-4.4.3-P1/bind/bind-9.11.36/lib/isc/base32.c:395:17: branch_false: ...to here
dhcp-4.4.3-P1/bind/bind-9.11.36/lib/isc/base32.c:395:17: branch_true: following ‘true’ branch...
dhcp-4.4.3-P1/bind/bind-9.11.36/lib/isc/base32.c:395:17: branch_true: ...to here
dhcp-4.4.3-P1/bind/bind-9.11.36/lib/isc/base32.c:392:16: branch_true: following ‘true’ branch...
dhcp-4.4.3-P1/bind/bind-9.11.36/lib/isc/base32.c:393:26: branch_true: ...to here
dhcp-4.4.3-P1/bind/bind-9.11.36/lib/isc/base32.c:394:17: call_function: calling ‘base32_decode_char’ from ‘base32_decoderegion’
#  232|   			return (ISC_R_BADBASE32);
#  233|   		case 7:
#  234|-> 			if ((ctx->val[6]&0x07) != 0) {
#  235|   				return (ISC_R_BADBASE32);
#  236|   			}

Error: GCC_ANALYZER_WARNING (CWE-457): [#def56]
dhcp-4.4.3-P1/bind/bind-9.11.36/lib/isc/base64.c:244:9: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘source’
dhcp-4.4.3-P1/bind/bind-9.11.36/lib/isc/base64.c:48:1: enter_function: entry to ‘isc_base64_totext’
dhcp-4.4.3-P1/bind/bind-9.11.36/lib/isc/base64.c:58:16: branch_true: following ‘true’ branch...
dhcp-4.4.3-P1/bind/bind-9.11.36/lib/isc/base64.c:59:34: branch_true: ...to here
dhcp-4.4.3-P1/bind/bind-9.11.36/lib/isc/base64.c:65:17: call_function: calling ‘str_totext’ from ‘isc_base64_totext’
#  242|   		return (ISC_R_NOSPACE);
#  243|   
#  244|-> 	memmove(region.base, source, l);
#  245|   	isc_buffer_add(target, l);
#  246|   	return (ISC_R_SUCCESS);

Error: GCC_ANALYZER_WARNING (CWE-457): [#def57]
dhcp-4.4.3-P1/bind/bind-9.11.36/lib/isc/hex.c:192:9: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘source’
dhcp-4.4.3-P1/bind/bind-9.11.36/lib/isc/hex.c:45:1: enter_function: entry to ‘isc_hex_totext’
dhcp-4.4.3-P1/bind/bind-9.11.36/lib/isc/hex.c:55:16: branch_true: following ‘true’ branch...
dhcp-4.4.3-P1/bind/bind-9.11.36/lib/isc/hex.c:56:31: branch_true: ...to here
dhcp-4.4.3-P1/bind/bind-9.11.36/lib/isc/hex.c:58:17: call_function: calling ‘str_totext’ from ‘isc_hex_totext’
#  190|   		return (ISC_R_NOSPACE);
#  191|   
#  192|-> 	memmove(region.base, source, l);
#  193|   	isc_buffer_add(target, l);
#  194|   	return (ISC_R_SUCCESS);

Error: CPPCHECK_WARNING (CWE-476): [#def58]
dhcp-4.4.3-P1/bind/bind-9.11.36/lib/isc/mem.c:429: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: dl
#  427|   	INSIST(dl != NULL);
#  428|   
#  429|-> 	ISC_LINK_INIT(dl, link);
#  430|   	for (i = 1; i < DEBUGLIST_COUNT; i++) {
#  431|   		dl->ptr[i] = NULL;

Error: CPPCHECK_WARNING (CWE-476): [#def59]
dhcp-4.4.3-P1/bind/bind-9.11.36/lib/isc/mem.c:431: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: dl
#  429|   	ISC_LINK_INIT(dl, link);
#  430|   	for (i = 1; i < DEBUGLIST_COUNT; i++) {
#  431|-> 		dl->ptr[i] = NULL;
#  432|   		dl->size[i] = 0;
#  433|   		dl->file[i] = NULL;

Error: CPPCHECK_WARNING (CWE-476): [#def60]
dhcp-4.4.3-P1/bind/bind-9.11.36/lib/isc/mem.c:432: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: dl
#  430|   	for (i = 1; i < DEBUGLIST_COUNT; i++) {
#  431|   		dl->ptr[i] = NULL;
#  432|-> 		dl->size[i] = 0;
#  433|   		dl->file[i] = NULL;
#  434|   		dl->line[i] = 0;

Error: CPPCHECK_WARNING (CWE-476): [#def61]
dhcp-4.4.3-P1/bind/bind-9.11.36/lib/isc/mem.c:433: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: dl
#  431|   		dl->ptr[i] = NULL;
#  432|   		dl->size[i] = 0;
#  433|-> 		dl->file[i] = NULL;
#  434|   		dl->line[i] = 0;
#  435|   	}

Error: CPPCHECK_WARNING (CWE-476): [#def62]
dhcp-4.4.3-P1/bind/bind-9.11.36/lib/isc/mem.c:434: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: dl
#  432|   		dl->size[i] = 0;
#  433|   		dl->file[i] = NULL;
#  434|-> 		dl->line[i] = 0;
#  435|   	}
#  436|   

Error: CPPCHECK_WARNING (CWE-476): [#def63]
dhcp-4.4.3-P1/bind/bind-9.11.36/lib/isc/mem.c:437: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: dl
#  435|   	}
#  436|   
#  437|-> 	dl->ptr[0] = ptr;
#  438|   	dl->size[0] = size;
#  439|   	dl->file[0] = file;

Error: CPPCHECK_WARNING (CWE-476): [#def64]
dhcp-4.4.3-P1/bind/bind-9.11.36/lib/isc/mem.c:438: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: dl
#  436|   
#  437|   	dl->ptr[0] = ptr;
#  438|-> 	dl->size[0] = size;
#  439|   	dl->file[0] = file;
#  440|   	dl->line[0] = line;

Error: CPPCHECK_WARNING (CWE-476): [#def65]
dhcp-4.4.3-P1/bind/bind-9.11.36/lib/isc/mem.c:439: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: dl
#  437|   	dl->ptr[0] = ptr;
#  438|   	dl->size[0] = size;
#  439|-> 	dl->file[0] = file;
#  440|   	dl->line[0] = line;
#  441|   	dl->count = 1;

Error: CPPCHECK_WARNING (CWE-476): [#def66]
dhcp-4.4.3-P1/bind/bind-9.11.36/lib/isc/mem.c:440: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: dl
#  438|   	dl->size[0] = size;
#  439|   	dl->file[0] = file;
#  440|-> 	dl->line[0] = line;
#  441|   	dl->count = 1;
#  442|   

Error: CPPCHECK_WARNING (CWE-476): [#def67]
dhcp-4.4.3-P1/bind/bind-9.11.36/lib/isc/mem.c:441: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: dl
#  439|   	dl->file[0] = file;
#  440|   	dl->line[0] = line;
#  441|-> 	dl->count = 1;
#  442|   
#  443|   	ISC_LIST_PREPEND(mctx->debuglist[mysize], dl, link);

Error: CPPCHECK_WARNING (CWE-476): [#def68]
dhcp-4.4.3-P1/bind/bind-9.11.36/lib/isc/mem.c:443: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: dl
#  441|   	dl->count = 1;
#  442|   
#  443|-> 	ISC_LIST_PREPEND(mctx->debuglist[mysize], dl, link);
#  444|   	mctx->debuglistcnt++;
#  445|   }

Error: GCC_ANALYZER_WARNING (CWE-775): [#def69]
dhcp-4.4.3-P1/bind/bind-9.11.36/lib/isc/unix/socket.c:5769:12: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘((isc__socket_t)*sock0).fd’
dhcp-4.4.3-P1/bind/bind-9.11.36/lib/isc/unix/../socket_api.c:386:1: enter_function: entry to ‘isc_socket_listen’
dhcp-4.4.3-P1/bind/bind-9.11.36/lib/isc/unix/../socket_api.c:387:16: call_function: calling ‘isc__socket_listen’ from ‘isc_socket_listen’
# 5767|   		backlog = SOMAXCONN;
# 5768|   
# 5769|-> 	if (listen(sock->fd, (int)backlog) < 0) {
# 5770|   		UNLOCK(&sock->lock);
# 5771|   		isc__strerror(errno, strbuf, sizeof(strbuf));

Error: COMPILER_WARNING: [#def70]
dhcp-4.4.3-P1/client/clparse.c: scope_hint: In function ‘parse_client_statement’
dhcp-4.4.3-P1/client/clparse.c:438:6: warning[-Wold-style-definition]: old-style function definition
#  438 | void parse_client_statement (cfile, ip, config)
#      |      ^~~~~~~~~~~~~~~~~~~~~~
#  436|   	BOOTP_BROADCAST_ALWAYS */
#  437|   
#  438|-> void parse_client_statement (cfile, ip, config)
#  439|   	struct parse *cfile;
#  440|   	struct interface_info *ip;

Error: COMPILER_WARNING: [#def71]
dhcp-4.4.3-P1/client/clparse.c:438:6: warning[-Wold-style-definition]: old-style function definition
#  436|   	BOOTP_BROADCAST_ALWAYS */
#  437|   
#  438|-> void parse_client_statement (cfile, ip, config)
#  439|   	struct parse *cfile;
#  440|   	struct interface_info *ip;

Error: COMPILER_WARNING: [#def72]
dhcp-4.4.3-P1/client/clparse.c: scope_hint: In function ‘parse_interface_declaration’
dhcp-4.4.3-P1/client/clparse.c:989:6: warning[-Wold-style-definition]: old-style function definition
#  989 | void parse_interface_declaration (cfile, outer_config, name)
#      |      ^~~~~~~~~~~~~~~~~~~~~~~~~~~
#  987|      	INTERFACE string LBRACE client-declarations RBRACE */
#  988|   
#  989|-> void parse_interface_declaration (cfile, outer_config, name)
#  990|   	struct parse *cfile;
#  991|   	struct client_config *outer_config;

Error: COMPILER_WARNING: [#def73]
dhcp-4.4.3-P1/client/clparse.c:989:6: warning[-Wold-style-definition]: old-style function definition
#  987|      	INTERFACE string LBRACE client-declarations RBRACE */
#  988|   
#  989|-> void parse_interface_declaration (cfile, outer_config, name)
#  990|   	struct parse *cfile;
#  991|   	struct client_config *outer_config;

Error: COMPILER_WARNING: [#def74]
dhcp-4.4.3-P1/client/clparse.c: scope_hint: In function ‘make_client_state’
dhcp-4.4.3-P1/client/clparse.c:1106:6: warning[-Wold-style-definition]: old-style function definition
# 1106 | void make_client_state (state)
#      |      ^~~~~~~~~~~~~~~~~
# 1104|   }
# 1105|   
# 1106|-> void make_client_state (state)
# 1107|   	struct client_state **state;
# 1108|   {

Error: COMPILER_WARNING: [#def75]
dhcp-4.4.3-P1/client/clparse.c:1106:6: warning[-Wold-style-definition]: old-style function definition
# 1104|   }
# 1105|   
# 1106|-> void make_client_state (state)
# 1107|   	struct client_state **state;
# 1108|   {

Error: COMPILER_WARNING: [#def76]
dhcp-4.4.3-P1/client/clparse.c: scope_hint: In function ‘make_client_config’
dhcp-4.4.3-P1/client/clparse.c:1115:6: warning[-Wold-style-definition]: old-style function definition
# 1115 | void make_client_config (client, config)
#      |      ^~~~~~~~~~~~~~~~~~
# 1113|   }
# 1114|   
# 1115|-> void make_client_config (client, config)
# 1116|   	struct client_state *client;
# 1117|   	struct client_config *config;

Error: COMPILER_WARNING: [#def77]
dhcp-4.4.3-P1/client/clparse.c:1115:6: warning[-Wold-style-definition]: old-style function definition
# 1113|   }
# 1114|   
# 1115|-> void make_client_config (client, config)
# 1116|   	struct client_state *client;
# 1117|   	struct client_config *config;

Error: COMPILER_WARNING: [#def78]
dhcp-4.4.3-P1/client/clparse.c: scope_hint: In function ‘parse_client_lease_statement’
dhcp-4.4.3-P1/client/clparse.c:1140:6: warning[-Wold-style-definition]: old-style function definition
# 1140 | void parse_client_lease_statement (cfile, is_static)
#      |      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
# 1138|   
# 1139|   
# 1140|-> void parse_client_lease_statement (cfile, is_static)
# 1141|   	struct parse *cfile;
# 1142|   	int is_static;

Error: COMPILER_WARNING: [#def79]
dhcp-4.4.3-P1/client/clparse.c:1140:6: warning[-Wold-style-definition]: old-style function definition
# 1138|   
# 1139|   
# 1140|-> void parse_client_lease_statement (cfile, is_static)
# 1141|   	struct parse *cfile;
# 1142|   	int is_static;

Error: COMPILER_WARNING: [#def80]
dhcp-4.4.3-P1/client/clparse.c: scope_hint: In function ‘parse_client_lease_declaration’
dhcp-4.4.3-P1/client/clparse.c:1258:6: warning[-Wold-style-definition]: old-style function definition
# 1258 | void parse_client_lease_declaration (cfile, lease, ipp, clientp)
#      |      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# 1256|   	KEY id */
# 1257|   
# 1258|-> void parse_client_lease_declaration (cfile, lease, ipp, clientp)
# 1259|   	struct parse *cfile;
# 1260|   	struct client_lease *lease;

Error: COMPILER_WARNING: [#def81]
dhcp-4.4.3-P1/client/clparse.c:1258:6: warning[-Wold-style-definition]: old-style function definition
# 1256|   	KEY id */
# 1257|   
# 1258|-> void parse_client_lease_declaration (cfile, lease, ipp, clientp)
# 1259|   	struct parse *cfile;
# 1260|   	struct client_lease *lease;

Error: COMPILER_WARNING: [#def82]
dhcp-4.4.3-P1/client/clparse.c: scope_hint: In function ‘parse_string_list’
dhcp-4.4.3-P1/client/clparse.c:2225:6: warning[-Wold-style-definition]: old-style function definition
# 2225 | void parse_string_list (cfile, lp, multiple)
#      |      ^~~~~~~~~~~~~~~~~
# 2223|   #endif /* DHCPv6 */
# 2224|   
# 2225|-> void parse_string_list (cfile, lp, multiple)
# 2226|   	struct parse *cfile;
# 2227|   	struct string_list **lp;

Error: COMPILER_WARNING: [#def83]
dhcp-4.4.3-P1/client/clparse.c:2225:6: warning[-Wold-style-definition]: old-style function definition
# 2223|   #endif /* DHCPv6 */
# 2224|   
# 2225|-> void parse_string_list (cfile, lp, multiple)
# 2226|   	struct parse *cfile;
# 2227|   	struct string_list **lp;

Error: COMPILER_WARNING: [#def84]
dhcp-4.4.3-P1/client/clparse.c: scope_hint: In function ‘parse_reject_statement’
dhcp-4.4.3-P1/client/clparse.c:2275:6: warning[-Wold-style-definition]: old-style function definition
# 2275 | void parse_reject_statement (cfile, config)
#      |      ^~~~~~~~~~~~~~~~~~~~~~
# 2273|   }
# 2274|   
# 2275|-> void parse_reject_statement (cfile, config)
# 2276|   	struct parse *cfile;
# 2277|   	struct client_config *config;

Error: COMPILER_WARNING: [#def85]
dhcp-4.4.3-P1/client/clparse.c:2275:6: warning[-Wold-style-definition]: old-style function definition
# 2273|   }
# 2274|   
# 2275|-> void parse_reject_statement (cfile, config)
# 2276|   	struct parse *cfile;
# 2277|   	struct client_config *config;

Error: COMPILER_WARNING: [#def86]
dhcp-4.4.3-P1/client/clparse.c: scope_hint: In function ‘parse_allow_deny’
dhcp-4.4.3-P1/client/clparse.c:2339:5: warning[-Wold-style-definition]: old-style function definition
# 2339 | int parse_allow_deny (oc, cfile, flag)
#      |     ^~~~~~~~~~~~~~~~
# 2337|   			| UNKNOWN_CLIENTS */
# 2338|   
# 2339|-> int parse_allow_deny (oc, cfile, flag)
# 2340|   	struct option_cache **oc;
# 2341|   	struct parse *cfile;

Error: COMPILER_WARNING: [#def87]
dhcp-4.4.3-P1/client/clparse.c:2339:5: warning[-Wold-style-definition]: old-style function definition
# 2337|   			| UNKNOWN_CLIENTS */
# 2338|   
# 2339|-> int parse_allow_deny (oc, cfile, flag)
# 2340|   	struct option_cache **oc;
# 2341|   	struct parse *cfile;

Error: COMPILER_WARNING: [#def88]
dhcp-4.4.3-P1/client/dhc6.c: scope_hint: In function ‘script_write_requested6’
dhcp-4.4.3-P1/client/dhc6.c:5899:13: warning[-Wold-style-definition]: old-style function definition
# 5899 | static void script_write_requested6(client)
#      |             ^~~~~~~~~~~~~~~~~~~~~~~
# 5897|    * If it wasn't requested there won't be a variable.
# 5898|    */
# 5899|-> static void script_write_requested6(client)
# 5900|   	struct client_state *client;
# 5901|   {

Error: COMPILER_WARNING: [#def89]
dhcp-4.4.3-P1/client/dhc6.c:5899:13: warning[-Wold-style-definition]: old-style function definition
# 5897|    * If it wasn't requested there won't be a variable.
# 5898|    */
# 5899|-> static void script_write_requested6(client)
# 5900|   	struct client_state *client;
# 5901|   {

Error: COMPILER_WARNING (CWE-252): [#def90]
dhcp-4.4.3-P1/client/dhclient.c: scope_hint: In function ‘main’
dhcp-4.4.3-P1/client/dhclient.c:756:17: warning[-Wunused-result]: ignoring return value of ‘capng_apply’ declared with attribute ‘warn_unused_result’
#  756 |                 capng_apply(CAPNG_SELECT_CAPS);
#      |                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#  754|   				CAP_NET_ADMIN, CAP_NET_RAW,
#  755|   				CAP_NET_BIND_SERVICE, CAP_SYS_ADMIN, -1);
#  756|-> 		capng_apply(CAPNG_SELECT_CAPS);
#  757|   	}
#  758|   #endif

Error: COMPILER_WARNING (CWE-483): [#def91]
dhcp-4.4.3-P1/client/dhclient.c: scope_hint: In function ‘main’
dhcp-4.4.3-P1/client/dhclient.c:836:25: warning[-Wmisleading-indentation]: this ‘for’ clause does not guard...
#  836 |                         for (pfx=pdp_len; (pfx >= 0) && (path_dhclient_pid[pfx] != '.') && (path_dhclient_pid[pfx] != '/'); pfx--);
#      |                         ^~~
dhcp-4.4.3-P1/client/dhclient.c:837:33: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘for’
#  837 |                                 if (pfx == -1)
#      |                                 ^~
#  834|   			/* find append point: beginning of any trailing '.pid'
#  835|   			 * or '-$IF.pid' */
#  836|-> 			for (pfx=pdp_len; (pfx >= 0) && (path_dhclient_pid[pfx] != '.') && (path_dhclient_pid[pfx] != '/'); pfx--);
#  837|   				if (pfx == -1)
#  838|   					pfx = pdp_len;

Error: COMPILER_WARNING (CWE-483): [#def92]
dhcp-4.4.3-P1/client/dhclient.c:843:25: warning[-Wmisleading-indentation]: this ‘for’ clause does not guard...
#  843 |                         for (dpfx=pfx; (dpfx >= 0) && (path_dhclient_pid[dpfx] != '-') && (path_dhclient_pid[dpfx] != '/'); dpfx--);
#      |                         ^~~
dhcp-4.4.3-P1/client/dhclient.c:844:33: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘for’
#  844 |                                 if ((dpfx > -1) && (path_dhclient_pid[dpfx] != '/'))
#      |                                 ^~
#  841|   				pfx += 1;
#  842|   
#  843|-> 			for (dpfx=pfx; (dpfx >= 0) && (path_dhclient_pid[dpfx] != '-') && (path_dhclient_pid[dpfx] != '/'); dpfx--);
#  844|   				if ((dpfx > -1) && (path_dhclient_pid[dpfx] != '/'))
#  845|   					pfx = dpfx;

Error: COMPILER_WARNING: [#def93]
dhcp-4.4.3-P1/client/dhclient.c: scope_hint: In function ‘check_collection’
dhcp-4.4.3-P1/client/dhclient.c:1548:5: warning[-Wold-style-definition]: old-style function definition
# 1548 | int check_collection (packet, lease, collection)
#      |     ^~~~~~~~~~~~~~~~
# 1546|   }
# 1547|   
# 1548|-> int check_collection (packet, lease, collection)
# 1549|   	struct packet *packet;
# 1550|   	struct lease *lease;

Error: COMPILER_WARNING: [#def94]
dhcp-4.4.3-P1/client/dhclient.c:1548:5: warning[-Wold-style-definition]: old-style function definition
# 1546|   }
# 1547|   
# 1548|-> int check_collection (packet, lease, collection)
# 1549|   	struct packet *packet;
# 1550|   	struct lease *lease;

Error: COMPILER_WARNING: [#def95]
dhcp-4.4.3-P1/client/dhclient.c: scope_hint: In function ‘classify’
dhcp-4.4.3-P1/client/dhclient.c:1556:6: warning[-Wold-style-definition]: old-style function definition
# 1556 | void classify (packet, class)
#      |      ^~~~~~~~
# 1554|   }
# 1555|   
# 1556|-> void classify (packet, class)
# 1557|   	struct packet *packet;
# 1558|   	struct class *class;

Error: COMPILER_WARNING: [#def96]
dhcp-4.4.3-P1/client/dhclient.c:1556:6: warning[-Wold-style-definition]: old-style function definition
# 1554|   }
# 1555|   
# 1556|-> void classify (packet, class)
# 1557|   	struct packet *packet;
# 1558|   	struct class *class;

Error: COMPILER_WARNING: [#def97]
dhcp-4.4.3-P1/client/dhclient.c: scope_hint: In function ‘unbill_class’
dhcp-4.4.3-P1/client/dhclient.c:1562:6: warning[-Wold-style-definition]: old-style function definition
# 1562 | void unbill_class (lease)
#      |      ^~~~~~~~~~~~
# 1560|   }
# 1561|   
# 1562|-> void unbill_class (lease)
# 1563|   	struct lease *lease;
# 1564|   {

Error: COMPILER_WARNING: [#def98]
dhcp-4.4.3-P1/client/dhclient.c:1562:6: warning[-Wold-style-definition]: old-style function definition
# 1560|   }
# 1561|   
# 1562|-> void unbill_class (lease)
# 1563|   	struct lease *lease;
# 1564|   {

Error: COMPILER_WARNING: [#def99]
dhcp-4.4.3-P1/client/dhclient.c: scope_hint: In function ‘state_reboot’
dhcp-4.4.3-P1/client/dhclient.c:1625:6: warning[-Wold-style-definition]: old-style function definition
# 1625 | void state_reboot (cpp)
#      |      ^~~~~~~~~~~~
# 1623|    */
# 1624|   
# 1625|-> void state_reboot (cpp)
# 1626|   	void *cpp;
# 1627|   {

Error: COMPILER_WARNING: [#def100]
dhcp-4.4.3-P1/client/dhclient.c:1625:6: warning[-Wold-style-definition]: old-style function definition
# 1623|    */
# 1624|   
# 1625|-> void state_reboot (cpp)
# 1626|   	void *cpp;
# 1627|   {

Error: COMPILER_WARNING: [#def101]
dhcp-4.4.3-P1/client/dhclient.c: scope_hint: In function ‘state_init’
dhcp-4.4.3-P1/client/dhclient.c:1678:6: warning[-Wold-style-definition]: old-style function definition
# 1678 | void state_init (cpp)
#      |      ^~~~~~~~~~
# 1676|      renew it. */
# 1677|   
# 1678|-> void state_init (cpp)
# 1679|   	void *cpp;
# 1680|   {

Error: COMPILER_WARNING: [#def102]
dhcp-4.4.3-P1/client/dhclient.c:1678:6: warning[-Wold-style-definition]: old-style function definition
# 1676|      renew it. */
# 1677|   
# 1678|-> void state_init (cpp)
# 1679|   	void *cpp;
# 1680|   {

Error: COMPILER_WARNING: [#def103]
dhcp-4.4.3-P1/client/dhclient.c: scope_hint: In function ‘check_v6only’
dhcp-4.4.3-P1/client/dhclient.c:1703:10: warning[-Wold-style-definition]: old-style function definition
# 1703 | uint32_t check_v6only(packet, client)
#      |          ^~~~~~~~~~~~
# 1701|    * V6ONLY_WAIT delay to suspend DHCPv4. */
# 1702|   
# 1703|-> uint32_t check_v6only(packet, client)
# 1704|   	struct packet *packet;
# 1705|   	struct client_state *client;

Error: COMPILER_WARNING: [#def104]
dhcp-4.4.3-P1/client/dhclient.c:1703:10: warning[-Wold-style-definition]: old-style function definition
# 1701|    * V6ONLY_WAIT delay to suspend DHCPv4. */
# 1702|   
# 1703|-> uint32_t check_v6only(packet, client)
# 1704|   	struct packet *packet;
# 1705|   	struct client_state *client;

Error: COMPILER_WARNING: [#def105]
dhcp-4.4.3-P1/client/dhclient.c: scope_hint: In function ‘finish_v6only’
dhcp-4.4.3-P1/client/dhclient.c:1755:6: warning[-Wold-style-definition]: old-style function definition
# 1755 | void finish_v6only(cpp)
#      |      ^~~~~~~~~~~~~
# 1753|   /* finish_v6only is called when the V6ONLY_WAIT timer expired. */
# 1754|   
# 1755|-> void finish_v6only(cpp)
# 1756|   	void *cpp;
# 1757|   {

Error: COMPILER_WARNING: [#def106]
dhcp-4.4.3-P1/client/dhclient.c:1755:6: warning[-Wold-style-definition]: old-style function definition
# 1753|   /* finish_v6only is called when the V6ONLY_WAIT timer expired. */
# 1754|   
# 1755|-> void finish_v6only(cpp)
# 1756|   	void *cpp;
# 1757|   {

Error: COMPILER_WARNING: [#def107]
dhcp-4.4.3-P1/client/dhclient.c: scope_hint: In function ‘start_v6only’
dhcp-4.4.3-P1/client/dhclient.c:1769:6: warning[-Wold-style-definition]: old-style function definition
# 1769 | void start_v6only(client, v6only_wait)
#      |      ^~~~~~~~~~~~
# 1767|    * returned by the server. */
# 1768|   
# 1769|-> void start_v6only(client, v6only_wait)
# 1770|   	struct client_state *client;
# 1771|   	uint32_t v6only_wait;

Error: COMPILER_WARNING: [#def108]
dhcp-4.4.3-P1/client/dhclient.c:1769:6: warning[-Wold-style-definition]: old-style function definition
# 1767|    * returned by the server. */
# 1768|   
# 1769|-> void start_v6only(client, v6only_wait)
# 1770|   	struct client_state *client;
# 1771|   	uint32_t v6only_wait;

Error: COMPILER_WARNING: [#def109]
dhcp-4.4.3-P1/client/dhclient.c: scope_hint: In function ‘state_selecting’
dhcp-4.4.3-P1/client/dhclient.c:1803:6: warning[-Wold-style-definition]: old-style function definition
# 1803 | void state_selecting (cpp)
#      |      ^~~~~~~~~~~~~~~
# 1801|    */
# 1802|   
# 1803|-> void state_selecting (cpp)
# 1804|   	void *cpp;
# 1805|   {

Error: COMPILER_WARNING: [#def110]
dhcp-4.4.3-P1/client/dhclient.c:1803:6: warning[-Wold-style-definition]: old-style function definition
# 1801|    */
# 1802|   
# 1803|-> void state_selecting (cpp)
# 1804|   	void *cpp;
# 1805|   {

Error: COMPILER_WARNING: [#def111]
dhcp-4.4.3-P1/client/dhclient.c: scope_hint: In function ‘dhcpack’
dhcp-4.4.3-P1/client/dhclient.c:1888:6: warning[-Wold-style-definition]: old-style function definition
# 1888 | void dhcpack (packet)
#      |      ^~~~~~~
# 1886|      having sent out one or more DHCPREQUEST packets. */
# 1887|   
# 1888|-> void dhcpack (packet)
# 1889|   	struct packet *packet;
# 1890|   {

Error: COMPILER_WARNING: [#def112]
dhcp-4.4.3-P1/client/dhclient.c:1888:6: warning[-Wold-style-definition]: old-style function definition
# 1886|      having sent out one or more DHCPREQUEST packets. */
# 1887|   
# 1888|-> void dhcpack (packet)
# 1889|   	struct packet *packet;
# 1890|   {

Error: COMPILER_WARNING: [#def113]
dhcp-4.4.3-P1/client/dhclient.c: scope_hint: In function ‘bind_lease’
dhcp-4.4.3-P1/client/dhclient.c:2071:6: warning[-Wold-style-definition]: old-style function definition
# 2071 | void bind_lease (client)
#      |      ^~~~~~~~~~
# 2069|   }
# 2070|   
# 2071|-> void bind_lease (client)
# 2072|   	struct client_state *client;
# 2073|   {

Error: COMPILER_WARNING: [#def114]
dhcp-4.4.3-P1/client/dhclient.c:2071:6: warning[-Wold-style-definition]: old-style function definition
# 2069|   }
# 2070|   
# 2071|-> void bind_lease (client)
# 2072|   	struct client_state *client;
# 2073|   {

Error: COMPILER_WARNING: [#def115]
dhcp-4.4.3-P1/client/dhclient.c: scope_hint: In function ‘state_bound’
dhcp-4.4.3-P1/client/dhclient.c:2167:6: warning[-Wold-style-definition]: old-style function definition
# 2167 | void state_bound (cpp)
#      |      ^~~~~~~~~~~
# 2165|      original lease. */
# 2166|   
# 2167|-> void state_bound (cpp)
# 2168|   	void *cpp;
# 2169|   {

Error: COMPILER_WARNING: [#def116]
dhcp-4.4.3-P1/client/dhclient.c:2167:6: warning[-Wold-style-definition]: old-style function definition
# 2165|      original lease. */
# 2166|   
# 2167|-> void state_bound (cpp)
# 2168|   	void *cpp;
# 2169|   {

Error: COMPILER_WARNING: [#def117]
dhcp-4.4.3-P1/client/dhclient.c: scope_hint: In function ‘state_stop’
dhcp-4.4.3-P1/client/dhclient.c:2209:6: warning[-Wold-style-definition]: old-style function definition
# 2209 | void state_stop (cpp)
#      |      ^~~~~~~~~~
# 2207|      the interfaces, and then stop operating until told otherwise. */
# 2208|   
# 2209|-> void state_stop (cpp)
# 2210|   	void *cpp;
# 2211|   {

Error: COMPILER_WARNING: [#def118]
dhcp-4.4.3-P1/client/dhclient.c:2209:6: warning[-Wold-style-definition]: old-style function definition
# 2207|      the interfaces, and then stop operating until told otherwise. */
# 2208|   
# 2209|-> void state_stop (cpp)
# 2210|   	void *cpp;
# 2211|   {

Error: COMPILER_WARNING: [#def119]
dhcp-4.4.3-P1/client/dhclient.c: scope_hint: In function ‘write_lease’
dhcp-4.4.3-P1/client/dhclient.c:2239:5: warning[-Wold-style-definition]: old-style function definition
# 2239 | int write_lease (lease)
#      |     ^~~~~~~~~~~
# 2237|   }
# 2238|   
# 2239|-> int write_lease (lease)
# 2240|   	struct lease *lease;
# 2241|   {

Error: COMPILER_WARNING: [#def120]
dhcp-4.4.3-P1/client/dhclient.c:2239:5: warning[-Wold-style-definition]: old-style function definition
# 2237|   }
# 2238|   
# 2239|-> int write_lease (lease)
# 2240|   	struct lease *lease;
# 2241|   {

Error: COMPILER_WARNING: [#def121]
dhcp-4.4.3-P1/client/dhclient.c: scope_hint: In function ‘write_host’
dhcp-4.4.3-P1/client/dhclient.c:2245:5: warning[-Wold-style-definition]: old-style function definition
# 2245 | int write_host (host)
#      |     ^~~~~~~~~~
# 2243|   }
# 2244|   
# 2245|-> int write_host (host)
# 2246|   	struct host_decl *host;
# 2247|   {

Error: COMPILER_WARNING: [#def122]
dhcp-4.4.3-P1/client/dhclient.c:2245:5: warning[-Wold-style-definition]: old-style function definition
# 2243|   }
# 2244|   
# 2245|-> int write_host (host)
# 2246|   	struct host_decl *host;
# 2247|   {

Error: COMPILER_WARNING: [#def123]
dhcp-4.4.3-P1/client/dhclient.c: scope_hint: In function ‘db_startup’
dhcp-4.4.3-P1/client/dhclient.c:2251:6: warning[-Wold-style-definition]: old-style function definition
# 2251 | void db_startup (testp)
#      |      ^~~~~~~~~~
# 2249|   }
# 2250|   
# 2251|-> void db_startup (testp)
# 2252|   	int testp;
# 2253|   {

Error: COMPILER_WARNING: [#def124]
dhcp-4.4.3-P1/client/dhclient.c:2251:6: warning[-Wold-style-definition]: old-style function definition
# 2249|   }
# 2250|   
# 2251|-> void db_startup (testp)
# 2252|   	int testp;
# 2253|   {

Error: COMPILER_WARNING: [#def125]
dhcp-4.4.3-P1/client/dhclient.c: scope_hint: In function ‘bootp’
dhcp-4.4.3-P1/client/dhclient.c:2256:6: warning[-Wold-style-definition]: old-style function definition
# 2256 | void bootp (packet)
#      |      ^~~~~
# 2254|   }
# 2255|   
# 2256|-> void bootp (packet)
# 2257|   	struct packet *packet;
# 2258|   {

Error: COMPILER_WARNING: [#def126]
dhcp-4.4.3-P1/client/dhclient.c:2256:6: warning[-Wold-style-definition]: old-style function definition
# 2254|   }
# 2255|   
# 2256|-> void bootp (packet)
# 2257|   	struct packet *packet;
# 2258|   {

Error: COMPILER_WARNING: [#def127]
dhcp-4.4.3-P1/client/dhclient.c: scope_hint: In function ‘dhcp’
dhcp-4.4.3-P1/client/dhclient.c:2289:6: warning[-Wold-style-definition]: old-style function definition
# 2289 | void dhcp (packet)
#      |      ^~~~
# 2287|   }
# 2288|   
# 2289|-> void dhcp (packet)
# 2290|   	struct packet *packet;
# 2291|   {

Error: COMPILER_WARNING: [#def128]
dhcp-4.4.3-P1/client/dhclient.c:2289:6: warning[-Wold-style-definition]: old-style function definition
# 2287|   }
# 2288|   
# 2289|-> void dhcp (packet)
# 2290|   	struct packet *packet;
# 2291|   {

Error: COMPILER_WARNING: [#def129]
dhcp-4.4.3-P1/client/dhclient.c: scope_hint: In function ‘dhcpoffer’
dhcp-4.4.3-P1/client/dhclient.c:2576:6: warning[-Wold-style-definition]: old-style function definition
# 2576 | void dhcpoffer (packet)
#      |      ^~~~~~~~~
# 2574|   #endif /* DHCPv6 */
# 2575|   
# 2576|-> void dhcpoffer (packet)
# 2577|   	struct packet *packet;
# 2578|   {

Error: COMPILER_WARNING: [#def130]
dhcp-4.4.3-P1/client/dhclient.c:2576:6: warning[-Wold-style-definition]: old-style function definition
# 2574|   #endif /* DHCPv6 */
# 2575|   
# 2576|-> void dhcpoffer (packet)
# 2577|   	struct packet *packet;
# 2578|   {

Error: COMPILER_WARNING: [#def131]
dhcp-4.4.3-P1/client/dhclient.c: scope_hint: In function ‘packet_to_lease’
dhcp-4.4.3-P1/client/dhclient.c:2725:22: warning[-Wold-style-definition]: old-style function definition
# 2725 | struct client_lease *packet_to_lease (packet, client)
#      |                      ^~~~~~~~~~~~~~~
# 2723|      in the specified packet. */
# 2724|   
# 2725|-> struct client_lease *packet_to_lease (packet, client)
# 2726|   	struct packet *packet;
# 2727|   	struct client_state *client;

Error: COMPILER_WARNING: [#def132]
dhcp-4.4.3-P1/client/dhclient.c:2725:22: warning[-Wold-style-definition]: old-style function definition
# 2723|      in the specified packet. */
# 2724|   
# 2725|-> struct client_lease *packet_to_lease (packet, client)
# 2726|   	struct packet *packet;
# 2727|   	struct client_state *client;

Error: COMPILER_WARNING: [#def133]
dhcp-4.4.3-P1/client/dhclient.c: scope_hint: In function ‘dhcpnak’
dhcp-4.4.3-P1/client/dhclient.c:2848:6: warning[-Wold-style-definition]: old-style function definition
# 2848 | void dhcpnak (packet)
#      |      ^~~~~~~
# 2846|   }
# 2847|   
# 2848|-> void dhcpnak (packet)
# 2849|   	struct packet *packet;
# 2850|   {

Error: COMPILER_WARNING: [#def134]
dhcp-4.4.3-P1/client/dhclient.c:2848:6: warning[-Wold-style-definition]: old-style function definition
# 2846|   }
# 2847|   
# 2848|-> void dhcpnak (packet)
# 2849|   	struct packet *packet;
# 2850|   {

Error: COMPILER_WARNING: [#def135]
dhcp-4.4.3-P1/client/dhclient.c: scope_hint: In function ‘send_discover’
dhcp-4.4.3-P1/client/dhclient.c:2927:6: warning[-Wold-style-definition]: old-style function definition
# 2927 | void send_discover (cpp)
#      |      ^~~~~~~~~~~~~
# 2925|      the time we reach the panic interval, call the panic function. */
# 2926|   
# 2927|-> void send_discover (cpp)
# 2928|   	void *cpp;
# 2929|   {

Error: COMPILER_WARNING: [#def136]
dhcp-4.4.3-P1/client/dhclient.c:2927:6: warning[-Wold-style-definition]: old-style function definition
# 2925|      the time we reach the panic interval, call the panic function. */
# 2926|   
# 2927|-> void send_discover (cpp)
# 2928|   	void *cpp;
# 2929|   {

Error: COMPILER_WARNING: [#def137]
dhcp-4.4.3-P1/client/dhclient.c: scope_hint: In function ‘state_panic’
dhcp-4.4.3-P1/client/dhclient.c:3150:6: warning[-Wold-style-definition]: old-style function definition
# 3150 | void state_panic (cpp)
#      |      ^~~~~~~~~~~
# 3148|      hope it can do something. */
# 3149|   
# 3150|-> void state_panic (cpp)
# 3151|   	void *cpp;
# 3152|   {

Error: COMPILER_WARNING: [#def138]
dhcp-4.4.3-P1/client/dhclient.c:3150:6: warning[-Wold-style-definition]: old-style function definition
# 3148|      hope it can do something. */
# 3149|   
# 3150|-> void state_panic (cpp)
# 3151|   	void *cpp;
# 3152|   {

Error: COMPILER_WARNING: [#def139]
dhcp-4.4.3-P1/client/dhclient.c: scope_hint: In function ‘send_request’
dhcp-4.4.3-P1/client/dhclient.c:3265:6: warning[-Wold-style-definition]: old-style function definition
# 3265 | void send_request (cpp)
#      |      ^~~~~~~~~~~~
# 3263|   }
# 3264|   
# 3265|-> void send_request (cpp)
# 3266|   	void *cpp;
# 3267|   {

Error: COMPILER_WARNING: [#def140]
dhcp-4.4.3-P1/client/dhclient.c:3265:6: warning[-Wold-style-definition]: old-style function definition
# 3263|   }
# 3264|   
# 3265|-> void send_request (cpp)
# 3266|   	void *cpp;
# 3267|   {

Error: COMPILER_WARNING: [#def141]
dhcp-4.4.3-P1/client/dhclient.c: scope_hint: In function ‘send_decline’
dhcp-4.4.3-P1/client/dhclient.c:3477:6: warning[-Wold-style-definition]: old-style function definition
# 3477 | void send_decline (cpp)
#      |      ^~~~~~~~~~~~
# 3475|   }
# 3476|   
# 3477|-> void send_decline (cpp)
# 3478|   	void *cpp;
# 3479|   {

Error: COMPILER_WARNING: [#def142]
dhcp-4.4.3-P1/client/dhclient.c:3477:6: warning[-Wold-style-definition]: old-style function definition
# 3475|   }
# 3476|   
# 3477|-> void send_decline (cpp)
# 3478|   	void *cpp;
# 3479|   {

Error: COMPILER_WARNING: [#def143]
dhcp-4.4.3-P1/client/dhclient.c: scope_hint: In function ‘send_release’
dhcp-4.4.3-P1/client/dhclient.c:3519:6: warning[-Wold-style-definition]: old-style function definition
# 3519 | void send_release (cpp)
#      |      ^~~~~~~~~~~~
# 3517|   }
# 3518|   
# 3519|-> void send_release (cpp)
# 3520|   	void *cpp;
# 3521|   {

Error: COMPILER_WARNING: [#def144]
dhcp-4.4.3-P1/client/dhclient.c:3519:6: warning[-Wold-style-definition]: old-style function definition
# 3517|   }
# 3518|   
# 3519|-> void send_release (cpp)
# 3520|   	void *cpp;
# 3521|   {

Error: COMPILER_WARNING: [#def145]
dhcp-4.4.3-P1/client/dhclient.c: scope_hint: In function ‘make_discover’
dhcp-4.4.3-P1/client/dhclient.c:3909:6: warning[-Wold-style-definition]: old-style function definition
# 3909 | void make_discover (client, lease)
#      |      ^~~~~~~~~~~~~
# 3907|   }
# 3908|   
# 3909|-> void make_discover (client, lease)
# 3910|   	struct client_state *client;
# 3911|   	struct client_lease *lease;

Error: COMPILER_WARNING: [#def146]
dhcp-4.4.3-P1/client/dhclient.c:3909:6: warning[-Wold-style-definition]: old-style function definition
# 3907|   }
# 3908|   
# 3909|-> void make_discover (client, lease)
# 3910|   	struct client_state *client;
# 3911|   	struct client_lease *lease;

Error: COMPILER_WARNING: [#def147]
dhcp-4.4.3-P1/client/dhclient.c: scope_hint: In function ‘make_request’
dhcp-4.4.3-P1/client/dhclient.c:3974:6: warning[-Wold-style-definition]: old-style function definition
# 3974 | void make_request (client, lease)
#      |      ^~~~~~~~~~~~
# 3972|   
# 3973|   
# 3974|-> void make_request (client, lease)
# 3975|   	struct client_state *client;
# 3976|   	struct client_lease *lease;

Error: COMPILER_WARNING: [#def148]
dhcp-4.4.3-P1/client/dhclient.c:3974:6: warning[-Wold-style-definition]: old-style function definition
# 3972|   
# 3973|   
# 3974|-> void make_request (client, lease)
# 3975|   	struct client_state *client;
# 3976|   	struct client_lease *lease;

Error: COMPILER_WARNING: [#def149]
dhcp-4.4.3-P1/client/dhclient.c: scope_hint: In function ‘make_decline’
dhcp-4.4.3-P1/client/dhclient.c:4064:6: warning[-Wold-style-definition]: old-style function definition
# 4064 | void make_decline (client, lease)
#      |      ^~~~~~~~~~~~
# 4062|   }
# 4063|   
# 4064|-> void make_decline (client, lease)
# 4065|   	struct client_state *client;
# 4066|   	struct client_lease *lease;

Error: COMPILER_WARNING: [#def150]
dhcp-4.4.3-P1/client/dhclient.c:4064:6: warning[-Wold-style-definition]: old-style function definition
# 4062|   }
# 4063|   
# 4064|-> void make_decline (client, lease)
# 4065|   	struct client_state *client;
# 4066|   	struct client_lease *lease;

Error: COMPILER_WARNING: [#def151]
dhcp-4.4.3-P1/client/dhclient.c: scope_hint: In function ‘make_release’
dhcp-4.4.3-P1/client/dhclient.c:4124:6: warning[-Wold-style-definition]: old-style function definition
# 4124 | void make_release (client, lease)
#      |      ^~~~~~~~~~~~
# 4122|   }
# 4123|   
# 4124|-> void make_release (client, lease)
# 4125|   	struct client_state *client;
# 4126|   	struct client_lease *lease;

Error: COMPILER_WARNING: [#def152]
dhcp-4.4.3-P1/client/dhclient.c:4124:6: warning[-Wold-style-definition]: old-style function definition
# 4122|   }
# 4123|   
# 4124|-> void make_release (client, lease)
# 4125|   	struct client_state *client;
# 4126|   	struct client_lease *lease;

Error: COMPILER_WARNING: [#def153]
dhcp-4.4.3-P1/client/dhclient.c: scope_hint: In function ‘destroy_client_lease’
dhcp-4.4.3-P1/client/dhclient.c:4181:6: warning[-Wold-style-definition]: old-style function definition
# 4181 | void destroy_client_lease (lease)
#      |      ^~~~~~~~~~~~~~~~~~~~
# 4179|   }
# 4180|   
# 4181|-> void destroy_client_lease (lease)
# 4182|   	struct client_lease *lease;
# 4183|   {

Error: COMPILER_WARNING: [#def154]
dhcp-4.4.3-P1/client/dhclient.c:4181:6: warning[-Wold-style-definition]: old-style function definition
# 4179|   }
# 4180|   
# 4181|-> void destroy_client_lease (lease)
# 4182|   	struct client_lease *lease;
# 4183|   {

Error: COMPILER_WARNING: [#def155]
dhcp-4.4.3-P1/client/dhclient.c: scope_hint: In function ‘write_client_lease’
dhcp-4.4.3-P1/client/dhclient.c:4655:5: warning[-Wold-style-definition]: old-style function definition
# 4655 | int write_client_lease (client, lease, rewrite, makesure)
#      |     ^~~~~~~~~~~~~~~~~~
# 4653|   }
# 4654|   
# 4655|-> int write_client_lease (client, lease, rewrite, makesure)
# 4656|   	struct client_state *client;
# 4657|   	struct client_lease *lease;

Error: COMPILER_WARNING: [#def156]
dhcp-4.4.3-P1/client/dhclient.c:4655:5: warning[-Wold-style-definition]: old-style function definition
# 4653|   }
# 4654|   
# 4655|-> int write_client_lease (client, lease, rewrite, makesure)
# 4656|   	struct client_state *client;
# 4657|   	struct client_lease *lease;

Error: COMPILER_WARNING: [#def157]
dhcp-4.4.3-P1/client/dhclient.c: scope_hint: In function ‘dhcp_option_ev_name’
dhcp-4.4.3-P1/client/dhclient.c:5182:5: warning[-Wold-style-definition]: old-style function definition
# 5182 | int dhcp_option_ev_name (buf, buflen, option)
#      |     ^~~~~~~~~~~~~~~~~~~
# 5180|   }
# 5181|   
# 5182|-> int dhcp_option_ev_name (buf, buflen, option)
# 5183|   	char *buf;
# 5184|   	size_t buflen;

Error: COMPILER_WARNING: [#def158]
dhcp-4.4.3-P1/client/dhclient.c:5182:5: warning[-Wold-style-definition]: old-style function definition
# 5180|   }
# 5181|   
# 5182|-> int dhcp_option_ev_name (buf, buflen, option)
# 5183|   	char *buf;
# 5184|   	size_t buflen;

Error: GCC_ANALYZER_WARNING (CWE-1341): [#def159]
dhcp-4.4.3-P1/client/dhclient.c:5261:16: warning[-Wanalyzer-fd-double-close]: double ‘close’ of file descriptor ‘1’
dhcp-4.4.3-P1/client/dhclient.c:1625:6: enter_function: entry to ‘state_reboot’
dhcp-4.4.3-P1/client/dhclient.c:1663:9: call_function: calling ‘make_request’ from ‘state_reboot’
dhcp-4.4.3-P1/client/dhclient.c:1663:9: return_function: returning to ‘state_reboot’ from ‘make_request’
dhcp-4.4.3-P1/client/dhclient.c:1672:9: call_function: calling ‘send_request’ from ‘state_reboot’
# 5259|   	/* Close standard I/O descriptors. */
# 5260|   	(void) close(0);
# 5261|-> 	(void) close(1);
# 5262|   	(void) close(2);
# 5263|   

Error: GCC_ANALYZER_WARNING (CWE-1341): [#def160]
dhcp-4.4.3-P1/client/dhclient.c:5262:16: warning[-Wanalyzer-fd-double-close]: double ‘close’ of file descriptor ‘2’
dhcp-4.4.3-P1/client/dhclient.c:1625:6: enter_function: entry to ‘state_reboot’
dhcp-4.4.3-P1/client/dhclient.c:1663:9: call_function: calling ‘make_request’ from ‘state_reboot’
dhcp-4.4.3-P1/client/dhclient.c:1663:9: return_function: returning to ‘state_reboot’ from ‘make_request’
dhcp-4.4.3-P1/client/dhclient.c:1672:9: call_function: calling ‘send_request’ from ‘state_reboot’
# 5260|   	(void) close(0);
# 5261|   	(void) close(1);
# 5262|-> 	(void) close(2);
# 5263|   
# 5264|   	/* Reopen them on /dev/null. */

Error: GCC_ANALYZER_WARNING (CWE-775): [#def161]
dhcp-4.4.3-P1/client/dhclient.c:5265:16: warning[-Wanalyzer-fd-leak]: leak of file descriptor
dhcp-4.4.3-P1/client/dhclient.c:1625:6: enter_function: entry to ‘state_reboot’
dhcp-4.4.3-P1/client/dhclient.c:1663:9: call_function: calling ‘make_request’ from ‘state_reboot’
dhcp-4.4.3-P1/client/dhclient.c:1663:9: return_function: returning to ‘state_reboot’ from ‘make_request’
dhcp-4.4.3-P1/client/dhclient.c:1672:9: call_function: calling ‘send_request’ from ‘state_reboot’
# 5263|   
# 5264|   	/* Reopen them on /dev/null. */
# 5265|-> 	(void) open("/dev/null", O_RDWR | O_CLOEXEC);
# 5266|   	(void) open("/dev/null", O_RDWR | O_CLOEXEC);
# 5267|   	(void) open("/dev/null", O_RDWR | O_CLOEXEC);

Error: GCC_ANALYZER_WARNING (CWE-775): [#def162]
dhcp-4.4.3-P1/client/dhclient.c:5266:16: warning[-Wanalyzer-fd-leak]: leak of file descriptor
dhcp-4.4.3-P1/client/dhclient.c:1625:6: enter_function: entry to ‘state_reboot’
dhcp-4.4.3-P1/client/dhclient.c:1663:9: call_function: calling ‘make_request’ from ‘state_reboot’
dhcp-4.4.3-P1/client/dhclient.c:1663:9: return_function: returning to ‘state_reboot’ from ‘make_request’
dhcp-4.4.3-P1/client/dhclient.c:1672:9: call_function: calling ‘send_request’ from ‘state_reboot’
# 5264|   	/* Reopen them on /dev/null. */
# 5265|   	(void) open("/dev/null", O_RDWR | O_CLOEXEC);
# 5266|-> 	(void) open("/dev/null", O_RDWR | O_CLOEXEC);
# 5267|   	(void) open("/dev/null", O_RDWR | O_CLOEXEC);
# 5268|   

Error: GCC_ANALYZER_WARNING (CWE-775): [#def163]
dhcp-4.4.3-P1/client/dhclient.c:5267:16: warning[-Wanalyzer-fd-leak]: leak of file descriptor
dhcp-4.4.3-P1/client/dhclient.c:1625:6: enter_function: entry to ‘state_reboot’
dhcp-4.4.3-P1/client/dhclient.c:1663:9: call_function: calling ‘make_request’ from ‘state_reboot’
dhcp-4.4.3-P1/client/dhclient.c:1663:9: return_function: returning to ‘state_reboot’ from ‘make_request’
dhcp-4.4.3-P1/client/dhclient.c:1672:9: call_function: calling ‘send_request’ from ‘state_reboot’
# 5265|   	(void) open("/dev/null", O_RDWR | O_CLOEXEC);
# 5266|   	(void) open("/dev/null", O_RDWR | O_CLOEXEC);
# 5267|-> 	(void) open("/dev/null", O_RDWR | O_CLOEXEC);
# 5268|   
# 5269|   	write_client_pid_file ();

Error: COMPILER_WARNING: [#def164]
dhcp-4.4.3-P1/client/dhclient.c: scope_hint: In function ‘do_release’
dhcp-4.4.3-P1/client/dhclient.c:5337:6: warning[-Wold-style-definition]: old-style function definition
# 5337 | void do_release(client)
#      |      ^~~~~~~~~~
# 5335|   }
# 5336|   
# 5337|-> void do_release(client)
# 5338|   	struct client_state *client;
# 5339|   {

Error: COMPILER_WARNING: [#def165]
dhcp-4.4.3-P1/client/dhclient.c:5337:6: warning[-Wold-style-definition]: old-style function definition
# 5335|   }
# 5336|   
# 5337|-> void do_release(client)
# 5338|   	struct client_state *client;
# 5339|   {

Error: COMPILER_WARNING: [#def166]
dhcp-4.4.3-P1/client/dhclient.c: scope_hint: In function ‘parse_agent_information_option’
dhcp-4.4.3-P1/client/dhclient.c:5518:5: warning[-Wold-style-definition]: old-style function definition
# 5518 | int parse_agent_information_option (packet, len, data)
#      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# 5516|      so if it does, log it and discard it. */
# 5517|   
# 5518|-> int parse_agent_information_option (packet, len, data)
# 5519|   	struct packet *packet;
# 5520|   	int len;

Error: COMPILER_WARNING: [#def167]
dhcp-4.4.3-P1/client/dhclient.c:5518:5: warning[-Wold-style-definition]: old-style function definition
# 5516|      so if it does, log it and discard it. */
# 5517|   
# 5518|-> int parse_agent_information_option (packet, len, data)
# 5519|   	struct packet *packet;
# 5520|   	int len;

Error: COMPILER_WARNING: [#def168]
dhcp-4.4.3-P1/client/dhclient.c: scope_hint: In function ‘cons_agent_information_options’
dhcp-4.4.3-P1/client/dhclient.c:5528:10: warning[-Wold-style-definition]: old-style function definition
# 5528 | unsigned cons_agent_information_options (cfg_options, outpacket,
#      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# 5526|   /* The client never sends relay agent information options. */
# 5527|   
# 5528|-> unsigned cons_agent_information_options (cfg_options, outpacket,
# 5529|   					 agentix, length)
# 5530|   	struct option_state *cfg_options;

Error: COMPILER_WARNING: [#def169]
dhcp-4.4.3-P1/client/dhclient.c:5528:10: warning[-Wold-style-definition]: old-style function definition
# 5526|   /* The client never sends relay agent information options. */
# 5527|   
# 5528|-> unsigned cons_agent_information_options (cfg_options, outpacket,
# 5529|   					 agentix, length)
# 5530|   	struct option_state *cfg_options;

Error: COMPILER_WARNING: [#def170]
dhcp-4.4.3-P1/common/alloc.c: scope_hint: In function ‘option_chain_head_allocate’
dhcp-4.4.3-P1/common/alloc.c:35:5: warning[-Wold-style-definition]: old-style function definition
#   35 | int option_chain_head_allocate (ptr, file, line)
#      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~
#   33|   struct packet *packet_free_list;
#   34|   
#   35|-> int option_chain_head_allocate (ptr, file, line)
#   36|   	struct option_chain_head **ptr;
#   37|   	const char *file;

Error: COMPILER_WARNING: [#def171]
dhcp-4.4.3-P1/common/alloc.c:35:5: warning[-Wold-style-definition]: old-style function definition
#   33|   struct packet *packet_free_list;
#   34|   
#   35|-> int option_chain_head_allocate (ptr, file, line)
#   36|   	struct option_chain_head **ptr;
#   37|   	const char *file;

Error: COMPILER_WARNING: [#def172]
dhcp-4.4.3-P1/common/alloc.c: scope_hint: In function ‘option_chain_head_reference’
dhcp-4.4.3-P1/common/alloc.c:67:5: warning[-Wold-style-definition]: old-style function definition
#   67 | int option_chain_head_reference (ptr, bp, file, line)
#      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~
#   65|   }
#   66|   
#   67|-> int option_chain_head_reference (ptr, bp, file, line)
#   68|   	struct option_chain_head **ptr;
#   69|   	struct option_chain_head *bp;

Error: COMPILER_WARNING: [#def173]
dhcp-4.4.3-P1/common/alloc.c:67:5: warning[-Wold-style-definition]: old-style function definition
#   65|   }
#   66|   
#   67|-> int option_chain_head_reference (ptr, bp, file, line)
#   68|   	struct option_chain_head **ptr;
#   69|   	struct option_chain_head *bp;

Error: COMPILER_WARNING: [#def174]
dhcp-4.4.3-P1/common/alloc.c: scope_hint: In function ‘option_chain_head_dereference’
dhcp-4.4.3-P1/common/alloc.c:95:5: warning[-Wold-style-definition]: old-style function definition
#   95 | int option_chain_head_dereference (ptr, file, line)
#      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#   93|   }
#   94|   
#   95|-> int option_chain_head_dereference (ptr, file, line)
#   96|   	struct option_chain_head **ptr;
#   97|   	const char *file;

Error: COMPILER_WARNING: [#def175]
dhcp-4.4.3-P1/common/alloc.c:95:5: warning[-Wold-style-definition]: old-style function definition
#   93|   }
#   94|   
#   95|-> int option_chain_head_dereference (ptr, file, line)
#   96|   	struct option_chain_head **ptr;
#   97|   	const char *file;

Error: COMPILER_WARNING: [#def176]
dhcp-4.4.3-P1/common/alloc.c: scope_hint: In function ‘group_allocate’
dhcp-4.4.3-P1/common/alloc.c:145:5: warning[-Wold-style-definition]: old-style function definition
#  145 | int group_allocate (ptr, file, line)
#      |     ^~~~~~~~~~~~~~
#  143|   }
#  144|   
#  145|-> int group_allocate (ptr, file, line)
#  146|   	struct group **ptr;
#  147|   	const char *file;

Error: COMPILER_WARNING: [#def177]
dhcp-4.4.3-P1/common/alloc.c:145:5: warning[-Wold-style-definition]: old-style function definition
#  143|   }
#  144|   
#  145|-> int group_allocate (ptr, file, line)
#  146|   	struct group **ptr;
#  147|   	const char *file;

Error: COMPILER_WARNING: [#def178]
dhcp-4.4.3-P1/common/alloc.c: scope_hint: In function ‘group_reference’
dhcp-4.4.3-P1/common/alloc.c:177:5: warning[-Wold-style-definition]: old-style function definition
#  177 | int group_reference (ptr, bp, file, line)
#      |     ^~~~~~~~~~~~~~~
#  175|   }
#  176|   
#  177|-> int group_reference (ptr, bp, file, line)
#  178|   	struct group **ptr;
#  179|   	struct group *bp;

Error: COMPILER_WARNING: [#def179]
dhcp-4.4.3-P1/common/alloc.c:177:5: warning[-Wold-style-definition]: old-style function definition
#  175|   }
#  176|   
#  177|-> int group_reference (ptr, bp, file, line)
#  178|   	struct group **ptr;
#  179|   	struct group *bp;

Error: COMPILER_WARNING: [#def180]
dhcp-4.4.3-P1/common/alloc.c: scope_hint: In function ‘group_dereference’
dhcp-4.4.3-P1/common/alloc.c:205:5: warning[-Wold-style-definition]: old-style function definition
#  205 | int group_dereference (ptr, file, line)
#      |     ^~~~~~~~~~~~~~~~~
#  203|   }
#  204|   
#  205|-> int group_dereference (ptr, file, line)
#  206|   	struct group **ptr;
#  207|   	const char *file;

Error: COMPILER_WARNING: [#def181]
dhcp-4.4.3-P1/common/alloc.c:205:5: warning[-Wold-style-definition]: old-style function definition
#  203|   }
#  204|   
#  205|-> int group_dereference (ptr, file, line)
#  206|   	struct group **ptr;
#  207|   	const char *file;

Error: COMPILER_WARNING: [#def182]
dhcp-4.4.3-P1/common/alloc.c: scope_hint: In function ‘new_dhcp_packet’
dhcp-4.4.3-P1/common/alloc.c:256:21: warning[-Wold-style-definition]: old-style function definition
#  256 | struct dhcp_packet *new_dhcp_packet (file, line)
#      |                     ^~~~~~~~~~~~~~~
#  254|   }
#  255|   
#  256|-> struct dhcp_packet *new_dhcp_packet (file, line)
#  257|   	const char *file;
#  258|   	int line;

Error: COMPILER_WARNING: [#def183]
dhcp-4.4.3-P1/common/alloc.c:256:21: warning[-Wold-style-definition]: old-style function definition
#  254|   }
#  255|   
#  256|-> struct dhcp_packet *new_dhcp_packet (file, line)
#  257|   	const char *file;
#  258|   	int line;

Error: COMPILER_WARNING: [#def184]
dhcp-4.4.3-P1/common/alloc.c: scope_hint: In function ‘new_protocol’
dhcp-4.4.3-P1/common/alloc.c:266:18: warning[-Wold-style-definition]: old-style function definition
#  266 | struct protocol *new_protocol (file, line)
#      |                  ^~~~~~~~~~~~
#  264|   }
#  265|   
#  266|-> struct protocol *new_protocol (file, line)
#  267|   	const char *file;
#  268|   	int line;

Error: COMPILER_WARNING: [#def185]
dhcp-4.4.3-P1/common/alloc.c:266:18: warning[-Wold-style-definition]: old-style function definition
#  264|   }
#  265|   
#  266|-> struct protocol *new_protocol (file, line)
#  267|   	const char *file;
#  268|   	int line;

Error: COMPILER_WARNING: [#def186]
dhcp-4.4.3-P1/common/alloc.c: scope_hint: In function ‘new_domain_search_list’
dhcp-4.4.3-P1/common/alloc.c:274:28: warning[-Wold-style-definition]: old-style function definition
#  274 | struct domain_search_list *new_domain_search_list (file, line)
#      |                            ^~~~~~~~~~~~~~~~~~~~~~
#  272|   }
#  273|   
#  274|-> struct domain_search_list *new_domain_search_list (file, line)
#  275|   	const char *file;
#  276|   	int line;

Error: COMPILER_WARNING: [#def187]
dhcp-4.4.3-P1/common/alloc.c:274:28: warning[-Wold-style-definition]: old-style function definition
#  272|   }
#  273|   
#  274|-> struct domain_search_list *new_domain_search_list (file, line)
#  275|   	const char *file;
#  276|   	int line;

Error: COMPILER_WARNING: [#def188]
dhcp-4.4.3-P1/common/alloc.c: scope_hint: In function ‘new_name_server’
dhcp-4.4.3-P1/common/alloc.c:283:21: warning[-Wold-style-definition]: old-style function definition
#  283 | struct name_server *new_name_server (file, line)
#      |                     ^~~~~~~~~~~~~~~
#  281|   }
#  282|   
#  283|-> struct name_server *new_name_server (file, line)
#  284|   	const char *file;
#  285|   	int line;

Error: COMPILER_WARNING: [#def189]
dhcp-4.4.3-P1/common/alloc.c:283:21: warning[-Wold-style-definition]: old-style function definition
#  281|   }
#  282|   
#  283|-> struct name_server *new_name_server (file, line)
#  284|   	const char *file;
#  285|   	int line;

Error: COMPILER_WARNING: [#def190]
dhcp-4.4.3-P1/common/alloc.c: scope_hint: In function ‘free_name_server’
dhcp-4.4.3-P1/common/alloc.c:292:6: warning[-Wold-style-definition]: old-style function definition
#  292 | void free_name_server (ptr, file, line)
#      |      ^~~~~~~~~~~~~~~~
#  290|   }
#  291|   
#  292|-> void free_name_server (ptr, file, line)
#  293|   	struct name_server *ptr;
#  294|   	const char *file;

Error: COMPILER_WARNING: [#def191]
dhcp-4.4.3-P1/common/alloc.c:292:6: warning[-Wold-style-definition]: old-style function definition
#  290|   }
#  291|   
#  292|-> void free_name_server (ptr, file, line)
#  293|   	struct name_server *ptr;
#  294|   	const char *file;

Error: COMPILER_WARNING: [#def192]
dhcp-4.4.3-P1/common/alloc.c: scope_hint: In function ‘new_option’
dhcp-4.4.3-P1/common/alloc.c:300:16: warning[-Wold-style-definition]: old-style function definition
#  300 | struct option *new_option (name, file, line)
#      |                ^~~~~~~~~~
#  298|   }
#  299|   
#  300|-> struct option *new_option (name, file, line)
#  301|   	const char *name;
#  302|   	const char *file;

Error: COMPILER_WARNING: [#def193]
dhcp-4.4.3-P1/common/alloc.c:300:16: warning[-Wold-style-definition]: old-style function definition
#  298|   }
#  299|   
#  300|-> struct option *new_option (name, file, line)
#  301|   	const char *name;
#  302|   	const char *file;

Error: COMPILER_WARNING: [#def194]
dhcp-4.4.3-P1/common/alloc.c: scope_hint: In function ‘new_universe’
dhcp-4.4.3-P1/common/alloc.c:320:18: warning[-Wold-style-definition]: old-style function definition
#  320 | struct universe *new_universe (file, line)
#      |                  ^~~~~~~~~~~~
#  318|   }
#  319|   
#  320|-> struct universe *new_universe (file, line)
#  321|   	const char *file;
#  322|   	int line;

Error: COMPILER_WARNING: [#def195]
dhcp-4.4.3-P1/common/alloc.c:320:18: warning[-Wold-style-definition]: old-style function definition
#  318|   }
#  319|   
#  320|-> struct universe *new_universe (file, line)
#  321|   	const char *file;
#  322|   	int line;

Error: COMPILER_WARNING: [#def196]
dhcp-4.4.3-P1/common/alloc.c: scope_hint: In function ‘free_universe’
dhcp-4.4.3-P1/common/alloc.c:329:6: warning[-Wold-style-definition]: old-style function definition
#  329 | void free_universe (ptr, file, line)
#      |      ^~~~~~~~~~~~~
#  327|   }
#  328|   
#  329|-> void free_universe (ptr, file, line)
#  330|   	struct universe *ptr;
#  331|   	const char *file;

Error: COMPILER_WARNING: [#def197]
dhcp-4.4.3-P1/common/alloc.c:329:6: warning[-Wold-style-definition]: old-style function definition
#  327|   }
#  328|   
#  329|-> void free_universe (ptr, file, line)
#  330|   	struct universe *ptr;
#  331|   	const char *file;

Error: COMPILER_WARNING: [#def198]
dhcp-4.4.3-P1/common/alloc.c: scope_hint: In function ‘free_domain_search_list’
dhcp-4.4.3-P1/common/alloc.c:337:6: warning[-Wold-style-definition]: old-style function definition
#  337 | void free_domain_search_list (ptr, file, line)
#      |      ^~~~~~~~~~~~~~~~~~~~~~~
#  335|   }
#  336|   
#  337|-> void free_domain_search_list (ptr, file, line)
#  338|   	struct domain_search_list *ptr;
#  339|   	const char *file;

Error: COMPILER_WARNING: [#def199]
dhcp-4.4.3-P1/common/alloc.c:337:6: warning[-Wold-style-definition]: old-style function definition
#  335|   }
#  336|   
#  337|-> void free_domain_search_list (ptr, file, line)
#  338|   	struct domain_search_list *ptr;
#  339|   	const char *file;

Error: COMPILER_WARNING: [#def200]
dhcp-4.4.3-P1/common/alloc.c: scope_hint: In function ‘free_protocol’
dhcp-4.4.3-P1/common/alloc.c:345:6: warning[-Wold-style-definition]: old-style function definition
#  345 | void free_protocol (ptr, file, line)
#      |      ^~~~~~~~~~~~~
#  343|   }
#  344|   
#  345|-> void free_protocol (ptr, file, line)
#  346|   	struct protocol *ptr;
#  347|   	const char *file;

Error: COMPILER_WARNING: [#def201]
dhcp-4.4.3-P1/common/alloc.c:345:6: warning[-Wold-style-definition]: old-style function definition
#  343|   }
#  344|   
#  345|-> void free_protocol (ptr, file, line)
#  346|   	struct protocol *ptr;
#  347|   	const char *file;

Error: COMPILER_WARNING: [#def202]
dhcp-4.4.3-P1/common/alloc.c: scope_hint: In function ‘free_dhcp_packet’
dhcp-4.4.3-P1/common/alloc.c:353:6: warning[-Wold-style-definition]: old-style function definition
#  353 | void free_dhcp_packet (ptr, file, line)
#      |      ^~~~~~~~~~~~~~~~
#  351|   }
#  352|   
#  353|-> void free_dhcp_packet (ptr, file, line)
#  354|   	struct dhcp_packet *ptr;
#  355|   	const char *file;

Error: COMPILER_WARNING: [#def203]
dhcp-4.4.3-P1/common/alloc.c:353:6: warning[-Wold-style-definition]: old-style function definition
#  351|   }
#  352|   
#  353|-> void free_dhcp_packet (ptr, file, line)
#  354|   	struct dhcp_packet *ptr;
#  355|   	const char *file;

Error: COMPILER_WARNING: [#def204]
dhcp-4.4.3-P1/common/alloc.c: scope_hint: In function ‘new_client_lease’
dhcp-4.4.3-P1/common/alloc.c:361:22: warning[-Wold-style-definition]: old-style function definition
#  361 | struct client_lease *new_client_lease (file, line)
#      |                      ^~~~~~~~~~~~~~~~
#  359|   }
#  360|   
#  361|-> struct client_lease *new_client_lease (file, line)
#  362|   	const char *file;
#  363|   	int line;

Error: COMPILER_WARNING: [#def205]
dhcp-4.4.3-P1/common/alloc.c:361:22: warning[-Wold-style-definition]: old-style function definition
#  359|   }
#  360|   
#  361|-> struct client_lease *new_client_lease (file, line)
#  362|   	const char *file;
#  363|   	int line;

Error: COMPILER_WARNING: [#def206]
dhcp-4.4.3-P1/common/alloc.c: scope_hint: In function ‘free_client_lease’
dhcp-4.4.3-P1/common/alloc.c:369:6: warning[-Wold-style-definition]: old-style function definition
#  369 | void free_client_lease (lease, file, line)
#      |      ^~~~~~~~~~~~~~~~~
#  367|   }
#  368|   
#  369|-> void free_client_lease (lease, file, line)
#  370|   	struct client_lease *lease;
#  371|   	const char *file;

Error: COMPILER_WARNING: [#def207]
dhcp-4.4.3-P1/common/alloc.c:369:6: warning[-Wold-style-definition]: old-style function definition
#  367|   }
#  368|   
#  369|-> void free_client_lease (lease, file, line)
#  370|   	struct client_lease *lease;
#  371|   	const char *file;

Error: COMPILER_WARNING: [#def208]
dhcp-4.4.3-P1/common/alloc.c: scope_hint: In function ‘new_pair’
dhcp-4.4.3-P1/common/alloc.c:379:6: warning[-Wold-style-definition]: old-style function definition
#  379 | pair new_pair (file, line)
#      |      ^~~~~~~~
#  377|   pair free_pairs;
#  378|   
#  379|-> pair new_pair (file, line)
#  380|   	const char *file;
#  381|   	int line;

Error: COMPILER_WARNING: [#def209]
dhcp-4.4.3-P1/common/alloc.c:379:6: warning[-Wold-style-definition]: old-style function definition
#  377|   pair free_pairs;
#  378|   
#  379|-> pair new_pair (file, line)
#  380|   	const char *file;
#  381|   	int line;

Error: COMPILER_WARNING: [#def210]
dhcp-4.4.3-P1/common/alloc.c: scope_hint: In function ‘free_pair’
dhcp-4.4.3-P1/common/alloc.c:400:6: warning[-Wold-style-definition]: old-style function definition
#  400 | void free_pair (foo, file, line)
#      |      ^~~~~~~~~
#  398|   }
#  399|   
#  400|-> void free_pair (foo, file, line)
#  401|   	pair foo;
#  402|   	const char *file;

Error: COMPILER_WARNING: [#def211]
dhcp-4.4.3-P1/common/alloc.c:400:6: warning[-Wold-style-definition]: old-style function definition
#  398|   }
#  399|   
#  400|-> void free_pair (foo, file, line)
#  401|   	pair foo;
#  402|   	const char *file;

Error: COMPILER_WARNING: [#def212]
dhcp-4.4.3-P1/common/alloc.c: scope_hint: In function ‘expression_allocate’
dhcp-4.4.3-P1/common/alloc.c:426:5: warning[-Wold-style-definition]: old-style function definition
#  426 | int expression_allocate (cptr, file, line)
#      |     ^~~~~~~~~~~~~~~~~~~
#  424|   struct expression *free_expressions;
#  425|   
#  426|-> int expression_allocate (cptr, file, line)
#  427|   	struct expression **cptr;
#  428|   	const char *file;

Error: COMPILER_WARNING: [#def213]
dhcp-4.4.3-P1/common/alloc.c:426:5: warning[-Wold-style-definition]: old-style function definition
#  424|   struct expression *free_expressions;
#  425|   
#  426|-> int expression_allocate (cptr, file, line)
#  427|   	struct expression **cptr;
#  428|   	const char *file;

Error: COMPILER_WARNING: [#def214]
dhcp-4.4.3-P1/common/alloc.c: scope_hint: In function ‘expression_reference’
dhcp-4.4.3-P1/common/alloc.c:446:5: warning[-Wold-style-definition]: old-style function definition
#  446 | int expression_reference (ptr, src, file, line)
#      |     ^~~~~~~~~~~~~~~~~~~~
#  444|   }
#  445|   
#  446|-> int expression_reference (ptr, src, file, line)
#  447|   	struct expression **ptr;
#  448|   	struct expression *src;

Error: COMPILER_WARNING: [#def215]
dhcp-4.4.3-P1/common/alloc.c:446:5: warning[-Wold-style-definition]: old-style function definition
#  444|   }
#  445|   
#  446|-> int expression_reference (ptr, src, file, line)
#  447|   	struct expression **ptr;
#  448|   	struct expression *src;

Error: COMPILER_WARNING: [#def216]
dhcp-4.4.3-P1/common/alloc.c: scope_hint: In function ‘free_expression’
dhcp-4.4.3-P1/common/alloc.c:474:6: warning[-Wold-style-definition]: old-style function definition
#  474 | void free_expression (expr, file, line)
#      |      ^~~~~~~~~~~~~~~
#  472|   }
#  473|   
#  474|-> void free_expression (expr, file, line)
#  475|   	struct expression *expr;
#  476|   	const char *file;

Error: COMPILER_WARNING: [#def217]
dhcp-4.4.3-P1/common/alloc.c:474:6: warning[-Wold-style-definition]: old-style function definition
#  472|   }
#  473|   
#  474|-> void free_expression (expr, file, line)
#  475|   	struct expression *expr;
#  476|   	const char *file;

Error: COMPILER_WARNING: [#def218]
dhcp-4.4.3-P1/common/alloc.c: scope_hint: In function ‘binding_value_allocate’
dhcp-4.4.3-P1/common/alloc.c:500:5: warning[-Wold-style-definition]: old-style function definition
#  500 | int binding_value_allocate (cptr, file, line)
#      |     ^~~~~~~~~~~~~~~~~~~~~~
#  498|   struct binding_value *free_binding_values;
#  499|   
#  500|-> int binding_value_allocate (cptr, file, line)
#  501|   	struct binding_value **cptr;
#  502|   	const char *file;

Error: COMPILER_WARNING: [#def219]
dhcp-4.4.3-P1/common/alloc.c:500:5: warning[-Wold-style-definition]: old-style function definition
#  498|   struct binding_value *free_binding_values;
#  499|   
#  500|-> int binding_value_allocate (cptr, file, line)
#  501|   	struct binding_value **cptr;
#  502|   	const char *file;

Error: COMPILER_WARNING: [#def220]
dhcp-4.4.3-P1/common/alloc.c: scope_hint: In function ‘binding_value_reference’
dhcp-4.4.3-P1/common/alloc.c:520:5: warning[-Wold-style-definition]: old-style function definition
#  520 | int binding_value_reference (ptr, src, file, line)
#      |     ^~~~~~~~~~~~~~~~~~~~~~~
#  518|   }
#  519|   
#  520|-> int binding_value_reference (ptr, src, file, line)
#  521|   	struct binding_value **ptr;
#  522|   	struct binding_value *src;

Error: COMPILER_WARNING: [#def221]
dhcp-4.4.3-P1/common/alloc.c:520:5: warning[-Wold-style-definition]: old-style function definition
#  518|   }
#  519|   
#  520|-> int binding_value_reference (ptr, src, file, line)
#  521|   	struct binding_value **ptr;
#  522|   	struct binding_value *src;

Error: COMPILER_WARNING: [#def222]
dhcp-4.4.3-P1/common/alloc.c: scope_hint: In function ‘free_binding_value’
dhcp-4.4.3-P1/common/alloc.c:548:6: warning[-Wold-style-definition]: old-style function definition
#  548 | void free_binding_value (bv, file, line)
#      |      ^~~~~~~~~~~~~~~~~~
#  546|   }
#  547|   
#  548|-> void free_binding_value (bv, file, line)
#  549|   	struct binding_value *bv;
#  550|   	const char *file;

Error: COMPILER_WARNING: [#def223]
dhcp-4.4.3-P1/common/alloc.c:548:6: warning[-Wold-style-definition]: old-style function definition
#  546|   }
#  547|   
#  548|-> void free_binding_value (bv, file, line)
#  549|   	struct binding_value *bv;
#  550|   	const char *file;

Error: COMPILER_WARNING: [#def224]
dhcp-4.4.3-P1/common/alloc.c: scope_hint: In function ‘fundef_allocate’
dhcp-4.4.3-P1/common/alloc.c:572:5: warning[-Wold-style-definition]: old-style function definition
#  572 | int fundef_allocate (cptr, file, line)
#      |     ^~~~~~~~~~~~~~~
#  570|   #endif
#  571|   
#  572|-> int fundef_allocate (cptr, file, line)
#  573|   	struct fundef **cptr;
#  574|   	const char *file;

Error: COMPILER_WARNING: [#def225]
dhcp-4.4.3-P1/common/alloc.c:572:5: warning[-Wold-style-definition]: old-style function definition
#  570|   #endif
#  571|   
#  572|-> int fundef_allocate (cptr, file, line)
#  573|   	struct fundef **cptr;
#  574|   	const char *file;

Error: COMPILER_WARNING: [#def226]
dhcp-4.4.3-P1/common/alloc.c: scope_hint: In function ‘fundef_reference’
dhcp-4.4.3-P1/common/alloc.c:586:5: warning[-Wold-style-definition]: old-style function definition
#  586 | int fundef_reference (ptr, src, file, line)
#      |     ^~~~~~~~~~~~~~~~
#  584|   }
#  585|   
#  586|-> int fundef_reference (ptr, src, file, line)
#  587|   	struct fundef **ptr;
#  588|   	struct fundef *src;

Error: COMPILER_WARNING: [#def227]
dhcp-4.4.3-P1/common/alloc.c:586:5: warning[-Wold-style-definition]: old-style function definition
#  584|   }
#  585|   
#  586|-> int fundef_reference (ptr, src, file, line)
#  587|   	struct fundef **ptr;
#  588|   	struct fundef *src;

Error: COMPILER_WARNING: [#def228]
dhcp-4.4.3-P1/common/alloc.c: scope_hint: In function ‘option_cache_allocate’
dhcp-4.4.3-P1/common/alloc.c:630:5: warning[-Wold-style-definition]: old-style function definition
#  630 | int option_cache_allocate (cptr, file, line)
#      |     ^~~~~~~~~~~~~~~~~~~~~
#  628|   #endif
#  629|   
#  630|-> int option_cache_allocate (cptr, file, line)
#  631|   	struct option_cache **cptr;
#  632|   	const char *file;

Error: COMPILER_WARNING: [#def229]
dhcp-4.4.3-P1/common/alloc.c:630:5: warning[-Wold-style-definition]: old-style function definition
#  628|   #endif
#  629|   
#  630|-> int option_cache_allocate (cptr, file, line)
#  631|   	struct option_cache **cptr;
#  632|   	const char *file;

Error: COMPILER_WARNING: [#def230]
dhcp-4.4.3-P1/common/alloc.c: scope_hint: In function ‘option_cache_reference’
dhcp-4.4.3-P1/common/alloc.c:651:5: warning[-Wold-style-definition]: old-style function definition
#  651 | int option_cache_reference (ptr, src, file, line)
#      |     ^~~~~~~~~~~~~~~~~~~~~~
#  649|   }
#  650|   
#  651|-> int option_cache_reference (ptr, src, file, line)
#  652|   	struct option_cache **ptr;
#  653|   	struct option_cache *src;

Error: COMPILER_WARNING: [#def231]
dhcp-4.4.3-P1/common/alloc.c:651:5: warning[-Wold-style-definition]: old-style function definition
#  649|   }
#  650|   
#  651|-> int option_cache_reference (ptr, src, file, line)
#  652|   	struct option_cache **ptr;
#  653|   	struct option_cache *src;

Error: COMPILER_WARNING: [#def232]
dhcp-4.4.3-P1/common/alloc.c: scope_hint: In function ‘buffer_allocate’
dhcp-4.4.3-P1/common/alloc.c:679:5: warning[-Wold-style-definition]: old-style function definition
#  679 | int buffer_allocate (ptr, len, file, line)
#      |     ^~~~~~~~~~~~~~~
#  677|   }
#  678|   
#  679|-> int buffer_allocate (ptr, len, file, line)
#  680|   	struct buffer **ptr;
#  681|   	unsigned len;

Error: COMPILER_WARNING: [#def233]
dhcp-4.4.3-P1/common/alloc.c:679:5: warning[-Wold-style-definition]: old-style function definition
#  677|   }
#  678|   
#  679|-> int buffer_allocate (ptr, len, file, line)
#  680|   	struct buffer **ptr;
#  681|   	unsigned len;

Error: COMPILER_WARNING: [#def234]
dhcp-4.4.3-P1/common/alloc.c: scope_hint: In function ‘buffer_reference’
dhcp-4.4.3-P1/common/alloc.c:698:5: warning[-Wold-style-definition]: old-style function definition
#  698 | int buffer_reference (ptr, bp, file, line)
#      |     ^~~~~~~~~~~~~~~~
#  696|   }
#  697|   
#  698|-> int buffer_reference (ptr, bp, file, line)
#  699|   	struct buffer **ptr;
#  700|   	struct buffer *bp;

Error: COMPILER_WARNING: [#def235]
dhcp-4.4.3-P1/common/alloc.c:698:5: warning[-Wold-style-definition]: old-style function definition
#  696|   }
#  697|   
#  698|-> int buffer_reference (ptr, bp, file, line)
#  699|   	struct buffer **ptr;
#  700|   	struct buffer *bp;

Error: COMPILER_WARNING: [#def236]
dhcp-4.4.3-P1/common/alloc.c: scope_hint: In function ‘buffer_dereference’
dhcp-4.4.3-P1/common/alloc.c:726:5: warning[-Wold-style-definition]: old-style function definition
#  726 | int buffer_dereference (ptr, file, line)
#      |     ^~~~~~~~~~~~~~~~~~
#  724|   }
#  725|   
#  726|-> int buffer_dereference (ptr, file, line)
#  727|   	struct buffer **ptr;
#  728|   	const char *file;

Error: COMPILER_WARNING: [#def237]
dhcp-4.4.3-P1/common/alloc.c:726:5: warning[-Wold-style-definition]: old-style function definition
#  724|   }
#  725|   
#  726|-> int buffer_dereference (ptr, file, line)
#  727|   	struct buffer **ptr;
#  728|   	const char *file;

Error: COMPILER_WARNING: [#def238]
dhcp-4.4.3-P1/common/alloc.c: scope_hint: In function ‘dns_host_entry_allocate’
dhcp-4.4.3-P1/common/alloc.c:768:5: warning[-Wold-style-definition]: old-style function definition
#  768 | int dns_host_entry_allocate (ptr, hostname, file, line)
#      |     ^~~~~~~~~~~~~~~~~~~~~~~
#  766|   }
#  767|   
#  768|-> int dns_host_entry_allocate (ptr, hostname, file, line)
#  769|   	struct dns_host_entry **ptr;
#  770|   	const char *hostname;

Error: COMPILER_WARNING: [#def239]
dhcp-4.4.3-P1/common/alloc.c:768:5: warning[-Wold-style-definition]: old-style function definition
#  766|   }
#  767|   
#  768|-> int dns_host_entry_allocate (ptr, hostname, file, line)
#  769|   	struct dns_host_entry **ptr;
#  770|   	const char *hostname;

Error: COMPILER_WARNING: [#def240]
dhcp-4.4.3-P1/common/alloc.c: scope_hint: In function ‘dns_host_entry_reference’
dhcp-4.4.3-P1/common/alloc.c:785:5: warning[-Wold-style-definition]: old-style function definition
#  785 | int dns_host_entry_reference (ptr, bp, file, line)
#      |     ^~~~~~~~~~~~~~~~~~~~~~~~
#  783|   }
#  784|   
#  785|-> int dns_host_entry_reference (ptr, bp, file, line)
#  786|   	struct dns_host_entry **ptr;
#  787|   	struct dns_host_entry *bp;

Error: COMPILER_WARNING: [#def241]
dhcp-4.4.3-P1/common/alloc.c:785:5: warning[-Wold-style-definition]: old-style function definition
#  783|   }
#  784|   
#  785|-> int dns_host_entry_reference (ptr, bp, file, line)
#  786|   	struct dns_host_entry **ptr;
#  787|   	struct dns_host_entry *bp;

Error: COMPILER_WARNING: [#def242]
dhcp-4.4.3-P1/common/alloc.c: scope_hint: In function ‘dns_host_entry_dereference’
dhcp-4.4.3-P1/common/alloc.c:813:5: warning[-Wold-style-definition]: old-style function definition
#  813 | int dns_host_entry_dereference (ptr, file, line)
#      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~
#  811|   }
#  812|   
#  813|-> int dns_host_entry_dereference (ptr, file, line)
#  814|   	struct dns_host_entry **ptr;
#  815|   	const char *file;

Error: COMPILER_WARNING: [#def243]
dhcp-4.4.3-P1/common/alloc.c:813:5: warning[-Wold-style-definition]: old-style function definition
#  811|   }
#  812|   
#  813|-> int dns_host_entry_dereference (ptr, file, line)
#  814|   	struct dns_host_entry **ptr;
#  815|   	const char *file;

Error: COMPILER_WARNING: [#def244]
dhcp-4.4.3-P1/common/alloc.c: scope_hint: In function ‘option_state_allocate’
dhcp-4.4.3-P1/common/alloc.c:846:5: warning[-Wold-style-definition]: old-style function definition
#  846 | int option_state_allocate (ptr, file, line)
#      |     ^~~~~~~~~~~~~~~~~~~~~
#  844|   }
#  845|   
#  846|-> int option_state_allocate (ptr, file, line)
#  847|   	struct option_state **ptr;
#  848|   	const char *file;

Error: COMPILER_WARNING: [#def245]
dhcp-4.4.3-P1/common/alloc.c:846:5: warning[-Wold-style-definition]: old-style function definition
#  844|   }
#  845|   
#  846|-> int option_state_allocate (ptr, file, line)
#  847|   	struct option_state **ptr;
#  848|   	const char *file;

Error: COMPILER_WARNING: [#def246]
dhcp-4.4.3-P1/common/alloc.c: scope_hint: In function ‘option_state_reference’
dhcp-4.4.3-P1/common/alloc.c:883:5: warning[-Wold-style-definition]: old-style function definition
#  883 | int option_state_reference (ptr, bp, file, line)
#      |     ^~~~~~~~~~~~~~~~~~~~~~
#  881|   }
#  882|   
#  883|-> int option_state_reference (ptr, bp, file, line)
#  884|   	struct option_state **ptr;
#  885|   	struct option_state *bp;

Error: COMPILER_WARNING: [#def247]
dhcp-4.4.3-P1/common/alloc.c:883:5: warning[-Wold-style-definition]: old-style function definition
#  881|   }
#  882|   
#  883|-> int option_state_reference (ptr, bp, file, line)
#  884|   	struct option_state **ptr;
#  885|   	struct option_state *bp;

Error: COMPILER_WARNING: [#def248]
dhcp-4.4.3-P1/common/alloc.c: scope_hint: In function ‘option_state_dereference’
dhcp-4.4.3-P1/common/alloc.c:911:5: warning[-Wold-style-definition]: old-style function definition
#  911 | int option_state_dereference (ptr, file, line)
#      |     ^~~~~~~~~~~~~~~~~~~~~~~~
#  909|   }
#  910|   
#  911|-> int option_state_dereference (ptr, file, line)
#  912|   	struct option_state **ptr;
#  913|   	const char *file;

Error: COMPILER_WARNING: [#def249]
dhcp-4.4.3-P1/common/alloc.c:911:5: warning[-Wold-style-definition]: old-style function definition
#  909|   }
#  910|   
#  911|-> int option_state_dereference (ptr, file, line)
#  912|   	struct option_state **ptr;
#  913|   	const char *file;

Error: COMPILER_WARNING: [#def250]
dhcp-4.4.3-P1/common/alloc.c: scope_hint: In function ‘executable_statement_allocate’
dhcp-4.4.3-P1/common/alloc.c:958:5: warning[-Wold-style-definition]: old-style function definition
#  958 | int executable_statement_allocate (ptr, file, line)
#      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#  956|   }
#  957|   
#  958|-> int executable_statement_allocate (ptr, file, line)
#  959|   	struct executable_statement **ptr;
#  960|   	const char *file;

Error: COMPILER_WARNING: [#def251]
dhcp-4.4.3-P1/common/alloc.c:958:5: warning[-Wold-style-definition]: old-style function definition
#  956|   }
#  957|   
#  958|-> int executable_statement_allocate (ptr, file, line)
#  959|   	struct executable_statement **ptr;
#  960|   	const char *file;

Error: COMPILER_WARNING: [#def252]
dhcp-4.4.3-P1/common/alloc.c: scope_hint: In function ‘executable_statement_reference’
dhcp-4.4.3-P1/common/alloc.c:972:5: warning[-Wold-style-definition]: old-style function definition
#  972 | int executable_statement_reference (ptr, bp, file, line)
#      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#  970|   }
#  971|   
#  972|-> int executable_statement_reference (ptr, bp, file, line)
#  973|   	struct executable_statement **ptr;
#  974|   	struct executable_statement *bp;

Error: COMPILER_WARNING: [#def253]
dhcp-4.4.3-P1/common/alloc.c:972:5: warning[-Wold-style-definition]: old-style function definition
#  970|   }
#  971|   
#  972|-> int executable_statement_reference (ptr, bp, file, line)
#  973|   	struct executable_statement **ptr;
#  974|   	struct executable_statement *bp;

Error: COMPILER_WARNING: [#def254]
dhcp-4.4.3-P1/common/alloc.c: scope_hint: In function ‘packet_allocate’
dhcp-4.4.3-P1/common/alloc.c:1015:5: warning[-Wold-style-definition]: old-style function definition
# 1015 | int packet_allocate (ptr, file, line)
#      |     ^~~~~~~~~~~~~~~
# 1013|   #endif
# 1014|   
# 1015|-> int packet_allocate (ptr, file, line)
# 1016|   	struct packet **ptr;
# 1017|   	const char *file;

Error: COMPILER_WARNING: [#def255]
dhcp-4.4.3-P1/common/alloc.c:1015:5: warning[-Wold-style-definition]: old-style function definition
# 1013|   #endif
# 1014|   
# 1015|-> int packet_allocate (ptr, file, line)
# 1016|   	struct packet **ptr;
# 1017|   	const char *file;

Error: COMPILER_WARNING: [#def256]
dhcp-4.4.3-P1/common/alloc.c: scope_hint: In function ‘packet_reference’
dhcp-4.4.3-P1/common/alloc.c:1053:5: warning[-Wold-style-definition]: old-style function definition
# 1053 | int packet_reference (ptr, bp, file, line)
#      |     ^~~~~~~~~~~~~~~~
# 1051|   }
# 1052|   
# 1053|-> int packet_reference (ptr, bp, file, line)
# 1054|   	struct packet **ptr;
# 1055|   	struct packet *bp;

Error: COMPILER_WARNING: [#def257]
dhcp-4.4.3-P1/common/alloc.c:1053:5: warning[-Wold-style-definition]: old-style function definition
# 1051|   }
# 1052|   
# 1053|-> int packet_reference (ptr, bp, file, line)
# 1054|   	struct packet **ptr;
# 1055|   	struct packet *bp;

Error: COMPILER_WARNING: [#def258]
dhcp-4.4.3-P1/common/alloc.c: scope_hint: In function ‘packet_dereference’
dhcp-4.4.3-P1/common/alloc.c:1081:5: warning[-Wold-style-definition]: old-style function definition
# 1081 | int packet_dereference (ptr, file, line)
#      |     ^~~~~~~~~~~~~~~~~~
# 1079|   }
# 1080|   
# 1081|-> int packet_dereference (ptr, file, line)
# 1082|   	struct packet **ptr;
# 1083|   	const char *file;

Error: COMPILER_WARNING: [#def259]
dhcp-4.4.3-P1/common/alloc.c:1081:5: warning[-Wold-style-definition]: old-style function definition
# 1079|   }
# 1080|   
# 1081|-> int packet_dereference (ptr, file, line)
# 1082|   	struct packet **ptr;
# 1083|   	const char *file;

Error: COMPILER_WARNING: [#def260]
dhcp-4.4.3-P1/common/alloc.c: scope_hint: In function ‘dns_zone_allocate’
dhcp-4.4.3-P1/common/alloc.c:1134:5: warning[-Wold-style-definition]: old-style function definition
# 1134 | int dns_zone_allocate (ptr, file, line)
#      |     ^~~~~~~~~~~~~~~~~
# 1132|   }
# 1133|   
# 1134|-> int dns_zone_allocate (ptr, file, line)
# 1135|   	struct dns_zone **ptr;
# 1136|   	const char *file;

Error: COMPILER_WARNING: [#def261]
dhcp-4.4.3-P1/common/alloc.c:1134:5: warning[-Wold-style-definition]: old-style function definition
# 1132|   }
# 1133|   
# 1134|-> int dns_zone_allocate (ptr, file, line)
# 1135|   	struct dns_zone **ptr;
# 1136|   	const char *file;

Error: COMPILER_WARNING: [#def262]
dhcp-4.4.3-P1/common/alloc.c: scope_hint: In function ‘dns_zone_reference’
dhcp-4.4.3-P1/common/alloc.c:1166:5: warning[-Wold-style-definition]: old-style function definition
# 1166 | int dns_zone_reference (ptr, bp, file, line)
#      |     ^~~~~~~~~~~~~~~~~~
# 1164|   }
# 1165|   
# 1166|-> int dns_zone_reference (ptr, bp, file, line)
# 1167|   	struct dns_zone **ptr;
# 1168|   	struct dns_zone *bp;

Error: COMPILER_WARNING: [#def263]
dhcp-4.4.3-P1/common/alloc.c:1166:5: warning[-Wold-style-definition]: old-style function definition
# 1164|   }
# 1165|   
# 1166|-> int dns_zone_reference (ptr, bp, file, line)
# 1167|   	struct dns_zone **ptr;
# 1168|   	struct dns_zone *bp;

Error: COMPILER_WARNING: [#def264]
dhcp-4.4.3-P1/common/alloc.c: scope_hint: In function ‘binding_scope_allocate’
dhcp-4.4.3-P1/common/alloc.c:1194:5: warning[-Wold-style-definition]: old-style function definition
# 1194 | int binding_scope_allocate (ptr, file, line)
#      |     ^~~~~~~~~~~~~~~~~~~~~~
# 1192|   }
# 1193|   
# 1194|-> int binding_scope_allocate (ptr, file, line)
# 1195|   	struct binding_scope **ptr;
# 1196|   	const char *file;

Error: COMPILER_WARNING: [#def265]
dhcp-4.4.3-P1/common/alloc.c:1194:5: warning[-Wold-style-definition]: old-style function definition
# 1192|   }
# 1193|   
# 1194|-> int binding_scope_allocate (ptr, file, line)
# 1195|   	struct binding_scope **ptr;
# 1196|   	const char *file;

Error: COMPILER_WARNING: [#def266]
dhcp-4.4.3-P1/common/alloc.c: scope_hint: In function ‘binding_scope_reference’
dhcp-4.4.3-P1/common/alloc.c:1227:5: warning[-Wold-style-definition]: old-style function definition
# 1227 | int binding_scope_reference (ptr, bp, file, line)
#      |     ^~~~~~~~~~~~~~~~~~~~~~~
# 1225|   }
# 1226|   
# 1227|-> int binding_scope_reference (ptr, bp, file, line)
# 1228|   	struct binding_scope **ptr;
# 1229|   	struct binding_scope *bp;

Error: COMPILER_WARNING: [#def267]
dhcp-4.4.3-P1/common/alloc.c:1227:5: warning[-Wold-style-definition]: old-style function definition
# 1225|   }
# 1226|   
# 1227|-> int binding_scope_reference (ptr, bp, file, line)
# 1228|   	struct binding_scope **ptr;
# 1229|   	struct binding_scope *bp;

Error: COMPILER_WARNING: [#def268]
dhcp-4.4.3-P1/common/alloc.c: scope_hint: In function ‘data_string_forget’
dhcp-4.4.3-P1/common/alloc.c:1339:6: warning[-Wold-style-definition]: old-style function definition
# 1339 | void data_string_forget (data, file, line)
#      |      ^~~~~~~~~~~~~~~~~~
# 1337|      zero out the other information, yielding the null data string. */
# 1338|   
# 1339|-> void data_string_forget (data, file, line)
# 1340|   	struct data_string *data;
# 1341|   	const char *file;

Error: COMPILER_WARNING: [#def269]
dhcp-4.4.3-P1/common/alloc.c:1339:6: warning[-Wold-style-definition]: old-style function definition
# 1337|      zero out the other information, yielding the null data string. */
# 1338|   
# 1339|-> void data_string_forget (data, file, line)
# 1340|   	struct data_string *data;
# 1341|   	const char *file;

Error: COMPILER_WARNING: [#def270]
dhcp-4.4.3-P1/common/alloc.c: scope_hint: In function ‘data_string_truncate’
dhcp-4.4.3-P1/common/alloc.c:1352:6: warning[-Wold-style-definition]: old-style function definition
# 1352 | void data_string_truncate (dp, len)
#      |      ^~~~~~~~~~~~~~~~~~~~
# 1350|      the data_string to the specified size. */
# 1351|   
# 1352|-> void data_string_truncate (dp, len)
# 1353|   	struct data_string *dp;
# 1354|   	int len;

Error: COMPILER_WARNING: [#def271]
dhcp-4.4.3-P1/common/alloc.c:1352:6: warning[-Wold-style-definition]: old-style function definition
# 1350|      the data_string to the specified size. */
# 1351|   
# 1352|-> void data_string_truncate (dp, len)
# 1353|   	struct data_string *dp;
# 1354|   	int len;

Error: COMPILER_WARNING: [#def272]
dhcp-4.4.3-P1/common/alloc.c: scope_hint: In function ‘data_string_terminate’
dhcp-4.4.3-P1/common/alloc.c:1382:5: warning[-Wold-style-definition]: old-style function definition
# 1382 | int data_string_terminate(str, file, line)
#      |     ^~~~~~~~~~~~~~~~~~~~~
# 1380|    * string's content is lost.
# 1381|    */
# 1382|-> int data_string_terminate(str, file, line)
# 1383|   	struct data_string* str;
# 1384|   	const char *file;

Error: COMPILER_WARNING: [#def273]
dhcp-4.4.3-P1/common/alloc.c:1382:5: warning[-Wold-style-definition]: old-style function definition
# 1380|    * string's content is lost.
# 1381|    */
# 1382|-> int data_string_terminate(str, file, line)
# 1383|   	struct data_string* str;
# 1384|   	const char *file;

Error: COMPILER_WARNING: [#def274]
dhcp-4.4.3-P1/common/conflex.c: scope_hint: In function ‘new_parse’
dhcp-4.4.3-P1/common/conflex.c:41:14: warning[-Wold-style-definition]: old-style function definition
#   41 | isc_result_t new_parse (cfile, file, inbuf, buflen, name, eolp)
#      |              ^~~~~~~~~
#   39|   static enum dhcp_token intern (char *, enum dhcp_token);
#   40|   
#   41|-> isc_result_t new_parse (cfile, file, inbuf, buflen, name, eolp)
#   42|   	struct parse **cfile;
#   43|   	int file;

Error: COMPILER_WARNING: [#def275]
dhcp-4.4.3-P1/common/conflex.c:41:14: warning[-Wold-style-definition]: old-style function definition
#   39|   static enum dhcp_token intern (char *, enum dhcp_token);
#   40|   
#   41|-> isc_result_t new_parse (cfile, file, inbuf, buflen, name, eolp)
#   42|   	struct parse **cfile;
#   43|   	int file;

Error: COMPILER_WARNING: [#def276]
dhcp-4.4.3-P1/common/conflex.c: scope_hint: In function ‘end_parse’
dhcp-4.4.3-P1/common/conflex.c:103:14: warning[-Wold-style-definition]: old-style function definition
#  103 | isc_result_t end_parse (cfile)
#      |              ^~~~~~~~~
#  101|   }
#  102|   
#  103|-> isc_result_t end_parse (cfile)
#  104|   	struct parse **cfile;
#  105|   {

Error: COMPILER_WARNING: [#def277]
dhcp-4.4.3-P1/common/conflex.c:103:14: warning[-Wold-style-definition]: old-style function definition
#  101|   }
#  102|   
#  103|-> isc_result_t end_parse (cfile)
#  104|   	struct parse **cfile;
#  105|   {

Error: COMPILER_WARNING: [#def278]
dhcp-4.4.3-P1/common/conflex.c: scope_hint: In function ‘get_char’
dhcp-4.4.3-P1/common/conflex.c:182:12: warning[-Wold-style-definition]: old-style function definition
#  182 | static int get_char (cfile)
#      |            ^~~~~~~~
#  180|   }
#  181|   
#  182|-> static int get_char (cfile)
#  183|   	struct parse *cfile;
#  184|   {

Error: COMPILER_WARNING: [#def279]
dhcp-4.4.3-P1/common/conflex.c:182:12: warning[-Wold-style-definition]: old-style function definition
#  180|   }
#  181|   
#  182|-> static int get_char (cfile)
#  183|   	struct parse *cfile;
#  184|   {

Error: COMPILER_WARNING: [#def280]
dhcp-4.4.3-P1/common/conflex.c: scope_hint: In function ‘skip_to_eol’
dhcp-4.4.3-P1/common/conflex.c:458:13: warning[-Wold-style-definition]: old-style function definition
#  458 | static void skip_to_eol (cfile)
#      |             ^~~~~~~~~~~
#  456|   }
#  457|   
#  458|-> static void skip_to_eol (cfile)
#  459|   	struct parse *cfile;
#  460|   {

Error: COMPILER_WARNING: [#def281]
dhcp-4.4.3-P1/common/conflex.c:458:13: warning[-Wold-style-definition]: old-style function definition
#  456|   }
#  457|   
#  458|-> static void skip_to_eol (cfile)
#  459|   	struct parse *cfile;
#  460|   {

Error: COMPILER_WARNING: [#def282]
dhcp-4.4.3-P1/common/conflex.c: scope_hint: In function ‘read_string’
dhcp-4.4.3-P1/common/conflex.c:512:24: warning[-Wold-style-definition]: old-style function definition
#  512 | static enum dhcp_token read_string (cfile)
#      |                        ^~~~~~~~~~~
#  510|   }
#  511|   
#  512|-> static enum dhcp_token read_string (cfile)
#  513|   	struct parse *cfile;
#  514|   {

Error: COMPILER_WARNING: [#def283]
dhcp-4.4.3-P1/common/conflex.c:512:24: warning[-Wold-style-definition]: old-style function definition
#  510|   }
#  511|   
#  512|-> static enum dhcp_token read_string (cfile)
#  513|   	struct parse *cfile;
#  514|   {

Error: COMPILER_WARNING: [#def284]
dhcp-4.4.3-P1/common/conflex.c: scope_hint: In function ‘read_number’
dhcp-4.4.3-P1/common/conflex.c:620:24: warning[-Wold-style-definition]: old-style function definition
#  620 | static enum dhcp_token read_number (c, cfile)
#      |                        ^~~~~~~~~~~
#  618|   }
#  619|   
#  620|-> static enum dhcp_token read_number (c, cfile)
#  621|   	int c;
#  622|   	struct parse *cfile;

Error: COMPILER_WARNING: [#def285]
dhcp-4.4.3-P1/common/conflex.c:620:24: warning[-Wold-style-definition]: old-style function definition
#  618|   }
#  619|   
#  620|-> static enum dhcp_token read_number (c, cfile)
#  621|   	int c;
#  622|   	struct parse *cfile;

Error: COMPILER_WARNING: [#def286]
dhcp-4.4.3-P1/common/conflex.c: scope_hint: In function ‘read_num_or_name’
dhcp-4.4.3-P1/common/conflex.c:695:24: warning[-Wold-style-definition]: old-style function definition
#  695 | static enum dhcp_token read_num_or_name (c, cfile)
#      |                        ^~~~~~~~~~~~~~~~
#  693|   }
#  694|   
#  695|-> static enum dhcp_token read_num_or_name (c, cfile)
#  696|   	int c;
#  697|   	struct parse *cfile;

Error: COMPILER_WARNING: [#def287]
dhcp-4.4.3-P1/common/conflex.c:695:24: warning[-Wold-style-definition]: old-style function definition
#  693|   }
#  694|   
#  695|-> static enum dhcp_token read_num_or_name (c, cfile)
#  696|   	int c;
#  697|   	struct parse *cfile;

Error: COMPILER_WARNING: [#def288]
dhcp-4.4.3-P1/common/discover.c: scope_hint: In function ‘if_readsocket’
dhcp-4.4.3-P1/common/discover.c:1048:5: warning[-Wold-style-definition]: old-style function definition
# 1048 | int if_readsocket (h)
#      |     ^~~~~~~~~~~~~
# 1046|   }
# 1047|   
# 1048|-> int if_readsocket (h)
# 1049|   	omapi_object_t *h;
# 1050|   {

Error: COMPILER_WARNING: [#def289]
dhcp-4.4.3-P1/common/discover.c:1048:5: warning[-Wold-style-definition]: old-style function definition
# 1046|   }
# 1047|   
# 1048|-> int if_readsocket (h)
# 1049|   	omapi_object_t *h;
# 1050|   {

Error: COMPILER_WARNING: [#def290]
dhcp-4.4.3-P1/common/discover.c: scope_hint: In function ‘got_one’
dhcp-4.4.3-P1/common/discover.c:1093:14: warning[-Wold-style-definition]: old-style function definition
# 1093 | isc_result_t got_one (h)
#      |              ^~~~~~~
# 1091|   }
# 1092|   
# 1093|-> isc_result_t got_one (h)
# 1094|   	omapi_object_t *h;
# 1095|   {

Error: COMPILER_WARNING: [#def291]
dhcp-4.4.3-P1/common/discover.c:1093:14: warning[-Wold-style-definition]: old-style function definition
# 1091|   }
# 1092|   
# 1093|-> isc_result_t got_one (h)
# 1094|   	omapi_object_t *h;
# 1095|   {

Error: COMPILER_WARNING: [#def292]
dhcp-4.4.3-P1/common/dispatch.c: scope_hint: In function ‘add_timeout’
dhcp-4.4.3-P1/common/dispatch.c:206:6: warning[-Wold-style-definition]: old-style function definition
#  206 | void add_timeout (when, where, what, ref, unref)
#      |      ^~~~~~~~~~~
#  204|   #define USEC_MAX 1000000
#  205|   
#  206|-> void add_timeout (when, where, what, ref, unref)
#  207|   	struct timeval *when;
#  208|   	void (*where) (void *);

Error: COMPILER_WARNING: [#def293]
dhcp-4.4.3-P1/common/dispatch.c:206:6: warning[-Wold-style-definition]: old-style function definition
#  204|   #define USEC_MAX 1000000
#  205|   
#  206|-> void add_timeout (when, where, what, ref, unref)
#  207|   	struct timeval *when;
#  208|   	void (*where) (void *);

Error: COMPILER_WARNING: [#def294]
dhcp-4.4.3-P1/common/dispatch.c: scope_hint: In function ‘cancel_timeout’
dhcp-4.4.3-P1/common/dispatch.c:390:6: warning[-Wold-style-definition]: old-style function definition
#  390 | void cancel_timeout (where, what)
#      |      ^~~~~~~~~~~~~~
#  388|   }
#  389|   
#  390|-> void cancel_timeout (where, what)
#  391|   	void (*where) (void *);
#  392|   	void *what;

Error: COMPILER_WARNING: [#def295]
dhcp-4.4.3-P1/common/dispatch.c:390:6: warning[-Wold-style-definition]: old-style function definition
#  388|   }
#  389|   
#  390|-> void cancel_timeout (where, what)
#  391|   	void (*where) (void *);
#  392|   	void *what;

Error: COMPILER_WARNING: [#def296]
dhcp-4.4.3-P1/common/dns.c: scope_hint: In function ‘dns_zone_dereference’
dhcp-4.4.3-P1/common/dns.c:698:5: warning[-Wold-style-definition]: old-style function definition
#  698 | int dns_zone_dereference (ptr, file, line)
#      |     ^~~~~~~~~~~~~~~~~~~~
#  696|   }
#  697|   
#  698|-> int dns_zone_dereference (ptr, file, line)
#  699|   	struct dns_zone **ptr;
#  700|   	const char *file;

Error: COMPILER_WARNING: [#def297]
dhcp-4.4.3-P1/common/dns.c:698:5: warning[-Wold-style-definition]: old-style function definition
#  696|   }
#  697|   
#  698|-> int dns_zone_dereference (ptr, file, line)
#  699|   	struct dns_zone **ptr;
#  700|   	const char *file;

Error: GCC_ANALYZER_WARNING (CWE-476): [#def298]
dhcp-4.4.3-P1/common/dns.c:1243:14: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘zone’
dhcp-4.4.3-P1/common/dns.c:2762:1: enter_function: entry to ‘ddns_modify_ptr’
dhcp-4.4.3-P1/common/dns.c:2781:12: branch_false: following ‘false’ branch...
dhcp-4.4.3-P1/common/dns.c:2792:18: branch_false: ...to here
dhcp-4.4.3-P1/common/dns.c:2792:18: call_function: calling ‘find_cached_zone’ from ‘ddns_modify_ptr’
# 1241|   	 * we repudiated this zone.  If so give up.
# 1242|   	 */
# 1243|-> 	if ((zone->flags & DNS_ZONE_INACTIVE) != 0) {
# 1244|   		dns_zone_dereference(&zone, MDL);
# 1245|   		return (ISC_R_FAILURE);

Error: COMPILER_WARNING: [#def299]
dhcp-4.4.3-P1/common/ethernet.c: scope_hint: In function ‘assemble_ethernet_header’
dhcp-4.4.3-P1/common/ethernet.c:38:6: warning[-Wold-style-definition]: old-style function definition
#   38 | void assemble_ethernet_header (interface, buf, bufix, to)
#      |      ^~~~~~~~~~~~~~~~~~~~~~~~
#   36|   /* Assemble an hardware header... */
#   37|   
#   38|-> void assemble_ethernet_header (interface, buf, bufix, to)
#   39|   	struct interface_info *interface;
#   40|   	unsigned char *buf;

Error: COMPILER_WARNING: [#def300]
dhcp-4.4.3-P1/common/ethernet.c:38:6: warning[-Wold-style-definition]: old-style function definition
#   36|   /* Assemble an hardware header... */
#   37|   
#   38|-> void assemble_ethernet_header (interface, buf, bufix, to)
#   39|   	struct interface_info *interface;
#   40|   	unsigned char *buf;

Error: COMPILER_WARNING: [#def301]
dhcp-4.4.3-P1/common/ethernet.c: scope_hint: In function ‘decode_ethernet_header’
dhcp-4.4.3-P1/common/ethernet.c:67:9: warning[-Wold-style-definition]: old-style function definition
#   67 | ssize_t decode_ethernet_header (interface, buf, bufix, from)
#      |         ^~~~~~~~~~~~~~~~~~~~~~
#   65|   /* Decode a hardware header... */
#   66|   
#   67|-> ssize_t decode_ethernet_header (interface, buf, bufix, from)
#   68|        struct interface_info *interface;
#   69|        unsigned char *buf;

Error: COMPILER_WARNING: [#def302]
dhcp-4.4.3-P1/common/ethernet.c:67:9: warning[-Wold-style-definition]: old-style function definition
#   65|   /* Decode a hardware header... */
#   66|   
#   67|-> ssize_t decode_ethernet_header (interface, buf, bufix, from)
#   68|        struct interface_info *interface;
#   69|        unsigned char *buf;

Error: COMPILER_WARNING: [#def303]
dhcp-4.4.3-P1/common/execute.c: scope_hint: In function ‘execute_statements’
dhcp-4.4.3-P1/common/execute.c:35:5: warning[-Wold-style-definition]: old-style function definition
#   35 | int execute_statements (result, packet, lease, client_state,
#      |     ^~~~~~~~~~~~~~~~~~
#   33|   #include <sys/wait.h>
#   34|   
#   35|-> int execute_statements (result, packet, lease, client_state,
#   36|   			in_options, out_options, scope, statements,
#   37|   			on_star)

Error: COMPILER_WARNING: [#def304]
dhcp-4.4.3-P1/common/execute.c:35:5: warning[-Wold-style-definition]: old-style function definition
#   33|   #include <sys/wait.h>
#   34|   
#   35|-> int execute_statements (result, packet, lease, client_state,
#   36|   			in_options, out_options, scope, statements,
#   37|   			on_star)

Error: COMPILER_WARNING: [#def305]
dhcp-4.4.3-P1/common/execute.c: scope_hint: In function ‘execute_statements_in_scope’
dhcp-4.4.3-P1/common/execute.c:570:6: warning[-Wold-style-definition]: old-style function definition
#  570 | void execute_statements_in_scope (result, packet,
#      |      ^~~~~~~~~~~~~~~~~~~~~~~~~~~
#  568|      the most outer scope first. */
#  569|   
#  570|-> void execute_statements_in_scope (result, packet,
#  571|   				  lease, client_state, in_options, out_options,
#  572|   				  scope, group, limiting_group, on_star)

Error: COMPILER_WARNING: [#def306]
dhcp-4.4.3-P1/common/execute.c:570:6: warning[-Wold-style-definition]: old-style function definition
#  568|      the most outer scope first. */
#  569|   
#  570|-> void execute_statements_in_scope (result, packet,
#  571|   				  lease, client_state, in_options, out_options,
#  572|   				  scope, group, limiting_group, on_star)

Error: COMPILER_WARNING: [#def307]
dhcp-4.4.3-P1/common/execute.c: scope_hint: In function ‘executable_statement_dereference’
dhcp-4.4.3-P1/common/execute.c:630:5: warning[-Wold-style-definition]: old-style function definition
#  630 | int executable_statement_dereference (ptr, file, line)
#      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#  628|   /* Dereference or free any subexpressions of a statement being freed. */
#  629|   
#  630|-> int executable_statement_dereference (ptr, file, line)
#  631|   	struct executable_statement **ptr;
#  632|   	const char *file;

Error: COMPILER_WARNING: [#def308]
dhcp-4.4.3-P1/common/execute.c:630:5: warning[-Wold-style-definition]: old-style function definition
#  628|   /* Dereference or free any subexpressions of a statement being freed. */
#  629|   
#  630|-> int executable_statement_dereference (ptr, file, line)
#  631|   	struct executable_statement **ptr;
#  632|   	const char *file;

Error: COMPILER_WARNING: [#def309]
dhcp-4.4.3-P1/common/execute.c: scope_hint: In function ‘write_statements’
dhcp-4.4.3-P1/common/execute.c:759:6: warning[-Wold-style-definition]: old-style function definition
#  759 | void write_statements (file, statements, indent)
#      |      ^~~~~~~~~~~~~~~~
#  757|   }
#  758|   
#  759|-> void write_statements (file, statements, indent)
#  760|   	FILE *file;
#  761|   	struct executable_statement *statements;

Error: COMPILER_WARNING: [#def310]
dhcp-4.4.3-P1/common/execute.c:759:6: warning[-Wold-style-definition]: old-style function definition
#  757|   }
#  758|   
#  759|-> void write_statements (file, statements, indent)
#  760|   	FILE *file;
#  761|   	struct executable_statement *statements;

Error: COMPILER_WARNING: [#def311]
dhcp-4.4.3-P1/common/icmp.c: scope_hint: In function ‘icmp_startup’
dhcp-4.4.3-P1/common/icmp.c:47:6: warning[-Wold-style-definition]: old-style function definition
#   47 | void icmp_startup (routep, handler)
#      |      ^~~~~~~~~~~~
#   45|   /* Initialize the ICMP protocol. */
#   46|   
#   47|-> void icmp_startup (routep, handler)
#   48|   	int routep;
#   49|   	void (*handler) (struct iaddr, u_int8_t *, int);

Error: COMPILER_WARNING: [#def312]
dhcp-4.4.3-P1/common/icmp.c:47:6: warning[-Wold-style-definition]: old-style function definition
#   45|   /* Initialize the ICMP protocol. */
#   46|   
#   47|-> void icmp_startup (routep, handler)
#   48|   	int routep;
#   49|   	void (*handler) (struct iaddr, u_int8_t *, int);

Error: COMPILER_WARNING: [#def313]
dhcp-4.4.3-P1/common/icmp.c: scope_hint: In function ‘icmp_readsocket’
dhcp-4.4.3-P1/common/icmp.c:119:5: warning[-Wold-style-definition]: old-style function definition
#  119 | int icmp_readsocket (h)
#      |     ^~~~~~~~~~~~~~~
#  117|   }
#  118|   
#  119|-> int icmp_readsocket (h)
#  120|   	omapi_object_t *h;
#  121|   {

Error: COMPILER_WARNING: [#def314]
dhcp-4.4.3-P1/common/icmp.c:119:5: warning[-Wold-style-definition]: old-style function definition
#  117|   }
#  118|   
#  119|-> int icmp_readsocket (h)
#  120|   	omapi_object_t *h;
#  121|   {

Error: COMPILER_WARNING: [#def315]
dhcp-4.4.3-P1/common/icmp.c: scope_hint: In function ‘icmp_echorequest’
dhcp-4.4.3-P1/common/icmp.c:128:5: warning[-Wold-style-definition]: old-style function definition
#  128 | int icmp_echorequest (addr)
#      |     ^~~~~~~~~~~~~~~~
#  126|   }
#  127|   
#  128|-> int icmp_echorequest (addr)
#  129|   	struct iaddr *addr;
#  130|   {

Error: COMPILER_WARNING: [#def316]
dhcp-4.4.3-P1/common/icmp.c:128:5: warning[-Wold-style-definition]: old-style function definition
#  126|   }
#  127|   
#  128|-> int icmp_echorequest (addr)
#  129|   	struct iaddr *addr;
#  130|   {

Error: COMPILER_WARNING: [#def317]
dhcp-4.4.3-P1/common/icmp.c: scope_hint: In function ‘icmp_echoreply’
dhcp-4.4.3-P1/common/icmp.c:204:14: warning[-Wold-style-definition]: old-style function definition
#  204 | isc_result_t icmp_echoreply (h)
#      |              ^~~~~~~~~~~~~~
#  202|   }
#  203|   
#  204|-> isc_result_t icmp_echoreply (h)
#  205|   	omapi_object_t *h;
#  206|   {

Error: COMPILER_WARNING: [#def318]
dhcp-4.4.3-P1/common/icmp.c:204:14: warning[-Wold-style-definition]: old-style function definition
#  202|   }
#  203|   
#  204|-> isc_result_t icmp_echoreply (h)
#  205|   	omapi_object_t *h;
#  206|   {

Error: COMPILER_WARNING: [#def319]
dhcp-4.4.3-P1/common/inet.c: scope_hint: In function ‘subnet_number’
dhcp-4.4.3-P1/common/inet.c:34:14: warning[-Wold-style-definition]: old-style function definition
#   34 | struct iaddr subnet_number (addr, mask)
#      |              ^~~~~~~~~~~~~
#   32|   /* Return just the network number of an internet address... */
#   33|   
#   34|-> struct iaddr subnet_number (addr, mask)
#   35|   	struct iaddr addr;
#   36|   	struct iaddr mask;

Error: COMPILER_WARNING: [#def320]
dhcp-4.4.3-P1/common/inet.c:34:14: warning[-Wold-style-definition]: old-style function definition
#   32|   /* Return just the network number of an internet address... */
#   33|   
#   34|-> struct iaddr subnet_number (addr, mask)
#   35|   	struct iaddr addr;
#   36|   	struct iaddr mask;

Error: COMPILER_WARNING: [#def321]
dhcp-4.4.3-P1/common/inet.c: scope_hint: In function ‘ip_addr’
dhcp-4.4.3-P1/common/inet.c:63:14: warning[-Wold-style-definition]: old-style function definition
#   63 | struct iaddr ip_addr (subnet, mask, host_address)
#      |              ^~~~~~~
#   61|      maybe this isn't a problem. */
#   62|   
#   63|-> struct iaddr ip_addr (subnet, mask, host_address)
#   64|   	struct iaddr subnet;
#   65|   	struct iaddr mask;

Error: COMPILER_WARNING: [#def322]
dhcp-4.4.3-P1/common/inet.c:63:14: warning[-Wold-style-definition]: old-style function definition
#   61|      maybe this isn't a problem. */
#   62|   
#   63|-> struct iaddr ip_addr (subnet, mask, host_address)
#   64|   	struct iaddr subnet;
#   65|   	struct iaddr mask;

Error: COMPILER_WARNING: [#def323]
dhcp-4.4.3-P1/common/inet.c: scope_hint: In function ‘broadcast_addr’
dhcp-4.4.3-P1/common/inet.c:112:14: warning[-Wold-style-definition]: old-style function definition
#  112 | struct iaddr broadcast_addr (subnet, mask)
#      |              ^~~~~~~~~~~~~~
#  110|      broadcast address). */
#  111|   
#  112|-> struct iaddr broadcast_addr (subnet, mask)
#  113|   	struct iaddr subnet;
#  114|   	struct iaddr mask;

Error: COMPILER_WARNING: [#def324]
dhcp-4.4.3-P1/common/inet.c:112:14: warning[-Wold-style-definition]: old-style function definition
#  110|      broadcast address). */
#  111|   
#  112|-> struct iaddr broadcast_addr (subnet, mask)
#  113|   	struct iaddr subnet;
#  114|   	struct iaddr mask;

Error: COMPILER_WARNING: [#def325]
dhcp-4.4.3-P1/common/inet.c: scope_hint: In function ‘host_addr’
dhcp-4.4.3-P1/common/inet.c:138:11: warning[-Wold-style-definition]: old-style function definition
#  138 | u_int32_t host_addr (addr, mask)
#      |           ^~~~~~~~~
#  136|   }
#  137|   
#  138|-> u_int32_t host_addr (addr, mask)
#  139|   	struct iaddr addr;
#  140|   	struct iaddr mask;

Error: COMPILER_WARNING: [#def326]
dhcp-4.4.3-P1/common/inet.c:138:11: warning[-Wold-style-definition]: old-style function definition
#  136|   }
#  137|   
#  138|-> u_int32_t host_addr (addr, mask)
#  139|   	struct iaddr addr;
#  140|   	struct iaddr mask;

Error: COMPILER_WARNING: [#def327]
dhcp-4.4.3-P1/common/inet.c: scope_hint: In function ‘addr_eq’
dhcp-4.4.3-P1/common/inet.c:166:5: warning[-Wold-style-definition]: old-style function definition
#  166 | int addr_eq (addr1, addr2)
#      |     ^~~~~~~
#  164|   }
#  165|   
#  166|-> int addr_eq (addr1, addr2)
#  167|   	struct iaddr addr1, addr2;
#  168|   {

Error: COMPILER_WARNING: [#def328]
dhcp-4.4.3-P1/common/inet.c:166:5: warning[-Wold-style-definition]: old-style function definition
#  164|   }
#  165|   
#  166|-> int addr_eq (addr1, addr2)
#  167|   	struct iaddr addr1, addr2;
#  168|   {

Error: COMPILER_WARNING: [#def329]
dhcp-4.4.3-P1/common/inet.c: scope_hint: In function ‘addr_match’
dhcp-4.4.3-P1/common/inet.c:184:1: warning[-Wold-style-definition]: old-style function definition
#  184 | addr_match(addr, match)
#      | ^~~~~~~~~~
#  182|    */
#  183|   int
#  184|-> addr_match(addr, match)
#  185|   	struct iaddr *addr;
#  186|   	struct iaddrmatch *match;

Error: COMPILER_WARNING: [#def330]
dhcp-4.4.3-P1/common/inet.c:184:1: warning[-Wold-style-definition]: old-style function definition
#  182|    */
#  183|   int
#  184|-> addr_match(addr, match)
#  185|   	struct iaddr *addr;
#  186|   	struct iaddrmatch *match;

Error: COMPILER_WARNING: [#def331]
dhcp-4.4.3-P1/common/inet.c: scope_hint: In function ‘pdestdesc’
dhcp-4.4.3-P1/common/inet.c:539:60: warning[-Wformat-overflow=]: ‘__sprintf_chk’ may write a terminating nul past the end of the destination
#  539 |                         len = sprintf (tmp, "%u.%u.%u.%u.%u", src[0], src[1], src[2], src[3], src[4]);
#      |                                                            ^
/usr/include/bits/stdio2.h:30:10: note: ‘__sprintf_chk’ output between 10 and 20 bytes into a destination of size 19
#   30 |   return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
#      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#   31 |                                   __glibc_objsize (__s), __fmt,
#      |                                   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#   32 |                                   __va_arg_pack ());
#      |                                   ~~~~~~~~~~~~~~~~~
#  537|   			break;
#  538|   		case 5:
#  539|-> 			len = sprintf (tmp, "%u.%u.%u.%u.%u", src[0], src[1], src[2], src[3], src[4]);
#  540|   			break;
#  541|   		default:

Error: COMPILER_WARNING: [#def332]
dhcp-4.4.3-P1/common/lpf.c: scope_hint: In function ‘if_reinitialize_send’
dhcp-4.4.3-P1/common/lpf.c:66:6: warning[-Wold-style-definition]: old-style function definition
#   66 | void if_reinitialize_send (info)
#      |      ^~~~~~~~~~~~~~~~~~~~
#   64|   
#   65|   #ifdef USE_LPF_SEND
#   66|-> void if_reinitialize_send (info)
#   67|   	struct interface_info *info;
#   68|   {

Error: COMPILER_WARNING: [#def333]
dhcp-4.4.3-P1/common/lpf.c:66:6: warning[-Wold-style-definition]: old-style function definition
#   64|   
#   65|   #ifdef USE_LPF_SEND
#   66|-> void if_reinitialize_send (info)
#   67|   	struct interface_info *info;
#   68|   {

Error: COMPILER_WARNING: [#def334]
dhcp-4.4.3-P1/common/lpf.c: scope_hint: In function ‘if_reinitialize_receive’
dhcp-4.4.3-P1/common/lpf.c:73:6: warning[-Wold-style-definition]: old-style function definition
#   73 | void if_reinitialize_receive (info)
#      |      ^~~~~~~~~~~~~~~~~~~~~~~
#   71|   
#   72|   #ifdef USE_LPF_RECEIVE
#   73|-> void if_reinitialize_receive (info)
#   74|   	struct interface_info *info;
#   75|   {

Error: COMPILER_WARNING: [#def335]
dhcp-4.4.3-P1/common/lpf.c:73:6: warning[-Wold-style-definition]: old-style function definition
#   71|   
#   72|   #ifdef USE_LPF_RECEIVE
#   73|-> void if_reinitialize_receive (info)
#   74|   	struct interface_info *info;
#   75|   {

Error: COMPILER_WARNING: [#def336]
dhcp-4.4.3-P1/common/lpf.c: scope_hint: In function ‘if_register_lpf’
dhcp-4.4.3-P1/common/lpf.c:83:5: warning[-Wold-style-definition]: old-style function definition
#   83 | int if_register_lpf (info)
#      |     ^~~~~~~~~~~~~~~
#   81|      mask. */
#   82|   
#   83|-> int if_register_lpf (info)
#   84|   	struct interface_info *info;
#   85|   {

Error: COMPILER_WARNING: [#def337]
dhcp-4.4.3-P1/common/lpf.c:83:5: warning[-Wold-style-definition]: old-style function definition
#   81|      mask. */
#   82|   
#   83|-> int if_register_lpf (info)
#   84|   	struct interface_info *info;
#   85|   {

Error: COMPILER_WARNING: [#def338]
dhcp-4.4.3-P1/common/lpf.c: scope_hint: In function ‘if_register_send’
dhcp-4.4.3-P1/common/lpf.c:150:6: warning[-Wold-style-definition]: old-style function definition
#  150 | void if_register_send (info)
#      |      ^~~~~~~~~~~~~~~~
#  148|   
#  149|   #ifdef USE_LPF_SEND
#  150|-> void if_register_send (info)
#  151|   	struct interface_info *info;
#  152|   {

Error: COMPILER_WARNING: [#def339]
dhcp-4.4.3-P1/common/lpf.c:150:6: warning[-Wold-style-definition]: old-style function definition
#  148|   
#  149|   #ifdef USE_LPF_SEND
#  150|-> void if_register_send (info)
#  151|   	struct interface_info *info;
#  152|   {

Error: COMPILER_WARNING: [#def340]
dhcp-4.4.3-P1/common/lpf.c: scope_hint: In function ‘if_deregister_send’
dhcp-4.4.3-P1/common/lpf.c:171:6: warning[-Wold-style-definition]: old-style function definition
#  171 | void if_deregister_send (info)
#      |      ^~~~~~~~~~~~~~~~~~
#  169|   }
#  170|   
#  171|-> void if_deregister_send (info)
#  172|   	struct interface_info *info;
#  173|   {

Error: COMPILER_WARNING: [#def341]
dhcp-4.4.3-P1/common/lpf.c:171:6: warning[-Wold-style-definition]: old-style function definition
#  169|   }
#  170|   
#  171|-> void if_deregister_send (info)
#  172|   	struct interface_info *info;
#  173|   {

Error: COMPILER_WARNING: [#def342]
dhcp-4.4.3-P1/common/lpf.c: scope_hint: In function ‘if_register_receive’
dhcp-4.4.3-P1/common/lpf.c:215:6: warning[-Wold-style-definition]: old-style function definition
#  215 | void if_register_receive (info)
#      |      ^~~~~~~~~~~~~~~~~~~
#  213|   static void lpf_gen_filter_setup (struct interface_info *);
#  214|   
#  215|-> void if_register_receive (info)
#  216|   	struct interface_info *info;
#  217|   {

Error: COMPILER_WARNING: [#def343]
dhcp-4.4.3-P1/common/lpf.c:215:6: warning[-Wold-style-definition]: old-style function definition
#  213|   static void lpf_gen_filter_setup (struct interface_info *);
#  214|   
#  215|-> void if_register_receive (info)
#  216|   	struct interface_info *info;
#  217|   {

Error: COMPILER_WARNING: [#def344]
dhcp-4.4.3-P1/common/lpf.c: scope_hint: In function ‘if_deregister_receive’
dhcp-4.4.3-P1/common/lpf.c:254:6: warning[-Wold-style-definition]: old-style function definition
#  254 | void if_deregister_receive (info)
#      |      ^~~~~~~~~~~~~~~~~~~~~
#  252|   }
#  253|   
#  254|-> void if_deregister_receive (info)
#  255|   	struct interface_info *info;
#  256|   {

Error: COMPILER_WARNING: [#def345]
dhcp-4.4.3-P1/common/lpf.c:254:6: warning[-Wold-style-definition]: old-style function definition
#  252|   }
#  253|   
#  254|-> void if_deregister_receive (info)
#  255|   	struct interface_info *info;
#  256|   {

Error: COMPILER_WARNING: [#def346]
dhcp-4.4.3-P1/common/lpf.c: scope_hint: In function ‘lpf_gen_filter_setup’
dhcp-4.4.3-P1/common/lpf.c:272:13: warning[-Wold-style-definition]: old-style function definition
#  272 | static void lpf_gen_filter_setup (info)
#      |             ^~~~~~~~~~~~~~~~~~~~
#  270|   }
#  271|   
#  272|-> static void lpf_gen_filter_setup (info)
#  273|   	struct interface_info *info;
#  274|   {

Error: COMPILER_WARNING: [#def347]
dhcp-4.4.3-P1/common/lpf.c:272:13: warning[-Wold-style-definition]: old-style function definition
#  270|   }
#  271|   
#  272|-> static void lpf_gen_filter_setup (info)
#  273|   	struct interface_info *info;
#  274|   {

Error: COMPILER_WARNING: [#def348]
dhcp-4.4.3-P1/common/lpf.c: scope_hint: In function ‘send_packet_ib’
dhcp-4.4.3-P1/common/lpf.c:370:9: warning[-Wold-style-definition]: old-style function definition
#  370 | ssize_t send_packet_ib(interface, packet, raw, len, from, to, hto)
#      |         ^~~~~~~~~~~~~~
#  368|   
#  369|   #ifdef USE_LPF_SEND
#  370|-> ssize_t send_packet_ib(interface, packet, raw, len, from, to, hto)
#  371|   	struct interface_info *interface;
#  372|   	struct packet *packet;

Error: COMPILER_WARNING: [#def349]
dhcp-4.4.3-P1/common/lpf.c:370:9: warning[-Wold-style-definition]: old-style function definition
#  368|   
#  369|   #ifdef USE_LPF_SEND
#  370|-> ssize_t send_packet_ib(interface, packet, raw, len, from, to, hto)
#  371|   	struct interface_info *interface;
#  372|   	struct packet *packet;

Error: COMPILER_WARNING: [#def350]
dhcp-4.4.3-P1/common/lpf.c: scope_hint: In function ‘send_packet’
dhcp-4.4.3-P1/common/lpf.c:418:9: warning[-Wold-style-definition]: old-style function definition
#  418 | ssize_t send_packet (interface, packet, raw, len, from, to, hto)
#      |         ^~~~~~~~~~~
#  416|   }
#  417|   
#  418|-> ssize_t send_packet (interface, packet, raw, len, from, to, hto)
#  419|   	struct interface_info *interface;
#  420|   	struct packet *packet;

Error: COMPILER_WARNING: [#def351]
dhcp-4.4.3-P1/common/lpf.c:418:9: warning[-Wold-style-definition]: old-style function definition
#  416|   }
#  417|   
#  418|-> ssize_t send_packet (interface, packet, raw, len, from, to, hto)
#  419|   	struct interface_info *interface;
#  420|   	struct packet *packet;

Error: COMPILER_WARNING: [#def352]
dhcp-4.4.3-P1/common/lpf.c: scope_hint: In function ‘receive_packet_ib’
dhcp-4.4.3-P1/common/lpf.c:463:9: warning[-Wold-style-definition]: old-style function definition
#  463 | ssize_t receive_packet_ib (interface, buf, len, from, hfrom)
#      |         ^~~~~~~~~~~~~~~~~
#  461|   
#  462|   #ifdef USE_LPF_RECEIVE
#  463|-> ssize_t receive_packet_ib (interface, buf, len, from, hfrom)
#  464|   	struct interface_info *interface;
#  465|   	unsigned char *buf;

Error: COMPILER_WARNING: [#def353]
dhcp-4.4.3-P1/common/lpf.c:463:9: warning[-Wold-style-definition]: old-style function definition
#  461|   
#  462|   #ifdef USE_LPF_RECEIVE
#  463|-> ssize_t receive_packet_ib (interface, buf, len, from, hfrom)
#  464|   	struct interface_info *interface;
#  465|   	unsigned char *buf;

Error: COMPILER_WARNING: [#def354]
dhcp-4.4.3-P1/common/lpf.c: scope_hint: In function ‘receive_packet’
dhcp-4.4.3-P1/common/lpf.c:499:9: warning[-Wold-style-definition]: old-style function definition
#  499 | ssize_t receive_packet (interface, buf, len, from, hfrom)
#      |         ^~~~~~~~~~~~~~
#  497|   }
#  498|   
#  499|-> ssize_t receive_packet (interface, buf, len, from, hfrom)
#  500|   	struct interface_info *interface;
#  501|   	unsigned char *buf;

Error: COMPILER_WARNING: [#def355]
dhcp-4.4.3-P1/common/lpf.c:499:9: warning[-Wold-style-definition]: old-style function definition
#  497|   }
#  498|   
#  499|-> ssize_t receive_packet (interface, buf, len, from, hfrom)
#  500|   	struct interface_info *interface;
#  501|   	unsigned char *buf;

Error: COMPILER_WARNING: [#def356]
dhcp-4.4.3-P1/common/lpf.c: scope_hint: In function ‘can_unicast_without_arp’
dhcp-4.4.3-P1/common/lpf.c:618:5: warning[-Wold-style-definition]: old-style function definition
#  618 | int can_unicast_without_arp (ip)
#      |     ^~~~~~~~~~~~~~~~~~~~~~~
#  616|   }
#  617|   
#  618|-> int can_unicast_without_arp (ip)
#  619|   	struct interface_info *ip;
#  620|   {

Error: COMPILER_WARNING: [#def357]
dhcp-4.4.3-P1/common/lpf.c:618:5: warning[-Wold-style-definition]: old-style function definition
#  616|   }
#  617|   
#  618|-> int can_unicast_without_arp (ip)
#  619|   	struct interface_info *ip;
#  620|   {

Error: COMPILER_WARNING: [#def358]
dhcp-4.4.3-P1/common/lpf.c: scope_hint: In function ‘can_receive_unicast_unconfigured’
dhcp-4.4.3-P1/common/lpf.c:624:5: warning[-Wold-style-definition]: old-style function definition
#  624 | int can_receive_unicast_unconfigured (ip)
#      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#  622|   }
#  623|   
#  624|-> int can_receive_unicast_unconfigured (ip)
#  625|   	struct interface_info *ip;
#  626|   {

Error: COMPILER_WARNING: [#def359]
dhcp-4.4.3-P1/common/lpf.c:624:5: warning[-Wold-style-definition]: old-style function definition
#  622|   }
#  623|   
#  624|-> int can_receive_unicast_unconfigured (ip)
#  625|   	struct interface_info *ip;
#  626|   {

Error: COMPILER_WARNING: [#def360]
dhcp-4.4.3-P1/common/lpf.c: scope_hint: In function ‘supports_multiple_interfaces’
dhcp-4.4.3-P1/common/lpf.c:630:5: warning[-Wold-style-definition]: old-style function definition
#  630 | int supports_multiple_interfaces (ip)
#      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
#  628|   }
#  629|   
#  630|-> int supports_multiple_interfaces (ip)
#  631|   	struct interface_info *ip;
#  632|   {

Error: COMPILER_WARNING: [#def361]
dhcp-4.4.3-P1/common/lpf.c:630:5: warning[-Wold-style-definition]: old-style function definition
#  628|   }
#  629|   
#  630|-> int supports_multiple_interfaces (ip)
#  631|   	struct interface_info *ip;
#  632|   {

Error: CPPCHECK_WARNING (CWE-476): [#def362]
dhcp-4.4.3-P1/common/lpf.c:785: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: dup
#  783|   			 * get_ll() again for the rest.
#  784|   			*/
#  785|-> 			if ((colon = strchr(dup, ':')) != NULL) {
#  786|   				*colon = '\0';
#  787|   				if ((sll = get_ll(ifaddrs, &ifa, dup)) == NULL)

Error: GCC_ANALYZER_WARNING (CWE-688): [#def363]
dhcp-4.4.3-P1/common/lpf.c:785:38: warning[-Wanalyzer-possible-null-argument]: use of possibly-NULL ‘dup’ where non-null expected
dhcp-4.4.3-P1/common/lpf.c:743:12: branch_false: following ‘false’ branch...
dhcp-4.4.3-P1/common/lpf.c:746:20: branch_false: ...to here
dhcp-4.4.3-P1/common/lpf.c:779:31: acquire_memory: this call could return NULL
dhcp-4.4.3-P1/common/lpf.c:785:38: danger: argument 1 (‘dup’) from [(5)](sarif:/runs/0/results/15/codeFlows/0/threadFlows/0/locations/4) could be NULL where non-null expected
#argument 1 of ‘__builtin_strchr’ must be non-null
#  783|   			 * get_ll() again for the rest.
#  784|   			*/
#  785|-> 			if ((colon = strchr(dup, ':')) != NULL) {
#  786|   				*colon = '\0';
#  787|   				if ((sll = get_ll(ifaddrs, &ifa, dup)) == NULL)

Error: COMPILER_WARNING: [#def364]
dhcp-4.4.3-P1/common/options.c: scope_hint: In function ‘parse_options’
dhcp-4.4.3-P1/common/options.c:49:5: warning[-Wold-style-definition]: old-style function definition
#   49 | int parse_options (packet)
#      |     ^~~~~~~~~~~~~
#   47|   /* Parse all available options out of the specified packet. */
#   48|   /* Note, the caller is responsible for allocating packet->options. */
#   49|-> int parse_options (packet)
#   50|   	struct packet *packet;
#   51|   {

Error: COMPILER_WARNING: [#def365]
dhcp-4.4.3-P1/common/options.c:49:5: warning[-Wold-style-definition]: old-style function definition
#   47|   /* Parse all available options out of the specified packet. */
#   48|   /* Note, the caller is responsible for allocating packet->options. */
#   49|-> int parse_options (packet)
#   50|   	struct packet *packet;
#   51|   {

Error: COMPILER_WARNING: [#def366]
dhcp-4.4.3-P1/common/options.c: scope_hint: In function ‘parse_option_buffer’
dhcp-4.4.3-P1/common/options.c:119:5: warning[-Wold-style-definition]: old-style function definition
#  119 | int parse_option_buffer (options, buffer, length, universe)
#      |     ^~~~~~~~~~~~~~~~~~~
#  117|    * values in packet->options.
#  118|    */
#  119|-> int parse_option_buffer (options, buffer, length, universe)
#  120|   	struct option_state *options;
#  121|   	const unsigned char *buffer;

Error: COMPILER_WARNING: [#def367]
dhcp-4.4.3-P1/common/options.c:119:5: warning[-Wold-style-definition]: old-style function definition
#  117|    * values in packet->options.
#  118|    */
#  119|-> int parse_option_buffer (options, buffer, length, universe)
#  120|   	struct option_state *options;
#  121|   	const unsigned char *buffer;

Error: COMPILER_WARNING: [#def368]
dhcp-4.4.3-P1/common/options.c: scope_hint: In function ‘format_has_text’
dhcp-4.4.3-P1/common/options.c:1629:1: warning[-Wold-style-definition]: old-style function definition
# 1629 | format_has_text(format)
#      | ^~~~~~~~~~~~~~~
# 1627|   
# 1628|   int
# 1629|-> format_has_text(format)
# 1630|   	const char *format;
# 1631|   {

Error: COMPILER_WARNING: [#def369]
dhcp-4.4.3-P1/common/options.c:1629:1: warning[-Wold-style-definition]: old-style function definition
# 1627|   
# 1628|   int
# 1629|-> format_has_text(format)
# 1630|   	const char *format;
# 1631|   {

Error: COMPILER_WARNING: [#def370]
dhcp-4.4.3-P1/common/options.c: scope_hint: In function ‘format_min_length’
dhcp-4.4.3-P1/common/options.c:1692:1: warning[-Wold-style-definition]: old-style function definition
# 1692 | format_min_length(format, oc)
#      | ^~~~~~~~~~~~~~~~~
# 1690|   
# 1691|   int
# 1692|-> format_min_length(format, oc)
# 1693|   	const char *format;
# 1694|   	struct option_cache *oc;

Error: COMPILER_WARNING: [#def371]
dhcp-4.4.3-P1/common/options.c:1692:1: warning[-Wold-style-definition]: old-style function definition
# 1690|   
# 1691|   int
# 1692|-> format_min_length(format, oc)
# 1693|   	const char *format;
# 1694|   	struct option_cache *oc;

Error: COMPILER_WARNING: [#def372]
dhcp-4.4.3-P1/common/options.c: scope_hint: In function ‘pretty_print_option’
dhcp-4.4.3-P1/common/options.c:1793:13: warning[-Wold-style-definition]: old-style function definition
# 1793 | const char *pretty_print_option (option, data, len, emit_commas, emit_quotes)
#      |             ^~~~~~~~~~~~~~~~~~~
# 1791|   /* Maximum pretty printed size */
# 1792|   #define MAX_OUTPUT_SIZE 32*1024
# 1793|-> const char *pretty_print_option (option, data, len, emit_commas, emit_quotes)
# 1794|   	struct option *option;
# 1795|   	const unsigned char *data;

Error: COMPILER_WARNING: [#def373]
dhcp-4.4.3-P1/common/options.c:1793:13: warning[-Wold-style-definition]: old-style function definition
# 1791|   /* Maximum pretty printed size */
# 1792|   #define MAX_OUTPUT_SIZE 32*1024
# 1793|-> const char *pretty_print_option (option, data, len, emit_commas, emit_quotes)
# 1794|   	struct option *option;
# 1795|   	const unsigned char *data;

Error: COMPILER_WARNING: [#def374]
dhcp-4.4.3-P1/common/options.c: scope_hint: In function ‘get_option’
dhcp-4.4.3-P1/common/options.c:2323:5: warning[-Wold-style-definition]: old-style function definition
# 2323 | int get_option (result, universe, packet, lease, client_state,
#      |     ^~~~~~~~~~
# 2321|   }
# 2322|   
# 2323|-> int get_option (result, universe, packet, lease, client_state,
# 2324|   		in_options, cfg_options, options, scope, code, file, line)
# 2325|   	struct data_string *result;

Error: COMPILER_WARNING: [#def375]
dhcp-4.4.3-P1/common/options.c:2323:5: warning[-Wold-style-definition]: old-style function definition
# 2321|   }
# 2322|   
# 2323|-> int get_option (result, universe, packet, lease, client_state,
# 2324|   		in_options, cfg_options, options, scope, code, file, line)
# 2325|   	struct data_string *result;

Error: COMPILER_WARNING: [#def376]
dhcp-4.4.3-P1/common/options.c: scope_hint: In function ‘get_option_int’
dhcp-4.4.3-P1/common/options.c:2358:5: warning[-Wold-style-definition]: old-style function definition
# 2358 | int get_option_int (result, universe, packet, lease, client_state,
#      |     ^~~~~~~~~~~~~~
# 2356|    * need a size argument.
# 2357|    */
# 2358|-> int get_option_int (result, universe, packet, lease, client_state,
# 2359|   		    in_options, cfg_options, options, scope, code, file, line)
# 2360|   	int *result;

Error: COMPILER_WARNING: [#def377]
dhcp-4.4.3-P1/common/options.c:2358:5: warning[-Wold-style-definition]: old-style function definition
# 2356|    * need a size argument.
# 2357|    */
# 2358|-> int get_option_int (result, universe, packet, lease, client_state,
# 2359|   		    in_options, cfg_options, options, scope, code, file, line)
# 2360|   	int *result;

Error: COMPILER_WARNING: [#def378]
dhcp-4.4.3-P1/common/options.c: scope_hint: In function ‘set_option’
dhcp-4.4.3-P1/common/options.c:2403:6: warning[-Wold-style-definition]: old-style function definition
# 2403 | void set_option (universe, options, option, op)
#      |      ^~~~~~~~~~
# 2401|   }
# 2402|   
# 2403|-> void set_option (universe, options, option, op)
# 2404|   	struct universe *universe;
# 2405|   	struct option_state *options;

Error: COMPILER_WARNING: [#def379]
dhcp-4.4.3-P1/common/options.c:2403:6: warning[-Wold-style-definition]: old-style function definition
# 2401|   }
# 2402|   
# 2403|-> void set_option (universe, options, option, op)
# 2404|   	struct universe *universe;
# 2405|   	struct option_state *options;

Error: COMPILER_WARNING: [#def380]
dhcp-4.4.3-P1/common/options.c: scope_hint: In function ‘lookup_option’
dhcp-4.4.3-P1/common/options.c:2503:22: warning[-Wold-style-definition]: old-style function definition
# 2503 | struct option_cache *lookup_option (universe, options, code)
#      |                      ^~~~~~~~~~~~~
# 2501|   }
# 2502|   
# 2503|-> struct option_cache *lookup_option (universe, options, code)
# 2504|   	struct universe *universe;
# 2505|   	struct option_state *options;

Error: COMPILER_WARNING: [#def381]
dhcp-4.4.3-P1/common/options.c:2503:22: warning[-Wold-style-definition]: old-style function definition
# 2501|   }
# 2502|   
# 2503|-> struct option_cache *lookup_option (universe, options, code)
# 2504|   	struct universe *universe;
# 2505|   	struct option_state *options;

Error: COMPILER_WARNING: [#def382]
dhcp-4.4.3-P1/common/options.c: scope_hint: In function ‘lookup_hashed_option’
dhcp-4.4.3-P1/common/options.c:2518:22: warning[-Wold-style-definition]: old-style function definition
# 2518 | struct option_cache *lookup_hashed_option (universe, options, code)
#      |                      ^~~~~~~~~~~~~~~~~~~~
# 2516|   }
# 2517|   
# 2518|-> struct option_cache *lookup_hashed_option (universe, options, code)
# 2519|   	struct universe *universe;
# 2520|   	struct option_state *options;

Error: COMPILER_WARNING: [#def383]
dhcp-4.4.3-P1/common/options.c:2518:22: warning[-Wold-style-definition]: old-style function definition
# 2516|   }
# 2517|   
# 2518|-> struct option_cache *lookup_hashed_option (universe, options, code)
# 2519|   	struct universe *universe;
# 2520|   	struct option_state *options;

Error: COMPILER_WARNING: [#def384]
dhcp-4.4.3-P1/common/options.c: scope_hint: In function ‘delete_option’
dhcp-4.4.3-P1/common/options.c:2906:6: warning[-Wold-style-definition]: old-style function definition
# 2906 | void delete_option (universe, options, code)
#      |      ^~~~~~~~~~~~~
# 2904|   }
# 2905|   
# 2906|-> void delete_option (universe, options, code)
# 2907|   	struct universe *universe;
# 2908|   	struct option_state *options;

Error: COMPILER_WARNING: [#def385]
dhcp-4.4.3-P1/common/options.c:2906:6: warning[-Wold-style-definition]: old-style function definition
# 2904|   }
# 2905|   
# 2906|-> void delete_option (universe, options, code)
# 2907|   	struct universe *universe;
# 2908|   	struct option_state *options;

Error: COMPILER_WARNING: [#def386]
dhcp-4.4.3-P1/common/options.c: scope_hint: In function ‘delete_hashed_option’
dhcp-4.4.3-P1/common/options.c:2918:6: warning[-Wold-style-definition]: old-style function definition
# 2918 | void delete_hashed_option (universe, options, code)
#      |      ^~~~~~~~~~~~~~~~~~~~
# 2916|   }
# 2917|   
# 2918|-> void delete_hashed_option (universe, options, code)
# 2919|   	struct universe *universe;
# 2920|   	struct option_state *options;

Error: COMPILER_WARNING: [#def387]
dhcp-4.4.3-P1/common/options.c:2918:6: warning[-Wold-style-definition]: old-style function definition
# 2916|   }
# 2917|   
# 2918|-> void delete_hashed_option (universe, options, code)
# 2919|   	struct universe *universe;
# 2920|   	struct option_state *options;

Error: COMPILER_WARNING: [#def388]
dhcp-4.4.3-P1/common/options.c: scope_hint: In function ‘option_cache_dereference’
dhcp-4.4.3-P1/common/options.c:2953:5: warning[-Wold-style-definition]: old-style function definition
# 2953 | int option_cache_dereference (ptr, file, line)
#      |     ^~~~~~~~~~~~~~~~~~~~~~~~
# 2951|   extern struct option_cache *free_option_caches; /* XXX */
# 2952|   
# 2953|-> int option_cache_dereference (ptr, file, line)
# 2954|   	struct option_cache **ptr;
# 2955|   	const char *file;

Error: COMPILER_WARNING: [#def389]
dhcp-4.4.3-P1/common/options.c:2953:5: warning[-Wold-style-definition]: old-style function definition
# 2951|   extern struct option_cache *free_option_caches; /* XXX */
# 2952|   
# 2953|-> int option_cache_dereference (ptr, file, line)
# 2954|   	struct option_cache **ptr;
# 2955|   	const char *file;

Error: COMPILER_WARNING: [#def390]
dhcp-4.4.3-P1/common/options.c: scope_hint: In function ‘hashed_option_state_dereference’
dhcp-4.4.3-P1/common/options.c:3003:5: warning[-Wold-style-definition]: old-style function definition
# 3003 | int hashed_option_state_dereference (universe, state, file, line)
#      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# 3001|   }
# 3002|   
# 3003|-> int hashed_option_state_dereference (universe, state, file, line)
# 3004|   	struct universe *universe;
# 3005|   	struct option_state *state;

Error: COMPILER_WARNING: [#def391]
dhcp-4.4.3-P1/common/options.c:3003:5: warning[-Wold-style-definition]: old-style function definition
# 3001|   }
# 3002|   
# 3003|-> int hashed_option_state_dereference (universe, state, file, line)
# 3004|   	struct universe *universe;
# 3005|   	struct option_state *state;

Error: COMPILER_WARNING: [#def392]
dhcp-4.4.3-P1/common/options.c: scope_hint: In function ‘option_space_encapsulate’
dhcp-4.4.3-P1/common/options.c:3161:5: warning[-Wold-style-definition]: old-style function definition
# 3161 | int option_space_encapsulate (result, packet, lease, client_state,
#      |     ^~~~~~~~~~~~~~~~~~~~~~~~
# 3159|   }
# 3160|   
# 3161|-> int option_space_encapsulate (result, packet, lease, client_state,
# 3162|   			      in_options, cfg_options, scope, name)
# 3163|   	struct data_string *result;

Error: COMPILER_WARNING: [#def393]
dhcp-4.4.3-P1/common/options.c:3161:5: warning[-Wold-style-definition]: old-style function definition
# 3159|   }
# 3160|   
# 3161|-> int option_space_encapsulate (result, packet, lease, client_state,
# 3162|   			      in_options, cfg_options, scope, name)
# 3163|   	struct data_string *result;

Error: COMPILER_WARNING: [#def394]
dhcp-4.4.3-P1/common/options.c: scope_hint: In function ‘hashed_option_space_encapsulate’
dhcp-4.4.3-P1/common/options.c:3249:5: warning[-Wold-style-definition]: old-style function definition
# 3249 | int hashed_option_space_encapsulate (result, packet, lease, client_state,
#      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# 3247|   }
# 3248|   
# 3249|-> int hashed_option_space_encapsulate (result, packet, lease, client_state,
# 3250|   				     in_options, cfg_options, scope, universe)
# 3251|   	struct data_string *result;

Error: COMPILER_WARNING: [#def395]
dhcp-4.4.3-P1/common/options.c:3249:5: warning[-Wold-style-definition]: old-style function definition
# 3247|   }
# 3248|   
# 3249|-> int hashed_option_space_encapsulate (result, packet, lease, client_state,
# 3250|   				     in_options, cfg_options, scope, universe)
# 3251|   	struct data_string *result;

Error: COMPILER_WARNING: [#def396]
dhcp-4.4.3-P1/common/options.c: scope_hint: In function ‘nwip_option_space_encapsulate’
dhcp-4.4.3-P1/common/options.c:3292:5: warning[-Wold-style-definition]: old-style function definition
# 3292 | int nwip_option_space_encapsulate (result, packet, lease, client_state,
#      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# 3290|   }
# 3291|   
# 3292|-> int nwip_option_space_encapsulate (result, packet, lease, client_state,
# 3293|   				   in_options, cfg_options, scope, universe)
# 3294|   	struct data_string *result;

Error: COMPILER_WARNING: [#def397]
dhcp-4.4.3-P1/common/options.c:3292:5: warning[-Wold-style-definition]: old-style function definition
# 3290|   }
# 3291|   
# 3292|-> int nwip_option_space_encapsulate (result, packet, lease, client_state,
# 3293|   				   in_options, cfg_options, scope, universe)
# 3294|   	struct data_string *result;

Error: COMPILER_WARNING: [#def398]
dhcp-4.4.3-P1/common/options.c: scope_hint: In function ‘fqdn_option_space_encapsulate’
dhcp-4.4.3-P1/common/options.c:3417:5: warning[-Wold-style-definition]: old-style function definition
# 3417 | int fqdn_option_space_encapsulate (result, packet, lease, client_state,
#      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# 3415|   }
# 3416|   
# 3417|-> int fqdn_option_space_encapsulate (result, packet, lease, client_state,
# 3418|   				   in_options, cfg_options, scope, universe)
# 3419|   	struct data_string *result;

Error: COMPILER_WARNING: [#def399]
dhcp-4.4.3-P1/common/options.c:3417:5: warning[-Wold-style-definition]: old-style function definition
# 3415|   }
# 3416|   
# 3417|-> int fqdn_option_space_encapsulate (result, packet, lease, client_state,
# 3418|   				   in_options, cfg_options, scope, universe)
# 3419|   	struct data_string *result;

Error: GCC_ANALYZER_WARNING (CWE-476): [#def400]
dhcp-4.4.3-P1/common/options.c:3826:13: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
dhcp-4.4.3-P1/common/options.c:3808:6: enter_function: entry to ‘suboption_foreach’
dhcp-4.4.3-P1/common/options.c:3824:37: call_function: calling ‘find_option_universe’ from ‘suboption_foreach’
dhcp-4.4.3-P1/common/options.c:3824:37: return_function: returning to ‘suboption_foreach’ from ‘find_option_universe’
dhcp-4.4.3-P1/common/options.c:3826:13: danger: dereference of NULL ‘find_option_universe(*oc.option,  vsname)’
# 3824|   	struct universe *universe = find_option_universe (oc -> option,
# 3825|   							  vsname);
# 3826|-> 	if (universe -> foreach)
# 3827|   		(*universe -> foreach) (packet, lease, client_state,
# 3828|   					in_options, cfg_options,

Error: COMPILER_WARNING: [#def401]
dhcp-4.4.3-P1/common/options.c: scope_hint: In function ‘linked_option_space_encapsulate’
dhcp-4.4.3-P1/common/options.c:3913:5: warning[-Wold-style-definition]: old-style function definition
# 3913 | int linked_option_space_encapsulate (result, packet, lease, client_state,
#      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# 3911|   }
# 3912|   
# 3913|-> int linked_option_space_encapsulate (result, packet, lease, client_state,
# 3914|   				    in_options, cfg_options, scope, universe)
# 3915|   	struct data_string *result;

Error: COMPILER_WARNING: [#def402]
dhcp-4.4.3-P1/common/options.c:3913:5: warning[-Wold-style-definition]: old-style function definition
# 3911|   }
# 3912|   
# 3913|-> int linked_option_space_encapsulate (result, packet, lease, client_state,
# 3914|   				    in_options, cfg_options, scope, universe)
# 3915|   	struct data_string *result;

Error: COMPILER_WARNING: [#def403]
dhcp-4.4.3-P1/common/options.c: scope_hint: In function ‘delete_linked_option’
dhcp-4.4.3-P1/common/options.c:3949:6: warning[-Wold-style-definition]: old-style function definition
# 3949 | void delete_linked_option (universe, options, code)
#      |      ^~~~~~~~~~~~~~~~~~~~
# 3947|   }
# 3948|   
# 3949|-> void delete_linked_option (universe, options, code)
# 3950|   	struct universe *universe;
# 3951|   	struct option_state *options;

Error: COMPILER_WARNING: [#def404]
dhcp-4.4.3-P1/common/options.c:3949:6: warning[-Wold-style-definition]: old-style function definition
# 3947|   }
# 3948|   
# 3949|-> void delete_linked_option (universe, options, code)
# 3950|   	struct universe *universe;
# 3951|   	struct option_state *options;

Error: COMPILER_WARNING: [#def405]
dhcp-4.4.3-P1/common/options.c: scope_hint: In function ‘lookup_linked_option’
dhcp-4.4.3-P1/common/options.c:3978:22: warning[-Wold-style-definition]: old-style function definition
# 3978 | struct option_cache *lookup_linked_option (universe, options, code)
#      |                      ^~~~~~~~~~~~~~~~~~~~
# 3976|   }
# 3977|   
# 3978|-> struct option_cache *lookup_linked_option (universe, options, code)
# 3979|   	struct universe *universe;
# 3980|   	struct option_state *options;

Error: COMPILER_WARNING: [#def406]
dhcp-4.4.3-P1/common/options.c:3978:22: warning[-Wold-style-definition]: old-style function definition
# 3976|   }
# 3977|   
# 3978|-> struct option_cache *lookup_linked_option (universe, options, code)
# 3979|   	struct universe *universe;
# 3980|   	struct option_state *options;

Error: COMPILER_WARNING: [#def407]
dhcp-4.4.3-P1/common/options.c: scope_hint: In function ‘linked_option_state_dereference’
dhcp-4.4.3-P1/common/options.c:4003:5: warning[-Wold-style-definition]: old-style function definition
# 4003 | int linked_option_state_dereference (universe, state, file, line)
#      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# 4001|   }
# 4002|   
# 4003|-> int linked_option_state_dereference (universe, state, file, line)
# 4004|   	struct universe *universe;
# 4005|   	struct option_state *state;

Error: COMPILER_WARNING: [#def408]
dhcp-4.4.3-P1/common/options.c:4003:5: warning[-Wold-style-definition]: old-style function definition
# 4001|   }
# 4002|   
# 4003|-> int linked_option_state_dereference (universe, state, file, line)
# 4004|   	struct universe *universe;
# 4005|   	struct option_state *state;

Error: COMPILER_WARNING: [#def409]
dhcp-4.4.3-P1/common/options.c: scope_hint: In function ‘do_packet’
dhcp-4.4.3-P1/common/options.c:4045:6: warning[-Wold-style-definition]: old-style function definition
# 4045 | void do_packet (interface, packet, len, from_port, from, hfrom)
#      |      ^~~~~~~~~
# 4043|   }
# 4044|   
# 4045|-> void do_packet (interface, packet, len, from_port, from, hfrom)
# 4046|   	struct interface_info *interface;
# 4047|   	struct dhcp_packet *packet;

Error: COMPILER_WARNING: [#def410]
dhcp-4.4.3-P1/common/options.c:4045:6: warning[-Wold-style-definition]: old-style function definition
# 4043|   }
# 4044|   
# 4045|-> void do_packet (interface, packet, len, from_port, from, hfrom)
# 4046|   	struct interface_info *interface;
# 4047|   	struct dhcp_packet *packet;

Error: COMPILER_WARNING: [#def411]
dhcp-4.4.3-P1/common/options.c: scope_hint: In function ‘parse_vendor_option’
dhcp-4.4.3-P1/common/options.c:4618:6: warning[-Wold-style-definition]: old-style function definition
# 4618 | void parse_vendor_option(packet, lease, client_state, in_options,
#      |      ^~~~~~~~~~~~~~~~~~~
# 4616|    * \return - void as there isn't much we can do about failures.
# 4617|    */
# 4618|-> void parse_vendor_option(packet, lease, client_state, in_options,
# 4619|   			 out_options, scope)
# 4620|   	struct packet *packet;

Error: COMPILER_WARNING: [#def412]
dhcp-4.4.3-P1/common/options.c:4618:6: warning[-Wold-style-definition]: old-style function definition
# 4616|    * \return - void as there isn't much we can do about failures.
# 4617|    */
# 4618|-> void parse_vendor_option(packet, lease, client_state, in_options,
# 4619|   			 out_options, scope)
# 4620|   	struct packet *packet;

Error: COMPILER_WARNING: [#def413]
dhcp-4.4.3-P1/common/packet.c: scope_hint: In function ‘checksum’
dhcp-4.4.3-P1/common/packet.c:44:11: warning[-Wold-style-definition]: old-style function definition
#   44 | u_int32_t checksum (buf, nbytes, sum)
#      |           ^~~~~~~~
#   42|   /* Compute the easy part of the checksum on a range of bytes. */
#   43|   
#   44|-> u_int32_t checksum (buf, nbytes, sum)
#   45|   	unsigned char *buf;
#   46|   	unsigned nbytes;

Error: COMPILER_WARNING: [#def414]
dhcp-4.4.3-P1/common/packet.c:44:11: warning[-Wold-style-definition]: old-style function definition
#   42|   /* Compute the easy part of the checksum on a range of bytes. */
#   43|   
#   44|-> u_int32_t checksum (buf, nbytes, sum)
#   45|   	unsigned char *buf;
#   46|   	unsigned nbytes;

Error: COMPILER_WARNING: [#def415]
dhcp-4.4.3-P1/common/packet.c: scope_hint: In function ‘wrapsum’
dhcp-4.4.3-P1/common/packet.c:83:11: warning[-Wold-style-definition]: old-style function definition
#   83 | u_int32_t wrapsum (sum)
#      |           ^~~~~~~
#   81|   /* Finish computing the checksum, and then put it into network byte order. */
#   82|   
#   83|-> u_int32_t wrapsum (sum)
#   84|   	u_int32_t sum;
#   85|   {

Error: COMPILER_WARNING: [#def416]
dhcp-4.4.3-P1/common/packet.c:83:11: warning[-Wold-style-definition]: old-style function definition
#   81|   /* Finish computing the checksum, and then put it into network byte order. */
#   82|   
#   83|-> u_int32_t wrapsum (sum)
#   84|   	u_int32_t sum;
#   85|   {

Error: COMPILER_WARNING: [#def417]
dhcp-4.4.3-P1/common/packet.c: scope_hint: In function ‘assemble_hw_header’
dhcp-4.4.3-P1/common/packet.c:102:6: warning[-Wold-style-definition]: old-style function definition
#  102 | void assemble_hw_header (interface, buf, bufix, to)
#      |      ^~~~~~~~~~~~~~~~~~
#  100|   
#  101|   #ifdef PACKET_ASSEMBLY
#  102|-> void assemble_hw_header (interface, buf, bufix, to)
#  103|   	struct interface_info *interface;
#  104|   	unsigned char *buf;

Error: COMPILER_WARNING: [#def418]
dhcp-4.4.3-P1/common/packet.c:102:6: warning[-Wold-style-definition]: old-style function definition
#  100|   
#  101|   #ifdef PACKET_ASSEMBLY
#  102|-> void assemble_hw_header (interface, buf, bufix, to)
#  103|   	struct interface_info *interface;
#  104|   	unsigned char *buf;

Error: COMPILER_WARNING: [#def419]
dhcp-4.4.3-P1/common/packet.c: scope_hint: In function ‘assemble_udp_ip_header’
dhcp-4.4.3-P1/common/packet.c:131:6: warning[-Wold-style-definition]: old-style function definition
#  131 | void assemble_udp_ip_header (interface, buf, bufix,
#      |      ^~~~~~~~~~~~~~~~~~~~~~
#  129|   /* UDP header and IP header assembled together for convenience. */
#  130|   
#  131|-> void assemble_udp_ip_header (interface, buf, bufix,
#  132|   			     from, to, port, data, len)
#  133|   	struct interface_info *interface;

Error: COMPILER_WARNING: [#def420]
dhcp-4.4.3-P1/common/packet.c:131:6: warning[-Wold-style-definition]: old-style function definition
#  129|   /* UDP header and IP header assembled together for convenience. */
#  130|   
#  131|-> void assemble_udp_ip_header (interface, buf, bufix,
#  132|   			     from, to, port, data, len)
#  133|   	struct interface_info *interface;

Error: COMPILER_WARNING: [#def421]
dhcp-4.4.3-P1/common/packet.c: scope_hint: In function ‘decode_hw_header’
dhcp-4.4.3-P1/common/packet.c:204:9: warning[-Wold-style-definition]: old-style function definition
#  204 | ssize_t decode_hw_header (interface, buf, bufix, from)
#      |         ^~~~~~~~~~~~~~~~
#  202|    */
#  203|   
#  204|-> ssize_t decode_hw_header (interface, buf, bufix, from)
#  205|        struct interface_info *interface;
#  206|        unsigned char *buf;

Error: COMPILER_WARNING: [#def422]
dhcp-4.4.3-P1/common/packet.c:204:9: warning[-Wold-style-definition]: old-style function definition
#  202|    */
#  203|   
#  204|-> ssize_t decode_hw_header (interface, buf, bufix, from)
#  205|        struct interface_info *interface;
#  206|        unsigned char *buf;

Error: COMPILER_WARNING: [#def423]
dhcp-4.4.3-P1/common/parse.c: scope_hint: In function ‘skip_to_semi’
dhcp-4.4.3-P1/common/parse.c:81:6: warning[-Wold-style-definition]: old-style function definition
#   81 | void skip_to_semi (cfile)
#      |      ^~~~~~~~~~~~
#   79|      braces, the matching closing brace terminates the statement.
#   80|   */
#   81|-> void skip_to_semi (cfile)
#   82|   	struct parse *cfile;
#   83|   {

Error: COMPILER_WARNING: [#def424]
dhcp-4.4.3-P1/common/parse.c:81:6: warning[-Wold-style-definition]: old-style function definition
#   79|      braces, the matching closing brace terminates the statement.
#   80|   */
#   81|-> void skip_to_semi (cfile)
#   82|   	struct parse *cfile;
#   83|   {

Error: COMPILER_WARNING: [#def425]
dhcp-4.4.3-P1/common/parse.c: scope_hint: In function ‘skip_to_rbrace’
dhcp-4.4.3-P1/common/parse.c:98:6: warning[-Wold-style-definition]: old-style function definition
#   98 | void skip_to_rbrace (cfile, brace_count)
#      |      ^~~~~~~~~~~~~~
#   96|   
#   97|   	...et cetera. */
#   98|-> void skip_to_rbrace (cfile, brace_count)
#   99|   	struct parse *cfile;
#  100|   	int brace_count;

Error: COMPILER_WARNING: [#def426]
dhcp-4.4.3-P1/common/parse.c:98:6: warning[-Wold-style-definition]: old-style function definition
#   96|   
#   97|   	...et cetera. */
#   98|-> void skip_to_rbrace (cfile, brace_count)
#   99|   	struct parse *cfile;
#  100|   	int brace_count;

Error: COMPILER_WARNING: [#def427]
dhcp-4.4.3-P1/common/parse.c: scope_hint: In function ‘parse_semi’
dhcp-4.4.3-P1/common/parse.c:139:5: warning[-Wold-style-definition]: old-style function definition
#  139 | int parse_semi (cfile)
#      |     ^~~~~~~~~~
#  137|   }
#  138|   
#  139|-> int parse_semi (cfile)
#  140|   	struct parse *cfile;
#  141|   {

Error: COMPILER_WARNING: [#def428]
dhcp-4.4.3-P1/common/parse.c:139:5: warning[-Wold-style-definition]: old-style function definition
#  137|   }
#  138|   
#  139|-> int parse_semi (cfile)
#  140|   	struct parse *cfile;
#  141|   {

Error: COMPILER_WARNING: [#def429]
dhcp-4.4.3-P1/common/parse.c: scope_hint: In function ‘parse_string’
dhcp-4.4.3-P1/common/parse.c:156:5: warning[-Wold-style-definition]: old-style function definition
#  156 | int parse_string (cfile, sptr, lptr)
#      |     ^~~~~~~~~~~~
#  154|   /* string-parameter :== STRING SEMI */
#  155|   
#  156|-> int parse_string (cfile, sptr, lptr)
#  157|   	struct parse *cfile;
#  158|   	char **sptr;

Error: COMPILER_WARNING: [#def430]
dhcp-4.4.3-P1/common/parse.c:156:5: warning[-Wold-style-definition]: old-style function definition
#  154|   /* string-parameter :== STRING SEMI */
#  155|   
#  156|-> int parse_string (cfile, sptr, lptr)
#  157|   	struct parse *cfile;
#  158|   	char **sptr;

Error: COMPILER_WARNING: [#def431]
dhcp-4.4.3-P1/common/parse.c: scope_hint: In function ‘parse_host_name’
dhcp-4.4.3-P1/common/parse.c:196:7: warning[-Wold-style-definition]: old-style function definition
#  196 | char *parse_host_name (cfile)
#      |       ^~~~~~~~~~~~~~~
#  194|    */
#  195|   
#  196|-> char *parse_host_name (cfile)
#  197|   	struct parse *cfile;
#  198|   {

Error: COMPILER_WARNING: [#def432]
dhcp-4.4.3-P1/common/parse.c:196:7: warning[-Wold-style-definition]: old-style function definition
#  194|    */
#  195|   
#  196|-> char *parse_host_name (cfile)
#  197|   	struct parse *cfile;
#  198|   {

Error: COMPILER_WARNING: [#def433]
dhcp-4.4.3-P1/common/parse.c: scope_hint: In function ‘parse_ip_addr_or_hostname’
dhcp-4.4.3-P1/common/parse.c:268:5: warning[-Wold-style-definition]: old-style function definition
#  268 | int parse_ip_addr_or_hostname (expr, cfile, uniform)
#      |     ^~~~~~~~~~~~~~~~~~~~~~~~~
#  266|   */
#  267|   
#  268|-> int parse_ip_addr_or_hostname (expr, cfile, uniform)
#  269|   	struct expression **expr;
#  270|   	struct parse *cfile;

Error: COMPILER_WARNING: [#def434]
dhcp-4.4.3-P1/common/parse.c:268:5: warning[-Wold-style-definition]: old-style function definition
#  266|   */
#  267|   
#  268|-> int parse_ip_addr_or_hostname (expr, cfile, uniform)
#  269|   	struct expression **expr;
#  270|   	struct parse *cfile;

Error: COMPILER_WARNING: [#def435]
dhcp-4.4.3-P1/common/parse.c: scope_hint: In function ‘parse_ip_addr’
dhcp-4.4.3-P1/common/parse.c:336:5: warning[-Wold-style-definition]: old-style function definition
#  336 | int parse_ip_addr (cfile, addr)
#      |     ^~~~~~~~~~~~~
#  334|    */
#  335|   
#  336|-> int parse_ip_addr (cfile, addr)
#  337|   	struct parse *cfile;
#  338|   	struct iaddr *addr;

Error: COMPILER_WARNING: [#def436]
dhcp-4.4.3-P1/common/parse.c:336:5: warning[-Wold-style-definition]: old-style function definition
#  334|    */
#  335|   
#  336|-> int parse_ip_addr (cfile, addr)
#  337|   	struct parse *cfile;
#  338|   	struct iaddr *addr;

Error: COMPILER_WARNING: [#def437]
dhcp-4.4.3-P1/common/parse.c: scope_hint: In function ‘parse_destination_descriptor’
dhcp-4.4.3-P1/common/parse.c:354:5: warning[-Wold-style-definition]: old-style function definition
#  354 | int parse_destination_descriptor (cfile, addr)
#      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
#  352|    */
#  353|   
#  354|-> int parse_destination_descriptor (cfile, addr)
#  355|   	struct parse *cfile;
#  356|   	struct iaddr *addr;

Error: COMPILER_WARNING: [#def438]
dhcp-4.4.3-P1/common/parse.c:354:5: warning[-Wold-style-definition]: old-style function definition
#  352|    */
#  353|   
#  354|-> int parse_destination_descriptor (cfile, addr)
#  355|   	struct parse *cfile;
#  356|   	struct iaddr *addr;

Error: COMPILER_WARNING: [#def439]
dhcp-4.4.3-P1/common/parse.c: scope_hint: In function ‘parse_ip_addr_with_subnet’
dhcp-4.4.3-P1/common/parse.c:522:1: warning[-Wold-style-definition]: old-style function definition
#  522 | parse_ip_addr_with_subnet(cfile, match)
#      | ^~~~~~~~~~~~~~~~~~~~~~~~~
#  520|   
#  521|   int
#  522|-> parse_ip_addr_with_subnet(cfile, match)
#  523|   	struct parse *cfile;
#  524|   	struct iaddrmatch *match;

Error: COMPILER_WARNING: [#def440]
dhcp-4.4.3-P1/common/parse.c:522:1: warning[-Wold-style-definition]: old-style function definition
#  520|   
#  521|   int
#  522|-> parse_ip_addr_with_subnet(cfile, match)
#  523|   	struct parse *cfile;
#  524|   	struct iaddrmatch *match;

Error: COMPILER_WARNING: [#def441]
dhcp-4.4.3-P1/common/parse.c: scope_hint: In function ‘parse_hardware_param’
dhcp-4.4.3-P1/common/parse.c:615:6: warning[-Wold-style-definition]: old-style function definition
#  615 | void parse_hardware_param (cfile, hardware)
#      |      ^~~~~~~~~~~~~~~~~~~~
#  613|    */
#  614|   
#  615|-> void parse_hardware_param (cfile, hardware)
#  616|   	struct parse *cfile;
#  617|   	struct hardware *hardware;

Error: COMPILER_WARNING: [#def442]
dhcp-4.4.3-P1/common/parse.c:615:6: warning[-Wold-style-definition]: old-style function definition
#  613|    */
#  614|   
#  615|-> void parse_hardware_param (cfile, hardware)
#  616|   	struct parse *cfile;
#  617|   	struct hardware *hardware;

Error: COMPILER_WARNING: [#def443]
dhcp-4.4.3-P1/common/parse.c: scope_hint: In function ‘parse_lease_time’
dhcp-4.4.3-P1/common/parse.c:690:6: warning[-Wold-style-definition]: old-style function definition
#  690 | void parse_lease_time (cfile, timep)
#      |      ^~~~~~~~~~~~~~~~
#  688|   /* lease-time :== NUMBER SEMI */
#  689|   
#  690|-> void parse_lease_time (cfile, timep)
#  691|   	struct parse *cfile;
#  692|   	TIME *timep;

Error: COMPILER_WARNING: [#def444]
dhcp-4.4.3-P1/common/parse.c:690:6: warning[-Wold-style-definition]: old-style function definition
#  688|   /* lease-time :== NUMBER SEMI */
#  689|   
#  690|-> void parse_lease_time (cfile, timep)
#  691|   	struct parse *cfile;
#  692|   	TIME *timep;

Error: COMPILER_WARNING: [#def445]
dhcp-4.4.3-P1/common/parse.c: scope_hint: In function ‘parse_numeric_aggregate’
dhcp-4.4.3-P1/common/parse.c:734:16: warning[-Wold-style-definition]: old-style function definition
#  734 | unsigned char *parse_numeric_aggregate (cfile, buf,
#      |                ^~~~~~~~~~~~~~~~~~~~~~~
#  732|   
#  733|   
#  734|-> unsigned char *parse_numeric_aggregate (cfile, buf,
#  735|   					max, separator, base, size)
#  736|   	struct parse *cfile;

Error: COMPILER_WARNING: [#def446]
dhcp-4.4.3-P1/common/parse.c:734:16: warning[-Wold-style-definition]: old-style function definition
#  732|   
#  733|   
#  734|-> unsigned char *parse_numeric_aggregate (cfile, buf,
#  735|   					max, separator, base, size)
#  736|   	struct parse *cfile;

Error: COMPILER_WARNING: [#def447]
dhcp-4.4.3-P1/common/parse.c: scope_hint: In function ‘convert_num’
dhcp-4.4.3-P1/common/parse.c:840:6: warning[-Wold-style-definition]: old-style function definition
#  840 | void convert_num (cfile, buf, str, base, size)
#      |      ^~~~~~~~~~~
#  838|   }
#  839|   
#  840|-> void convert_num (cfile, buf, str, base, size)
#  841|   	struct parse *cfile;
#  842|   	unsigned char *buf;

Error: COMPILER_WARNING: [#def448]
dhcp-4.4.3-P1/common/parse.c:840:6: warning[-Wold-style-definition]: old-style function definition
#  838|   }
#  839|   
#  840|-> void convert_num (cfile, buf, str, base, size)
#  841|   	struct parse *cfile;
#  842|   	unsigned char *buf;

Error: COMPILER_WARNING: [#def449]
dhcp-4.4.3-P1/common/parse.c: scope_hint: In function ‘parse_date_core’
dhcp-4.4.3-P1/common/parse.c:978:1: warning[-Wold-style-definition]: old-style function definition
#  978 | parse_date_core(cfile)
#      | ^~~~~~~~~~~~~~~
#  976|    */
#  977|   TIME
#  978|-> parse_date_core(cfile)
#  979|   	struct parse *cfile;
#  980|   {

Error: COMPILER_WARNING: [#def450]
dhcp-4.4.3-P1/common/parse.c:978:1: warning[-Wold-style-definition]: old-style function definition
#  976|    */
#  977|   TIME
#  978|-> parse_date_core(cfile)
#  979|   	struct parse *cfile;
#  980|   {

Error: COMPILER_WARNING: [#def451]
dhcp-4.4.3-P1/common/parse.c: scope_hint: In function ‘parse_date’
dhcp-4.4.3-P1/common/parse.c:1188:1: warning[-Wold-style-definition]: old-style function definition
# 1188 | parse_date(cfile)
#      | ^~~~~~~~~~
# 1186|   
# 1187|   TIME
# 1188|-> parse_date(cfile)
# 1189|          struct parse *cfile;
# 1190|   {

Error: COMPILER_WARNING: [#def452]
dhcp-4.4.3-P1/common/parse.c:1188:1: warning[-Wold-style-definition]: old-style function definition
# 1186|   
# 1187|   TIME
# 1188|-> parse_date(cfile)
# 1189|          struct parse *cfile;
# 1190|   {

Error: COMPILER_WARNING: [#def453]
dhcp-4.4.3-P1/common/parse.c: scope_hint: In function ‘parse_option_name’
dhcp-4.4.3-P1/common/parse.c:1208:1: warning[-Wold-style-definition]: old-style function definition
# 1208 | parse_option_name (cfile, allocate, known, opt)
#      | ^~~~~~~~~~~~~~~~~
# 1206|   
# 1207|   isc_result_t
# 1208|-> parse_option_name (cfile, allocate, known, opt)
# 1209|   	struct parse *cfile;
# 1210|   	int allocate;

Error: COMPILER_WARNING: [#def454]
dhcp-4.4.3-P1/common/parse.c:1208:1: warning[-Wold-style-definition]: old-style function definition
# 1206|   
# 1207|   isc_result_t
# 1208|-> parse_option_name (cfile, allocate, known, opt)
# 1209|   	struct parse *cfile;
# 1210|   	int allocate;

Error: COMPILER_WARNING: [#def455]
dhcp-4.4.3-P1/common/parse.c: scope_hint: In function ‘parse_option_space_decl’
dhcp-4.4.3-P1/common/parse.c:1349:6: warning[-Wold-style-definition]: old-style function definition
# 1349 | void parse_option_space_decl (cfile)
#      |      ^~~~~~~~~~~~~~~~~~~~~~~
# 1347|    */
# 1348|   
# 1349|-> void parse_option_space_decl (cfile)
# 1350|   	struct parse *cfile;
# 1351|   {

Error: COMPILER_WARNING: [#def456]
dhcp-4.4.3-P1/common/parse.c:1349:6: warning[-Wold-style-definition]: old-style function definition
# 1347|    */
# 1348|   
# 1349|-> void parse_option_space_decl (cfile)
# 1350|   	struct parse *cfile;
# 1351|   {

Error: COMPILER_WARNING: [#def457]
dhcp-4.4.3-P1/common/parse.c: scope_hint: In function ‘parse_option_code_definition’
dhcp-4.4.3-P1/common/parse.c:1572:5: warning[-Wold-style-definition]: old-style function definition
# 1572 | int parse_option_code_definition (cfile, option)
#      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
# 1570|   			ENCAPSULATE identifier */
# 1571|   
# 1572|-> int parse_option_code_definition (cfile, option)
# 1573|   	struct parse *cfile;
# 1574|   	struct option *option;

Error: COMPILER_WARNING: [#def458]
dhcp-4.4.3-P1/common/parse.c:1572:5: warning[-Wold-style-definition]: old-style function definition
# 1570|   			ENCAPSULATE identifier */
# 1571|   
# 1572|-> int parse_option_code_definition (cfile, option)
# 1573|   	struct parse *cfile;
# 1574|   	struct option *option;

Error: COMPILER_WARNING: [#def459]
dhcp-4.4.3-P1/common/parse.c: scope_hint: In function ‘parse_base64’
dhcp-4.4.3-P1/common/parse.c:1899:5: warning[-Wold-style-definition]: old-style function definition
# 1899 | int parse_base64 (data, cfile)
#      |     ^~~~~~~~~~~~
# 1897|    */
# 1898|   
# 1899|-> int parse_base64 (data, cfile)
# 1900|   	struct data_string *data;
# 1901|   	struct parse *cfile;

Error: COMPILER_WARNING: [#def460]
dhcp-4.4.3-P1/common/parse.c:1899:5: warning[-Wold-style-definition]: old-style function definition
# 1897|    */
# 1898|   
# 1899|-> int parse_base64 (data, cfile)
# 1900|   	struct data_string *data;
# 1901|   	struct parse *cfile;

Error: COMPILER_WARNING: [#def461]
dhcp-4.4.3-P1/common/parse.c: scope_hint: In function ‘parse_cshl’
dhcp-4.4.3-P1/common/parse.c:2040:5: warning[-Wold-style-definition]: old-style function definition
# 2040 | int parse_cshl (data, cfile)
#      |     ^~~~~~~~~~
# 2038|    */
# 2039|   
# 2040|-> int parse_cshl (data, cfile)
# 2041|   	struct data_string *data;
# 2042|   	struct parse *cfile;

Error: COMPILER_WARNING: [#def462]
dhcp-4.4.3-P1/common/parse.c:2040:5: warning[-Wold-style-definition]: old-style function definition
# 2038|    */
# 2039|   
# 2040|-> int parse_cshl (data, cfile)
# 2041|   	struct data_string *data;
# 2042|   	struct parse *cfile;

Error: CPPCHECK_WARNING (CWE-457): [#def463]
dhcp-4.4.3-P1/common/parse.c:2070: error[uninitvar]: Uninitialized variable: ibuf
# 2068|   			if (!next)
# 2069|   				log_fatal ("no memory for string list.");
# 2070|-> 			memcpy (next -> data, ibuf, ilen);
# 2071|   			*last = next;
# 2072|   			last = &next -> next;

Error: COMPILER_WARNING: [#def464]
dhcp-4.4.3-P1/common/parse.c: scope_hint: In function ‘parse_executable_statements’
dhcp-4.4.3-P1/common/parse.c:2117:5: warning[-Wold-style-definition]: old-style function definition
# 2117 | int parse_executable_statements (statements, cfile, lose, case_context)
#      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~
# 2115|    */
# 2116|   
# 2117|-> int parse_executable_statements (statements, cfile, lose, case_context)
# 2118|   	struct executable_statement **statements;
# 2119|   	struct parse *cfile;

Error: COMPILER_WARNING: [#def465]
dhcp-4.4.3-P1/common/parse.c:2117:5: warning[-Wold-style-definition]: old-style function definition
# 2115|    */
# 2116|   
# 2117|-> int parse_executable_statements (statements, cfile, lose, case_context)
# 2118|   	struct executable_statement **statements;
# 2119|   	struct parse *cfile;

Error: COMPILER_WARNING: [#def466]
dhcp-4.4.3-P1/common/parse.c: scope_hint: In function ‘parse_executable_statement’
dhcp-4.4.3-P1/common/parse.c:2133:5: warning[-Wold-style-definition]: old-style function definition
# 2133 | int parse_executable_statement (result, cfile, lose, case_context)
#      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~
# 2131|   }
# 2132|   
# 2133|-> int parse_executable_statement (result, cfile, lose, case_context)
# 2134|   	struct executable_statement **result;
# 2135|   	struct parse *cfile;

Error: COMPILER_WARNING: [#def467]
dhcp-4.4.3-P1/common/parse.c:2133:5: warning[-Wold-style-definition]: old-style function definition
# 2131|   }
# 2132|   
# 2133|-> int parse_executable_statement (result, cfile, lose, case_context)
# 2134|   	struct executable_statement **result;
# 2135|   	struct parse *cfile;

Error: COMPILER_WARNING: [#def468]
dhcp-4.4.3-P1/common/parse.c: scope_hint: In function ‘parse_on_statement’
dhcp-4.4.3-P1/common/parse.c:3144:5: warning[-Wold-style-definition]: old-style function definition
# 3144 | int parse_on_statement (result, cfile, lose)
#      |     ^~~~~~~~~~~~~~~~~~
# 3142|    */
# 3143|   
# 3144|-> int parse_on_statement (result, cfile, lose)
# 3145|   	struct executable_statement **result;
# 3146|   	struct parse *cfile;

Error: COMPILER_WARNING: [#def469]
dhcp-4.4.3-P1/common/parse.c:3144:5: warning[-Wold-style-definition]: old-style function definition
# 3142|    */
# 3143|   
# 3144|-> int parse_on_statement (result, cfile, lose)
# 3145|   	struct executable_statement **result;
# 3146|   	struct parse *cfile;

Error: COMPILER_WARNING: [#def470]
dhcp-4.4.3-P1/common/parse.c: scope_hint: In function ‘parse_switch_statement’
dhcp-4.4.3-P1/common/parse.c:3224:5: warning[-Wold-style-definition]: old-style function definition
# 3224 | int parse_switch_statement (result, cfile, lose)
#      |     ^~~~~~~~~~~~~~~~~~~~~~
# 3222|    */
# 3223|   
# 3224|-> int parse_switch_statement (result, cfile, lose)
# 3225|   	struct executable_statement **result;
# 3226|   	struct parse *cfile;

Error: COMPILER_WARNING: [#def471]
dhcp-4.4.3-P1/common/parse.c:3224:5: warning[-Wold-style-definition]: old-style function definition
# 3222|    */
# 3223|   
# 3224|-> int parse_switch_statement (result, cfile, lose)
# 3225|   	struct executable_statement **result;
# 3226|   	struct parse *cfile;

Error: COMPILER_WARNING: [#def472]
dhcp-4.4.3-P1/common/parse.c: scope_hint: In function ‘parse_case_statement’
dhcp-4.4.3-P1/common/parse.c:3292:5: warning[-Wold-style-definition]: old-style function definition
# 3292 | int parse_case_statement (result, cfile, lose, case_context)
#      |     ^~~~~~~~~~~~~~~~~~~~
# 3290|    */
# 3291|   
# 3292|-> int parse_case_statement (result, cfile, lose, case_context)
# 3293|   	struct executable_statement **result;
# 3294|   	struct parse *cfile;

Error: COMPILER_WARNING: [#def473]
dhcp-4.4.3-P1/common/parse.c:3292:5: warning[-Wold-style-definition]: old-style function definition
# 3290|    */
# 3291|   
# 3292|-> int parse_case_statement (result, cfile, lose, case_context)
# 3293|   	struct executable_statement **result;
# 3294|   	struct parse *cfile;

Error: COMPILER_WARNING: [#def474]
dhcp-4.4.3-P1/common/parse.c: scope_hint: In function ‘parse_if_statement’
dhcp-4.4.3-P1/common/parse.c:3339:5: warning[-Wold-style-definition]: old-style function definition
# 3339 | int parse_if_statement (result, cfile, lose)
#      |     ^~~~~~~~~~~~~~~~~~
# 3337|    */
# 3338|   
# 3339|-> int parse_if_statement (result, cfile, lose)
# 3340|   	struct executable_statement **result;
# 3341|   	struct parse *cfile;

Error: COMPILER_WARNING: [#def475]
dhcp-4.4.3-P1/common/parse.c:3339:5: warning[-Wold-style-definition]: old-style function definition
# 3337|    */
# 3338|   
# 3339|-> int parse_if_statement (result, cfile, lose)
# 3340|   	struct executable_statement **result;
# 3341|   	struct parse *cfile;

Error: COMPILER_WARNING: [#def476]
dhcp-4.4.3-P1/common/parse.c: scope_hint: In function ‘parse_boolean_expression’
dhcp-4.4.3-P1/common/parse.c:3475:5: warning[-Wold-style-definition]: old-style function definition
# 3475 | int parse_boolean_expression (expr, cfile, lose)
#      |     ^~~~~~~~~~~~~~~~~~~~~~~~
# 3473|    */
# 3474|   
# 3475|-> int parse_boolean_expression (expr, cfile, lose)
# 3476|   	struct expression **expr;
# 3477|   	struct parse *cfile;

Error: COMPILER_WARNING: [#def477]
dhcp-4.4.3-P1/common/parse.c:3475:5: warning[-Wold-style-definition]: old-style function definition
# 3473|    */
# 3474|   
# 3475|-> int parse_boolean_expression (expr, cfile, lose)
# 3476|   	struct expression **expr;
# 3477|   	struct parse *cfile;

Error: COMPILER_WARNING: [#def478]
dhcp-4.4.3-P1/common/parse.c: scope_hint: In function ‘parse_boolean’
dhcp-4.4.3-P1/common/parse.c:3498:5: warning[-Wold-style-definition]: old-style function definition
# 3498 | int parse_boolean (cfile)
#      |     ^~~~~~~~~~~~~
# 3496|   /* boolean :== ON SEMI | OFF SEMI | TRUE SEMI | FALSE SEMI */
# 3497|   
# 3498|-> int parse_boolean (cfile)
# 3499|   	struct parse *cfile;
# 3500|   {

Error: COMPILER_WARNING: [#def479]
dhcp-4.4.3-P1/common/parse.c:3498:5: warning[-Wold-style-definition]: old-style function definition
# 3496|   /* boolean :== ON SEMI | OFF SEMI | TRUE SEMI | FALSE SEMI */
# 3497|   
# 3498|-> int parse_boolean (cfile)
# 3499|   	struct parse *cfile;
# 3500|   {

Error: COMPILER_WARNING: [#def480]
dhcp-4.4.3-P1/common/parse.c: scope_hint: In function ‘parse_data_expression’
dhcp-4.4.3-P1/common/parse.c:3542:5: warning[-Wold-style-definition]: old-style function definition
# 3542 | int parse_data_expression (expr, cfile, lose)
#      |     ^~~~~~~~~~~~~~~~~~~~~
# 3540|    */
# 3541|   
# 3542|-> int parse_data_expression (expr, cfile, lose)
# 3543|   	struct expression **expr;
# 3544|   	struct parse *cfile;

Error: COMPILER_WARNING: [#def481]
dhcp-4.4.3-P1/common/parse.c:3542:5: warning[-Wold-style-definition]: old-style function definition
# 3540|    */
# 3541|   
# 3542|-> int parse_data_expression (expr, cfile, lose)
# 3543|   	struct expression **expr;
# 3544|   	struct parse *cfile;

Error: COMPILER_WARNING: [#def482]
dhcp-4.4.3-P1/common/parse.c: scope_hint: In function ‘parse_numeric_expression’
dhcp-4.4.3-P1/common/parse.c:3569:5: warning[-Wold-style-definition]: old-style function definition
# 3569 | int parse_numeric_expression (expr, cfile, lose)
#      |     ^~~~~~~~~~~~~~~~~~~~~~~~
# 3567|    */
# 3568|   
# 3569|-> int parse_numeric_expression (expr, cfile, lose)
# 3570|   	struct expression **expr;
# 3571|   	struct parse *cfile;

Error: COMPILER_WARNING: [#def483]
dhcp-4.4.3-P1/common/parse.c:3569:5: warning[-Wold-style-definition]: old-style function definition
# 3567|    */
# 3568|   
# 3569|-> int parse_numeric_expression (expr, cfile, lose)
# 3570|   	struct expression **expr;
# 3571|   	struct parse *cfile;

Error: COMPILER_WARNING: [#def484]
dhcp-4.4.3-P1/common/parse.c: scope_hint: In function ‘parse_non_binary’
dhcp-4.4.3-P1/common/parse.c:3592:5: warning[-Wold-style-definition]: old-style function definition
# 3592 | int parse_non_binary (expr, cfile, lose, context)
#      |     ^~~~~~~~~~~~~~~~
# 3590|   /* Parse a subexpression that does not contain a binary operator. */
# 3591|   
# 3592|-> int parse_non_binary (expr, cfile, lose, context)
# 3593|   	struct expression **expr;
# 3594|   	struct parse *cfile;

Error: COMPILER_WARNING: [#def485]
dhcp-4.4.3-P1/common/parse.c:3592:5: warning[-Wold-style-definition]: old-style function definition
# 3590|   /* Parse a subexpression that does not contain a binary operator. */
# 3591|   
# 3592|-> int parse_non_binary (expr, cfile, lose, context)
# 3593|   	struct expression **expr;
# 3594|   	struct parse *cfile;

Error: COMPILER_WARNING: [#def486]
dhcp-4.4.3-P1/common/parse.c: scope_hint: In function ‘parse_expression’
dhcp-4.4.3-P1/common/parse.c:4501:5: warning[-Wold-style-definition]: old-style function definition
# 4501 | int parse_expression (expr, cfile, lose, context, plhs, binop)
#      |     ^~~~~~~~~~~~~~~~
# 4499|   /* Parse an expression. */
# 4500|   
# 4501|-> int parse_expression (expr, cfile, lose, context, plhs, binop)
# 4502|   	struct expression **expr;
# 4503|   	struct parse *cfile;

Error: COMPILER_WARNING: [#def487]
dhcp-4.4.3-P1/common/parse.c:4501:5: warning[-Wold-style-definition]: old-style function definition
# 4499|   /* Parse an expression. */
# 4500|   
# 4501|-> int parse_expression (expr, cfile, lose, context, plhs, binop)
# 4502|   	struct expression **expr;
# 4503|   	struct parse *cfile;

Error: COMPILER_WARNING: [#def488]
dhcp-4.4.3-P1/common/parse.c: scope_hint: In function ‘parse_option_data’
dhcp-4.4.3-P1/common/parse.c:4812:5: warning[-Wold-style-definition]: old-style function definition
# 4812 | int parse_option_data (expr, cfile, lookups, option)
#      |     ^~~~~~~~~~~~~~~~~
# 4810|   
# 4811|   
# 4812|-> int parse_option_data (expr, cfile, lookups, option)
# 4813|   struct expression **expr;
# 4814|   struct parse *cfile;

Error: COMPILER_WARNING: [#def489]
dhcp-4.4.3-P1/common/parse.c:4812:5: warning[-Wold-style-definition]: old-style function definition
# 4810|   
# 4811|   
# 4812|-> int parse_option_data (expr, cfile, lookups, option)
# 4813|   struct expression **expr;
# 4814|   struct parse *cfile;

Error: COMPILER_WARNING: [#def490]
dhcp-4.4.3-P1/common/parse.c: scope_hint: In function ‘parse_option_statement’
dhcp-4.4.3-P1/common/parse.c:4919:5: warning[-Wold-style-definition]: old-style function definition
# 4919 | int parse_option_statement (result, cfile, lookups, option, op)
#      |     ^~~~~~~~~~~~~~~~~~~~~~
# 4917|      starts as above and ends in a SEMI. */
# 4918|   
# 4919|-> int parse_option_statement (result, cfile, lookups, option, op)
# 4920|   	struct executable_statement **result;
# 4921|   	struct parse *cfile;

Error: COMPILER_WARNING: [#def491]
dhcp-4.4.3-P1/common/parse.c:4919:5: warning[-Wold-style-definition]: old-style function definition
# 4917|      starts as above and ends in a SEMI. */
# 4918|   
# 4919|-> int parse_option_statement (result, cfile, lookups, option, op)
# 4920|   	struct executable_statement **result;
# 4921|   	struct parse *cfile;

Error: COMPILER_WARNING: [#def492]
dhcp-4.4.3-P1/common/parse.c: scope_hint: In function ‘parse_option_token’
dhcp-4.4.3-P1/common/parse.c:4978:5: warning[-Wold-style-definition]: old-style function definition
# 4978 | int parse_option_token (rv, cfile, fmt, expr, uniform, lookups)
#      |     ^~~~~~~~~~~~~~~~~~
# 4976|   }
# 4977|   
# 4978|-> int parse_option_token (rv, cfile, fmt, expr, uniform, lookups)
# 4979|   	struct expression **rv;
# 4980|   	struct parse *cfile;

Error: COMPILER_WARNING: [#def493]
dhcp-4.4.3-P1/common/parse.c:4978:5: warning[-Wold-style-definition]: old-style function definition
# 4976|   }
# 4977|   
# 4978|-> int parse_option_token (rv, cfile, fmt, expr, uniform, lookups)
# 4979|   	struct expression **rv;
# 4980|   	struct parse *cfile;

Error: COMPILER_WARNING: [#def494]
dhcp-4.4.3-P1/common/parse.c: scope_hint: In function ‘parse_option_decl’
dhcp-4.4.3-P1/common/parse.c:5290:5: warning[-Wold-style-definition]: old-style function definition
# 5290 | int parse_option_decl (oc, cfile)
#      |     ^~~~~~~~~~~~~~~~~
# 5288|   }
# 5289|   
# 5290|-> int parse_option_decl (oc, cfile)
# 5291|   	struct option_cache **oc;
# 5292|   	struct parse *cfile;

Error: COMPILER_WARNING: [#def495]
dhcp-4.4.3-P1/common/parse.c:5290:5: warning[-Wold-style-definition]: old-style function definition
# 5288|   }
# 5289|   
# 5290|-> int parse_option_decl (oc, cfile)
# 5291|   	struct option_cache **oc;
# 5292|   	struct parse *cfile;

Error: COMPILER_WARNING: [#def496]
dhcp-4.4.3-P1/common/parse.c: scope_hint: In function ‘parse_X’
dhcp-4.4.3-P1/common/parse.c:5593:5: warning[-Wold-style-definition]: old-style function definition
# 5593 | int parse_X (cfile, buf, max)
#      |     ^~~~~~~
# 5591|   /* Consider merging parse_cshl into this. */
# 5592|   
# 5593|-> int parse_X (cfile, buf, max)
# 5594|   	struct parse *cfile;
# 5595|   	u_int8_t *buf;

Error: COMPILER_WARNING: [#def497]
dhcp-4.4.3-P1/common/parse.c:5593:5: warning[-Wold-style-definition]: old-style function definition
# 5591|   /* Consider merging parse_cshl into this. */
# 5592|   
# 5593|-> int parse_X (cfile, buf, max)
# 5594|   	struct parse *cfile;
# 5595|   	u_int8_t *buf;

Error: COMPILER_WARNING: [#def498]
dhcp-4.4.3-P1/common/print.c: scope_hint: In function ‘print_hw_addr’
dhcp-4.4.3-P1/common/print.c:171:7: warning[-Wold-style-definition]: old-style function definition
#  171 | char *print_hw_addr (htype, hlen, data)
#      |       ^~~~~~~~~~~~~
#  169|   }
#  170|   
#  171|-> char *print_hw_addr (htype, hlen, data)
#  172|   	const int htype;
#  173|   	const int hlen;

Error: COMPILER_WARNING: [#def499]
dhcp-4.4.3-P1/common/print.c:171:7: warning[-Wold-style-definition]: old-style function definition
#  169|   }
#  170|   
#  171|-> char *print_hw_addr (htype, hlen, data)
#  172|   	const int htype;
#  173|   	const int hlen;

Error: COMPILER_WARNING: [#def500]
dhcp-4.4.3-P1/common/print.c: scope_hint: In function ‘print_lease’
dhcp-4.4.3-P1/common/print.c:194:6: warning[-Wold-style-definition]: old-style function definition
#  194 | void print_lease (lease)
#      |      ^~~~~~~~~~~
#  192|   }
#  193|   
#  194|-> void print_lease (lease)
#  195|   	struct lease *lease;
#  196|   {

Error: COMPILER_WARNING: [#def501]
dhcp-4.4.3-P1/common/print.c:194:6: warning[-Wold-style-definition]: old-style function definition
#  192|   }
#  193|   
#  194|-> void print_lease (lease)
#  195|   	struct lease *lease;
#  196|   {

Error: COMPILER_WARNING: [#def502]
dhcp-4.4.3-P1/common/print.c: scope_hint: In function ‘dump_raw’
dhcp-4.4.3-P1/common/print.c:293:6: warning[-Wold-style-definition]: old-style function definition
#  293 | void dump_raw (buf, len)
#      |      ^~~~~~~~
#  291|   #endif
#  292|   
#  293|-> void dump_raw (buf, len)
#  294|   	const unsigned char *buf;
#  295|   	unsigned len;

Error: COMPILER_WARNING: [#def503]
dhcp-4.4.3-P1/common/print.c:293:6: warning[-Wold-style-definition]: old-style function definition
#  291|   #endif
#  292|   
#  293|-> void dump_raw (buf, len)
#  294|   	const unsigned char *buf;
#  295|   	unsigned len;

Error: COMPILER_WARNING: [#def504]
dhcp-4.4.3-P1/common/print.c: scope_hint: In function ‘hash_dump’
dhcp-4.4.3-P1/common/print.c:344:6: warning[-Wold-style-definition]: old-style function definition
#  344 | void hash_dump (table)
#      |      ^~~~~~~~~
#  342|   }
#  343|   
#  344|-> void hash_dump (table)
#  345|   	struct hash_table *table;
#  346|   {

Error: COMPILER_WARNING: [#def505]
dhcp-4.4.3-P1/common/print.c:344:6: warning[-Wold-style-definition]: old-style function definition
#  342|   }
#  343|   
#  344|-> void hash_dump (table)
#  345|   	struct hash_table *table;
#  346|   {

Error: COMPILER_WARNING: [#def506]
dhcp-4.4.3-P1/common/print.c: scope_hint: In function ‘print_hex_only’
dhcp-4.4.3-P1/common/print.c:380:6: warning[-Wold-style-definition]: old-style function definition
#  380 | void print_hex_only (len, data, limit, buf)
#      |      ^~~~~~~~~~~~~~
#  378|    * buf - output buffer
#  379|    */
#  380|-> void print_hex_only (len, data, limit, buf)
#  381|   	unsigned len;
#  382|   	const u_int8_t *data;

Error: COMPILER_WARNING: [#def507]
dhcp-4.4.3-P1/common/print.c:380:6: warning[-Wold-style-definition]: old-style function definition
#  378|    * buf - output buffer
#  379|    */
#  380|-> void print_hex_only (len, data, limit, buf)
#  381|   	unsigned len;
#  382|   	const u_int8_t *data;

Error: COMPILER_WARNING: [#def508]
dhcp-4.4.3-P1/common/print.c: scope_hint: In function ‘print_hex_or_string’
dhcp-4.4.3-P1/common/print.c:419:6: warning[-Wold-style-definition]: old-style function definition
#  419 | void print_hex_or_string (len, data, limit, buf)
#      |      ^~~~~~~~~~~~~~~~~~~
#  417|    * buf - output buffer
#  418|    */
#  419|-> void print_hex_or_string (len, data, limit, buf)
#  420|   	unsigned len;
#  421|   	const u_int8_t *data;

Error: COMPILER_WARNING: [#def509]
dhcp-4.4.3-P1/common/print.c:419:6: warning[-Wold-style-definition]: old-style function definition
#  417|    * buf - output buffer
#  418|    */
#  419|-> void print_hex_or_string (len, data, limit, buf)
#  420|   	unsigned len;
#  421|   	const u_int8_t *data;

Error: COMPILER_WARNING: [#def510]
dhcp-4.4.3-P1/common/print.c: scope_hint: In function ‘print_hex’
dhcp-4.4.3-P1/common/print.c:456:7: warning[-Wold-style-definition]: old-style function definition
#  456 | char *print_hex(len, data, limit, buf_num)
#      |       ^~~~~~~~~
#  454|    */
#  455|   #define HBLEN 1024
#  456|-> char *print_hex(len, data, limit, buf_num)
#  457|   	unsigned len;
#  458|   	const u_int8_t *data;

Error: COMPILER_WARNING: [#def511]
dhcp-4.4.3-P1/common/print.c:456:7: warning[-Wold-style-definition]: old-style function definition
#  454|    */
#  455|   #define HBLEN 1024
#  456|-> char *print_hex(len, data, limit, buf_num)
#  457|   	unsigned len;
#  458|   	const u_int8_t *data;

Error: COMPILER_WARNING: [#def512]
dhcp-4.4.3-P1/common/print.c: scope_hint: In function ‘print_dotted_quads’
dhcp-4.4.3-P1/common/print.c:493:7: warning[-Wold-style-definition]: old-style function definition
#  493 | char *print_dotted_quads (len, data)
#      |       ^~~~~~~~~~~~~~~~~~
#  491|   #define DQLEN	80
#  492|   
#  493|-> char *print_dotted_quads (len, data)
#  494|   	unsigned len;
#  495|   	const u_int8_t *data;

Error: COMPILER_WARNING: [#def513]
dhcp-4.4.3-P1/common/print.c:493:7: warning[-Wold-style-definition]: old-style function definition
#  491|   #define DQLEN	80
#  492|   
#  493|-> char *print_dotted_quads (len, data)
#  494|   	unsigned len;
#  495|   	const u_int8_t *data;

Error: COMPILER_WARNING: [#def514]
dhcp-4.4.3-P1/common/print.c: scope_hint: In function ‘print_dec_1’
dhcp-4.4.3-P1/common/print.c:524:7: warning[-Wold-style-definition]: old-style function definition
#  524 | char *print_dec_1 (val)
#      |       ^~~~~~~~~~~
#  522|   }
#  523|   
#  524|-> char *print_dec_1 (val)
#  525|   	unsigned long val;
#  526|   {

Error: COMPILER_WARNING: [#def515]
dhcp-4.4.3-P1/common/print.c:524:7: warning[-Wold-style-definition]: old-style function definition
#  522|   }
#  523|   
#  524|-> char *print_dec_1 (val)
#  525|   	unsigned long val;
#  526|   {

Error: COMPILER_WARNING: [#def516]
dhcp-4.4.3-P1/common/print.c: scope_hint: In function ‘print_dec_2’
dhcp-4.4.3-P1/common/print.c:532:7: warning[-Wold-style-definition]: old-style function definition
#  532 | char *print_dec_2 (val)
#      |       ^~~~~~~~~~~
#  530|   }
#  531|   
#  532|-> char *print_dec_2 (val)
#  533|   	unsigned long val;
#  534|   {

Error: COMPILER_WARNING: [#def517]
dhcp-4.4.3-P1/common/print.c:532:7: warning[-Wold-style-definition]: old-style function definition
#  530|   }
#  531|   
#  532|-> char *print_dec_2 (val)
#  533|   	unsigned long val;
#  534|   {

Error: COMPILER_WARNING: [#def518]
dhcp-4.4.3-P1/common/print.c: scope_hint: In function ‘print_subexpression’
dhcp-4.4.3-P1/common/print.c:542:17: warning[-Wold-style-definition]: old-style function definition
#  542 | static unsigned print_subexpression (expr, buf, len)
#      |                 ^~~~~~~~~~~~~~~~~~~
#  540|   static unsigned print_subexpression (struct expression *, char *, unsigned);
#  541|   
#  542|-> static unsigned print_subexpression (expr, buf, len)
#  543|   	struct expression *expr;
#  544|   	char *buf;

Error: COMPILER_WARNING: [#def519]
dhcp-4.4.3-P1/common/print.c:542:17: warning[-Wold-style-definition]: old-style function definition
#  540|   static unsigned print_subexpression (struct expression *, char *, unsigned);
#  541|   
#  542|-> static unsigned print_subexpression (expr, buf, len)
#  543|   	struct expression *expr;
#  544|   	char *buf;

Error: COMPILER_WARNING: [#def520]
dhcp-4.4.3-P1/common/print.c: scope_hint: In function ‘print_expression’
dhcp-4.4.3-P1/common/print.c:1171:6: warning[-Wold-style-definition]: old-style function definition
# 1171 | void print_expression (name, expr)
#      |      ^~~~~~~~~~~~~~~~
# 1169|   }
# 1170|   
# 1171|-> void print_expression (name, expr)
# 1172|   	const char *name;
# 1173|   	struct expression *expr;

Error: COMPILER_WARNING: [#def521]
dhcp-4.4.3-P1/common/print.c:1171:6: warning[-Wold-style-definition]: old-style function definition
# 1169|   }
# 1170|   
# 1171|-> void print_expression (name, expr)
# 1172|   	const char *name;
# 1173|   	struct expression *expr;

Error: COMPILER_WARNING: [#def522]
dhcp-4.4.3-P1/common/resolv.c: scope_hint: In function ‘read_resolv_conf’
dhcp-4.4.3-P1/common/resolv.c:35:6: warning[-Wold-style-definition]: old-style function definition
#   35 | void read_resolv_conf (parse_time)
#      |      ^~~~~~~~~~~~~~~~
#   33|   char path_resolv_conf [] = _PATH_RESOLV_CONF;
#   34|   
#   35|-> void read_resolv_conf (parse_time)
#   36|   	TIME parse_time;
#   37|   {

Error: COMPILER_WARNING: [#def523]
dhcp-4.4.3-P1/common/resolv.c:35:6: warning[-Wold-style-definition]: old-style function definition
#   33|   char path_resolv_conf [] = _PATH_RESOLV_CONF;
#   34|   
#   35|-> void read_resolv_conf (parse_time)
#   36|   	TIME parse_time;
#   37|   {

Error: COMPILER_WARNING: [#def524]
dhcp-4.4.3-P1/common/socket.c: scope_hint: In function ‘if_register_fallback’
dhcp-4.4.3-P1/common/socket.c:54:28: warning[-Wold-style-definition]: old-style function definition
#   54 | #  define if_register_send if_register_fallback
#      |                            ^~~~~~~~~~~~~~~~~~~~
dhcp-4.4.3-P1/common/socket.c:354:6: note: in expansion of macro ‘if_register_send’
#  354 | void if_register_send (info)
#      |      ^~~~~~~~~~~~~~~~
#   52|   #ifdef USE_SOCKET_FALLBACK
#   53|   # if !defined (USE_SOCKET_SEND)
#   54|-> #  define if_register_send if_register_fallback
#   55|   #  define send_packet send_fallback
#   56|   #  define if_reinitialize_send if_reinitialize_fallback

Error: COMPILER_WARNING: [#def525]
dhcp-4.4.3-P1/common/socket.c: scope_hint: In function ‘send_fallback’
dhcp-4.4.3-P1/common/socket.c:55:23: warning[-Wold-style-definition]: old-style function definition
#   55 | #  define send_packet send_fallback
#      |                       ^~~~~~~~~~~~~
dhcp-4.4.3-P1/common/socket.c:715:9: note: in expansion of macro ‘send_packet’
#  715 | ssize_t send_packet (interface, packet, raw, len, from, to, hto)
#      |         ^~~~~~~~~~~
#   53|   # if !defined (USE_SOCKET_SEND)
#   54|   #  define if_register_send if_register_fallback
#   55|-> #  define send_packet send_fallback
#   56|   #  define if_reinitialize_send if_reinitialize_fallback
#   57|   # endif

Error: COMPILER_WARNING: [#def526]
dhcp-4.4.3-P1/common/socket.c: scope_hint: In function ‘if_reinitialize_fallback’
dhcp-4.4.3-P1/common/socket.c:56:32: warning[-Wold-style-definition]: old-style function definition
#   56 | #  define if_reinitialize_send if_reinitialize_fallback
#      |                                ^~~~~~~~~~~~~~~~~~~~~~~~
dhcp-4.4.3-P1/common/socket.c:99:6: note: in expansion of macro ‘if_reinitialize_send’
#   99 | void if_reinitialize_send (info)
#      |      ^~~~~~~~~~~~~~~~~~~~
#   54|   #  define if_register_send if_register_fallback
#   55|   #  define send_packet send_fallback
#   56|-> #  define if_reinitialize_send if_reinitialize_fallback
#   57|   # endif
#   58|   #endif

Error: COMPILER_WARNING: [#def527]
dhcp-4.4.3-P1/common/socket.c:99:6: warning[-Wold-style-definition]: old-style function definition
#   97|   
#   98|   #if defined (USE_SOCKET_SEND) || defined (USE_SOCKET_FALLBACK)
#   99|-> void if_reinitialize_send (info)
#  100|   	struct interface_info *info;
#  101|   {

Error: GCC_ANALYZER_WARNING (CWE-476): [#def528]
dhcp-4.4.3-P1/common/socket.c:246:43: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘do_multicast’
dhcp-4.4.3-P1/common/socket.c:354:6: enter_function: entry to ‘if_register_fallback’
dhcp-4.4.3-P1/common/socket.c:358:24: call_function: calling ‘if_register_socket’ from ‘if_register_fallback’
#  244|   	 * it and returns ENOPROTOOPT so in this case ignore the error.
#  245|   	 */
#  246|-> 	if ((local_family == AF_INET6) && *do_multicast) {
#  247|   		flag = 1;
#  248|   		if ((setsockopt(sock, SOL_SOCKET, SO_REUSEPORT,

Error: COMPILER_WARNING: [#def529]
dhcp-4.4.3-P1/common/socket.c:354:6: warning[-Wold-style-definition]: old-style function definition
#  352|   
#  353|   #if defined (USE_SOCKET_SEND) || defined (USE_SOCKET_FALLBACK)
#  354|-> void if_register_send (info)
#  355|   	struct interface_info *info;
#  356|   {

Error: COMPILER_WARNING: [#def530]
dhcp-4.4.3-P1/common/socket.c:715:9: warning[-Wold-style-definition]: old-style function definition
#  713|   
#  714|   #if defined (USE_SOCKET_SEND) || defined (USE_SOCKET_FALLBACK)
#  715|-> ssize_t send_packet (interface, packet, raw, len, from, to, hto)
#  716|   	struct interface_info *interface;
#  717|   	struct packet *packet;

Error: COMPILER_WARNING: [#def531]
dhcp-4.4.3-P1/common/socket.c: scope_hint: In function ‘fallback_discard’
dhcp-4.4.3-P1/common/socket.c:1159:14: warning[-Wold-style-definition]: old-style function definition
# 1159 | isc_result_t fallback_discard (object)
#      |              ^~~~~~~~~~~~~~~~
# 1157|   /* This just reads in a packet and silently discards it. */
# 1158|   
# 1159|-> isc_result_t fallback_discard (object)
# 1160|   	omapi_object_t *object;
# 1161|   {

Error: COMPILER_WARNING: [#def532]
dhcp-4.4.3-P1/common/socket.c:1159:14: warning[-Wold-style-definition]: old-style function definition
# 1157|   /* This just reads in a packet and silently discards it. */
# 1158|   
# 1159|-> isc_result_t fallback_discard (object)
# 1160|   	omapi_object_t *object;
# 1161|   {

Error: COMPILER_WARNING: [#def533]
dhcp-4.4.3-P1/common/tree.c: scope_hint: In function ‘cons’
dhcp-4.4.3-P1/common/tree.c:137:6: warning[-Wold-style-definition]: old-style function definition
#  137 | pair cons (car, cdr)
#      |      ^~~~
#  135|   }
#  136|   
#  137|-> pair cons (car, cdr)
#  138|   	caddr_t car;
#  139|   	pair cdr;

Error: COMPILER_WARNING: [#def534]
dhcp-4.4.3-P1/common/tree.c:137:6: warning[-Wold-style-definition]: old-style function definition
#  135|   }
#  136|   
#  137|-> pair cons (car, cdr)
#  138|   	caddr_t car;
#  139|   	pair cdr;

Error: COMPILER_WARNING: [#def535]
dhcp-4.4.3-P1/common/tree.c: scope_hint: In function ‘make_const_option_cache’
dhcp-4.4.3-P1/common/tree.c:149:5: warning[-Wold-style-definition]: old-style function definition
#  149 | int make_const_option_cache (oc, buffer, data, len, option, file, line)
#      |     ^~~~~~~~~~~~~~~~~~~~~~~
#  147|   }
#  148|   
#  149|-> int make_const_option_cache (oc, buffer, data, len, option, file, line)
#  150|   	struct option_cache **oc;
#  151|   	struct buffer **buffer;

Error: COMPILER_WARNING: [#def536]
dhcp-4.4.3-P1/common/tree.c:149:5: warning[-Wold-style-definition]: old-style function definition
#  147|   }
#  148|   
#  149|-> int make_const_option_cache (oc, buffer, data, len, option, file, line)
#  150|   	struct option_cache **oc;
#  151|   	struct buffer **buffer;

Error: COMPILER_WARNING: [#def537]
dhcp-4.4.3-P1/common/tree.c: scope_hint: In function ‘make_host_lookup’
dhcp-4.4.3-P1/common/tree.c:188:5: warning[-Wold-style-definition]: old-style function definition
#  188 | int make_host_lookup (expr, name)
#      |     ^~~~~~~~~~~~~~~~
#  186|   }
#  187|   
#  188|-> int make_host_lookup (expr, name)
#  189|   	struct expression **expr;
#  190|   	const char *name;

Error: COMPILER_WARNING: [#def538]
dhcp-4.4.3-P1/common/tree.c:188:5: warning[-Wold-style-definition]: old-style function definition
#  186|   }
#  187|   
#  188|-> int make_host_lookup (expr, name)
#  189|   	struct expression **expr;
#  190|   	const char *name;

Error: COMPILER_WARNING: [#def539]
dhcp-4.4.3-P1/common/tree.c: scope_hint: In function ‘enter_dns_host’
dhcp-4.4.3-P1/common/tree.c:204:5: warning[-Wold-style-definition]: old-style function definition
#  204 | int enter_dns_host (dh, name)
#      |     ^~~~~~~~~~~~~~
#  202|   }
#  203|   
#  204|-> int enter_dns_host (dh, name)
#  205|   	struct dns_host_entry **dh;
#  206|   	const char *name;

Error: COMPILER_WARNING: [#def540]
dhcp-4.4.3-P1/common/tree.c:204:5: warning[-Wold-style-definition]: old-style function definition
#  202|   }
#  203|   
#  204|-> int enter_dns_host (dh, name)
#  205|   	struct dns_host_entry **dh;
#  206|   	const char *name;

Error: COMPILER_WARNING: [#def541]
dhcp-4.4.3-P1/common/tree.c: scope_hint: In function ‘make_const_int’
dhcp-4.4.3-P1/common/tree.c:254:5: warning[-Wold-style-definition]: old-style function definition
#  254 | int make_const_int (expr, val)
#      |     ^~~~~~~~~~~~~~
#  252|   }
#  253|   
#  254|-> int make_const_int (expr, val)
#  255|   	struct expression **expr;
#  256|   	unsigned long val;

Error: COMPILER_WARNING: [#def542]
dhcp-4.4.3-P1/common/tree.c:254:5: warning[-Wold-style-definition]: old-style function definition
#  252|   }
#  253|   
#  254|-> int make_const_int (expr, val)
#  255|   	struct expression **expr;
#  256|   	unsigned long val;

Error: COMPILER_WARNING: [#def543]
dhcp-4.4.3-P1/common/tree.c: scope_hint: In function ‘make_concat’
dhcp-4.4.3-P1/common/tree.c:268:5: warning[-Wold-style-definition]: old-style function definition
#  268 | int make_concat (expr, left, right)
#      |     ^~~~~~~~~~~
#  266|   }
#  267|   
#  268|-> int make_concat (expr, left, right)
#  269|   	struct expression **expr;
#  270|   	struct expression *left, *right;

Error: COMPILER_WARNING: [#def544]
dhcp-4.4.3-P1/common/tree.c:268:5: warning[-Wold-style-definition]: old-style function definition
#  266|   }
#  267|   
#  268|-> int make_concat (expr, left, right)
#  269|   	struct expression **expr;
#  270|   	struct expression *left, *right;

Error: COMPILER_WARNING: [#def545]
dhcp-4.4.3-P1/common/tree.c: scope_hint: In function ‘make_encapsulation’
dhcp-4.4.3-P1/common/tree.c:298:5: warning[-Wold-style-definition]: old-style function definition
#  298 | int make_encapsulation (expr, name)
#      |     ^~~~~~~~~~~~~~~~~~
#  296|   }
#  297|   
#  298|-> int make_encapsulation (expr, name)
#  299|   	struct expression **expr;
#  300|   	struct data_string *name;

Error: COMPILER_WARNING: [#def546]
dhcp-4.4.3-P1/common/tree.c:298:5: warning[-Wold-style-definition]: old-style function definition
#  296|   }
#  297|   
#  298|-> int make_encapsulation (expr, name)
#  299|   	struct expression **expr;
#  300|   	struct data_string *name;

Error: COMPILER_WARNING: [#def547]
dhcp-4.4.3-P1/common/tree.c: scope_hint: In function ‘make_substring’
dhcp-4.4.3-P1/common/tree.c:313:5: warning[-Wold-style-definition]: old-style function definition
#  313 | int make_substring (new, expr, offset, length)
#      |     ^~~~~~~~~~~~~~
#  311|   }
#  312|   
#  313|-> int make_substring (new, expr, offset, length)
#  314|   	struct expression **new;
#  315|   	struct expression *expr;

Error: COMPILER_WARNING: [#def548]
dhcp-4.4.3-P1/common/tree.c:313:5: warning[-Wold-style-definition]: old-style function definition
#  311|   }
#  312|   
#  313|-> int make_substring (new, expr, offset, length)
#  314|   	struct expression **new;
#  315|   	struct expression *expr;

Error: COMPILER_WARNING: [#def549]
dhcp-4.4.3-P1/common/tree.c: scope_hint: In function ‘make_limit’
dhcp-4.4.3-P1/common/tree.c:331:5: warning[-Wold-style-definition]: old-style function definition
#  331 | int make_limit (new, expr, limit)
#      |     ^~~~~~~~~~
#  329|   }
#  330|   
#  331|-> int make_limit (new, expr, limit)
#  332|   	struct expression **new;
#  333|   	struct expression *expr;

Error: COMPILER_WARNING: [#def550]
dhcp-4.4.3-P1/common/tree.c:331:5: warning[-Wold-style-definition]: old-style function definition
#  329|   }
#  330|   
#  331|-> int make_limit (new, expr, limit)
#  332|   	struct expression **new;
#  333|   	struct expression *expr;

Error: COMPILER_WARNING: [#def551]
dhcp-4.4.3-P1/common/tree.c: scope_hint: In function ‘make_let’
dhcp-4.4.3-P1/common/tree.c:377:5: warning[-Wold-style-definition]: old-style function definition
#  377 | int make_let (result, name)
#      |     ^~~~~~~~
#  375|   }
#  376|   
#  377|-> int make_let (result, name)
#  378|   	struct executable_statement **result;
#  379|   	const char *name;

Error: COMPILER_WARNING: [#def552]
dhcp-4.4.3-P1/common/tree.c:377:5: warning[-Wold-style-definition]: old-style function definition
#  375|   }
#  376|   
#  377|-> int make_let (result, name)
#  378|   	struct executable_statement **result;
#  379|   	const char *name;

Error: COMPILER_WARNING: [#def553]
dhcp-4.4.3-P1/common/tree.c: scope_hint: In function ‘do_host_lookup’
dhcp-4.4.3-P1/common/tree.c:394:12: warning[-Wold-style-definition]: old-style function definition
#  394 | static int do_host_lookup (result, dns)
#      |            ^~~~~~~~~~~~~~
#  392|   }
#  393|   
#  394|-> static int do_host_lookup (result, dns)
#  395|   	struct data_string *result;
#  396|   	struct dns_host_entry *dns;

Error: COMPILER_WARNING: [#def554]
dhcp-4.4.3-P1/common/tree.c:394:12: warning[-Wold-style-definition]: old-style function definition
#  392|   }
#  393|   
#  394|-> static int do_host_lookup (result, dns)
#  395|   	struct data_string *result;
#  396|   	struct dns_host_entry *dns;

Error: COMPILER_WARNING: [#def555]
dhcp-4.4.3-P1/common/tree.c: scope_hint: In function ‘evaluate_expression’
dhcp-4.4.3-P1/common/tree.c:500:5: warning[-Wold-style-definition]: old-style function definition
#  500 | int evaluate_expression (result, packet, lease, client_state,
#      |     ^~~~~~~~~~~~~~~~~~~
#  498|   }
#  499|   
#  500|-> int evaluate_expression (result, packet, lease, client_state,
#  501|   			 in_options, cfg_options, scope, expr, file, line)
#  502|   	struct binding_value **result;

Error: COMPILER_WARNING: [#def556]
dhcp-4.4.3-P1/common/tree.c:500:5: warning[-Wold-style-definition]: old-style function definition
#  498|   }
#  499|   
#  500|-> int evaluate_expression (result, packet, lease, client_state,
#  501|   			 in_options, cfg_options, scope, expr, file, line)
#  502|   	struct binding_value **result;

Error: COMPILER_WARNING: [#def557]
dhcp-4.4.3-P1/common/tree.c: scope_hint: In function ‘evaluate_boolean_expression’
dhcp-4.4.3-P1/common/tree.c:694:5: warning[-Wold-style-definition]: old-style function definition
#  694 | int evaluate_boolean_expression (result, packet, lease, client_state,
#      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~
#  692|   }
#  693|   
#  694|-> int evaluate_boolean_expression (result, packet, lease, client_state,
#  695|   				 in_options, cfg_options, scope, expr)
#  696|   	int *result;

Error: COMPILER_WARNING: [#def558]
dhcp-4.4.3-P1/common/tree.c:694:5: warning[-Wold-style-definition]: old-style function definition
#  692|   }
#  693|   
#  694|-> int evaluate_boolean_expression (result, packet, lease, client_state,
#  695|   				 in_options, cfg_options, scope, expr)
#  696|   	int *result;

Error: COMPILER_WARNING: [#def559]
dhcp-4.4.3-P1/common/tree.c: scope_hint: In function ‘evaluate_data_expression’
dhcp-4.4.3-P1/common/tree.c:1126:5: warning[-Wold-style-definition]: old-style function definition
# 1126 | int evaluate_data_expression (result, packet, lease, client_state,
#      |     ^~~~~~~~~~~~~~~~~~~~~~~~
# 1124|   }
# 1125|   
# 1126|-> int evaluate_data_expression (result, packet, lease, client_state,
# 1127|   			      in_options, cfg_options, scope, expr, file, line)
# 1128|   	struct data_string *result;

Error: COMPILER_WARNING: [#def560]
dhcp-4.4.3-P1/common/tree.c:1126:5: warning[-Wold-style-definition]: old-style function definition
# 1124|   }
# 1125|   
# 1126|-> int evaluate_data_expression (result, packet, lease, client_state,
# 1127|   			      in_options, cfg_options, scope, expr, file, line)
# 1128|   	struct data_string *result;

Error: COMPILER_WARNING: [#def561]
dhcp-4.4.3-P1/common/tree.c: scope_hint: In function ‘evaluate_numeric_expression’
dhcp-4.4.3-P1/common/tree.c:2229:5: warning[-Wold-style-definition]: old-style function definition
# 2229 | int evaluate_numeric_expression (result, packet, lease, client_state,
#      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~
# 2227|   }
# 2228|   
# 2229|-> int evaluate_numeric_expression (result, packet, lease, client_state,
# 2230|   				 in_options, cfg_options, scope, expr)
# 2231|   	unsigned long *result;

Error: COMPILER_WARNING: [#def562]
dhcp-4.4.3-P1/common/tree.c:2229:5: warning[-Wold-style-definition]: old-style function definition
# 2227|   }
# 2228|   
# 2229|-> int evaluate_numeric_expression (result, packet, lease, client_state,
# 2230|   				 in_options, cfg_options, scope, expr)
# 2231|   	unsigned long *result;

Error: COMPILER_WARNING: [#def563]
dhcp-4.4.3-P1/common/tree.c: scope_hint: In function ‘evaluate_option_cache’
dhcp-4.4.3-P1/common/tree.c:2699:5: warning[-Wold-style-definition]: old-style function definition
# 2699 | int evaluate_option_cache (result, packet, lease, client_state,
#      |     ^~~~~~~~~~~~~~~~~~~~~
# 2697|    */
# 2698|   
# 2699|-> int evaluate_option_cache (result, packet, lease, client_state,
# 2700|   			   in_options, cfg_options, scope, oc, file, line)
# 2701|   	struct data_string *result;

Error: COMPILER_WARNING: [#def564]
dhcp-4.4.3-P1/common/tree.c:2699:5: warning[-Wold-style-definition]: old-style function definition
# 2697|    */
# 2698|   
# 2699|-> int evaluate_option_cache (result, packet, lease, client_state,
# 2700|   			   in_options, cfg_options, scope, oc, file, line)
# 2701|   	struct data_string *result;

Error: COMPILER_WARNING: [#def565]
dhcp-4.4.3-P1/common/tree.c: scope_hint: In function ‘evaluate_boolean_option_cache’
dhcp-4.4.3-P1/common/tree.c:2733:5: warning[-Wold-style-definition]: old-style function definition
# 2733 | int evaluate_boolean_option_cache (ignorep, packet,
#      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# 2731|    * allow/deny/ignore keywords
# 2732|   */
# 2733|-> int evaluate_boolean_option_cache (ignorep, packet,
# 2734|   				   lease, client_state, in_options,
# 2735|   				   cfg_options, scope, oc, file, line)

Error: COMPILER_WARNING: [#def566]
dhcp-4.4.3-P1/common/tree.c:2733:5: warning[-Wold-style-definition]: old-style function definition
# 2731|    * allow/deny/ignore keywords
# 2732|   */
# 2733|-> int evaluate_boolean_option_cache (ignorep, packet,
# 2734|   				   lease, client_state, in_options,
# 2735|   				   cfg_options, scope, oc, file, line)

Error: COMPILER_WARNING: [#def567]
dhcp-4.4.3-P1/common/tree.c: scope_hint: In function ‘evaluate_boolean_expression_result’
dhcp-4.4.3-P1/common/tree.c:2780:5: warning[-Wold-style-definition]: old-style function definition
# 2780 | int evaluate_boolean_expression_result (ignorep, packet, lease, client_state,
#      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# 2778|      or FALSE if it failed. */
# 2779|   
# 2780|-> int evaluate_boolean_expression_result (ignorep, packet, lease, client_state,
# 2781|   					in_options, cfg_options, scope, expr)
# 2782|   	int *ignorep;

Error: COMPILER_WARNING: [#def568]
dhcp-4.4.3-P1/common/tree.c:2780:5: warning[-Wold-style-definition]: old-style function definition
# 2778|      or FALSE if it failed. */
# 2779|   
# 2780|-> int evaluate_boolean_expression_result (ignorep, packet, lease, client_state,
# 2781|   					in_options, cfg_options, scope, expr)
# 2782|   	int *ignorep;

Error: COMPILER_WARNING: [#def569]
dhcp-4.4.3-P1/common/tree.c: scope_hint: In function ‘expression_dereference’
dhcp-4.4.3-P1/common/tree.c:2813:6: warning[-Wold-style-definition]: old-style function definition
# 2813 | void expression_dereference (eptr, file, line)
#      |      ^~~~~~~~~~~~~~~~~~~~~~
# 2811|   /* Dereference an expression node, and if the reference count goes to zero,
# 2812|      dereference any data it refers to, and then free it. */
# 2813|-> void expression_dereference (eptr, file, line)
# 2814|   	struct expression **eptr;
# 2815|   	const char *file;

Error: COMPILER_WARNING: [#def570]
dhcp-4.4.3-P1/common/tree.c:2813:6: warning[-Wold-style-definition]: old-style function definition
# 2811|   /* Dereference an expression node, and if the reference count goes to zero,
# 2812|      dereference any data it refers to, and then free it. */
# 2813|-> void expression_dereference (eptr, file, line)
# 2814|   	struct expression **eptr;
# 2815|   	const char *file;

Error: COMPILER_WARNING: [#def571]
dhcp-4.4.3-P1/common/tree.c: scope_hint: In function ‘is_boolean_expression’
dhcp-4.4.3-P1/common/tree.c:3031:5: warning[-Wold-style-definition]: old-style function definition
# 3031 | int is_boolean_expression (expr)
#      |     ^~~~~~~~~~~~~~~~~~~~~
# 3029|   }
# 3030|   
# 3031|-> int is_boolean_expression (expr)
# 3032|   	struct expression *expr;
# 3033|   {

Error: COMPILER_WARNING: [#def572]
dhcp-4.4.3-P1/common/tree.c:3031:5: warning[-Wold-style-definition]: old-style function definition
# 3029|   }
# 3030|   
# 3031|-> int is_boolean_expression (expr)
# 3032|   	struct expression *expr;
# 3033|   {

Error: COMPILER_WARNING: [#def573]
dhcp-4.4.3-P1/common/tree.c: scope_hint: In function ‘is_data_expression’
dhcp-4.4.3-P1/common/tree.c:3048:5: warning[-Wold-style-definition]: old-style function definition
# 3048 | int is_data_expression (expr)
#      |     ^~~~~~~~~~~~~~~~~~
# 3046|   }
# 3047|   
# 3048|-> int is_data_expression (expr)
# 3049|   	struct expression *expr;
# 3050|   {

Error: COMPILER_WARNING: [#def574]
dhcp-4.4.3-P1/common/tree.c:3048:5: warning[-Wold-style-definition]: old-style function definition
# 3046|   }
# 3047|   
# 3048|-> int is_data_expression (expr)
# 3049|   	struct expression *expr;
# 3050|   {

Error: COMPILER_WARNING: [#def575]
dhcp-4.4.3-P1/common/tree.c: scope_hint: In function ‘is_numeric_expression’
dhcp-4.4.3-P1/common/tree.c:3078:5: warning[-Wold-style-definition]: old-style function definition
# 3078 | int is_numeric_expression (expr)
#      |     ^~~~~~~~~~~~~~~~~~~~~
# 3076|   }
# 3077|   
# 3078|-> int is_numeric_expression (expr)
# 3079|   	struct expression *expr;
# 3080|   {

Error: COMPILER_WARNING: [#def576]
dhcp-4.4.3-P1/common/tree.c:3078:5: warning[-Wold-style-definition]: old-style function definition
# 3076|   }
# 3077|   
# 3078|-> int is_numeric_expression (expr)
# 3079|   	struct expression *expr;
# 3080|   {

Error: COMPILER_WARNING: [#def577]
dhcp-4.4.3-P1/common/tree.c: scope_hint: In function ‘is_compound_expression’
dhcp-4.4.3-P1/common/tree.c:3097:5: warning[-Wold-style-definition]: old-style function definition
# 3097 | int is_compound_expression (expr)
#      |     ^~~~~~~~~~~~~~~~~~~~~~
# 3095|   }
# 3096|   
# 3097|-> int is_compound_expression (expr)
# 3098|   	struct expression *expr;
# 3099|   {

Error: COMPILER_WARNING: [#def578]
dhcp-4.4.3-P1/common/tree.c:3097:5: warning[-Wold-style-definition]: old-style function definition
# 3095|   }
# 3096|   
# 3097|-> int is_compound_expression (expr)
# 3098|   	struct expression *expr;
# 3099|   {

Error: COMPILER_WARNING: [#def579]
dhcp-4.4.3-P1/common/tree.c: scope_hint: In function ‘op_val’
dhcp-4.4.3-P1/common/tree.c:3119:12: warning[-Wold-style-definition]: old-style function definition
# 3119 | static int op_val (op)
#      |            ^~~~~~
# 3117|   static int op_val (enum expr_op);
# 3118|   
# 3119|-> static int op_val (op)
# 3120|   	enum expr_op op;
# 3121|   {

Error: COMPILER_WARNING: [#def580]
dhcp-4.4.3-P1/common/tree.c:3119:12: warning[-Wold-style-definition]: old-style function definition
# 3117|   static int op_val (enum expr_op);
# 3118|   
# 3119|-> static int op_val (op)
# 3120|   	enum expr_op op;
# 3121|   {

Error: COMPILER_WARNING: [#def581]
dhcp-4.4.3-P1/common/tree.c: scope_hint: In function ‘op_precedence’
dhcp-4.4.3-P1/common/tree.c:3200:5: warning[-Wold-style-definition]: old-style function definition
# 3200 | int op_precedence (op1, op2)
#      |     ^~~~~~~~~~~~~
# 3198|   }
# 3199|   
# 3200|-> int op_precedence (op1, op2)
# 3201|   	enum expr_op op1, op2;
# 3202|   {

Error: COMPILER_WARNING: [#def582]
dhcp-4.4.3-P1/common/tree.c:3200:5: warning[-Wold-style-definition]: old-style function definition
# 3198|   }
# 3199|   
# 3200|-> int op_precedence (op1, op2)
# 3201|   	enum expr_op op1, op2;
# 3202|   {

Error: COMPILER_WARNING: [#def583]
dhcp-4.4.3-P1/common/tree.c: scope_hint: In function ‘op_context’
dhcp-4.4.3-P1/common/tree.c:3217:25: warning[-Wold-style-definition]: old-style function definition
# 3217 | enum expression_context op_context (op)
#      |                         ^~~~~~~~~~
# 3215|   }
# 3216|   
# 3217|-> enum expression_context op_context (op)
# 3218|   	enum expr_op op;
# 3219|   {

Error: COMPILER_WARNING: [#def584]
dhcp-4.4.3-P1/common/tree.c:3217:25: warning[-Wold-style-definition]: old-style function definition
# 3215|   }
# 3216|   
# 3217|-> enum expression_context op_context (op)
# 3218|   	enum expr_op op;
# 3219|   {

Error: COMPILER_WARNING: [#def585]
dhcp-4.4.3-P1/common/tree.c: scope_hint: In function ‘write_expression’
dhcp-4.4.3-P1/common/tree.c:3298:5: warning[-Wold-style-definition]: old-style function definition
# 3298 | int write_expression (file, expr, col, indent, firstp)
#      |     ^~~~~~~~~~~~~~~~
# 3296|   }
# 3297|   
# 3298|-> int write_expression (file, expr, col, indent, firstp)
# 3299|   	FILE *file;
# 3300|   	struct expression *expr;

Error: COMPILER_WARNING: [#def586]
dhcp-4.4.3-P1/common/tree.c:3298:5: warning[-Wold-style-definition]: old-style function definition
# 3296|   }
# 3297|   
# 3298|-> int write_expression (file, expr, col, indent, firstp)
# 3299|   	FILE *file;
# 3300|   	struct expression *expr;

Error: COMPILER_WARNING: [#def587]
dhcp-4.4.3-P1/common/tree.c: scope_hint: In function ‘binding_scope_dereference’
dhcp-4.4.3-P1/common/tree.c:3786:5: warning[-Wold-style-definition]: old-style function definition
# 3786 | int binding_scope_dereference (ptr, file, line)
#      |     ^~~~~~~~~~~~~~~~~~~~~~~~~
# 3784|   }
# 3785|   
# 3786|-> int binding_scope_dereference (ptr, file, line)
# 3787|   	struct binding_scope **ptr;
# 3788|   	const char *file;

Error: COMPILER_WARNING: [#def588]
dhcp-4.4.3-P1/common/tree.c:3786:5: warning[-Wold-style-definition]: old-style function definition
# 3784|   }
# 3785|   
# 3786|-> int binding_scope_dereference (ptr, file, line)
# 3787|   	struct binding_scope **ptr;
# 3788|   	const char *file;

Error: COMPILER_WARNING: [#def589]
dhcp-4.4.3-P1/common/tree.c: scope_hint: In function ‘fundef_dereference’
dhcp-4.4.3-P1/common/tree.c:3829:5: warning[-Wold-style-definition]: old-style function definition
# 3829 | int fundef_dereference (ptr, file, line)
#      |     ^~~~~~~~~~~~~~~~~~
# 3827|   }
# 3828|   
# 3829|-> int fundef_dereference (ptr, file, line)
# 3830|   	struct fundef **ptr;
# 3831|   	const char *file;

Error: COMPILER_WARNING: [#def590]
dhcp-4.4.3-P1/common/tree.c:3829:5: warning[-Wold-style-definition]: old-style function definition
# 3827|   }
# 3828|   
# 3829|-> int fundef_dereference (ptr, file, line)
# 3830|   	struct fundef **ptr;
# 3831|   	const char *file;

Error: COMPILER_WARNING: [#def591]
dhcp-4.4.3-P1/dhcpctl/cltest.c: scope_hint: In function ‘main’
dhcp-4.4.3-P1/dhcpctl/cltest.c:89:5: warning[-Wold-style-definition]: old-style function definition
#   89 | int main (argc, argv)
#      |     ^~~~
#   87|   }
#   88|   
#   89|-> int main (argc, argv)
#   90|   	int argc;
#   91|   	char **argv;

Error: COMPILER_WARNING: [#def592]
dhcp-4.4.3-P1/dhcpctl/cltest.c:89:5: warning[-Wold-style-definition]: old-style function definition
#   87|   }
#   88|   
#   89|-> int main (argc, argv)
#   90|   	int argc;
#   91|   	char **argv;

Error: COMPILER_WARNING: [#def593]
dhcp-4.4.3-P1/dhcpctl/cltest2.c: scope_hint: In function ‘main’
dhcp-4.4.3-P1/dhcpctl/cltest2.c:79:5: warning[-Wold-style-definition]: old-style function definition
#   79 | int main (argc, argv)
#      |     ^~~~
#   77|   */
#   78|   
#   79|-> int main (argc, argv)
#   80|   	int argc;
#   81|   	char **argv;

Error: COMPILER_WARNING: [#def594]
dhcp-4.4.3-P1/dhcpctl/cltest2.c:79:5: warning[-Wold-style-definition]: old-style function definition
#   77|   */
#   78|   
#   79|-> int main (argc, argv)
#   80|   	int argc;
#   81|   	char **argv;

Error: CPPCHECK_WARNING (CWE-119): [#def595]
dhcp-4.4.3-P1/dhcpctl/dhcpctl.c:343: error[bufferAccessOutOfBounds]: Buffer is accessed out of bounds: (*result)->value
#  341|   	      case omapi_datatype_int:
#  342|   		ip = htonl (tv -> value -> u.integer);
#  343|-> 		memcpy ((*result) -> value, &ip, sizeof ip);
#  344|   		break;
#  345|   

Error: CPPCHECK_WARNING (CWE-119): [#def596]
dhcp-4.4.3-P1/dhcpctl/dhcpctl.c:355: error[bufferAccessOutOfBounds]: Buffer is accessed out of bounds: (*result)->value
#  353|   	      case omapi_datatype_object:
#  354|   		ip = htonl (tv -> value -> u.object -> handle);
#  355|-> 		memcpy ((*result) -> value, &ip, sizeof ip);
#  356|   		break;
#  357|   	}

Error: CPPCHECK_WARNING (CWE-401): [#def597]
dhcp-4.4.3-P1/omapip/alloc.c:141: error[memleak]: Memory leak: foo
#  139|   	rc_register (file, line, 0, foo + DMDOFFSET, 1, 0, RC_MALLOC);
#  140|   #endif
#  141|-> 	return bar;
#  142|   }
#  143|   

Error: GCC_ANALYZER_WARNING (CWE-401): [#def598]
dhcp-4.4.3-P1/omapip/alloc.c:1042:12: warning[-Wanalyzer-malloc-leak]: leak of ‘dmalloc(24, file,  line)’
dhcp-4.4.3-P1/omapip/alloc.c:1026:14: enter_function: entry to ‘omapi_value_new’
dhcp-4.4.3-P1/omapip/alloc.c:1031:15: call_function: calling ‘dmalloc’ from ‘omapi_value_new’
dhcp-4.4.3-P1/omapip/alloc.c:1031:15: return_function: returning to ‘omapi_value_new’ from ‘dmalloc’
dhcp-4.4.3-P1/omapip/alloc.c:1032:12: branch_false: following ‘false’ branch...
dhcp-4.4.3-P1/omapip/alloc.c:1034:9: branch_false: ...to here
dhcp-4.4.3-P1/omapip/alloc.c:1035:16: call_function: inlined call to ‘omapi_value_reference’ from ‘omapi_value_new’
# 1040|   				    const char *file, int line)
# 1041|   {
# 1042|-> 	if (!h || !r)
# 1043|   		return DHCP_R_INVALIDARG;
# 1044|   

Error: GCC_ANALYZER_WARNING (CWE-401): [#def599]
dhcp-4.4.3-P1/omapip/alloc.c:1045:13: warning[-Wanalyzer-malloc-leak]: leak of ‘dmalloc(24, file,  line)’
dhcp-4.4.3-P1/omapip/alloc.c:1026:14: enter_function: entry to ‘omapi_value_new’
dhcp-4.4.3-P1/omapip/alloc.c:1031:15: call_function: calling ‘dmalloc’ from ‘omapi_value_new’
dhcp-4.4.3-P1/omapip/alloc.c:1031:15: return_function: returning to ‘omapi_value_new’ from ‘dmalloc’
dhcp-4.4.3-P1/omapip/alloc.c:1032:12: branch_false: following ‘false’ branch...
dhcp-4.4.3-P1/omapip/alloc.c:1034:9: branch_false: ...to here
dhcp-4.4.3-P1/omapip/alloc.c:1035:16: call_function: inlined call to ‘omapi_value_reference’ from ‘omapi_value_new’
# 1043|   		return DHCP_R_INVALIDARG;
# 1044|   
# 1045|-> 	if (*r) {
# 1046|   #if defined (POINTER_DEBUG)
# 1047|   		log_error ("%s(%d): reference store into non-null pointer!",

Error: GCC_ANALYZER_WARNING (CWE-401): [#def600]
dhcp-4.4.3-P1/omapip/alloc.c:1124:12: warning[-Wanalyzer-malloc-leak]: leak of ‘dmalloc((long unsigned int)count * 28 + 16, file,  line)’
dhcp-4.4.3-P1/omapip/alloc.c:1104:14: enter_function: entry to ‘omapi_addr_list_new’
dhcp-4.4.3-P1/omapip/alloc.c:1109:15: call_function: calling ‘dmalloc’ from ‘omapi_addr_list_new’
dhcp-4.4.3-P1/omapip/alloc.c:1109:15: return_function: returning to ‘omapi_addr_list_new’ from ‘dmalloc’
dhcp-4.4.3-P1/omapip/alloc.c:1111:12: branch_false: following ‘false’ branch...
dhcp-4.4.3-P1/omapip/alloc.c:1113:9: branch_false: ...to here
dhcp-4.4.3-P1/omapip/alloc.c:1117:16: call_function: inlined call to ‘omapi_addr_list_reference’ from ‘omapi_addr_list_new’
# 1122|   					  const char *file, int line)
# 1123|   {
# 1124|-> 	if (!h || !r)
# 1125|   		return DHCP_R_INVALIDARG;
# 1126|   

Error: GCC_ANALYZER_WARNING (CWE-401): [#def601]
dhcp-4.4.3-P1/omapip/alloc.c:1127:13: warning[-Wanalyzer-malloc-leak]: leak of ‘dmalloc((long unsigned int)count * 28 + 16, file,  line)’
dhcp-4.4.3-P1/omapip/alloc.c:1104:14: enter_function: entry to ‘omapi_addr_list_new’
dhcp-4.4.3-P1/omapip/alloc.c:1109:15: call_function: calling ‘dmalloc’ from ‘omapi_addr_list_new’
dhcp-4.4.3-P1/omapip/alloc.c:1109:15: return_function: returning to ‘omapi_addr_list_new’ from ‘dmalloc’
dhcp-4.4.3-P1/omapip/alloc.c:1111:12: branch_false: following ‘false’ branch...
dhcp-4.4.3-P1/omapip/alloc.c:1113:9: branch_false: ...to here
dhcp-4.4.3-P1/omapip/alloc.c:1117:16: call_function: inlined call to ‘omapi_addr_list_reference’ from ‘omapi_addr_list_new’
# 1125|   		return DHCP_R_INVALIDARG;
# 1126|   
# 1127|-> 	if (*r) {
# 1128|   #if defined (POINTER_DEBUG)
# 1129|   		log_error ("%s(%d): reference store into non-null pointer!",

Error: COMPILER_WARNING: [#def602]
dhcp-4.4.3-P1/omapip/convert.c: scope_hint: In function ‘getULong’
dhcp-4.4.3-P1/omapip/convert.c:34:11: warning[-Wold-style-definition]: old-style function definition
#   34 | u_int32_t getULong (buf)
#      |           ^~~~~~~~
#   32|   #include <omapip/omapip_p.h>
#   33|   
#   34|-> u_int32_t getULong (buf)
#   35|   	const unsigned char *buf;
#   36|   {

Error: COMPILER_WARNING: [#def603]
dhcp-4.4.3-P1/omapip/convert.c:34:11: warning[-Wold-style-definition]: old-style function definition
#   32|   #include <omapip/omapip_p.h>
#   33|   
#   34|-> u_int32_t getULong (buf)
#   35|   	const unsigned char *buf;
#   36|   {

Error: COMPILER_WARNING: [#def604]
dhcp-4.4.3-P1/omapip/convert.c: scope_hint: In function ‘getLong’
dhcp-4.4.3-P1/omapip/convert.c:43:9: warning[-Wold-style-definition]: old-style function definition
#   43 | int32_t getLong (buf)
#      |         ^~~~~~~
#   41|   }
#   42|   
#   43|-> int32_t getLong (buf)
#   44|   	const unsigned char *buf;
#   45|   {

Error: COMPILER_WARNING: [#def605]
dhcp-4.4.3-P1/omapip/convert.c:43:9: warning[-Wold-style-definition]: old-style function definition
#   41|   }
#   42|   
#   43|-> int32_t getLong (buf)
#   44|   	const unsigned char *buf;
#   45|   {

Error: COMPILER_WARNING: [#def606]
dhcp-4.4.3-P1/omapip/convert.c: scope_hint: In function ‘getUShort’
dhcp-4.4.3-P1/omapip/convert.c:52:11: warning[-Wold-style-definition]: old-style function definition
#   52 | u_int32_t getUShort (buf)
#      |           ^~~~~~~~~
#   50|   }
#   51|   
#   52|-> u_int32_t getUShort (buf)
#   53|   	const unsigned char *buf;
#   54|   {

Error: COMPILER_WARNING: [#def607]
dhcp-4.4.3-P1/omapip/convert.c:52:11: warning[-Wold-style-definition]: old-style function definition
#   50|   }
#   51|   
#   52|-> u_int32_t getUShort (buf)
#   53|   	const unsigned char *buf;
#   54|   {

Error: COMPILER_WARNING: [#def608]
dhcp-4.4.3-P1/omapip/convert.c: scope_hint: In function ‘getShort’
dhcp-4.4.3-P1/omapip/convert.c:61:9: warning[-Wold-style-definition]: old-style function definition
#   61 | int32_t getShort (buf)
#      |         ^~~~~~~~
#   59|   }
#   60|   
#   61|-> int32_t getShort (buf)
#   62|   	const unsigned char *buf;
#   63|   {

Error: COMPILER_WARNING: [#def609]
dhcp-4.4.3-P1/omapip/convert.c:61:9: warning[-Wold-style-definition]: old-style function definition
#   59|   }
#   60|   
#   61|-> int32_t getShort (buf)
#   62|   	const unsigned char *buf;
#   63|   {

Error: COMPILER_WARNING: [#def610]
dhcp-4.4.3-P1/omapip/convert.c: scope_hint: In function ‘putULong’
dhcp-4.4.3-P1/omapip/convert.c:70:6: warning[-Wold-style-definition]: old-style function definition
#   70 | void putULong (obuf, val)
#      |      ^~~~~~~~
#   68|   }
#   69|   
#   70|-> void putULong (obuf, val)
#   71|   	unsigned char *obuf;
#   72|   	u_int32_t val;

Error: COMPILER_WARNING: [#def611]
dhcp-4.4.3-P1/omapip/convert.c:70:6: warning[-Wold-style-definition]: old-style function definition
#   68|   }
#   69|   
#   70|-> void putULong (obuf, val)
#   71|   	unsigned char *obuf;
#   72|   	u_int32_t val;

Error: COMPILER_WARNING: [#def612]
dhcp-4.4.3-P1/omapip/convert.c: scope_hint: In function ‘putLong’
dhcp-4.4.3-P1/omapip/convert.c:78:6: warning[-Wold-style-definition]: old-style function definition
#   78 | void putLong (obuf, val)
#      |      ^~~~~~~
#   76|   }
#   77|   
#   78|-> void putLong (obuf, val)
#   79|   	unsigned char *obuf;
#   80|   	int32_t val;

Error: COMPILER_WARNING: [#def613]
dhcp-4.4.3-P1/omapip/convert.c:78:6: warning[-Wold-style-definition]: old-style function definition
#   76|   }
#   77|   
#   78|-> void putLong (obuf, val)
#   79|   	unsigned char *obuf;
#   80|   	int32_t val;

Error: COMPILER_WARNING: [#def614]
dhcp-4.4.3-P1/omapip/convert.c: scope_hint: In function ‘putUShort’
dhcp-4.4.3-P1/omapip/convert.c:86:6: warning[-Wold-style-definition]: old-style function definition
#   86 | void putUShort (obuf, val)
#      |      ^~~~~~~~~
#   84|   }
#   85|   
#   86|-> void putUShort (obuf, val)
#   87|   	unsigned char *obuf;
#   88|   	u_int32_t val;

Error: COMPILER_WARNING: [#def615]
dhcp-4.4.3-P1/omapip/convert.c:86:6: warning[-Wold-style-definition]: old-style function definition
#   84|   }
#   85|   
#   86|-> void putUShort (obuf, val)
#   87|   	unsigned char *obuf;
#   88|   	u_int32_t val;

Error: COMPILER_WARNING: [#def616]
dhcp-4.4.3-P1/omapip/convert.c: scope_hint: In function ‘putShort’
dhcp-4.4.3-P1/omapip/convert.c:94:6: warning[-Wold-style-definition]: old-style function definition
#   94 | void putShort (obuf, val)
#      |      ^~~~~~~~
#   92|   }
#   93|   
#   94|-> void putShort (obuf, val)
#   95|   	unsigned char *obuf;
#   96|   	int32_t val;

Error: COMPILER_WARNING: [#def617]
dhcp-4.4.3-P1/omapip/convert.c:94:6: warning[-Wold-style-definition]: old-style function definition
#   92|   }
#   93|   
#   94|-> void putShort (obuf, val)
#   95|   	unsigned char *obuf;
#   96|   	int32_t val;

Error: COMPILER_WARNING: [#def618]
dhcp-4.4.3-P1/omapip/convert.c: scope_hint: In function ‘putUChar’
dhcp-4.4.3-P1/omapip/convert.c:102:6: warning[-Wold-style-definition]: old-style function definition
#  102 | void putUChar (obuf, val)
#      |      ^~~~~~~~
#  100|   }
#  101|   
#  102|-> void putUChar (obuf, val)
#  103|   	unsigned char *obuf;
#  104|   	u_int32_t val;

Error: COMPILER_WARNING: [#def619]
dhcp-4.4.3-P1/omapip/convert.c:102:6: warning[-Wold-style-definition]: old-style function definition
#  100|   }
#  101|   
#  102|-> void putUChar (obuf, val)
#  103|   	unsigned char *obuf;
#  104|   	u_int32_t val;

Error: COMPILER_WARNING: [#def620]
dhcp-4.4.3-P1/omapip/convert.c: scope_hint: In function ‘getUChar’
dhcp-4.4.3-P1/omapip/convert.c:109:11: warning[-Wold-style-definition]: old-style function definition
#  109 | u_int32_t getUChar (obuf)
#      |           ^~~~~~~~
#  107|   }
#  108|   
#  109|-> u_int32_t getUChar (obuf)
#  110|   	const unsigned char *obuf;
#  111|   {

Error: COMPILER_WARNING: [#def621]
dhcp-4.4.3-P1/omapip/convert.c:109:11: warning[-Wold-style-definition]: old-style function definition
#  107|   }
#  108|   
#  109|-> u_int32_t getUChar (obuf)
#  110|   	const unsigned char *obuf;
#  111|   {

Error: COMPILER_WARNING: [#def622]
dhcp-4.4.3-P1/omapip/convert.c: scope_hint: In function ‘converted_length’
dhcp-4.4.3-P1/omapip/convert.c:115:5: warning[-Wold-style-definition]: old-style function definition
#  115 | int converted_length (buf, base, width)
#      |     ^~~~~~~~~~~~~~~~
#  113|   }
#  114|   
#  115|-> int converted_length (buf, base, width)
#  116|   	const unsigned char *buf;
#  117|   	unsigned int base;

Error: COMPILER_WARNING: [#def623]
dhcp-4.4.3-P1/omapip/convert.c:115:5: warning[-Wold-style-definition]: old-style function definition
#  113|   }
#  114|   
#  115|-> int converted_length (buf, base, width)
#  116|   	const unsigned char *buf;
#  117|   	unsigned int base;

Error: COMPILER_WARNING: [#def624]
dhcp-4.4.3-P1/omapip/convert.c: scope_hint: In function ‘binary_to_ascii’
dhcp-4.4.3-P1/omapip/convert.c:150:5: warning[-Wold-style-definition]: old-style function definition
#  150 | int binary_to_ascii (outbuf, inbuf, base, width)
#      |     ^~~~~~~~~~~~~~~
#  148|   }
#  149|   
#  150|-> int binary_to_ascii (outbuf, inbuf, base, width)
#  151|   	unsigned char *outbuf;
#  152|   	const unsigned char *inbuf;

Error: COMPILER_WARNING: [#def625]
dhcp-4.4.3-P1/omapip/convert.c:150:5: warning[-Wold-style-definition]: old-style function definition
#  148|   }
#  149|   
#  150|-> int binary_to_ascii (outbuf, inbuf, base, width)
#  151|   	unsigned char *outbuf;
#  152|   	const unsigned char *inbuf;

Error: GCC_ANALYZER_WARNING (CWE-476): [#def626]
dhcp-4.4.3-P1/omapip/dispatch.c:480:13: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘waiter’
dhcp-4.4.3-P1/omapip/dispatch.c:424:14: enter_function: entry to ‘omapi_wait_for_completion’
dhcp-4.4.3-P1/omapip/dispatch.c:440:12: branch_false: following ‘false’ branch (when ‘object’ is NULL)...
dhcp-4.4.3-P1/omapip/dispatch.c:465:17: branch_false: ...to here
dhcp-4.4.3-P1/omapip/dispatch.c:465:17: release_memory: ‘waiter’ is NULL
dhcp-4.4.3-P1/omapip/dispatch.c:468:26: release_memory: ‘waiter’ is NULL
dhcp-4.4.3-P1/omapip/dispatch.c:468:26: call_function: calling ‘omapi_one_dispatch’ from ‘omapi_wait_for_completion’
dhcp-4.4.3-P1/omapip/dispatch.c:468:26: return_function: returning to ‘omapi_wait_for_completion’ from ‘omapi_one_dispatch’
dhcp-4.4.3-P1/omapip/dispatch.c:469:20: branch_true: following ‘true’ branch...
dhcp-4.4.3-P1/omapip/dispatch.c:480:20: branch_true: ...to here
dhcp-4.4.3-P1/omapip/dispatch.c:480:20: release_memory: ‘waiter’ is NULL
dhcp-4.4.3-P1/omapip/dispatch.c:480:13: danger: dereference of NULL ‘waiter’
#  478|   
#  479|   
#  480|-> 	if (waiter -> outer) {
#  481|   		if (waiter -> outer -> inner) {
#  482|   			omapi_object_dereference (&waiter -> outer -> inner,

Error: CPPCHECK_WARNING (CWE-476): [#def627]
dhcp-4.4.3-P1/omapip/errwarn.c:60: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: url
#   58|   
#   59|       url = (char *) malloc(url_len * sizeof(char));
#   60|->     strcpy(url, "https://bugzilla.redhat.com/");
#   61|   
#   62|       if (!file)

Error: COMPILER_WARNING: [#def628]
dhcp-4.4.3-P1/omapip/errwarn.c: scope_hint: In function ‘do_percentm’
dhcp-4.4.3-P1/omapip/errwarn.c:210:6: warning[-Wold-style-definition]: old-style function definition
#  210 | void do_percentm (obuf, obufsize, ibuf)
#      |      ^~~~~~~~~~~
#  208|   /* Find %m in the input string and substitute an error message string. */
#  209|   
#  210|-> void do_percentm (obuf, obufsize, ibuf)
#  211|        char *obuf;
#  212|        size_t obufsize;

Error: COMPILER_WARNING: [#def629]
dhcp-4.4.3-P1/omapip/errwarn.c:210:6: warning[-Wold-style-definition]: old-style function definition
#  208|   /* Find %m in the input string and substitute an error message string. */
#  209|   
#  210|-> void do_percentm (obuf, obufsize, ibuf)
#  211|        char *obuf;
#  212|        size_t obufsize;

Error: COMPILER_WARNING: [#def630]
dhcp-4.4.3-P1/omapip/hash.c: scope_hint: In function ‘new_hash_table’
dhcp-4.4.3-P1/omapip/hash.c:55:5: warning[-Wold-style-definition]: old-style function definition
#   55 | int new_hash_table (tp, count, file, line)
#      |     ^~~~~~~~~~~~~~
#   53|   }
#   54|   
#   55|-> int new_hash_table (tp, count, file, line)
#   56|   	struct hash_table **tp;
#   57|   	unsigned count;

Error: COMPILER_WARNING: [#def631]
dhcp-4.4.3-P1/omapip/hash.c:55:5: warning[-Wold-style-definition]: old-style function definition
#   53|   }
#   54|   
#   55|-> int new_hash_table (tp, count, file, line)
#   56|   	struct hash_table **tp;
#   57|   	unsigned count;

Error: COMPILER_WARNING: [#def632]
dhcp-4.4.3-P1/omapip/hash.c: scope_hint: In function ‘free_hash_table’
dhcp-4.4.3-P1/omapip/hash.c:98:6: warning[-Wold-style-definition]: old-style function definition
#   98 | void free_hash_table (tp, file, line)
#      |      ^~~~~~~~~~~~~~~
#   96|   }
#   97|   
#   98|-> void free_hash_table (tp, file, line)
#   99|   	struct hash_table **tp;
#  100|   	const char *file;

Error: COMPILER_WARNING: [#def633]
dhcp-4.4.3-P1/omapip/hash.c:98:6: warning[-Wold-style-definition]: old-style function definition
#   96|   }
#   97|   
#   98|-> void free_hash_table (tp, file, line)
#   99|   	struct hash_table **tp;
#  100|   	const char *file;

Error: COMPILER_WARNING: [#def634]
dhcp-4.4.3-P1/omapip/hash.c: scope_hint: In function ‘new_hash_bucket’
dhcp-4.4.3-P1/omapip/hash.c:164:21: warning[-Wold-style-definition]: old-style function definition
#  164 | struct hash_bucket *new_hash_bucket (file, line)
#      |                     ^~~~~~~~~~~~~~~
#  162|   #endif
#  163|   
#  164|-> struct hash_bucket *new_hash_bucket (file, line)
#  165|   	const char *file;
#  166|   	int line;

Error: COMPILER_WARNING: [#def635]
dhcp-4.4.3-P1/omapip/hash.c:164:21: warning[-Wold-style-definition]: old-style function definition
#  162|   #endif
#  163|   
#  164|-> struct hash_bucket *new_hash_bucket (file, line)
#  165|   	const char *file;
#  166|   	int line;

Error: COMPILER_WARNING: [#def636]
dhcp-4.4.3-P1/omapip/hash.c: scope_hint: In function ‘free_hash_bucket’
dhcp-4.4.3-P1/omapip/hash.c:193:6: warning[-Wold-style-definition]: old-style function definition
#  193 | void free_hash_bucket (ptr, file, line)
#      |      ^~~~~~~~~~~~~~~~
#  191|   }
#  192|   
#  193|-> void free_hash_bucket (ptr, file, line)
#  194|   	struct hash_bucket *ptr;
#  195|   	const char *file;

Error: COMPILER_WARNING: [#def637]
dhcp-4.4.3-P1/omapip/hash.c:193:6: warning[-Wold-style-definition]: old-style function definition
#  191|   }
#  192|   
#  193|-> void free_hash_bucket (ptr, file, line)
#  194|   	struct hash_bucket *ptr;
#  195|   	const char *file;

Error: COMPILER_WARNING: [#def638]
dhcp-4.4.3-P1/omapip/hash.c: scope_hint: In function ‘add_hash’
dhcp-4.4.3-P1/omapip/hash.c:396:6: warning[-Wold-style-definition]: old-style function definition
#  396 | void add_hash (table, key, len, pointer, file, line)
#      |      ^~~~~~~~
#  394|   }
#  395|   
#  396|-> void add_hash (table, key, len, pointer, file, line)
#  397|   	struct hash_table *table;
#  398|   	unsigned len;

Error: COMPILER_WARNING: [#def639]
dhcp-4.4.3-P1/omapip/hash.c:396:6: warning[-Wold-style-definition]: old-style function definition
#  394|   }
#  395|   
#  396|-> void add_hash (table, key, len, pointer, file, line)
#  397|   	struct hash_table *table;
#  398|   	unsigned len;

Error: COMPILER_WARNING: [#def640]
dhcp-4.4.3-P1/omapip/hash.c: scope_hint: In function ‘delete_hash_entry’
dhcp-4.4.3-P1/omapip/hash.c:432:6: warning[-Wold-style-definition]: old-style function definition
#  432 | void delete_hash_entry (table, key, len, file, line)
#      |      ^~~~~~~~~~~~~~~~~
#  430|   }
#  431|   
#  432|-> void delete_hash_entry (table, key, len, file, line)
#  433|   	struct hash_table *table;
#  434|   	unsigned len;

Error: COMPILER_WARNING: [#def641]
dhcp-4.4.3-P1/omapip/hash.c:432:6: warning[-Wold-style-definition]: old-style function definition
#  430|   }
#  431|   
#  432|-> void delete_hash_entry (table, key, len, file, line)
#  433|   	struct hash_table *table;
#  434|   	unsigned len;

Error: COMPILER_WARNING: [#def642]
dhcp-4.4.3-P1/omapip/hash.c: scope_hint: In function ‘hash_lookup’
dhcp-4.4.3-P1/omapip/hash.c:474:5: warning[-Wold-style-definition]: old-style function definition
#  474 | int hash_lookup (vp, table, key, len, file, line)
#      |     ^~~~~~~~~~~
#  472|   }
#  473|   
#  474|-> int hash_lookup (vp, table, key, len, file, line)
#  475|   	hashed_object_t **vp;
#  476|   	struct hash_table *table;

Error: COMPILER_WARNING: [#def643]
dhcp-4.4.3-P1/omapip/hash.c:474:5: warning[-Wold-style-definition]: old-style function definition
#  472|   }
#  473|   
#  474|-> int hash_lookup (vp, table, key, len, file, line)
#  475|   	hashed_object_t **vp;
#  476|   	struct hash_table *table;

Error: GCC_ANALYZER_WARNING (CWE-476): [#def644]
dhcp-4.4.3-P1/omapip/protocol.c:714:23: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘signature’
dhcp-4.4.3-P1/omapip/protocol.c:350:24: release_memory: ‘signature’ is NULL
dhcp-4.4.3-P1/omapip/protocol.c:359:12: branch_false: following ‘false’ branch...
dhcp-4.4.3-P1/omapip/protocol.c:365:14: branch_false: ...to here
dhcp-4.4.3-P1/omapip/protocol.c:365:12: branch_false: following ‘false’ branch (when the strings are non-equal)...
dhcp-4.4.3-P1/omapip/protocol.c:381:14: branch_false: ...to here
dhcp-4.4.3-P1/omapip/protocol.c:381:12: branch_false: following ‘false’ branch (when the strings are non-equal)...
dhcp-4.4.3-P1/omapip/protocol.c:394:14: branch_false: ...to here
dhcp-4.4.3-P1/omapip/protocol.c:394:12: branch_false: following ‘false’ branch (when the strings are non-equal)...
dhcp-4.4.3-P1/omapip/protocol.c:421:13: branch_false: ...to here
dhcp-4.4.3-P1/omapip/protocol.c:421:12: branch_false: following ‘false’ branch (when the strings are equal)...
dhcp-4.4.3-P1/omapip/protocol.c:429:14: branch_false: ...to here
dhcp-4.4.3-P1/omapip/protocol.c:429:12: branch_false: following ‘false’ branch...
dhcp-4.4.3-P1/omapip/protocol.c:674:20: branch_false: following ‘false’ branch...
dhcp-4.4.3-P1/omapip/protocol.c:699:48: branch_false: ...to here
dhcp-4.4.3-P1/omapip/protocol.c:701:20: branch_false: following ‘false’ branch...
dhcp-4.4.3-P1/omapip/protocol.c:710:26: branch_false: ...to here
dhcp-4.4.3-P1/omapip/protocol.c:713:20: branch_true: following ‘true’ branch...
dhcp-4.4.3-P1/omapip/protocol.c:714:33: branch_true: ...to here
dhcp-4.4.3-P1/omapip/protocol.c:714:33: release_memory: ‘signature’ is NULL
dhcp-4.4.3-P1/omapip/protocol.c:714:23: danger: dereference of NULL ‘signature’
#  712|   		/* Verify the signature. */
#  713|   		if (p -> message -> id_object &&
#  714|-> 		    ((signature -> value -> u.buffer.len !=
#  715|   		      p -> message -> authlen) ||
#  716|   		     (memcmp (signature -> value -> u.buffer.value,

Error: GCC_ANALYZER_WARNING (CWE-775): [#def645]
dhcp-4.4.3-P1/relay/dhcrelay.c:318:12: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘open("/dev/null", 524290)’
dhcp-4.4.3-P1/relay/dhcrelay.c:317:14: acquire_resource: opened here
dhcp-4.4.3-P1/relay/dhcrelay.c:318:12: danger: ‘open("/dev/null", 524290)’ leaks here; was opened at [(1)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/0)
#  316|   	   open a file the lowest available file descriptor is used. */
#  317|   	fd = open("/dev/null", O_RDWR | O_CLOEXEC);
#  318|-> 	if (fd == 0)
#  319|   		fd = open("/dev/null", O_RDWR | O_CLOEXEC);
#  320|   	if (fd == 1)

Error: COMPILER_WARNING (CWE-252): [#def646]
dhcp-4.4.3-P1/relay/dhcrelay.c: scope_hint: In function ‘main’
dhcp-4.4.3-P1/relay/dhcrelay.c:706:17: warning[-Wunused-result]: ignoring return value of ‘capng_apply’ declared with attribute ‘warn_unused_result’
#  706 |                 capng_apply(CAPNG_SELECT_BOTH);
#      |                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#  704|   		capng_updatev(CAPNG_ADD, CAPNG_EFFECTIVE|CAPNG_PERMITTED,
#  705|   				CAP_NET_RAW, CAP_NET_BIND_SERVICE, -1);
#  706|-> 		capng_apply(CAPNG_SELECT_BOTH);
#  707|   		log_info ("Dropped all unnecessary capabilities.");
#  708|   	}

Error: COMPILER_WARNING (CWE-252): [#def647]
dhcp-4.4.3-P1/relay/dhcrelay.c:871:17: warning[-Wunused-result]: ignoring return value of ‘capng_apply’ declared with attribute ‘warn_unused_result’
#  871 |                 capng_apply(CAPNG_SELECT_BOTH);
#      |                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#  869|   	if (!keep_capabilities) {
#  870|   		capng_clear(CAPNG_SELECT_BOTH);
#  871|-> 		capng_apply(CAPNG_SELECT_BOTH);
#  872|   		log_info ("Dropped all capabilities.");
#  873|   	}

Error: COMPILER_WARNING: [#def648]
dhcp-4.4.3-P1/server/bootp.c: scope_hint: In function ‘bootp’
dhcp-4.4.3-P1/server/bootp.c:36:6: warning[-Wold-style-definition]: old-style function definition
#   36 | void bootp (packet)
#      |      ^~~~~
#   34|   #endif
#   35|   
#   36|-> void bootp (packet)
#   37|   	struct packet *packet;
#   38|   {

Error: COMPILER_WARNING: [#def649]
dhcp-4.4.3-P1/server/bootp.c:36:6: warning[-Wold-style-definition]: old-style function definition
#   34|   #endif
#   35|   
#   36|-> void bootp (packet)
#   37|   	struct packet *packet;
#   38|   {

Error: COMPILER_WARNING: [#def650]
dhcp-4.4.3-P1/server/class.c: scope_hint: In function ‘classify_client’
dhcp-4.4.3-P1/server/class.c:55:6: warning[-Wold-style-definition]: old-style function definition
#   55 | void classify_client (packet)
#      |      ^~~~~~~~~~~~~~~
#   53|   }
#   54|   
#   55|-> void classify_client (packet)
#   56|   	struct packet *packet;
#   57|   {

Error: COMPILER_WARNING: [#def651]
dhcp-4.4.3-P1/server/class.c:55:6: warning[-Wold-style-definition]: old-style function definition
#   53|   }
#   54|   
#   55|-> void classify_client (packet)
#   56|   	struct packet *packet;
#   57|   {

Error: COMPILER_WARNING: [#def652]
dhcp-4.4.3-P1/server/class.c: scope_hint: In function ‘check_collection’
dhcp-4.4.3-P1/server/class.c:62:5: warning[-Wold-style-definition]: old-style function definition
#   62 | int check_collection (packet, lease, collection)
#      |     ^~~~~~~~~~~~~~~~
#   60|   }
#   61|   
#   62|-> int check_collection (packet, lease, collection)
#   63|   	struct packet *packet;
#   64|   	struct lease *lease;

Error: COMPILER_WARNING: [#def653]
dhcp-4.4.3-P1/server/class.c:62:5: warning[-Wold-style-definition]: old-style function definition
#   60|   }
#   61|   
#   62|-> int check_collection (packet, lease, collection)
#   63|   	struct packet *packet;
#   64|   	struct lease *lease;

Error: COMPILER_WARNING: [#def654]
dhcp-4.4.3-P1/server/class.c: scope_hint: In function ‘classify’
dhcp-4.4.3-P1/server/class.c:195:6: warning[-Wold-style-definition]: old-style function definition
#  195 | void classify (packet, class)
#      |      ^~~~~~~~
#  193|   }
#  194|   
#  195|-> void classify (packet, class)
#  196|   	struct packet *packet;
#  197|   	struct class *class;

Error: COMPILER_WARNING: [#def655]
dhcp-4.4.3-P1/server/class.c:195:6: warning[-Wold-style-definition]: old-style function definition
#  193|   }
#  194|   
#  195|-> void classify (packet, class)
#  196|   	struct packet *packet;
#  197|   	struct class *class;

Error: COMPILER_WARNING: [#def656]
dhcp-4.4.3-P1/server/class.c: scope_hint: In function ‘unbill_class’
dhcp-4.4.3-P1/server/class.c:257:6: warning[-Wold-style-definition]: old-style function definition
#  257 | void unbill_class (lease)
#      |      ^~~~~~~~~~~~
#  255|    * the lease, then remove it at the end.
#  256|    */
#  257|-> void unbill_class (lease)
#  258|   	struct lease *lease;
#  259|   {

Error: COMPILER_WARNING: [#def657]
dhcp-4.4.3-P1/server/class.c:257:6: warning[-Wold-style-definition]: old-style function definition
#  255|    * the lease, then remove it at the end.
#  256|    */
#  257|-> void unbill_class (lease)
#  258|   	struct lease *lease;
#  259|   {

Error: COMPILER_WARNING: [#def658]
dhcp-4.4.3-P1/server/class.c: scope_hint: In function ‘bill_class’
dhcp-4.4.3-P1/server/class.c:296:5: warning[-Wold-style-definition]: old-style function definition
#  296 | int bill_class (lease, class)
#      |     ^~~~~~~~~~
#  294|   }
#  295|   
#  296|-> int bill_class (lease, class)
#  297|   	struct lease *lease;
#  298|   	struct class *class;

Error: COMPILER_WARNING: [#def659]
dhcp-4.4.3-P1/server/class.c:296:5: warning[-Wold-style-definition]: old-style function definition
#  294|   }
#  295|   
#  296|-> int bill_class (lease, class)
#  297|   	struct lease *lease;
#  298|   	struct class *class;

Error: GCC_ANALYZER_WARNING (CWE-457): [#def660]
dhcp-4.4.3-P1/server/confpars.c:183:17: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘file’
dhcp-4.4.3-P1/server/confpars.c:4561:6: enter_function: entry to ‘parse_pool6_statement’
dhcp-4.4.3-P1/server/confpars.c:4575:12: branch_false: following ‘false’ branch...
dhcp-4.4.3-P1/server/confpars.c:4579:12: branch_false: ...to here
dhcp-4.4.3-P1/server/confpars.c:4579:12: branch_true: following ‘true’ branch (when ‘type == 3’)...
dhcp-4.4.3-P1/server/confpars.c:4581:42: branch_true: ...to here
dhcp-4.4.3-P1/server/confpars.c:4591:12: branch_false: following ‘false’ branch...
dhcp-4.4.3-P1/server/confpars.c:4594:13: branch_false: ...to here
dhcp-4.4.3-P1/server/confpars.c:4594:12: branch_false: following ‘false’ branch...
 branch_false: ...to here
dhcp-4.4.3-P1/server/confpars.c:4639:39: call_function: calling ‘parse_statement’ from ‘parse_pool6_statement’
#  181|         noreplay:
#  182|   	if (!trace_playback())
#  183|-> 		close (file);
#  184|   	if (status != ISC_R_SUCCESS || cfile == NULL)
#  185|   		return status;

Error: COMPILER_WARNING (CWE-457): [#def661]
dhcp-4.4.3-P1/server/confpars.c: scope_hint: In function ‘read_conf_file’
dhcp-4.4.3-P1/server/confpars.c:183:17: warning[-Wmaybe-uninitialized]: ‘file’ may be used uninitialized
#  183 |                 close (file);
#      |                 ^~~~~~~~~~~~
dhcp-4.4.3-P1/server/confpars.c:82:13: note: ‘file’ was declared here
#   82 |         int file;
#      |             ^~~~
#  181|         noreplay:
#  182|   	if (!trace_playback())
#  183|-> 		close (file);
#  184|   	if (status != ISC_R_SUCCESS || cfile == NULL)
#  185|   		return status;

Error: COMPILER_WARNING: [#def662]
dhcp-4.4.3-P1/server/confpars.c: scope_hint: In function ‘parse_statement’
dhcp-4.4.3-P1/server/confpars.c:364:5: warning[-Wold-style-definition]: old-style function definition
#  364 | int parse_statement (cfile, group, type, host_decl, declaration)
#      |     ^~~~~~~~~~~~~~~
#  362|   		 | RANGE address-range-declaration */
#  363|   
#  364|-> int parse_statement (cfile, group, type, host_decl, declaration)
#  365|   	struct parse *cfile;
#  366|   	struct group *group;

Error: COMPILER_WARNING: [#def663]
dhcp-4.4.3-P1/server/confpars.c:364:5: warning[-Wold-style-definition]: old-style function definition
#  362|   		 | RANGE address-range-declaration */
#  363|   
#  364|-> int parse_statement (cfile, group, type, host_decl, declaration)
#  365|   	struct parse *cfile;
#  366|   	struct group *group;

Error: COMPILER_WARNING: [#def664]
dhcp-4.4.3-P1/server/confpars.c: scope_hint: In function ‘parse_failover_peer’
dhcp-4.4.3-P1/server/confpars.c:896:6: warning[-Wold-style-definition]: old-style function definition
#  896 | void parse_failover_peer (cfile, group, type)
#      |      ^~~~~~~~~~~~~~~~~~~
#  894|   
#  895|   #if defined (FAILOVER_PROTOCOL)
#  896|-> void parse_failover_peer (cfile, group, type)
#  897|   	struct parse *cfile;
#  898|   	struct group *group;

Error: COMPILER_WARNING: [#def665]
dhcp-4.4.3-P1/server/confpars.c:896:6: warning[-Wold-style-definition]: old-style function definition
#  894|   
#  895|   #if defined (FAILOVER_PROTOCOL)
#  896|-> void parse_failover_peer (cfile, group, type)
#  897|   	struct parse *cfile;
#  898|   	struct group *group;

Error: COMPILER_WARNING: [#def666]
dhcp-4.4.3-P1/server/confpars.c: scope_hint: In function ‘parse_failover_state’
dhcp-4.4.3-P1/server/confpars.c:1323:6: warning[-Wold-style-definition]: old-style function definition
# 1323 | void parse_failover_state (cfile, state, stos)
#      |      ^~~~~~~~~~~~~~~~~~~~
# 1321|   }
# 1322|   
# 1323|-> void parse_failover_state (cfile, state, stos)
# 1324|   	struct parse *cfile;
# 1325|   	enum failover_state *state;

Error: COMPILER_WARNING: [#def667]
dhcp-4.4.3-P1/server/confpars.c:1323:6: warning[-Wold-style-definition]: old-style function definition
# 1321|   }
# 1322|   
# 1323|-> void parse_failover_state (cfile, state, stos)
# 1324|   	struct parse *cfile;
# 1325|   	enum failover_state *state;

Error: COMPILER_WARNING: [#def668]
dhcp-4.4.3-P1/server/confpars.c: scope_hint: In function ‘get_permit’
dhcp-4.4.3-P1/server/confpars.c:1558:6: warning[-Wold-style-definition]: old-style function definition
# 1558 | void get_permit(cfile, permit_head, is_allow, valid_from, valid_until)
#      |      ^~~~~~~~~~
# 1556|    */
# 1557|   
# 1558|-> void get_permit(cfile, permit_head, is_allow, valid_from, valid_until)
# 1559|   	struct parse *cfile;
# 1560|   	struct permit **permit_head;

Error: COMPILER_WARNING: [#def669]
dhcp-4.4.3-P1/server/confpars.c:1558:6: warning[-Wold-style-definition]: old-style function definition
# 1556|    */
# 1557|   
# 1558|-> void get_permit(cfile, permit_head, is_allow, valid_from, valid_until)
# 1559|   	struct parse *cfile;
# 1560|   	struct permit **permit_head;

Error: COMPILER_WARNING: [#def670]
dhcp-4.4.3-P1/server/confpars.c: scope_hint: In function ‘parse_pool_statement’
dhcp-4.4.3-P1/server/confpars.c:1732:6: warning[-Wold-style-definition]: old-style function definition
# 1732 | void parse_pool_statement (cfile, group, type)
#      |      ^~~~~~~~~~~~~~~~~~~~
# 1730|    *        it encounters a problem.
# 1731|    */
# 1732|-> void parse_pool_statement (cfile, group, type)
# 1733|   	struct parse *cfile;
# 1734|   	struct group *group;

Error: COMPILER_WARNING: [#def671]
dhcp-4.4.3-P1/server/confpars.c:1732:6: warning[-Wold-style-definition]: old-style function definition
# 1730|    *        it encounters a problem.
# 1731|    */
# 1732|-> void parse_pool_statement (cfile, group, type)
# 1733|   	struct parse *cfile;
# 1734|   	struct group *group;

Error: COMPILER_WARNING: [#def672]
dhcp-4.4.3-P1/server/confpars.c: scope_hint: In function ‘parse_lbrace’
dhcp-4.4.3-P1/server/confpars.c:1941:5: warning[-Wold-style-definition]: old-style function definition
# 1941 | int parse_lbrace (cfile)
#      |     ^~~~~~~~~~~~
# 1939|      statement and return zero; otherwise, return 1. */
# 1940|   
# 1941|-> int parse_lbrace (cfile)
# 1942|   	struct parse *cfile;
# 1943|   {

Error: COMPILER_WARNING: [#def673]
dhcp-4.4.3-P1/server/confpars.c:1941:5: warning[-Wold-style-definition]: old-style function definition
# 1939|      statement and return zero; otherwise, return 1. */
# 1940|   
# 1941|-> int parse_lbrace (cfile)
# 1942|   	struct parse *cfile;
# 1943|   {

Error: COMPILER_WARNING: [#def674]
dhcp-4.4.3-P1/server/confpars.c: scope_hint: In function ‘parse_host_declaration’
dhcp-4.4.3-P1/server/confpars.c:1959:6: warning[-Wold-style-definition]: old-style function definition
# 1959 | void parse_host_declaration (cfile, group)
#      |      ^~~~~~~~~~~~~~~~~~~~~~
# 1957|   /* host-declaration :== hostname RBRACE parameters declarations LBRACE */
# 1958|   
# 1959|-> void parse_host_declaration (cfile, group)
# 1960|   	struct parse *cfile;
# 1961|   	struct group *group;

Error: COMPILER_WARNING: [#def675]
dhcp-4.4.3-P1/server/confpars.c:1959:6: warning[-Wold-style-definition]: old-style function definition
# 1957|   /* host-declaration :== hostname RBRACE parameters declarations LBRACE */
# 1958|   
# 1959|-> void parse_host_declaration (cfile, group)
# 1960|   	struct parse *cfile;
# 1961|   	struct group *group;

Error: COMPILER_WARNING: [#def676]
dhcp-4.4.3-P1/server/confpars.c: scope_hint: In function ‘parse_class_declaration’
dhcp-4.4.3-P1/server/confpars.c:2226:5: warning[-Wold-style-definition]: old-style function definition
# 2226 | int parse_class_declaration (cp, cfile, group, type)
#      |     ^~~~~~~~~~~~~~~~~~~~~~~
# 2224|   */
# 2225|   
# 2226|-> int parse_class_declaration (cp, cfile, group, type)
# 2227|   	struct class **cp;
# 2228|   	struct parse *cfile;

Error: COMPILER_WARNING: [#def677]
dhcp-4.4.3-P1/server/confpars.c:2226:5: warning[-Wold-style-definition]: old-style function definition
# 2224|   */
# 2225|   
# 2226|-> int parse_class_declaration (cp, cfile, group, type)
# 2227|   	struct class **cp;
# 2228|   	struct parse *cfile;

Error: COMPILER_WARNING: [#def678]
dhcp-4.4.3-P1/server/confpars.c: scope_hint: In function ‘parse_shared_net_declaration’
dhcp-4.4.3-P1/server/confpars.c:2606:6: warning[-Wold-style-definition]: old-style function definition
# 2606 | void parse_shared_net_declaration (cfile, group)
#      |      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
# 2604|   			hostname LBRACE declarations parameters RBRACE */
# 2605|   
# 2606|-> void parse_shared_net_declaration (cfile, group)
# 2607|   	struct parse *cfile;
# 2608|   	struct group *group;

Error: COMPILER_WARNING: [#def679]
dhcp-4.4.3-P1/server/confpars.c:2606:6: warning[-Wold-style-definition]: old-style function definition
# 2604|   			hostname LBRACE declarations parameters RBRACE */
# 2605|   
# 2606|-> void parse_shared_net_declaration (cfile, group)
# 2607|   	struct parse *cfile;
# 2608|   	struct group *group;

Error: COMPILER_WARNING: [#def680]
dhcp-4.4.3-P1/server/confpars.c: scope_hint: In function ‘parse_subnet_declaration’
dhcp-4.4.3-P1/server/confpars.c:2763:6: warning[-Wold-style-definition]: old-style function definition
# 2763 | void parse_subnet_declaration (cfile, share)
#      |      ^~~~~~~~~~~~~~~~~~~~~~~~
# 2761|   	net NETMASK netmask RBRACE parameters declarations LBRACE */
# 2762|   
# 2763|-> void parse_subnet_declaration (cfile, share)
# 2764|   	struct parse *cfile;
# 2765|   	struct shared_network *share;

Error: COMPILER_WARNING: [#def681]
dhcp-4.4.3-P1/server/confpars.c:2763:6: warning[-Wold-style-definition]: old-style function definition
# 2761|   	net NETMASK netmask RBRACE parameters declarations LBRACE */
# 2762|   
# 2763|-> void parse_subnet_declaration (cfile, share)
# 2764|   	struct parse *cfile;
# 2765|   	struct shared_network *share;

Error: COMPILER_WARNING: [#def682]
dhcp-4.4.3-P1/server/confpars.c: scope_hint: In function ‘parse_group_declaration’
dhcp-4.4.3-P1/server/confpars.c:2977:6: warning[-Wold-style-definition]: old-style function definition
# 2977 | void parse_group_declaration (cfile, group)
#      |      ^~~~~~~~~~~~~~~~~~~~~~~
# 2975|   /* group-declaration :== RBRACE parameters declarations LBRACE */
# 2976|   
# 2977|-> void parse_group_declaration (cfile, group)
# 2978|   	struct parse *cfile;
# 2979|   	struct group *group;

Error: COMPILER_WARNING: [#def683]
dhcp-4.4.3-P1/server/confpars.c:2977:6: warning[-Wold-style-definition]: old-style function definition
# 2975|   /* group-declaration :== RBRACE parameters declarations LBRACE */
# 2976|   
# 2977|-> void parse_group_declaration (cfile, group)
# 2978|   	struct parse *cfile;
# 2979|   	struct group *group;

Error: COMPILER_WARNING: [#def684]
dhcp-4.4.3-P1/server/confpars.c: scope_hint: In function ‘parse_address_range’
dhcp-4.4.3-P1/server/confpars.c:3787:6: warning[-Wold-style-definition]: old-style function definition
# 3787 | void parse_address_range (cfile, group, type, inpool, lpchain)
#      |      ^~~~~~~~~~~~~~~~~~~
# 3785|   			       | DYNAMIC_BOOTP ip-address ip-address SEMI */
# 3786|   
# 3787|-> void parse_address_range (cfile, group, type, inpool, lpchain)
# 3788|   	struct parse *cfile;
# 3789|   	struct group *group;

Error: COMPILER_WARNING: [#def685]
dhcp-4.4.3-P1/server/confpars.c:3787:6: warning[-Wold-style-definition]: old-style function definition
# 3785|   			       | DYNAMIC_BOOTP ip-address ip-address SEMI */
# 3786|   
# 3787|-> void parse_address_range (cfile, group, type, inpool, lpchain)
# 3788|   	struct parse *cfile;
# 3789|   	struct group *group;

Error: COMPILER_WARNING: [#def686]
dhcp-4.4.3-P1/server/confpars.c: scope_hint: In function ‘parse_pool6_statement’
dhcp-4.4.3-P1/server/confpars.c:4561:6: warning[-Wold-style-definition]: old-style function definition
# 4561 | void parse_pool6_statement (cfile, group, type)
#      |      ^~~~~~~~~~~~~~~~~~~~~
# 4559|    *        it encounters a problem.
# 4560|    */
# 4561|-> void parse_pool6_statement (cfile, group, type)
# 4562|   	struct parse *cfile;
# 4563|   	struct group *group;

Error: COMPILER_WARNING: [#def687]
dhcp-4.4.3-P1/server/confpars.c:4561:6: warning[-Wold-style-definition]: old-style function definition
# 4559|    *        it encounters a problem.
# 4560|    */
# 4561|-> void parse_pool6_statement (cfile, group, type)
# 4562|   	struct parse *cfile;
# 4563|   	struct group *group;

Error: COMPILER_WARNING: [#def688]
dhcp-4.4.3-P1/server/confpars.c: scope_hint: In function ‘parse_allow_deny’
dhcp-4.4.3-P1/server/confpars.c:4684:5: warning[-Wold-style-definition]: old-style function definition
# 4684 | int parse_allow_deny (oc, cfile, flag)
#      |     ^~~~~~~~~~~~~~~~
# 4682|   			| UNKNOWN_CLIENTS */
# 4683|   
# 4684|-> int parse_allow_deny (oc, cfile, flag)
# 4685|   	struct option_cache **oc;
# 4686|   	struct parse *cfile;

Error: COMPILER_WARNING: [#def689]
dhcp-4.4.3-P1/server/confpars.c:4684:5: warning[-Wold-style-definition]: old-style function definition
# 4682|   			| UNKNOWN_CLIENTS */
# 4683|   
# 4684|-> int parse_allow_deny (oc, cfile, flag)
# 4685|   	struct option_cache **oc;
# 4686|   	struct parse *cfile;

Error: COMPILER_WARNING: [#def690]
dhcp-4.4.3-P1/server/db.c: scope_hint: In function ‘write_lease’
dhcp-4.4.3-P1/server/db.c:98:5: warning[-Wold-style-definition]: old-style function definition
#   98 | int write_lease (lease)
#      |     ^~~~~~~~~~~
#   96|   /* Write the specified lease to the current lease database file. */
#   97|   
#   98|-> int write_lease (lease)
#   99|   	struct lease *lease;
#  100|   {

Error: COMPILER_WARNING: [#def691]
dhcp-4.4.3-P1/server/db.c:98:5: warning[-Wold-style-definition]: old-style function definition
#   96|   /* Write the specified lease to the current lease database file. */
#   97|   
#   98|-> int write_lease (lease)
#   99|   	struct lease *lease;
#  100|   {

Error: COMPILER_WARNING: [#def692]
dhcp-4.4.3-P1/server/db.c: scope_hint: In function ‘write_host’
dhcp-4.4.3-P1/server/db.c:298:5: warning[-Wold-style-definition]: old-style function definition
#  298 | int write_host (host)
#      |     ^~~~~~~~~~
#  296|   }
#  297|   
#  298|-> int write_host (host)
#  299|   	struct host_decl *host;
#  300|   {

Error: COMPILER_WARNING: [#def693]
dhcp-4.4.3-P1/server/db.c:298:5: warning[-Wold-style-definition]: old-style function definition
#  296|   }
#  297|   
#  298|-> int write_host (host)
#  299|   	struct host_decl *host;
#  300|   {

Error: COMPILER_WARNING: [#def694]
dhcp-4.4.3-P1/server/db.c: scope_hint: In function ‘write_group’
dhcp-4.4.3-P1/server/db.c:449:5: warning[-Wold-style-definition]: old-style function definition
#  449 | int write_group (group)
#      |     ^~~~~~~~~~~
#  447|   }
#  448|   
#  449|-> int write_group (group)
#  450|   	struct group_object *group;
#  451|   {

Error: COMPILER_WARNING: [#def695]
dhcp-4.4.3-P1/server/db.c:449:5: warning[-Wold-style-definition]: old-style function definition
#  447|   }
#  448|   
#  449|-> int write_group (group)
#  450|   	struct group_object *group;
#  451|   {

Error: COMPILER_WARNING: [#def696]
dhcp-4.4.3-P1/server/db.c: scope_hint: In function ‘db_printable’
dhcp-4.4.3-P1/server/db.c:821:5: warning[-Wold-style-definition]: old-style function definition
#  821 | int db_printable (s)
#      |     ^~~~~~~~~~~~
#  819|   #endif
#  820|   
#  821|-> int db_printable (s)
#  822|   	const unsigned char *s;
#  823|   {

Error: COMPILER_WARNING: [#def697]
dhcp-4.4.3-P1/server/db.c:821:5: warning[-Wold-style-definition]: old-style function definition
#  819|   #endif
#  820|   
#  821|-> int db_printable (s)
#  822|   	const unsigned char *s;
#  823|   {

Error: COMPILER_WARNING: [#def698]
dhcp-4.4.3-P1/server/db.c: scope_hint: In function ‘db_printable_len’
dhcp-4.4.3-P1/server/db.c:832:5: warning[-Wold-style-definition]: old-style function definition
#  832 | int db_printable_len (s, len)
#      |     ^~~~~~~~~~~~~~~~
#  830|   }
#  831|   
#  832|-> int db_printable_len (s, len)
#  833|   	const unsigned char *s;
#  834|   	unsigned len;

Error: COMPILER_WARNING: [#def699]
dhcp-4.4.3-P1/server/db.c:832:5: warning[-Wold-style-definition]: old-style function definition
#  830|   }
#  831|   
#  832|-> int db_printable_len (s, len)
#  833|   	const unsigned char *s;
#  834|   	unsigned len;

Error: COMPILER_WARNING: [#def700]
dhcp-4.4.3-P1/server/db.c: scope_hint: In function ‘write_billing_class’
dhcp-4.4.3-P1/server/db.c:991:5: warning[-Wold-style-definition]: old-style function definition
#  991 | int write_billing_class (class)
#      |     ^~~~~~~~~~~~~~~~~~~
#  989|   /* Write a spawned class to the database file. */
#  990|   
#  991|-> int write_billing_class (class)
#  992|   	struct class *class;
#  993|   {

Error: COMPILER_WARNING: [#def701]
dhcp-4.4.3-P1/server/db.c:991:5: warning[-Wold-style-definition]: old-style function definition
#  989|   /* Write a spawned class to the database file. */
#  990|   
#  991|-> int write_billing_class (class)
#  992|   	struct class *class;
#  993|   {

Error: COMPILER_WARNING: [#def702]
dhcp-4.4.3-P1/server/dhcp.c: scope_hint: In function ‘print_client_identifier_from_packet’
dhcp-4.4.3-P1/server/dhcp.c:96:7: warning[-Wold-style-definition]: old-style function definition
#   96 | char *print_client_identifier_from_packet (packet)
#      |       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#   94|   static TIME leaseTimeCheck(TIME calculated, TIME alternate);
#   95|   
#   96|-> char *print_client_identifier_from_packet (packet)
#   97|   	struct packet *packet;
#   98|   {

Error: COMPILER_WARNING: [#def703]
dhcp-4.4.3-P1/server/dhcp.c:96:7: warning[-Wold-style-definition]: old-style function definition
#   94|   static TIME leaseTimeCheck(TIME calculated, TIME alternate);
#   95|   
#   96|-> char *print_client_identifier_from_packet (packet)
#   97|   	struct packet *packet;
#   98|   {

Error: COMPILER_WARNING: [#def704]
dhcp-4.4.3-P1/server/dhcp.c: scope_hint: In function ‘print_hw_addr_or_client_id’
dhcp-4.4.3-P1/server/dhcp.c:121:7: warning[-Wold-style-definition]: old-style function definition
#  121 | char *print_hw_addr_or_client_id (packet)
#      |       ^~~~~~~~~~~~~~~~~~~~~~~~~~
#  119|   }
#  120|   
#  121|-> char *print_hw_addr_or_client_id (packet)
#  122|   	struct packet *packet;
#  123|   {

Error: COMPILER_WARNING: [#def705]
dhcp-4.4.3-P1/server/dhcp.c:121:7: warning[-Wold-style-definition]: old-style function definition
#  119|   }
#  120|   
#  121|-> char *print_hw_addr_or_client_id (packet)
#  122|   	struct packet *packet;
#  123|   {

Error: COMPILER_WARNING: [#def706]
dhcp-4.4.3-P1/server/dhcp.c: scope_hint: In function ‘dhcpdiscover’
dhcp-4.4.3-P1/server/dhcp.c:330:6: warning[-Wold-style-definition]: old-style function definition
#  330 | void dhcpdiscover (packet, ms_nulltp)
#      |      ^~~~~~~~~~~~
#  328|   }
#  329|   
#  330|-> void dhcpdiscover (packet, ms_nulltp)
#  331|   	struct packet *packet;
#  332|   	int ms_nulltp;

Error: COMPILER_WARNING: [#def707]
dhcp-4.4.3-P1/server/dhcp.c:330:6: warning[-Wold-style-definition]: old-style function definition
#  328|   }
#  329|   
#  330|-> void dhcpdiscover (packet, ms_nulltp)
#  331|   	struct packet *packet;
#  332|   	int ms_nulltp;

Error: COMPILER_WARNING: [#def708]
dhcp-4.4.3-P1/server/dhcp.c: scope_hint: In function ‘dhcprequest’
dhcp-4.4.3-P1/server/dhcp.c:488:6: warning[-Wold-style-definition]: old-style function definition
#  488 | void dhcprequest (packet, ms_nulltp, ip_lease)
#      |      ^~~~~~~~~~~
#  486|   }
#  487|   
#  488|-> void dhcprequest (packet, ms_nulltp, ip_lease)
#  489|   	struct packet *packet;
#  490|   	int ms_nulltp;

Error: COMPILER_WARNING: [#def709]
dhcp-4.4.3-P1/server/dhcp.c:488:6: warning[-Wold-style-definition]: old-style function definition
#  486|   }
#  487|   
#  488|-> void dhcprequest (packet, ms_nulltp, ip_lease)
#  489|   	struct packet *packet;
#  490|   	int ms_nulltp;

Error: COMPILER_WARNING: [#def710]
dhcp-4.4.3-P1/server/dhcp.c: scope_hint: In function ‘dhcprelease’
dhcp-4.4.3-P1/server/dhcp.c:810:6: warning[-Wold-style-definition]: old-style function definition
#  810 | void dhcprelease (packet, ms_nulltp)
#      |      ^~~~~~~~~~~
#  808|   }
#  809|   
#  810|-> void dhcprelease (packet, ms_nulltp)
#  811|   	struct packet *packet;
#  812|   	int ms_nulltp;

Error: COMPILER_WARNING: [#def711]
dhcp-4.4.3-P1/server/dhcp.c:810:6: warning[-Wold-style-definition]: old-style function definition
#  808|   }
#  809|   
#  810|-> void dhcprelease (packet, ms_nulltp)
#  811|   	struct packet *packet;
#  812|   	int ms_nulltp;

Error: COMPILER_WARNING: [#def712]
dhcp-4.4.3-P1/server/dhcp.c: scope_hint: In function ‘dhcpdecline’
dhcp-4.4.3-P1/server/dhcp.c:964:6: warning[-Wold-style-definition]: old-style function definition
#  964 | void dhcpdecline (packet, ms_nulltp)
#      |      ^~~~~~~~~~~
#  962|   }
#  963|   
#  964|-> void dhcpdecline (packet, ms_nulltp)
#  965|   	struct packet *packet;
#  966|   	int ms_nulltp;

Error: COMPILER_WARNING: [#def713]
dhcp-4.4.3-P1/server/dhcp.c:964:6: warning[-Wold-style-definition]: old-style function definition
#  962|   }
#  963|   
#  964|-> void dhcpdecline (packet, ms_nulltp)
#  965|   	struct packet *packet;
#  966|   	int ms_nulltp;

Error: COMPILER_WARNING: [#def714]
dhcp-4.4.3-P1/server/dhcp.c: scope_hint: In function ‘dhcpinform’
dhcp-4.4.3-P1/server/dhcp.c:1117:6: warning[-Wold-style-definition]: old-style function definition
# 1117 | void dhcpinform (packet, ms_nulltp)
#      |      ^~~~~~~~~~
# 1115|   #endif
# 1116|   
# 1117|-> void dhcpinform (packet, ms_nulltp)
# 1118|   	struct packet *packet;
# 1119|   	int ms_nulltp;

Error: COMPILER_WARNING: [#def715]
dhcp-4.4.3-P1/server/dhcp.c:1117:6: warning[-Wold-style-definition]: old-style function definition
# 1115|   #endif
# 1116|   
# 1117|-> void dhcpinform (packet, ms_nulltp)
# 1118|   	struct packet *packet;
# 1119|   	int ms_nulltp;

Error: COMPILER_WARNING: [#def716]
dhcp-4.4.3-P1/server/dhcp.c: scope_hint: In function ‘nak_lease’
dhcp-4.4.3-P1/server/dhcp.c:1810:6: warning[-Wold-style-definition]: old-style function definition
# 1810 | void nak_lease (packet, cip, network_group)
#      |      ^~~~~~~~~
# 1808|    * \param network_group optional scope for use in setting up options
# 1809|    */
# 1810|-> void nak_lease (packet, cip, network_group)
# 1811|   	struct packet *packet;
# 1812|   	struct iaddr *cip;

Error: COMPILER_WARNING: [#def717]
dhcp-4.4.3-P1/server/dhcp.c:1810:6: warning[-Wold-style-definition]: old-style function definition
# 1808|    * \param network_group optional scope for use in setting up options
# 1809|    */
# 1810|-> void nak_lease (packet, cip, network_group)
# 1811|   	struct packet *packet;
# 1812|   	struct iaddr *cip;

Error: COMPILER_WARNING: [#def718]
dhcp-4.4.3-P1/server/dhcp.c: scope_hint: In function ‘echo_client_id’
dhcp-4.4.3-P1/server/dhcp.c:2058:6: warning[-Wold-style-definition]: old-style function definition
# 2058 | void echo_client_id(packet, lease, in_options, out_options)
#      |      ^~~~~~~~~~~~~~
# 2056|    * \param out_options options to which to save the client-id
# 2057|    */
# 2058|-> void echo_client_id(packet, lease, in_options, out_options)
# 2059|   	struct packet *packet;
# 2060|   	struct lease *lease;

Error: COMPILER_WARNING: [#def719]
dhcp-4.4.3-P1/server/dhcp.c:2058:6: warning[-Wold-style-definition]: old-style function definition
# 2056|    * \param out_options options to which to save the client-id
# 2057|    */
# 2058|-> void echo_client_id(packet, lease, in_options, out_options)
# 2059|   	struct packet *packet;
# 2060|   	struct lease *lease;

Error: COMPILER_WARNING: [#def720]
dhcp-4.4.3-P1/server/dhcp.c: scope_hint: In function ‘check_pool_threshold’
dhcp-4.4.3-P1/server/dhcp.c:2109:6: warning[-Wold-style-definition]: old-style function definition
# 2109 | void check_pool_threshold (packet, lease, state)
#      |      ^~~~~~~~~~~~~~~~~~~~
# 2107|   }
# 2108|   
# 2109|-> void check_pool_threshold (packet, lease, state)
# 2110|        struct packet *packet;
# 2111|        struct lease *lease;

Error: COMPILER_WARNING: [#def721]
dhcp-4.4.3-P1/server/dhcp.c:2109:6: warning[-Wold-style-definition]: old-style function definition
# 2107|   }
# 2108|   
# 2109|-> void check_pool_threshold (packet, lease, state)
# 2110|        struct packet *packet;
# 2111|        struct lease *lease;

Error: COMPILER_WARNING: [#def722]
dhcp-4.4.3-P1/server/dhcp.c: scope_hint: In function ‘ack_lease’
dhcp-4.4.3-P1/server/dhcp.c:2201:6: warning[-Wold-style-definition]: old-style function definition
# 2201 | void ack_lease (packet, lease, offer, when, msg, ms_nulltp, hp)
#      |      ^~~~~~~~~
# 2199|   }
# 2200|   
# 2201|-> void ack_lease (packet, lease, offer, when, msg, ms_nulltp, hp)
# 2202|   	struct packet *packet;
# 2203|   	struct lease *lease;

Error: COMPILER_WARNING: [#def723]
dhcp-4.4.3-P1/server/dhcp.c:2201:6: warning[-Wold-style-definition]: old-style function definition
# 2199|   }
# 2200|   
# 2201|-> void ack_lease (packet, lease, offer, when, msg, ms_nulltp, hp)
# 2202|   	struct packet *packet;
# 2203|   	struct lease *lease;

Error: COMPILER_WARNING: [#def724]
dhcp-4.4.3-P1/server/dhcp.c: scope_hint: In function ‘dhcp_reply’
dhcp-4.4.3-P1/server/dhcp.c:3924:6: warning[-Wold-style-definition]: old-style function definition
# 3924 | void dhcp_reply (lease)
#      |      ^~~~~~~~~~
# 3922|   #endif /* defined(DELAYED_ACK) */
# 3923|   
# 3924|-> void dhcp_reply (lease)
# 3925|   	struct lease *lease;
# 3926|   {

Error: COMPILER_WARNING: [#def725]
dhcp-4.4.3-P1/server/dhcp.c:3924:6: warning[-Wold-style-definition]: old-style function definition
# 3922|   #endif /* defined(DELAYED_ACK) */
# 3923|   
# 3924|-> void dhcp_reply (lease)
# 3925|   	struct lease *lease;
# 3926|   {

Error: COMPILER_WARNING: [#def726]
dhcp-4.4.3-P1/server/dhcp.c: scope_hint: In function ‘permitted’
dhcp-4.4.3-P1/server/dhcp.c:5178:5: warning[-Wold-style-definition]: old-style function definition
# 5178 | int permitted (packet, permit_list)
#      |     ^~~~~~~~~
# 5176|      not. */
# 5177|   
# 5178|-> int permitted (packet, permit_list)
# 5179|   	struct packet *packet;
# 5180|   	struct permit *permit_list;

Error: COMPILER_WARNING: [#def727]
dhcp-4.4.3-P1/server/dhcp.c:5178:5: warning[-Wold-style-definition]: old-style function definition
# 5176|      not. */
# 5177|   
# 5178|-> int permitted (packet, permit_list)
# 5179|   	struct packet *packet;
# 5180|   	struct permit *permit_list;

Error: COMPILER_WARNING: [#def728]
dhcp-4.4.3-P1/server/dhcp.c: scope_hint: In function ‘locate_network’
dhcp-4.4.3-P1/server/dhcp.c:5363:5: warning[-Wold-style-definition]: old-style function definition
# 5363 | int locate_network (packet)
#      |     ^~~~~~~~~~~~~~
# 5361|   #endif
# 5362|   
# 5363|-> int locate_network (packet)
# 5364|   	struct packet *packet;
# 5365|   {

Error: COMPILER_WARNING: [#def729]
dhcp-4.4.3-P1/server/dhcp.c:5363:5: warning[-Wold-style-definition]: old-style function definition
# 5361|   #endif
# 5362|   
# 5363|-> int locate_network (packet)
# 5364|   	struct packet *packet;
# 5365|   {

Error: GCC_ANALYZER_WARNING (CWE-775): [#def730]
dhcp-4.4.3-P1/server/dhcpd.c:308:12: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘open("/dev/null", 524290)’
dhcp-4.4.3-P1/server/dhcpd.c:307:14: acquire_resource: opened here
dhcp-4.4.3-P1/server/dhcpd.c:308:12: danger: ‘open("/dev/null", 524290)’ leaks here; was opened at [(1)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/0)
#  306|              open a file the lowest available file descriptor is used. */
#  307|           fd = open("/dev/null", O_RDWR | O_CLOEXEC);
#  308|->         if (fd == 0)
#  309|                   fd = open("/dev/null", O_RDWR | O_CLOEXEC);
#  310|           if (fd == 1)

Error: COMPILER_WARNING: [#def731]
dhcp-4.4.3-P1/server/dhcpd.c: scope_hint: In function ‘lease_pinged’
dhcp-4.4.3-P1/server/dhcpd.c:1506:6: warning[-Wold-style-definition]: old-style function definition
# 1506 | void lease_pinged (from, packet, length)
#      |      ^~~~~~~~~~~~
# 1504|   }
# 1505|   
# 1506|-> void lease_pinged (from, packet, length)
# 1507|   	struct iaddr from;
# 1508|   	u_int8_t *packet;

Error: COMPILER_WARNING: [#def732]
dhcp-4.4.3-P1/server/dhcpd.c:1506:6: warning[-Wold-style-definition]: old-style function definition
# 1504|   }
# 1505|   
# 1506|-> void lease_pinged (from, packet, length)
# 1507|   	struct iaddr from;
# 1508|   	u_int8_t *packet;

Error: COMPILER_WARNING: [#def733]
dhcp-4.4.3-P1/server/dhcpd.c: scope_hint: In function ‘lease_ping_timeout’
dhcp-4.4.3-P1/server/dhcpd.c:1555:6: warning[-Wold-style-definition]: old-style function definition
# 1555 | void lease_ping_timeout (vlp)
#      |      ^~~~~~~~~~~~~~~~~~
# 1553|   }
# 1554|   
# 1555|-> void lease_ping_timeout (vlp)
# 1556|   	void *vlp;
# 1557|   {

Error: COMPILER_WARNING: [#def734]
dhcp-4.4.3-P1/server/dhcpd.c:1555:6: warning[-Wold-style-definition]: old-style function definition
# 1553|   }
# 1554|   
# 1555|-> void lease_ping_timeout (vlp)
# 1556|   	void *vlp;
# 1557|   {

Error: CPPCHECK_WARNING (CWE-119): [#def735]
dhcp-4.4.3-P1/server/dhcpleasequery.c:1017: error[bufferAccessOutOfBounds]: Buffer is accessed out of bounds: data.buffer->data
# 1015|   	}
# 1016|   	data.data = data.buffer->data;
# 1017|-> 	memcpy(data.buffer->data, &iaaddr->addr, 16);
# 1018|   	lifetime = iaaddr->prefer;
# 1019|   	putULong(data.buffer->data + 16, lifetime);

Error: CPPCHECK_WARNING (CWE-119): [#def736]
dhcp-4.4.3-P1/server/dhcpv6.c:3959: error[bufferAccessOutOfBounds]: Buffer is accessed out of bounds: data.buffer->data
# 3957|   	data.data = data.buffer->data;
# 3958|   
# 3959|-> 	memcpy(data.buffer->data, addr->iabuf, 16);
# 3960|   	putULong(data.buffer->data + 16, reply->send_prefer);
# 3961|   	putULong(data.buffer->data + 20, reply->send_valid);

Error: COMPILER_WARNING: [#def737]
dhcp-4.4.3-P1/server/failover.c: scope_hint: In function ‘enter_failover_peer’
dhcp-4.4.3-P1/server/failover.c:151:14: warning[-Wold-style-definition]: old-style function definition
#  151 | isc_result_t enter_failover_peer (peer)
#      |              ^~~~~~~~~~~~~~~~~~~
#  149|   }
#  150|   
#  151|-> isc_result_t enter_failover_peer (peer)
#  152|   	dhcp_failover_state_t *peer;
#  153|   {

Error: COMPILER_WARNING: [#def738]
dhcp-4.4.3-P1/server/failover.c: scope_hint: In function ‘find_failover_peer’
dhcp-4.4.3-P1/server/failover.c:174:14: warning[-Wold-style-definition]: old-style function definition
#  174 | isc_result_t find_failover_peer (peer, name, file, line)
#      |              ^~~~~~~~~~~~~~~~~~
#  172|   }
#  173|   
#  174|-> isc_result_t find_failover_peer (peer, name, file, line)
#  175|   	dhcp_failover_state_t **peer;
#  176|   	const char *name;

Error: COMPILER_WARNING: [#def739]
dhcp-4.4.3-P1/server/failover.c: scope_hint: In function ‘do_a_failover_option’
dhcp-4.4.3-P1/server/failover.c:645:21: warning[-Wold-style-definition]: old-style function definition
#  645 | static isc_result_t do_a_failover_option (c, link)
#      |                     ^~~~~~~~~~~~~~~~~~~~
#  643|   }
#  644|   
#  645|-> static isc_result_t do_a_failover_option (c, link)
#  646|   	omapi_object_t *c;
#  647|   	dhcp_failover_link_t *link;

Error: COMPILER_WARNING: [#def740]
dhcp-4.4.3-P1/server/failover.c: scope_hint: In function ‘dhcp_failover_state_match_by_name’
dhcp-4.4.3-P1/server/failover.c:3693:1: warning[-Wold-style-definition]: old-style function definition
# 3693 | dhcp_failover_state_match_by_name(state, name)
#      | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# 3691|   
# 3692|   int
# 3693|-> dhcp_failover_state_match_by_name(state, name)
# 3694|   	dhcp_failover_state_t *state;
# 3695|   	failover_option_t *name;

Error: CPPCHECK_WARNING (CWE-758): [#def741]
dhcp-4.4.3-P1/server/ldap.c:555: error[shiftTooManyBitsSigned]: Shifting signed 32-bit value by 31 bits is undefined behaviour
#  553|     for (i=1; i <= netmask; i++)
#  554|       {
#  555|->       nm |= 1 << (32 - i);
#  556|       }
#  557|   

Error: COMPILER_WARNING: [#def742]
dhcp-4.4.3-P1/server/mdb.c: scope_hint: In function ‘enter_class’
dhcp-4.4.3-P1/server/mdb.c:72:14: warning[-Wold-style-definition]: old-style function definition
#   72 | isc_result_t enter_class(cd, dynamicp, commit)
#      |              ^~~~~~~~~~~
#   70|   extern omapi_object_type_t *dhcp_type_host;
#   71|   
#   72|-> isc_result_t enter_class(cd, dynamicp, commit)
#   73|   	struct class *cd;
#   74|   	int dynamicp;

Error: COMPILER_WARNING: [#def743]
dhcp-4.4.3-P1/server/mdb.c:72:14: warning[-Wold-style-definition]: old-style function definition
#   70|   extern omapi_object_type_t *dhcp_type_host;
#   71|   
#   72|-> isc_result_t enter_class(cd, dynamicp, commit)
#   73|   	struct class *cd;
#   74|   	int dynamicp;

Error: COMPILER_WARNING: [#def744]
dhcp-4.4.3-P1/server/mdb.c: scope_hint: In function ‘enter_host’
dhcp-4.4.3-P1/server/mdb.c:221:14: warning[-Wold-style-definition]: old-style function definition
#  221 | isc_result_t enter_host (hd, dynamicp, commit)
#      |              ^~~~~~~~~~
#  219|   }
#  220|   
#  221|-> isc_result_t enter_host (hd, dynamicp, commit)
#  222|   	struct host_decl *hd;
#  223|   	int dynamicp;

Error: COMPILER_WARNING: [#def745]
dhcp-4.4.3-P1/server/mdb.c:221:14: warning[-Wold-style-definition]: old-style function definition
#  219|   }
#  220|   
#  221|-> isc_result_t enter_host (hd, dynamicp, commit)
#  222|   	struct host_decl *hd;
#  223|   	int dynamicp;

Error: COMPILER_WARNING: [#def746]
dhcp-4.4.3-P1/server/mdb.c: scope_hint: In function ‘delete_class’
dhcp-4.4.3-P1/server/mdb.c:458:14: warning[-Wold-style-definition]: old-style function definition
#  458 | isc_result_t delete_class (cp, commit)
#      |              ^~~~~~~~~~~~
#  456|   
#  457|   
#  458|-> isc_result_t delete_class (cp, commit)
#  459|   	struct class *cp;
#  460|   	int commit;

Error: COMPILER_WARNING: [#def747]
dhcp-4.4.3-P1/server/mdb.c:458:14: warning[-Wold-style-definition]: old-style function definition
#  456|   
#  457|   
#  458|-> isc_result_t delete_class (cp, commit)
#  459|   	struct class *cp;
#  460|   	int commit;

Error: COMPILER_WARNING: [#def748]
dhcp-4.4.3-P1/server/mdb.c: scope_hint: In function ‘delete_host’
dhcp-4.4.3-P1/server/mdb.c:490:14: warning[-Wold-style-definition]: old-style function definition
#  490 | isc_result_t delete_host (hd, commit)
#      |              ^~~~~~~~~~~
#  488|   
#  489|   
#  490|-> isc_result_t delete_host (hd, commit)
#  491|   	struct host_decl *hd;
#  492|   	int commit;

Error: COMPILER_WARNING: [#def749]
dhcp-4.4.3-P1/server/mdb.c:490:14: warning[-Wold-style-definition]: old-style function definition
#  488|   
#  489|   
#  490|-> isc_result_t delete_host (hd, commit)
#  491|   	struct host_decl *hd;
#  492|   	int commit;

Error: COMPILER_WARNING: [#def750]
dhcp-4.4.3-P1/server/mdb.c: scope_hint: In function ‘new_address_range’
dhcp-4.4.3-P1/server/mdb.c:782:6: warning[-Wold-style-definition]: old-style function definition
#  782 | void new_address_range (cfile, low, high, subnet, pool, lpchain)
#      |      ^~~~~~~~~~~~~~~~~
#  780|   }
#  781|   
#  782|-> void new_address_range (cfile, low, high, subnet, pool, lpchain)
#  783|   	struct parse *cfile;
#  784|   	struct iaddr low, high;

Error: COMPILER_WARNING: [#def751]
dhcp-4.4.3-P1/server/mdb.c:782:6: warning[-Wold-style-definition]: old-style function definition
#  780|   }
#  781|   
#  782|-> void new_address_range (cfile, low, high, subnet, pool, lpchain)
#  783|   	struct parse *cfile;
#  784|   	struct iaddr low, high;

Error: CPPCHECK_WARNING (CWE-786): [#def752]
dhcp-4.4.3-P1/server/mdb.c:988: error[negativeIndex]: Array 'subnet->netmask.iabuf[16]' accessed at index -12, which is out of bounds.
#  986|   		int i, j;
#  987|   		for (i = 0; i < 128; i++)
#  988|-> 			if (subnet->netmask.iabuf[3 - (i >> 3)]
#  989|   			    & (1 << (i & 7)))
#  990|   				break;

Error: CPPCHECK_WARNING (CWE-786): [#def753]
dhcp-4.4.3-P1/server/mdb.c:992: error[negativeIndex]: Array 'scan->netmask.iabuf[16]' accessed at index -12, which is out of bounds.
#  990|   				break;
#  991|   		for (j = 0; j < 128; j++)
#  992|-> 			if (scan->netmask.iabuf[3 - (j >> 3)] &
#  993|   			    (1 << (j & 7)))
#  994|   				break;

Error: COMPILER_WARNING: [#def754]
dhcp-4.4.3-P1/server/mdb.c: scope_hint: In function ‘enter_subnet’
dhcp-4.4.3-P1/server/mdb.c:1008:6: warning[-Wold-style-definition]: old-style function definition
# 1008 | void enter_subnet (subnet)
#      |      ^~~~~~~~~~~~
# 1006|   
# 1007|   /* Enter a new subnet into the subnet list. */
# 1008|-> void enter_subnet (subnet)
# 1009|   	struct subnet *subnet;
# 1010|   {

Error: COMPILER_WARNING: [#def755]
dhcp-4.4.3-P1/server/mdb.c:1008:6: warning[-Wold-style-definition]: old-style function definition
# 1006|   
# 1007|   /* Enter a new subnet into the subnet list. */
# 1008|-> void enter_subnet (subnet)
# 1009|   	struct subnet *subnet;
# 1010|   {

Error: COMPILER_WARNING: [#def756]
dhcp-4.4.3-P1/server/mdb.c: scope_hint: In function ‘enter_shared_network’
dhcp-4.4.3-P1/server/mdb.c:1055:6: warning[-Wold-style-definition]: old-style function definition
# 1055 | void enter_shared_network (share)
#      |      ^~~~~~~~~~~~~~~~~~~~
# 1053|   /* Enter a new shared network into the shared network list. */
# 1054|   
# 1055|-> void enter_shared_network (share)
# 1056|   	struct shared_network *share;
# 1057|   {

Error: COMPILER_WARNING: [#def757]
dhcp-4.4.3-P1/server/mdb.c:1055:6: warning[-Wold-style-definition]: old-style function definition
# 1053|   /* Enter a new shared network into the shared network list. */
# 1054|   
# 1055|-> void enter_shared_network (share)
# 1056|   	struct shared_network *share;
# 1057|   {

Error: COMPILER_WARNING: [#def758]
dhcp-4.4.3-P1/server/mdb.c: scope_hint: In function ‘new_shared_network_interface’
dhcp-4.4.3-P1/server/mdb.c:1066:6: warning[-Wold-style-definition]: old-style function definition
# 1066 | void new_shared_network_interface (cfile, share, name)
#      |      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
# 1064|   }
# 1065|   
# 1066|-> void new_shared_network_interface (cfile, share, name)
# 1067|   	struct parse *cfile;
# 1068|   	struct shared_network *share;

Error: COMPILER_WARNING: [#def759]
dhcp-4.4.3-P1/server/mdb.c:1066:6: warning[-Wold-style-definition]: old-style function definition
# 1064|   }
# 1065|   
# 1066|-> void new_shared_network_interface (cfile, share, name)
# 1067|   	struct parse *cfile;
# 1068|   	struct shared_network *share;

Error: COMPILER_WARNING: [#def760]
dhcp-4.4.3-P1/server/mdb.c: scope_hint: In function ‘enter_lease’
dhcp-4.4.3-P1/server/mdb.c:1112:6: warning[-Wold-style-definition]: old-style function definition
# 1112 | void enter_lease (lease)
#      |      ^~~~~~~~~~~
# 1110|      until we're done reading in the config file. */
# 1111|   
# 1112|-> void enter_lease (lease)
# 1113|   	struct lease *lease;
# 1114|   {

Error: COMPILER_WARNING: [#def761]
dhcp-4.4.3-P1/server/mdb.c:1112:6: warning[-Wold-style-definition]: old-style function definition
# 1110|      until we're done reading in the config file. */
# 1111|   
# 1112|-> void enter_lease (lease)
# 1113|   	struct lease *lease;
# 1114|   {

Error: COMPILER_WARNING: [#def762]
dhcp-4.4.3-P1/server/mdb.c: scope_hint: In function ‘supersede_lease’
dhcp-4.4.3-P1/server/mdb.c:1155:5: warning[-Wold-style-definition]: old-style function definition
# 1155 | int supersede_lease (comp, lease, commit, propogate, pimmediate, from_pool)
#      |     ^~~~~~~~~~~~~~~
# 1153|      lease. */
# 1154|   
# 1155|-> int supersede_lease (comp, lease, commit, propogate, pimmediate, from_pool)
# 1156|   	struct lease *comp, *lease;
# 1157|   	int commit;

Error: COMPILER_WARNING: [#def763]
dhcp-4.4.3-P1/server/mdb.c:1155:5: warning[-Wold-style-definition]: old-style function definition
# 1153|      lease. */
# 1154|   
# 1155|-> int supersede_lease (comp, lease, commit, propogate, pimmediate, from_pool)
# 1156|   	struct lease *comp, *lease;
# 1157|   	int commit;

Error: COMPILER_WARNING: [#def764]
dhcp-4.4.3-P1/server/mdb.c: scope_hint: In function ‘release_lease’
dhcp-4.4.3-P1/server/mdb.c:1755:6: warning[-Wold-style-definition]: old-style function definition
# 1755 | void release_lease (lease, packet)
#      |      ^~~~~~~~~~~~~
# 1753|   
# 1754|   /* Release the specified lease and re-hash it as appropriate. */
# 1755|-> void release_lease (lease, packet)
# 1756|   	struct lease *lease;
# 1757|   	struct packet *packet;

Error: COMPILER_WARNING: [#def765]
dhcp-4.4.3-P1/server/mdb.c:1755:6: warning[-Wold-style-definition]: old-style function definition
# 1753|   
# 1754|   /* Release the specified lease and re-hash it as appropriate. */
# 1755|-> void release_lease (lease, packet)
# 1756|   	struct lease *lease;
# 1757|   	struct packet *packet;

Error: COMPILER_WARNING: [#def766]
dhcp-4.4.3-P1/server/mdb.c: scope_hint: In function ‘abandon_lease’
dhcp-4.4.3-P1/server/mdb.c:1830:6: warning[-Wold-style-definition]: old-style function definition
# 1830 | void abandon_lease (lease, message)
#      |      ^~~~~~~~~~~~~
# 1828|      particulars to zero, and re-hash it as appropriate. */
# 1829|   
# 1830|-> void abandon_lease (lease, message)
# 1831|   	struct lease *lease;
# 1832|   	const char *message;

Error: COMPILER_WARNING: [#def767]
dhcp-4.4.3-P1/server/mdb.c:1830:6: warning[-Wold-style-definition]: old-style function definition
# 1828|      particulars to zero, and re-hash it as appropriate. */
# 1829|   
# 1830|-> void abandon_lease (lease, message)
# 1831|   	struct lease *lease;
# 1832|   	const char *message;

Error: COMPILER_WARNING: [#def768]
dhcp-4.4.3-P1/server/mdb.c: scope_hint: In function ‘pool_timer’
dhcp-4.4.3-P1/server/mdb.c:1914:6: warning[-Wold-style-definition]: old-style function definition
# 1914 | void pool_timer (vpool)
#      |      ^~~~~~~~~~
# 1912|   
# 1913|   /* Timer called when a lease in a particular pool expires. */
# 1914|-> void pool_timer (vpool)
# 1915|   	void *vpool;
# 1916|   {

Error: COMPILER_WARNING: [#def769]
dhcp-4.4.3-P1/server/mdb.c:1914:6: warning[-Wold-style-definition]: old-style function definition
# 1912|   
# 1913|   /* Timer called when a lease in a particular pool expires. */
# 1914|-> void pool_timer (vpool)
# 1915|   	void *vpool;
# 1916|   {

Error: COMPILER_WARNING: [#def770]
dhcp-4.4.3-P1/server/mdb.c: scope_hint: In function ‘uid_hash_delete’
dhcp-4.4.3-P1/server/mdb.c:2201:6: warning[-Wold-style-definition]: old-style function definition
# 2201 | void uid_hash_delete (lease)
#      |      ^~~~~~~~~~~~~~~
# 2199|   /* Delete the specified lease from the uid hash. */
# 2200|   
# 2201|-> void uid_hash_delete (lease)
# 2202|   	struct lease *lease;
# 2203|   {

Error: COMPILER_WARNING: [#def771]
dhcp-4.4.3-P1/server/mdb.c:2201:6: warning[-Wold-style-definition]: old-style function definition
# 2199|   /* Delete the specified lease from the uid hash. */
# 2200|   
# 2201|-> void uid_hash_delete (lease)
# 2202|   	struct lease *lease;
# 2203|   {

Error: COMPILER_WARNING: [#def772]
dhcp-4.4.3-P1/server/mdb.c: scope_hint: In function ‘hw_hash_delete’
dhcp-4.4.3-P1/server/mdb.c:2331:6: warning[-Wold-style-definition]: old-style function definition
# 2331 | void hw_hash_delete (lease)
#      |      ^~~~~~~~~~~~~~
# 2329|   /* Delete the specified lease from the hardware address hash. */
# 2330|   
# 2331|-> void hw_hash_delete (lease)
# 2332|   	struct lease *lease;
# 2333|   {

Error: COMPILER_WARNING: [#def773]
dhcp-4.4.3-P1/server/mdb.c:2331:6: warning[-Wold-style-definition]: old-style function definition
# 2329|   /* Delete the specified lease from the hardware address hash. */
# 2330|   
# 2331|-> void hw_hash_delete (lease)
# 2332|   	struct lease *lease;
# 2333|   {

Error: GCC_ANALYZER_WARNING (CWE-476): [#def774]
dhcp-4.4.3-P1/server/mdb6.c:2014:17: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘pool’
dhcp-4.4.3-P1/server/mdb6.c:2419:1: enter_function: entry to ‘mark_hosts_unavailable_support’
dhcp-4.4.3-P1/server/mdb6.c:2430:12: branch_false: following ‘false’ branch...
dhcp-4.4.3-P1/server/mdb6.c:2437:9: branch_false: ...to here
dhcp-4.4.3-P1/server/mdb6.c:2438:12: branch_false: following ‘false’ branch...
dhcp-4.4.3-P1/server/mdb6.c:2444:13: branch_false: ...to here
dhcp-4.4.3-P1/server/mdb6.c:2444:12: branch_false: following ‘false’ branch...
dhcp-4.4.3-P1/server/mdb6.c:2449:23: branch_false: ...to here
dhcp-4.4.3-P1/server/mdb6.c:2457:9: release_memory: ‘p’ is NULL
dhcp-4.4.3-P1/server/mdb6.c:2457:9: release_memory: ‘p’ is NULL
dhcp-4.4.3-P1/server/mdb6.c:2457:9: release_memory: ‘p’ is NULL
dhcp-4.4.3-P1/server/mdb6.c:2457:9: release_memory: ‘p’ is NULL
dhcp-4.4.3-P1/server/mdb6.c:2457:9: release_memory: ‘p’ is NULL
dhcp-4.4.3-P1/server/mdb6.c:2458:13: call_function: calling ‘find_ipv6_pool’ from ‘mark_hosts_unavailable_support’
dhcp-4.4.3-P1/server/mdb6.c:2458:13: return_function: returning to ‘mark_hosts_unavailable_support’ from ‘find_ipv6_pool’
dhcp-4.4.3-P1/server/mdb6.c:2462:13: call_function: calling ‘find_ipv6_pool’ from ‘mark_hosts_unavailable_support’
dhcp-4.4.3-P1/server/mdb6.c:2462:13: return_function: returning to ‘mark_hosts_unavailable_support’ from ‘find_ipv6_pool’
dhcp-4.4.3-P1/server/mdb6.c:2462:12: branch_true: following ‘true’ branch...
dhcp-4.4.3-P1/server/mdb6.c:2463:17: branch_true: ...to here
dhcp-4.4.3-P1/server/mdb6.c:2463:17: release_memory: ‘p’ is NULL
dhcp-4.4.3-P1/server/mdb6.c:2463:17: call_function: calling ‘mark_lease_unavailable’ from ‘mark_hosts_unavailable_support’
# 2012|   	if (result == ISC_R_SUCCESS) {
# 2013|   		dummy_iasubopt->addr = *addr;
# 2014|-> 		iasubopt_hash_add(pool->leases, &dummy_iasubopt->addr,
# 2015|   				  sizeof(*addr), dummy_iasubopt, MDL);
# 2016|   	}

Error: COMPILER_WARNING: [#def775]
dhcp-4.4.3-P1/server/salloc.c: scope_hint: In function ‘new_leases’
dhcp-4.4.3-P1/server/salloc.c:84:15: warning[-Wold-style-definition]: old-style function definition
#   84 | struct lease *new_leases (n, file, line)
#      |               ^~~~~~~~~~
#   82|   #endif
#   83|   
#   84|-> struct lease *new_leases (n, file, line)
#   85|   	unsigned n;
#   86|   	const char *file;

Error: COMPILER_WARNING: [#def776]
dhcp-4.4.3-P1/server/salloc.c:84:15: warning[-Wold-style-definition]: old-style function definition
#   82|   #endif
#   83|   
#   84|-> struct lease *new_leases (n, file, line)
#   85|   	unsigned n;
#   86|   	const char *file;

Error: COMPILER_WARNING: [#def777]
dhcp-4.4.3-P1/server/salloc.c: scope_hint: In function ‘new_lease_state’
dhcp-4.4.3-P1/server/salloc.c:174:21: warning[-Wold-style-definition]: old-style function definition
#  174 | struct lease_state *new_lease_state (file, line)
#      |                     ^~~~~~~~~~~~~~~
#  172|   struct lease_state *free_lease_states;
#  173|   
#  174|-> struct lease_state *new_lease_state (file, line)
#  175|   	const char *file;
#  176|   	int line;

Error: COMPILER_WARNING: [#def778]
dhcp-4.4.3-P1/server/salloc.c:174:21: warning[-Wold-style-definition]: old-style function definition
#  172|   struct lease_state *free_lease_states;
#  173|   
#  174|-> struct lease_state *new_lease_state (file, line)
#  175|   	const char *file;
#  176|   	int line;

Error: COMPILER_WARNING: [#def779]
dhcp-4.4.3-P1/server/salloc.c: scope_hint: In function ‘free_lease_state’
dhcp-4.4.3-P1/server/salloc.c:198:6: warning[-Wold-style-definition]: old-style function definition
#  198 | void free_lease_state (ptr, file, line)
#      |      ^~~~~~~~~~~~~~~~
#  196|   }
#  197|   
#  198|-> void free_lease_state (ptr, file, line)
#  199|   	struct lease_state *ptr;
#  200|   	const char *file;

Error: COMPILER_WARNING: [#def780]
dhcp-4.4.3-P1/server/salloc.c:198:6: warning[-Wold-style-definition]: old-style function definition
#  196|   }
#  197|   
#  198|-> void free_lease_state (ptr, file, line)
#  199|   	struct lease_state *ptr;
#  200|   	const char *file;

Error: COMPILER_WARNING: [#def781]
dhcp-4.4.3-P1/server/salloc.c: scope_hint: In function ‘new_permit’
dhcp-4.4.3-P1/server/salloc.c:233:16: warning[-Wold-style-definition]: old-style function definition
#  233 | struct permit *new_permit (file, line)
#      |                ^~~~~~~~~~
#  231|   #endif
#  232|   
#  233|-> struct permit *new_permit (file, line)
#  234|   	const char *file;
#  235|   	int line;

Error: COMPILER_WARNING: [#def782]
dhcp-4.4.3-P1/server/salloc.c:233:16: warning[-Wold-style-definition]: old-style function definition
#  231|   #endif
#  232|   
#  233|-> struct permit *new_permit (file, line)
#  234|   	const char *file;
#  235|   	int line;

Error: COMPILER_WARNING: [#def783]
dhcp-4.4.3-P1/server/salloc.c: scope_hint: In function ‘free_permit’
dhcp-4.4.3-P1/server/salloc.c:245:6: warning[-Wold-style-definition]: old-style function definition
#  245 | void free_permit (permit, file, line)
#      |      ^~~~~~~~~~~
#  243|   }
#  244|   
#  245|-> void free_permit (permit, file, line)
#  246|   	struct permit *permit;
#  247|   	const char *file;

Error: COMPILER_WARNING: [#def784]
dhcp-4.4.3-P1/server/salloc.c:245:6: warning[-Wold-style-definition]: old-style function definition
#  243|   }
#  244|   
#  245|-> void free_permit (permit, file, line)
#  246|   	struct permit *permit;
#  247|   	const char *file;

Scan Properties

analyzer-version-clippy1.86.0
analyzer-version-cppcheck2.17.1
analyzer-version-gcc15.0.1
analyzer-version-gcc-analyzer15.0.1
analyzer-version-shellcheck0.10.0
analyzer-version-unicontrol0.0.2
enabled-pluginsclippy, cppcheck, gcc, shellcheck, unicontrol
exit-code0
hostip-172-16-1-71.us-west-2.compute.internal
known-false-positives/usr/share/csmock/known-false-positives.js
known-false-positives-rpmknown-false-positives-0.0.0.20250425.124705.g1c7c448.main-1.el9.noarch
mock-configfedora-rawhide-x86_64
project-namedhcp-4.4.3-21.fc43
store-results-to/tmp/tmpp5p_iyda/dhcp-4.4.3-21.fc43.tar.xz
time-created2025-04-25 12:28:43
time-finished2025-04-25 12:36:36
toolcsmock
tool-args'/usr/bin/csmock' '-r' 'fedora-rawhide-x86_64' '-t' 'unicontrol,cppcheck,gcc,clippy,shellcheck' '-o' '/tmp/tmpp5p_iyda/dhcp-4.4.3-21.fc43.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '--install' 'pam' '--gcc-analyzer-bin=/usr/bin/gcc' '/tmp/tmpp5p_iyda/dhcp-4.4.3-21.fc43.src.rpm'
tool-versioncsmock-3.8.1.20250422.172604.g26bc3d6-1.el9