# -*- text -*-

----------------------------------------------------------------------

Changes: V5.8.rc4 -> V5.8

commit caff5ff65cd72664dedea827356f966317aa7a6d
Author: Robert Story <rstory@freesnmp.com>
Date:   Mon Jul 16 09:40:09 2018 -0400

    make depend for 5.8

commit faac86366307666c02ce813f45180a068fc92dba
Author: Robert Story <rstory@freesnmp.com>
Date:   Mon Jul 16 00:23:22 2018 -0400

    master out of Release Candidate

commit 3aa9e011267435fc62efda4cbfc97d53a0acf0ab
Author: Robert Story <rstory@freesnmp.com>
Date:   Sun Jul 15 23:50:23 2018 -0400

    Version number update: 5.8

commit dfd0604c19f6cc0d8cffce7d50e1c513266544c9
Author: Bart Van Assche <bvanassche@acm.org>
Date:   Thu Jun 21 19:22:37 2018 -0700

    snmplib/transports: Unbreak the MSVC build
    
    Adding an integer to a void pointer works fine with gcc but not with MSVC.
    Hence convert the expressions that add an integer to a void pointer into
    a construct that is standard C.

----------------------------------------------------------------------

Changes: V5.8.rc3 -> V5.8.rc4

commit 7a6dfaaeeffd4c6fdecbaf26371e7da8e778a67a
Author: Robert Story <rstory@freesnmp.com>
Date:   Thu Jun 28 18:33:54 2018 -0400

    make depend for 5.8.rc4

commit 826a0a326fc15cfc4bbefb6a316dc0376a6f4c0a
Author: Robert Story <rstory@freesnmp.com>
Date:   Thu Jun 28 18:25:56 2018 -0400

    Version number update: 5.8.rc4

commit 2b1d51aba50992549de03f76b77f045c63bd1296
Author: Bart Van Assche <bvanassche@acm.org>
Date:   Fri Jun 8 07:39:27 2018 +0200

    SNMP-TARGET-MIB: Fix snmpTargetAddrTAddress
    
    See also https://sourceforge.net/p/net-snmp/bugs/2871/.
    
    Reported-by: Anders Wallin <wayline@users.sourceforge.net>
    Fixes: 3bd8dc8b2d90 ("snmplib/transports: Avoid that the create_from_ostring methods truncate IPv6 addresses")

----------------------------------------------------------------------

Changes: V5.8.rc2 -> V5.8.rc3

commit 780f24a0189591c37b240cdb8ab99af631f8aeb8
Author: Robert Story <rstory@freesnmp.com>
Date:   Fri May 25 15:53:41 2018 -0400

    make depend for 5.8.rc3

commit f25d035172fb18a730c0e70ee8f23cc419a36d88
Author: Robert Story <rstory@freesnmp.com>
Date:   Fri May 25 15:18:34 2018 -0400

    Version number update: 5.8.rc3

commit c60e23b0c0979dbb2a034ff23f29fb10062213ef
Author: Robert Story <rstory@freesnmp.com>
Date:   Fri May 25 15:09:13 2018 -0400

    don't auto merge dist/release
    
    this might pull in undesired changes during release

commit fe5c40acf61f4c08cad72724a24208167d4fc378
Author: Robert Story <rstory@freesnmp.com>
Date:   Fri May 25 15:01:24 2018 -0400

    dist script to run right version of autoheader

commit f83f865d8a0843b369695b8e23cb794c723e6fa8
Author: Bart Van Assche <bvanassche@acm.org>
Date:   Sun May 20 14:35:24 2018 -0700

    Cygwin: Make it again possible to build with OpenSSL
    
    Remove #define OPENSSL_SYS_WIN32 since that tells OpenSSL to include
    the Winsock header file. Define VC_EXTRALEAN and WIN32_LEAN_AND_MEAN
    to avoid that header files are included from <windows.h> that conflict
    with the OpenSSL header files. This patch avoids that building without
    --with-openssl=internal fails.
    
    This patch reverts 0657b90b7181 ("Cygwin, scapi.h: Fix build")

commit c56db2a5880fd0e9bde8eed98c2722a353d39eaa
Author: Bart Van Assche <bvanassche@acm.org>
Date:   Sat May 19 07:49:58 2018 -0700

    snmplib: Avoid that sprint_realloc_octet_string() triggers a segmentation fault
    
    strlcpy() implementations typically scan for the end of the source argument
    passed to strlcpy(). Hence avoid passing an unterminated string to strlcpy().
    
    Reported-by: Stuart Henderson <stu@spacehopper.org>
    Fixes: 7f05daa8e0e0 ("CHANGES: BUG: 3444939: BUG: 1796886: snmplib: Avoid that sprint_realloc_octet_string() embeds unprintable control characters or binary zeroes in its output. This behavior could cause truncated output in snmptrapd.")

----------------------------------------------------------------------

Changes: V5.8.rc1 -> V5.8.rc2

commit c906e444167cd0c83182da336f274361770f94a6 (HEAD -> master)
Author: Robert Story <rstory@freesnmp.com>
Date:   Fri May 18 17:22:09 2018 -0400

    make depend for 5.8.rc2

commit 7677ab7fa419f0d77c438b116c38feb622bf8dd4
Author: Robert Story <rstory@freesnmp.com>
Date:   Fri May 18 17:02:25 2018 -0400

    Version number update: 5.8.rc2

commit 0b5f73255ad120cd5b6233e0cc64dd0f425494b4 (origin/master, origin/HEAD)
Author: Robert Story <rstory@freesnmp.com>
Date:   Fri May 18 13:00:01 2018 -0400

    Revert "fix for setting engineBoots and engineTime (e.g. -Z cli arg)"
    
    This reverts commit 988562514b05a2bc01be4462b99874d081600252.
    
    Further testing needed.

commit 737105284bf2d31347cdf2a4510919cb78ec6e8c
Author: Bart Van Assche <bvanassche@acm.org>
Date:   Sat Apr 14 11:32:24 2018 -0700

    Add Travis and Appveyor CI support
    
    This patch makes it possible to enable Travis and Appveyor continuous
    integration support. On Travis Net-SNMP is built with all MIBs, with
    --disable-set-support, with --enable-mini-agent, with --enable-minimalist
    and with --enable-read-only. All these configurations are built on Linux
    and on OS/X. On Appveyor Net-SNMP is built with MSVC and dynamic
    libraries, with MSVC and statically linked libraryes, with MinGW64, with
    Cygwin32 and with Cygwin64. As one can see in the scripts in the "ci"
    directory the to-do items are as follows:
    
    - Fix the TLSTCP test on Travis.
    - Fix the MinGW64 build. That build fails with a linker error.
    - Ensure that walking the entire MIB works on Darwin.
    - Make the regression tests pass for the Cygwin builds.
    - Make the regression tests pass for --disable-set-support,s
      --enable-mini-agent, --enable-minimalist and --enable-read-only.
    - Make the non-default MIBs compatible with --disable-set-support,
      --enable-mini-agent, --enable-minimalist and --enable-read-only.

commit 03257e5201b9657b87915791585e4068533b1fa1
Author: Niels Baggesen <nba@users.sourceforge.net>
Date:   Thu May 17 15:53:54 2018 +0200

    Additional patch for NetBSD 8 support.

commit e14027bce1615c57770a1eba18423b5a4b97eada (origin/crypto.ch)
Author: Niels Baggesen <nba@users.sourceforge.net>
Date:   Wed May 16 18:56:08 2018 -0700

    MIB-II, at: Fix Solaris build

    Fixes: 5103db3c189d ("mibII/at: Split into multiple source files")

commit 131afbbde6e202f93237fd9769969556a6a3aef5
Author: Bill Fenner <fenner@gmail.com>
Date:   Tue May 15 15:05:17 2018 +0000

    Don't try to build snmpping when set support is disabled.

commit be40ee3f799d66516d00185de86d9472fb153760
Author: Stuart Henderson <stu@spacehopper.org>
Date:   Fri May 11 21:48:22 2018 +0100

    Install missing system header files

commit 882e28a5f828c07c5fda835564e60ecc5e38ec92
Author: Bart Van Assche <bvanassche@acm.org>
Date:   Mon May 7 05:20:46 2018 -0700

    Cygwin64: Fix winExtDLL build

    The winExtDLL code assumes that sizeof(oid) == 4. Hence define the
    'oid' type as unsigned int when building with MSVC, MinGW or Cygwin.
    This patch avoids that building winExtDLL with Cygwin64 fails on the
    following statement:

        netsnmp_static_assert(sizeof(oid) == sizeof(UINT));

commit 0d99e0176803c6390405c4ae8e028dfd329ed54a
Author: Robert Story <rstory@freesnmp.com>
Date:   Sun May 13 20:31:05 2018 -0400

    restore auth/priv defines for protocol OID lengths (for backwards compatability)

commit 4b518ed4971126dd874f64e0058347e9d622471b
Author: Bart Van Assche <bvanassche@acm.org>
Date:   Mon May 7 07:47:24 2018 -0700

    CHANGES: BUG: 2815: Display UTF-8 characters again

    Before commit 7f05daa8e0e0 sprint_realloc_octet_string() used memcpy()
    for ASCII strings. That caused the output to be truncated if a '\0' was
    embedded in an octet string. Commit 7f05daa8e0e0 fixed that issue but
    broke UTF-8 support. Restore UTF-8 support by only using
    sprint_realloc_asciistring() if the octet string contains a '\0'.

    Fixes: 7f05daa8e0e0 ("CHANGES: BUG: 3444939: BUG: 1796886: snmplib: Avoid that sprint_realloc_octet_string() embeds unprintable control characters or binary zeroes in its output. This behavior could cause truncated output in snmptrapd.")

commit f35ebb57b9c3f937db99b2b57728cc1e07ff381a
Author: Bart Van Assche <bvanassche@acm.org>
Date:   Sun May 6 21:13:14 2018 -0700

    configure.ac: Fix recently introduced autoreconf warnings

    A recent patch introduced an invocation of AC_CHECK_HEADER before AC_AIX.
    However, AC_AIX must be invoked before AC_CHECK_HEADER. Hence move AC_AIX
    from configure.d/config_os_progs into configure.ac. Additionally, since
    AC_AIX is obsolete, use AC_USE_SYSTEM_EXTENSIONS instead. This patch fixes
    all instances of the following autoreconf warnings:

    configure.d/config_os_progs:98: warning: AC_COMPILE_IFELSE was called before AC_USE_SYSTEM_EXTENSIONS
    ../../lib/autoconf/specific.m4:432: AC_AIX is expanded from...
    configure.d/config_os_progs:98: the top level
    configure.d/config_os_progs:98: warning: AC_RUN_IFELSE was called before AC_USE_SYSTEM_EXTENSIONS
    ../../lib/autoconf/specific.m4:432: AC_AIX is expanded from...
    configure.d/config_os_progs:98: the top level

	Fixes: eef22ea5f92b ("Verify AES support when --with-openssl is provided")

----------------------------------------------------------------------

Changes: V5.8.pre3 -> V5.8.rc1

commit 0a2738ace2a52e4086c067e5f49df9389e90d353
Author: Robert Story <rstory@freesnmp.com>
Date:   Sun May 6 17:45:17 2018 -0400

    Release Candidate for master

commit b0fa7f242ab0bc2f7eca72c88f2f2acc325d98af
Author: Robert Story <rstory@freesnmp.com>
Date:   Sun May 6 17:45:12 2018 -0400

    Version number update: 5.8.rc1

commit 5bfc977c6da865c0265de064964368a760602e75
Author: Robert Story <rstory@freesnmp.com>
Date:   Sun May 6 17:43:00 2018 -0400

    regenerate configure

commit cc45578c2fa0b94f7762057ee3b8a0b795c497ff
Author: Bill Fenner <fenner@gmail.com>
Date:   Sun May 6 13:05:55 2018 +0000

    snmpd: BUG: 2864: use clientaddr properly
    
    The code parsed out the address from the clientaddr spec,
    then used the return value wrong and only respected it
    if it existed but didn't parse properly.

commit 7eb6eba5677c4e5a3d607df97e4342f122875c94
Author: Robert Story <rstory@freesnmp.com>
Date:   Sun May 6 16:21:02 2018 -0400

    dup save string from default store; restore before possible branches

commit e56699f5e2ef6b38132a0f497e40c122b6cb5ec4
Author: Bill Fenner <fenner@gmail.com>
Date:   Sun May 6 13:05:25 2018 +0000

    Add the ability to set the source address with "-s" for trapsess

commit a7feed9082dd700068166e0d5b7bdf138760da5f
Author: Robert Story <rstory@freesnmp.com>
Date:   Sun May 6 15:55:45 2018 -0400

    move declarations to top of function

commit 0e24df65b2b095453b46f5101a24e3feed2b6bfb
Author: Robert Story <rstory@freesnmp.com>
Date:   Sun May 6 15:52:19 2018 -0400

    fix compiler warning

commit fdc16201c52f607fea24dc742248373407eca825
Author: Anders Wallin <wayline@users.sourceforge.net>
Date:   Sun May 6 02:56:51 2018 -0700

    CHANGES: BUG: 1366: Pass proper buffer length to netsnmp_tls_fingerprint_build()

commit 3da9c1c74e1f1284f981d0a4d5a24406ccb98f87
Author: Bart Van Assche <bvanassche@acm.org>
Date:   Sat May 5 15:59:17 2018 -0700

    libsnmp: Flush persistent config to persistent storage
    
    From the fsync() man page: "returns EBADF if fd is not a valid open file
    descriptor". Hence call fsync() before closing 'fout' instead of after
    closing it. Ensure that fsync() gets called when building with MSVC on
    Windows. See also Smith, Stewart, and A. B. MySQL. "Eat My Data: How
    everybody gets file I/O wrong." OSCON, Portland, Oregon (2008)
    (http://mirror.linux.org.au/pub/linux.conf.au/2007/video/wednesday/278.pdf).
    
    Fixes: 4ae6ed444687 ("call fsync after writing persistent config")

commit 82bd09e3d9b94b2e3cc69a4f458c7dcd0bae0845
Author: Bart Van Assche <bvanassche@acm.org>
Date:   Sat May 5 16:39:04 2018 -0700

    SNMP-USM-DH-OBJECTS-MIB: Fix a compiler warning
    
    Avoid that the following warning is reported when building against an
    older openssl library:
    
    snmp-usm-dh-objects-mib/usmDHParameters/usmDHParameters.c: In function 'init_usmDHParameters':
    snmp-usm-dh-objects-mib/usmDHParameters/usmDHParameters.c:44:9: warning: implicit declaration of function 'DH_set0_pqg' [-Wimplicit-function-declaration]
             DH_set0_pqg(dh_params, p, NULL, g);
             ^
    
    See also commit 3317a7c66362 ("Remove duplicated function in usmDHParameters.c that breaks compilation with LibreSSL 2.7.2 (OpenBSD 6.3)")

commit 71f4d0a8b369b2dfe0e85bd2e3664be0d8bfe7a8
Author: Robert Story <rstory@freesnmp.com>
Date:   Sat May 5 00:48:16 2018 -0400

    add fallthrough comment to quell compiler warning

commit 4ae6ed444687f32b69c04d5b7d1bc868fd67d195
Author: Robert Story <rstory@freesnmp.com>
Date:   Sat May 5 00:46:39 2018 -0400

    call fsync after writing persistent config

commit b42547643a235501a60d993c0789f2d420e2394d
Author: Robert Story <rstory@freesnmp.com>
Date:   Sat May 5 00:32:43 2018 -0400

    remove unused variables

commit ec684fd45895f015cce790671322293b8cdf6d0d
Author: Robert Story <rstory@freesnmp.com>
Date:   Thu May 3 12:21:19 2018 -0400

    Add more names to README

commit f42aeb52e63147b5789cccde1ef997370191849e
Author: Bart Van Assche <bvanassche@acm.org>
Date:   Fri May 4 04:39:53 2018 -0700

    CHANGES: BUG: 2831: Move libnetsnmpagent global variable declarations into a separate header file
    
    Because commit 81b65f4d23a9 added declarations for several global variables
    to public header files, applications that declare global variables with the
    same names no longer build. Hence move the global variables that were added
    by that commit to public header files into a new header file.
    
    Fixes: 81b65f4d23a9 ("Move declarations of global functions and variables from .c to .h")

commit 6a42ba096b7efc1690ed83d5951289bd64e1b091
Author: Niels Baggesen <nba@users.sourceforge.net>
Date:   Fri May 4 15:07:18 2018 +0200

    NetBSD 8 only exports krb5_auth_con_getsendsubkey, so separate configure
    detection for krb5_auth_con_getrecvsubkey and krb5_auth_con_getsendsubkey.

commit 54f87b6b6b80b440d4db7c4c676703f57fccd19a
Author: Niels Baggesen <nba@users.sourceforge.net>
Date:   Fri May 4 15:05:01 2018 +0200

    Support for NetBSD 8

commit 3317a7c66362b01b4fd3c0f32a38b10ea53cb4cb
Author: Niels Baggesen <nba@users.sourceforge.net>
Date:   Fri May 4 15:02:56 2018 +0200

    Remove duplicated function in usmDHParameters.c that breaks compilation with
    LibreSSL 2.7.2 (OpenBSD 6.3)

commit e8ed8e5eab1813f15964823741f04163c1c1b326
Author: Niels Baggesen <nba@users.sourceforge.net>
Date:   Fri May 4 14:59:35 2018 +0200

    mibs: Add SNMP-USM-HMAC-SHA2-MIB.txt

commit eb340300964cf1563e2f9472cfa20ff410cc24e6
Author: Keith Mendoza <keith@homepluspower.info>
Date:   Tue May 1 09:36:52 2018 -0700

    Check if disman/ping was enabled at top of test
    
    Checking that the functionality is enabled should occur before checking if a raw socket can be created

commit eef22ea5f92bf79dac39b8d26c644f10cd975f68
Author: Keith Mendoza <keith@homepluspower.info>
Date:   Mon Apr 23 12:23:33 2018 -0700

    Verify AES support when --with-openssl is provided
    
    --enable-bluementhal-aes needs the OpenSSL AES library

commit 5c9c9f92383112e9c263dfd3da7ab27245504025
Author: Bart Van Assche <bvanassche@acm.org>
Date:   Fri Apr 27 20:18:21 2018 -0700

    Win32: Export set_enginetime() to unbreak the DLL build
    
    Fixes: 988562514b05 ("fix for setting engineBoots and engineTime (e.g. -Z cli arg)")

commit 8625748d09081563887051651957d119d7387f15
Author: Robert Story <rstory@freesnmp.com>
Date:   Fri Apr 27 17:05:09 2018 -0400

    fix path in rsync command

commit 2b4941946deb6eb0294f8a6794d20f92801e4a67
Author: Eugene M. Kim <eugene.kim@ntti3.com>
Date:   Tue Oct 17 18:17:23 2017 -0700

    Fix/enforce ipDefaultRouterLifetime value range
    
    IP-MIB defines ipDefaultRouterLifetime to be in 0..65535 range, but the
    current code 1) erroneously uses 0xFFFFFFFFUL (4294967296) as the max
    value, and 2) does not clip the computed value that exceeds the maximum
    (this was unnecessary probably because the max value was also the max
    value permitted for the underlying type uint32_t).
    
    Fix IPDEFAULTROUTERLIFETIME_MAX to be 65535 (0xFFFF) and clip
    out-of-range values to the max value.

----------------------------------------------------------------------

Changes: V5.8.pre2 -> V5.8.pre3

commit c3d1c9ea1632343641b09c960b0594e8d85778b6
Author: Robert Story <rstory@isi.edu>
Date:   Fri Apr 27 15:58:14 2018 -0400

    tweak comments to remove embedded C++ style comments

commit 6f68d4c77d00a6aebdb0ddbfe9e1fa3c0da3fba8
Author: Robert Story <rstory@isi.edu>
Date:   Fri Apr 27 14:53:57 2018 -0400

    ignore swap files

commit 1302012b5faebf0cd511f98d7ef94c13f9593036
Author: Robert Story <rstory@isi.edu>
Date:   Fri Apr 27 14:52:37 2018 -0400

    Version number update: 5.8.pre3

commit 27edef51c4c45b2dd31177dcdb60c825927e6d95
Author: Robert Story <rstory@isi.edu>
Date:   Fri Apr 27 14:51:02 2018 -0400

    update makerelease repository; change SVN references to git

commit 988562514b05a2bc01be4462b99874d081600252
Author: Robert Story <rstory@isi.edu>
Date:   Fri Apr 27 14:44:00 2018 -0400

    fix for setting engineBoots and engineTime (e.g. -Z cli arg)

commit bcc4ac1490fc1fda25b0449daef8a89393857bf5
Author: Robert Story <rstory@isi.edu>
Date:   Fri Apr 27 14:29:43 2018 -0400

    always dup Apsz and Xpsz since they are unconditionally freed

commit 6c1b10eae8433da9ed0a1801e4842b2bd2bcca13
Author: Robert Story <rstory@freesnmp.com>
Date:   Fri Apr 27 12:46:28 2018 -0400

    remove C++ style comments

commit 66a47d6914e426778c1975db48a74104244485a3
Author: Robert Story <rstory@freesnmp.com>
Date:   Fri Apr 27 12:45:07 2018 -0400

    add copyrights to files split from at.c

commit 6219d6574cfa120748ba7f271afcd7f1e52d4fcf
Author: Robert Story <rstory@freesnmp.com>
Date:   Fri Apr 27 12:46:06 2018 -0400

    fix build by removing premature headers
    
    these caused the convenience typedefs such as u_long and u_char to
    not be defined

commit 8c4cff6b749c396b920925255853a54408c6bbd1
Author: Anders Wallin <anders.wallin@windriver.com>
Date:   Wed Apr 11 09:27:28 2018 +0200

    TLSTM MIB: Fix support for sha256, 384 and 512 fingerprints
    
    Increase the fingerprint buffers such that these can fit sha256, 384
    and 512 fingerprints.
    
    Signed-off-by: Anders Wallin <anders.wallin@windriver.com>
    [ bvanassche: edited commit message ]

commit c514d7f1394e44ea21fb01929b1dffc1a03c858f
Author: Anders Wallin <wallinux@gmail.com>
Date:   Thu Apr 26 17:21:21 2018 +0200

    TLSTM MIB: Fix cache handler for snmpTlstmCertToTSNCount
    
    Signed-off-by: Anders Wallin <wallinux@gmail.com>

commit 2014d49a94ce0ea66f967ed5fda7b4685cbabda1
Author: Bart Van Assche <bvanassche@acm.org>
Date:   Wed Apr 25 16:44:25 2018 -0600

    Win32: Clean up libsnmp Makefiles

commit 1449f8ac2d4d7c8df639bb242a4f004ed24ef70c
Author: Bart Van Assche <bvanassche@acm.org>
Date:   Wed Apr 25 19:06:25 2018 -0600

    Win32, MSVC, OpenSSL: Link with the correct libraries

commit 46bd69b6f598978b7a1fc61da13c7dbc0ecda0bc
Author: Bart Van Assche <bvanassche@acm.org>
Date:   Wed Apr 25 17:27:07 2018 -0600

    Win32, TLS transport: Avoid that the compiler complains about symbol redefinitions

commit 65d73540715fd90964a0c6737411dfe6501d1551
Author: Bart Van Assche <bvanassche@acm.org>
Date:   Wed Apr 25 17:25:46 2018 -0600

    MSVC: Add defines to net-snmp-config.h for the latest OpenSSL library

commit 93453d25593135ded56c24492d17892ba47d93d8
Author: Bart Van Assche <bvanassche@acm.org>
Date:   Wed Apr 25 16:44:25 2018 -0600

    Win32: Clean up libsnmp Makefiles

commit 47e6ff61f5aa27dd87bfc4e301dfc39501b75f87
Author: Andrew Stormont <andy-js@users.sourceforge.net>
Date:   Wed Apr 25 14:56:12 2018 -0600

    Solaris, libsnmp: Avoid that linking fails due to an undefined reference to in6addr_any

commit cf139ad64cc85c3dd155336fec8e3e261fb548eb
Author: Andrew Stormont <andy-js@users.sourceforge.net>
Date:   Wed Apr 25 06:57:24 2018 -0600

    Solaris, Host Resources MIB: Fix process argument parsing
    
    See also https://sourceforge.net/p/net-snmp/patches/1361/.

commit 2d96aada9c3c61d204125188a55cc3f10c14af03
Author: Andrew Stormont <andy-js@users.sourceforge.net>
Date:   Wed Apr 25 06:46:54 2018 -0600

    Solaris, hardware: Display full CPU description
    
    See also https://sourceforge.net/p/net-snmp/patches/1360/.

commit 55575b4027633c86e5f7633eea24549476466187
Author: Bart Van Assche <bvanassche@acm.org>
Date:   Tue Apr 24 17:28:59 2018 -0600

    agent/kernel.c: Fix MSVC build

commit f640af307e36115dca631922e0762438b74c4b12
Author: Bart Van Assche <bvanassche@acm.org>
Date:   Tue Apr 24 17:32:35 2018 -0600

    Fix configure.d/config_net_snmp_config_h
    
    Fixes: e835935dbae5 ("Patches: 1358: Uncouple kmem support from NETSNMP_CAN_USE_NLIST")

commit d6eb690cbee7854a26a213017c4ae24258c1cf21
Author: Bart Van Assche <bvanassche@acm.org>
Date:   Tue Apr 24 10:02:58 2018 -0600

    snmplib, IPv4 transport: Avoid that -Dnetsnmp_tcp triggers an assertion failure
    
    Fixes: e3fd8c38503f ("snmplib/transports/snmpIPv4BaseDomain.c: Make netsnmp_ipv4_fmtaddr() more robust")
    
    Note: before the aforementioned commit -Dnetsnmp_tcp triggered an
    out-of-bounds read.

commit 9a1e91009dc149de135107d75b6dce7404d2982e
Author: Bart Van Assche <bvanassche@acm.org>
Date:   Tue Apr 24 10:19:45 2018 -0600

    Avoid that the compiler complains about missing declarations for init_kmem() and free_kmem()
    
    Fixes: 06c2d80d0aa5 ("Merge branch 'V5-7-patches'")

commit 25bfa920013983e96e433e93e5fc2331730a46f2
Author: Andrew Stormont <andy-js@users.sourceforge.net>
Date:   Tue Apr 24 09:06:52 2018 -0600

    MIB-II, host resources, BSD: Remove redundant code from sh_count_procs()

commit ddc6c6fa08747beb74663d3efbf73843e45637db
Author: Andrew Stormont <andy-js@users.sourceforge.net>
Date:   Tue Apr 24 09:08:24 2018 -0600

    MIB-II, host resources, BSD: Fix a memory leak in netsnmp_arch_swrun_container_load()

commit e835935dbae5ee2dbd9fa13a24e34b2862c7a4bf
Author: Andrew Stormont <andy-js@users.sourceforge.net>
Date:   Tue Apr 24 07:56:44 2018 -0600

    Patches: 1358: Uncouple kmem support from NETSNMP_CAN_USE_NLIST

commit acd4ee40cbb5d6c713e7471f1b7da4bdd0064574
Author: Bart Van Assche <bvanassche@acm.org>
Date:   Mon Apr 23 10:18:27 2018 -0600

    configure: Avoid that probing of SSL transport modules fails
    
    Avoid that probing of the DTLSUDP and TLSTCP transport modules fails
    as follows if --with-openssl=<path> has been specified:
    
      checking for and configuring transport modules to use... In file included from module_tmp_header.h:177:
      ./include/net-snmp/library/snmpTLSBaseDomain.h:13:10: fatal error: 'openssl/bio.h' file not found
      #include "openssl/bio.h"
               ^
      1 error generated.
      In file included from module_tmp_header.h:177:
      ./include/net-snmp/library/snmpTLSBaseDomain.h:13:10: fatal error: 'openssl/bio.h' file not found
      #include "openssl/bio.h"
               ^

commit 3c104af5de3d19ef913a4480960a5012cb8501ec
Author: Bart Van Assche <bvanassche@acm.org>
Date:   Mon Apr 23 06:57:03 2018 -0600

    Darwin: Let the configure script determine whether or not SHA256 and SHA512 are available

commit 9ddf75dfb643ccf23982f5054b6efb47d5214bb3
Author: Bill Fenner <fenner@gmail.com>
Date:   Wed Apr 11 11:32:05 2018 -0700

    Fix minimal agent with tls: move X509_get_signature_nid outside NETSNMP_FEATURE_REMOVE_CERT_DUMP_NAMES

commit ae88f1a5cea848b6ed561687b79d7b42b574a268
Author: Bart Van Assche <bvanassche@acm.org>
Date:   Sat Apr 21 22:35:53 2018 -0700

    Win32: Fix MIB-II build

commit 5103db3c189d87af1bd7e39c1d9e7bacc89cbf5e
Author: Bart Van Assche <bvanassche@acm.org>
Date:   Thu Apr 12 11:22:29 2018 -0600

    mibII/at: Split into multiple source files
    
    Split the implementations of ARP_Scan_Init(), ARP_Scan_Next()
    and var_atEntry() into one function per platform and move these
    implementations to separate source files. Additionally, move the
    ARPTAB_SYMBOL and ARPTAB_SIZE_SYMBOL definitions from the
    include/net-snmp/system/*.h include files into the mibII/at
    implementation. This change reduces the number of #ifdefs in the
    mibII/at code drastically.

commit a16d7742e412c9eee684118ea899b7165f4510b6
Author: Bart Van Assche <bvanassche@acm.org>
Date:   Thu Apr 12 11:20:11 2018 -0600

    mibII/at: Make ARP_Scan_Next() accept four arguments on all platforms
    
    Instead of using #ifdefs to discriminate between platforms on which
    it is possible to query the interface index and platforms on which
    this is not possible, make ARP_Scan_Next() set ifIndex to zero if
    the interface index cannot be queried and make var_atEntry translate
    that value into 1.

commit b2ff05cb4cc7b382019de5194108f89ca5979a39
Author: Bart Van Assche <bvanassche@acm.org>
Date:   Sat Apr 21 19:16:07 2018 -0700

    c tests: Ensure that linking succeeds if the openssl path has been specified explicitly

commit e49295383003b1522b83df760c5384f1b8803a28
Author: Bart Van Assche <bvanassche@acm.org>
Date:   Fri Apr 20 20:56:21 2018 -0700

    testing/fulltests/default/T023snmpv3getMD5AES_simple: Skip if the openssl aes.h header file is not available

commit 3054ac2102eb29f3b5956abe98f3abd17bfa6f84
Author: Bart Van Assche <bvanassche@acm.org>
Date:   Thu Apr 19 19:03:08 2018 -0700

    testing/fulltests/transports/T361tlstcp_simple: Skip if TLS-TCP is disabled
    
    Fixes: 5d8a5efc1d59 ("tests for minimally testing all the transports")

commit 7babf86b438725c6c9fae7089a90cd94799c49cf
Author: Bart Van Assche <bvanassche@acm.org>
Date:   Sat Apr 21 18:43:31 2018 -0700

    python: Ensure that linking succeeds if the openssl path has been specified explicitly

commit ed29326f1b56c8554e0fec79cb743622c9453426
Author: Bart Van Assche <bvanassche@acm.org>
Date:   Fri Apr 20 09:55:48 2018 -0700

    Darwin >= 15: Avoid ___CFConstantStringClassReference symbol not found failures
    
    See also https://sourceforge.net/p/net-snmp/bugs/2850/.

commit 945c7cd57cbbca6061cb632705de441ae7b98fd9
Author: Bart Van Assche <bvanassche@acm.org>
Date:   Thu Apr 19 22:16:54 2018 -0700

    win32/Configure: Improve robustness

commit 3492c22bb6b730dec0941522199eeca7524ce6ed
Author: Bart Van Assche <bvanassche@acm.org>
Date:   Sat Mar 31 19:20:41 2018 -0700

    Avoid that test T070com2sec_simple fails due to DNS filtering

commit 52795c2e0801913a0b91c250e65ca6cd41e16c77
Author: Bart Van Assche <bvanassche@acm.org>
Date:   Sat Apr 14 15:46:14 2018 -0700

    perl/OID/OID.xs: Fix a compiler warning
    
    Avoid that clang reports the following compiler warning:
    
    OID.xs:366:38: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
                        __snprint_value (buf, buf_len, &vbdata, indexnode,
                                         ^~~

commit bd176f4785cd7a47154502ecea2555bdbb91c877
Author: Bart Van Assche <bvanassche@acm.org>
Date:   Sat Apr 14 15:14:21 2018 -0700

    configure: Document that --with-perl-modules=verbose is helpful while debugging Makefile.PL files

commit e93f0c54f025d2a31ff100259fce5f484eee46ac
Author: Bart Van Assche <bvanassche@acm.org>
Date:   Sat Apr 14 13:07:30 2018 -0700

    testing/fulltests/unit-tests/T003copy_nword_clib: Fix Darwin compiler warnings

commit 2eff423b8b4269498ce2525a1b180890934413be
Author: Bart Van Assche <bvanassche@acm.org>
Date:   Sat Apr 14 12:53:11 2018 -0700

    Add support for Darwin 15, 16 and 17

commit 13fe7de92a7551817dfbf474e845e88a59a3c884
Author: Bart Van Assche <bvanassche@acm.org>
Date:   Sat Apr 14 12:49:48 2018 -0700

    MIB-II: Restore the declaration of TCP_Count_Connections()
    
    Fixes: 81b65f4d23a9 ("Move declarations of global functions and variables from .c to .h")

commit 36f5813fb5bd9d12cdd015d35ec80defed42838e
Author: Bart Van Assche <bvanassche@acm.org>
Date:   Sat Apr 14 09:41:31 2018 -0700

    Windows, MIB-II, system: Read Windows version from registry

commit 6d86c72614936a0fb3b56619965c96a5b120d89c
Author: Bart Van Assche <bvanassche@acm.org>
Date:   Sat Apr 14 08:43:26 2018 -0700

    Cygwin, swrun: Avoid using GetVersionEx()

commit 8c8d5638413a90e423083c793b5d6be49a591281
Author: Bart Van Assche <bvanassche@acm.org>
Date:   Sat Apr 14 11:17:43 2018 -0700

    Win32, MSVC batch build: Embed OpenSSL library path in Makefiles instead of appending it to %LIB%
    
    This makes it possible to rebuild Net-SNMP by running 'nmake' after
    having edited one or more source files without having to modify %LIB%.

commit d8be6fc26e1006a7e03d922a04611d4e2cb69c44
Author: Bart Van Assche <bvanassche@acm.org>
Date:   Sat Apr 14 04:35:19 2018 -0700

    Win32: Enable cross-compilation in build.pl
    
    Allow e.g. 64-bit binaries to be built on a 32-bit system if Perl
    modules are not enabled.

commit 5bd95fe6f916d043ac7c5411510dfb8a669c9ab6
Author: Bart Van Assche <bvanassche@acm.org>
Date:   Fri Apr 13 21:24:31 2018 -0700

    Windows: Avoid casting a pointer to an integer type with a different size
    
    This patch fixes bug https://sourceforge.net/p/net-snmp/bugs/2848/.

commit 38fb9890a1e27bec336a09e20e725534d8939168
Author: Bill Fenner <fenner@gmail.com>
Date:   Wed Apr 11 07:50:48 2018 -0700

    make python client build with --enable-read-only

commit 37b948c3d6451c6f31e066d52ef9a528985ea7c7
Author: Bill Fenner <fenner@gmail.com>
Date:   Wed Apr 11 13:56:36 2018 +0000

    CHANGES: snmpd: BUG: 2846: fix agent compile when both --enable-read-only and --disable-set-support are given.

commit d8939faf1e724ff042dd4af83cac360a15883825
Author: Bill Fenner <fenner@gmail.com>
Date:   Wed Apr 11 13:53:29 2018 +0000

    CHANGES: snmpd: BUG: 2845: fix compilation error with NETSNMP_NO_WRITE_SUPPORT

commit 4d1d375df29aa52b8c01893d687dfdd55204eb04
Author: Bill Fenner <fenner@gmail.com>
Date:   Tue Apr 10 20:31:38 2018 +0000

    CHANGES: snmpd: BUG: 2810: from "Minzhuan Gong": fix compile with --enable-read-only

commit eca6ad6d8ff488839187f05a62dc2ec053c53b2b
Author: Bill Fenner <fenner@gmail.com>
Date:   Sun Apr 8 13:53:25 2018 +0000

    Don't check the sign of a 0-length int64
    
    When there are no data bytes, don't try to check
    a nonexistent byte for the sign.  Also, include
    all of the data bytes for unsigned-64 and
    signed-64 in the dumpx_recv tracing.

commit e59591c5111c17b2561816b04ac3632661df19cd
Author: Bill Fenner <fenner@gmail.com>
Date:   Tue Apr 3 14:20:12 2018 -0700

    snmplib: asn1: audit length checks
    
    1. propagate error from asn_parse_length in asn_check_packet
    2. Audit calls to _asn_short_err, make sure that the second arg
       is the length being checked against, and the third arg is the
       length needed.
    3. Make sure that we have the two bytes needed for opaque
       types before testing them.
    4. For opaque types, update the length to reflect the inner opaque
       type before checking that we have enough data.

commit e5ad10de8e175e443351be3e14e87067ff9bded8
Author: Keith Mendoza <pantherse@gmail.com>
Date:   Wed Mar 21 21:33:27 2018 -0700

    Quote provided encryption key in createUser line
    
    Fixes bug #2812

commit 20c63da4317d0c6f41be1e8826a91e3e8e7aa72f
Author: Bill Fenner <fenner@gmail.com>
Date:   Tue Apr 3 14:20:12 2018 -0700

    snmplib: asn1: audit length checks
    
    1. propagate error from asn_parse_length in asn_check_packet
    2. Audit calls to _asn_short_err, make sure that the second arg
       is the length being checked against, and the third arg is the
       length needed.
    3. Make sure that we have the two bytes needed for opaque
       types before testing them.
    4. For opaque types, update the length to reflect the inner opaque
       type before checking that we have enough data.

commit 37c11615de3cfb2c934ccb334a8ccb8bbde85d89
Author: Bill Fenner <fenner@gmail.com>
Date:   Sun Apr 1 16:58:51 2018 +0000

    CHANGES: agentx: from "Google AutoFuzz project": account for the nul character we will add to the string.

commit 95e59ff91b20fb82b22c373ef4bff2cb94271385
Author: Bill Fenner <fenner@gmail.com>
Date:   Thu Mar 29 17:03:36 2018 -0700

    CHANGES: agentx: from "Google Autofuzz project": additional agentx protocol parser bounds checking

commit 883934016bd47181f32f031fe3c7d409d4c5fa82
Author: Magnus Fromreide <magfr@lysator.liu.se>
Date:   Sun Mar 25 23:50:17 2018 +0200

    Coverity 266329: Free allocated resources in case of error

commit c0d0bc4c37e60d93ca47e0ee0c29a431c59de712
Author: Bart Van Assche <bvanassche@acm.org>
Date:   Sat Mar 24 11:46:28 2018 -0700

    snmplib/keytools: Ensure that keylen is initialized for all error paths

commit d08ffd7d0c61f114e717eadaa1cf696735dcca6b
Author: Bart Van Assche <bvanassche@acm.org>
Date:   Sat Mar 24 12:36:54 2018 -0700

    snmplib, vacm: Remove dead code
    
    Since it is guaranteed that accessEntry == NULL after "goto bail" has
    been executed, remove the code that depends on accessEntry != NULL.
    This patch fixes Coverity ID 144350.

commit d3920fcedf5c1bcaee30d5308943e78b4a429eb0
Author: Bart Van Assche <bvanassche@acm.org>
Date:   Sat Mar 24 12:34:11 2018 -0700

    snmplib, snmpusm: Remove a superfluous check
    
    Checking whether or not a pointer is not NULL after it has been dereferenced
    is not useful. Hence remove the check. This patch fixes Coverity ID 144385.

commit f138736bedc82008566063119d301bad07e3e5f8
Author: Bart Van Assche <bvanassche@acm.org>
Date:   Sat Mar 24 12:32:35 2018 -0700

    snmplib, snmp_api: Remove a superfluous check
    
    Checking whether a pointer is not NULL after it has been dereferenced
    is not useful. Hence remove the != NULL check. This patch fixes Coverity
    ID 144387.

commit fb763ef6f390ac8dec4d7c0c0160f648464d587d
Author: Bart Van Assche <bvanassche@acm.org>
Date:   Sun Mar 25 08:22:18 2018 -0700

    Revert "perl: Unbreak Perl module linking"
    
    The Perl module build problems were caused by a concurrent build
    (make -j<n>) and not by a problem in any of the Makefile.PL files.
    Hence revert commit 347d4cf207b8.

commit 0545bc80654a081aed5969f425dc2f2b45f3cccf
Author: Bill Fenner <fenner@gmail.com>
Date:   Sun Mar 25 15:08:27 2018 +0000

    CHANGES: snmplib: asn1: from "Google Autofuzz project": propagate error from asn_parse_length

commit 52ccd5b24fbaed5a75156b3da07b83fa4b80e2e2
Author: Bart Van Assche <bvanassche@acm.org>
Date:   Sat Mar 24 09:54:33 2018 -0700

    apps/sshtosnmp: Initialize read_set
    
    This patch fixes Coverity ID 266307.

commit 6407a3ec77c959e789ccee2eaf58d117dd27cdb6
Author: Bart Van Assche <bvanassche@acm.org>
Date:   Sat Mar 24 09:52:50 2018 -0700

    apps/sshtosnmp: Avoid overflowing an output buffer
    
    This patch fixes Coverity ID 266309.

commit 1744c0279d8ebab010192af07bf7a4c6cecc42dc
Author: Bart Van Assche <bvanassche@acm.org>
Date:   Sat Mar 24 15:30:28 2018 -0700

    snmpd, DISMAN MIB: Avoid dereferencing a NULL pointer
    
    This patch fixes Coverity ID 85560.

commit 844c37e7207b902af1097c6baac0a22bf6d7c039
Author: Bart Van Assche <bvanassche@acm.org>
Date:   Sat Mar 24 15:28:18 2018 -0700

    snmpd, dlmod: Avoid dereferencing a NULL pointer
    
    This patch fixes Coverity ID 144354.

commit bb2fe7fea965610449a939c6cd1f4788181d1ac8
Author: Bart Van Assche <bvanassche@acm.org>
Date:   Sat Mar 24 15:25:18 2018 -0700

    snmpd, pass_persist: Avoid dereferencing a NULL pointer
    
    This patch fixes Coverity ID 266321.

commit 0c7ea894ff832d928c1427ae6e9ec1fb9b7abc0b
