-
Notifications
You must be signed in to change notification settings - Fork 211
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
snmpd.conf proc with name containing spaces ignores values for Max and Min #10
Comments
proc "Plex Media Serv" 1 1 in snmpd.conf, this is the trap that is send --> Process should not be running |
Which Net-SNMP version are you using? |
5.7.3 |
The v5.7 branch is no longer supported. A candidate fix has been checked in on the v5.8 and master branches. Please retest. |
Fix the following address sanitizer complaint: ERROR: AddressSanitizer: stack-buffer-overflow on address 0x7f4e612001a0 at pc 0x7f4e63c0a654 bp 0x7ffc98f7bb80 sp 0x7ffc98f7bb78 WRITE of size 1 at 0x7f4e612001a0 thread T0 #0 0x7f4e63c0a653 in get_token snmplib/parse.c:4835:13 #1 0x7f4e63c0a4a2 in get_token snmplib/parse.c:4813:20 #2 0x7f4e63c0a4a2 in get_token snmplib/parse.c:4813:20 #3 0x7f4e63c0a4a2 in get_token snmplib/parse.c:4813:20 #4 0x7f4e63c0a4a2 in get_token snmplib/parse.c:4813:20 #5 0x7f4e63c0a4a2 in get_token snmplib/parse.c:4813:20 #6 0x7f4e63c0a4a2 in get_token snmplib/parse.c:4813:20 #7 0x7f4e63c2dbd2 in parse_ranges snmplib/parse.c:2282:20 #8 0x7f4e63c29ffa in parse_asntype snmplib/parse.c:2462:27 #9 0x7f4e63c1789f in parse snmplib/parse.c:4598:19 #10 0x7f4e63c0497b in read_module_internal snmplib/parse.c:3942:18 #11 0x7f4e63c0407b in netsnmp_read_module snmplib/parse.c:4041:14 #12 0x7f4e63c0d5e1 in read_mib snmplib/parse.c:5044:12 #13 0x55ec21ab37b1 in main testing/fulltests/unit-tests/T027read_mib_clib.c:35:1 Fixes: 34058af ("*/*: replace horrible (char *)"string" with const specifiers in relevant functions.")
snmpd.conf proc with name containing spaces ignores values for Max and Min
e.q.
proc "Plex Media Serv" 1 1
triggers an snmp trap with too many "Plex Media Serv" processes. Processes which don't contain a whitespace are not affected
The text was updated successfully, but these errors were encountered: