]> CyberLeo.Net >> Repos - FreeBSD/stable/10.git/commit
MFC r298448,r298464:
authorngie <ngie@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Wed, 4 May 2016 00:25:20 +0000 (00:25 +0000)
committerngie <ngie@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Wed, 4 May 2016 00:25:20 +0000 (00:25 +0000)
commit98736c3bd136a36e1fee71b31d06f96fb1161d7e
tree4078674eb17724ca86217029cab6ec61ba2ed517
parent6e8126b376f833a4714f727735f5f48c9805e9fd
MFC r298448,r298464:

r298448:

Don't leak `string` in parse_define(..) when a macro has been found
and the parser token != TOK_ASSIGN

CID: 10071871007188
Obtained from: Isilon OneFS (part of r445479)

r298464:

Use `sizeof(*uuser)` instead of `sizeof(struct usm_user)` for consistency with
the rest of the users in the file

No functional change

git-svn-id: svn://svn.freebsd.org/base/stable/10@299018 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
contrib/bsnmp/snmpd/config.c
contrib/bsnmp/snmpd/main.c