v1.9.14
getaddrinfo stub: set sin_port
Add adminconfdir and --enable-adminconf to set it. Configuration paths in sudo are now a colon-separated list of files with the adminconfdir instance first (if enabled), followed by a sysconfdir instance.
Change max user-ID and group-ID from INT_MAX to UINT_MAX.
Check for sudo_pow2_roundup() overflow. Calling sudo_pow2_roundup(INT_MAX+2) will return since there is no power of 2 larger than INT_MAX+1 that fits in an unsigned int. This is not an issue in practice since we restrict messages to 2Mib.
Make sure INET_ADDRSTRLEN and INET6_ADDRSTRLEN are defined.
Convert config file paths to colon-separated path list. This means that _PATH_SUDO_CONF, _PATH_SUDOERS, _PATH_SUDO_LOGSRVD_CONF, and _PATH_CVTSUDOERS_CONF can now specify multiple files. The first file that exists is used.
Use #include <config.h> not #include "config.h" for consistency. Otherwise, some compilers may do the wrong thing in a build dir if there is a config.h file in the source dir too.
Add basic regress for JSON functions. Fix a bug in escaped control character handling. Roll back changes to buffer if sudo_json_add_value() fails.
Quiet some harmless PVS Studio warnings.
Protect use of AF_INET6 with HAVE_STRUCT_IN6_ADDR guards. From Tim Rice.
Add missing PVS Studio Open Source comments. Also avoid checking protobuf-c source and protobuf-c generated files.