diff options
Diffstat (limited to 'source/n/net-snmp/net-snmp-5.8-agentx-disconnect-crash.patch')
-rw-r--r-- | source/n/net-snmp/net-snmp-5.8-agentx-disconnect-crash.patch | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/source/n/net-snmp/net-snmp-5.8-agentx-disconnect-crash.patch b/source/n/net-snmp/net-snmp-5.8-agentx-disconnect-crash.patch new file mode 100644 index 000000000..da8431355 --- /dev/null +++ b/source/n/net-snmp/net-snmp-5.8-agentx-disconnect-crash.patch @@ -0,0 +1,12 @@ +diff -urNp a/agent/mibgroup/agentx/master.c b/agent/mibgroup/agentx/master.c +--- a/agent/mibgroup/agentx/master.c 2018-07-18 12:13:49.953014652 +0200 ++++ b/agent/mibgroup/agentx/master.c 2018-07-18 12:20:23.537626773 +0200 +@@ -221,7 +221,7 @@ agentx_got_response(int operation, + /* response is too late, free the cache */ + if (magic) + netsnmp_free_delegated_cache((netsnmp_delegated_cache*) magic); +- return 0; ++ return 1; + } + requests = cache->requests; + |