Description of problem:
net-snmp-5.5/agent/mibgroup/smux/smux.c:1396 - Function recvfrom returns a negative number to unsigned variable length (size_t).
Version-Release number of selected component (if applicable):
This defect was probably introduced by Red Hat patches.
I've fixed it upstream, commit ID 40125d8539cd89f952fbc24588c5e81e9cd821fe.
Technical note added. If any revisions are required, please edit the "Technical Notes" field
accordingly. All revisions will be proofread by the Engineering Content Services team.
The snmpd daemon did not properly check result of reading from a network socket in SMUX module. The snmpd daemon could miss some network errors this way and thus couldn't close these erroneous SMUX sessions. With this update, snmpd properly checks for errors when reading from SMUX socket and reacts to them properly.
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.
For information on the advisory, and where to find the updated
files, follow the link below.
If the solution does not work for you, open a new bug report.
*** Bug 767148 has been marked as a duplicate of this bug. ***