summaryrefslogtreecommitdiffstats
path: root/lib/libc/regex/regfree.c
diff options
context:
space:
mode:
authorngie <ngie@FreeBSD.org>2016-06-10 14:48:10 +0000
committerngie <ngie@FreeBSD.org>2016-06-10 14:48:10 +0000
commit12a9f65ec7dc08f8f53bc3015b618fddddf49d71 (patch)
tree81192425a5b0dbbb77be54877b93697f84cc3f24 /lib/libc/regex/regfree.c
parentf17a072a07c9241f9501289da18753df26f4abdc (diff)
downloadFreeBSD-src-12a9f65ec7dc08f8f53bc3015b618fddddf49d71.zip
FreeBSD-src-12a9f65ec7dc08f8f53bc3015b618fddddf49d71.tar.gz
MFC r299495:
r299495 (by cem): libkrb5: Fix potential double-free If krb5_make_principal fails, tmp_creds.server may remain a pointer to freed memory and then be double-freed. After freeing it the first time, initialize it to NULL, which causes subsequent krb5_free_principal calls to do the right thing. CID: 1273430
Diffstat (limited to 'lib/libc/regex/regfree.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud