Add tests for snmpTargetAddr
(cherry picked from commit 71f319cd23445c6e22a60a1a85f31c2b6904b3fb)
Sanitize.

Change to use SNMPv3 since that is writeable in V5-6-patches.
Change to check values on index 'A'
Remove the check for embedded NUL in indices.
Add some more tests for snmpTargetAddr
(cherry picked from commit 6e13ebb85e44049846eae7f60e050375f9acf58e)
Sanitized
Check that snmpTargetAddrTimeout handles setting properly
Check that the timeout value is in range.
Merge branch 'V5-4-patches' into V5-5-patches

* V5-4-patches:
  Check that the timeout value is in range.
Merge branch 'V5-5-patches' into V5-6-patches

* V5-5-patches:
  Check that the timeout value is in range.
Revert 78dac6e37943d1ad99841898806ea60b0eede636 and resolve a2478 in a way that avoids truncating snmpTargetAddrTimeout.
Merge branch 'V5-4-patches' into V5-5-patches

* V5-4-patches:
  Revert 78dac6e37943d1ad99841898806ea60b0eede636 and resolve a2478 in a way that avoids truncating snmpTargetAddrTimeout.
Merge branch 'V5-5-patches' into V5-6-patches

* V5-5-patches:
  Revert 78dac6e37943d1ad99841898806ea60b0eede636 and resolve a2478 in a way that avoids truncating snmpTargetAddrTimeout.
CHANGES: snmplib: Fixed parsing of sequences.

Don't overwrite 'data' variable, it's used when parsing bulk responses.
Merge branch 'V5-5-patches' into V5-6-patches

* V5-5-patches:
  CHANGES: snmplib: Fixed parsing of sequences.
Removing useless check, entry->d_name is array and can't be NULL.
Fixed return value on error.
snmpd: Refactor init_kmem()

This patch does not change any functionality.
CHANGES: BUG: 2476: snmpd fails to start on AIX

On an AIX system there is no <kvm.h> header file nor do the /dev/dmem
or /dev/drum devices exist and hence DMEM_LOC is not defined. Avoid
that init_kmem() fails in that case.
Merge branch 'V5-4-patches' into V5-5-patches

* V5-4-patches:
  CHANGES: BUG: 2476: snmpd fails to start on AIX
  snmpd: Refactor init_kmem()
CHANGES: snmplib: Fix NETSNMP_FD_SET_BYTES()

This patch avoids that unit test T009large_fd_set_clib crashes on AIX.
Merge branch 'V5-5-patches' into V5-6-patches

* V5-5-patches:
  CHANGES: snmplib: Fix NETSNMP_FD_SET_BYTES()
  CHANGES: BUG: 2476: snmpd fails to start on AIX
  snmpd: Refactor init_kmem()
Win32: Build fix: Export skip_white_const(), skip_not_white_const() and read_config_read_octet_string_const()