I am porting some net-snmp agent code to a system. In that process, I am having to learn about all the predefined objects. My question is: Does SNMP null terminate its admin strings?
I have gone through some RFC’s and have read various MIB’s but I just cannot find the information on Null-termination anywhere. The particular admin string is being used as a name/index for an object. Any help would be appreciated
No, every object encoding includes a length, so the NUL
terminator is not used.