From 374248fe50672549bd1e5cd53ddb5bdfdcc66b65 Mon Sep 17 00:00:00 2001 From: Patrick J Volkerding Date: Fri, 9 Nov 2018 21:46:09 +0000 Subject: Fri Nov 9 21:46:09 UTC 2018 a/udisks2-2.6.5-x86_64-3.txz: Rebuilt. Recompiled against net-snmp-5.8. ap/hplip-3.18.10-x86_64-2.txz: Rebuilt. Recompiled against net-snmp-5.8. d/bison-3.2.1-x86_64-1.txz: Upgraded. d/meson-0.48.2-x86_64-1.txz: Upgraded. l/pycairo-1.18.0-x86_64-1.txz: Upgraded. n/bridge-utils-1.6-x86_64-1.txz: Upgraded. n/net-snmp-5.8-x86_64-1.txz: Upgraded. Shared library .so-version bump. n/ntp-4.2.8p12-x86_64-2.txz: Rebuilt. Recompiled against net-snmp-5.8. n/php-7.2.12-x86_64-2.txz: Rebuilt. Recompiled against net-snmp-5.8. xap/blackbox-0.74-x86_64-2.txz: Rebuilt. When building, don't install anything to the system. Thanks to Didier Spaier. xap/sane-1.0.27-x86_64-4.txz: Rebuilt. Recompiled against net-snmp-5.8. extra/aspell-word-lists/aspell-ar-1.2_0-x86_64-1.txz: Added. extra/aspell-word-lists/aspell-ast-0.01-x86_64-1.txz: Added. extra/aspell-word-lists/aspell-ca-2.1.5_1-x86_64-1.txz: Upgraded. extra/aspell-word-lists/aspell-de_alt-2.1_1-x86_64-1.txz: Added. extra/aspell-word-lists/aspell-fy-0.12_0-x86_64-1.txz: Added. extra/aspell-word-lists/aspell-grc-0.02_0-x86_64-1.txz: Added. extra/aspell-word-lists/aspell-hy-0.10.0_0-x86_64-1.txz: Added. extra/aspell-word-lists/aspell-ky-0.01_0-x86_64-1.txz: Added. extra/aspell-word-lists/aspell-ml-0.03_1-x86_64-1.txz: Added. extra/aspell-word-lists/aspell-pt_PT-20070510_0-x86_64-1.txz: Added. extra/aspell-word-lists/aspell-tk-0.01_0-x86_64-1.txz: Added. --- source/n/net-snmp/net-snmp-5.7.3-iterator-fix.patch | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 source/n/net-snmp/net-snmp-5.7.3-iterator-fix.patch (limited to 'source/n/net-snmp/net-snmp-5.7.3-iterator-fix.patch') diff --git a/source/n/net-snmp/net-snmp-5.7.3-iterator-fix.patch b/source/n/net-snmp/net-snmp-5.7.3-iterator-fix.patch new file mode 100644 index 00000000..1505ca9a --- /dev/null +++ b/source/n/net-snmp/net-snmp-5.7.3-iterator-fix.patch @@ -0,0 +1,14 @@ +diff -urNp old/agent/mibgroup/host/data_access/swrun.c new/agent/mibgroup/host/data_access/swrun.c +--- old/agent/mibgroup/host/data_access/swrun.c 2018-03-26 09:00:39.932335587 +0200 ++++ new/agent/mibgroup/host/data_access/swrun.c 2018-03-26 09:03:00.845876681 +0200 +@@ -102,7 +102,9 @@ swrun_count_processes_by_name( char *nam + return 0; /* or -1 */ + + it = CONTAINER_ITERATOR( swrun_container ); +- while ((entry = (netsnmp_swrun_entry*)ITERATOR_NEXT( it )) != NULL) { ++ for (entry = (netsnmp_swrun_entry*)ITERATOR_FIRST( it ); ++ entry; ++ entry = (netsnmp_swrun_entry*)ITERATOR_NEXT( it )) { + if (0 == strcmp( entry->hrSWRunName, name )) + i++; + } -- cgit v1.2.3