0c7dbee0f9
MIB opening class of pysnmp include `pysnmp_mibs` location as one of the places where pysnmp will try to find the MIB files being requested. Part of the problem is that pysnmp opens files in `pysnmp_mibs` directory by relative location (e.g. CWD) which is generally not a good idea from security perspective. It turns out that if the process imports this library being in a non-readable directory, pysnmp blows up at probing `pysnmp_mibs` location. This patch excludes relative `pysnmp_mibs` location from the search path effectively fixing the blow up problem. Change-Id: I7fa1b5353a2d33fd58de45426a9ee6dbcbf4eaef |
||
---|---|---|
.. | ||
cpqdisk_mibs | ||
__init__.py | ||
snmp_cpqdisk_sizes.py |