summaryrefslogtreecommitdiffstats
path: root/contrib/netbsd-tests/lib/libc/regex/test_regex.h
diff options
context:
space:
mode:
authorngie <ngie@FreeBSD.org>2017-01-07 08:44:15 +0000
committerngie <ngie@FreeBSD.org>2017-01-07 08:44:15 +0000
commit8684d6ca0b09bb1387f18d2283ef59298d08f7cf (patch)
tree0a9bd7f649c8698c6432f7c0825e936cec37d2cb /contrib/netbsd-tests/lib/libc/regex/test_regex.h
parentfdbb1c88bd9b5d8aacdf1d008229e25d3037382a (diff)
downloadFreeBSD-src-8684d6ca0b09bb1387f18d2283ef59298d08f7cf.zip
FreeBSD-src-8684d6ca0b09bb1387f18d2283ef59298d08f7cf.tar.gz
MFC r310931,r310942,r310988:
r310931: 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 CID: 1018247 r310942: Unbreak the build by passing the string to strdup, not its length Pointyhat to: ngie r310988: snmp_discover_engine: fix up req/resp (PDU object) handling a bit - Call snmp_pdu_free on req and resp when done with the objects - Call snmp_pdu_free on req before calling snmp_pdu_create on it again
Diffstat (limited to 'contrib/netbsd-tests/lib/libc/regex/test_regex.h')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud