From: Bart V. A. <bva...@us...> - 2022-10-10 14:49:25
|
This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project "Net-SNMP". The branch, master has been updated d9a12bcf4a3658b17e0d7bbf81b1c28e5408284c -> 7233ec6a4b15d3281e7a700c84aeee81f2897d0f commit d9a12bcf4a3658b17e0d7bbf81b1c28e5408284c Author: Bart Van Assche <bva...@ac...> Date: Sun Oct 9 16:18:39 2022 -0700 testing/fulltests/unit-tests/T028_objid: Add this unit test commit 4c1b37bbb193c3c8dcda2240ef86b8435b66283a Author: Bart Van Assche <bva...@ac...> Date: Mon Oct 10 07:20:23 2022 -0700 libsnmp: Fix the encoding of zero-length OIDs Encode OIDs with length zero as 0.0 instead of 0.0.0. Fixes: https://github.com/net-snmp/net-snmp/issues/435 commit ebd4ec4cc978e303fc7a1a06ecd462b336b3609b Author: Bart Van Assche <bva...@ac...> Date: Sun Oct 9 16:36:01 2022 -0700 libsnmp: Declare snmp_build_var_op() input arguments const Additionally, change the type of the sixth argument from u_char * into const void *. Remove the casts that became superfluous because of this change. commit 81f58f65af307e6fee613c05a1b0b8b27d36fab7 Author: Bart Van Assche <bva...@ac...> Date: Sun Oct 9 16:29:54 2022 -0700 libsnmp: Declare asn_build_objid() input argument const Additionally, remove a cast that became superfluous because of this change. commit 25fcb89babf7c6d9bacbd0cd41eb9a9b0fc8fe7e Author: Bart Van Assche <bva...@ac...> Date: Sun Oct 9 15:10:21 2022 -0700 libsnmp: Remove casts from asn_realloc() This patch does not change any functionality. commit b61bfcb8fa2f38acf0d1d1bdb00c1ab17a6af8e4 Author: Bart Van Assche <bva...@ac...> Date: Sun Oct 9 15:11:45 2022 -0700 libsnmp: Remove casts from snmp_realloc() This patch does not change any functionality. commit 50d421b0670f0815696af2bccb1b7a4f4127d30c Author: Bart Van Assche <bva...@ac...> Date: Mon Oct 10 07:26:52 2022 -0700 Convert to the ANSI C syntax Summary of changes: include/net-snmp/library/asn1.h | 2 +- include/net-snmp/library/snmp.h | 4 +- snmplib/asn1.c | 24 +++--- snmplib/snmp.c | 26 +++--- snmplib/snmp_api.c | 6 +- snmplib/tools.c | 4 +- snmplib/transports/snmpTLSBaseDomain.c | 2 +- .../fulltests/unit-tests/T018read_config_capp.c | 2 +- testing/fulltests/unit-tests/T028_objid_clib.c | 95 ++++++++++++++++++++++ 9 files changed, 127 insertions(+), 38 deletions(-) create mode 100644 testing/fulltests/unit-tests/T028_objid_clib.c hooks/post-receive -- Net-SNMP |