Use strdup in snmp_parse_server(..) when possible instead of malloc+strcpy
This simplifies the code and mutes a Coverity warning about sc->cport being
improperly allocated
Reported by: Coverity
CID: 1018247
MFC after: 1 week
Use strdup in snmp_parse_server(..) when possible instead of malloc+strcpy Tags None Referenced Files None Subscribers None
Description
Details
|