HomeDefectsLIN9-8500
Fixed

LIN9-8500 : net-snmp: File descriptors larger than FD_SETSIZE crash the init_snmp() function

Created: May 12, 2019    Updated: Jun 12, 2019
Resolved Date: May 24, 2019
Previous ID: LIN8-10913
Found In Version: 9.0.0.20
Fix Version: 9.0.0.21
Severity: Severe
Applicable for: Wind River Linux 9
Component/s: Networking

Description

When doing a select with nsfd higher that FD_SETSIZE the program access a position of the fd_set out of bounds and the program crashes. This patch fixes this issue

[https://sourceforge.net/p/net-snmp/patches/1163/]


Steps to Reproduce

Make net-snmp create more threads than FD_SETSIZE can support and watch behaviour