svn commit: r309243 - head/usr.sbin/ctld
Xin LI
delphij at FreeBSD.org
Mon Nov 28 07:41:02 UTC 2016
Author: delphij
Date: Mon Nov 28 07:41:01 2016
New Revision: 309243
URL: https://svnweb.freebsd.org/changeset/base/309243
Log:
Plug another leak with malformed IPv6 address.
MFC after: 2 weeks
Modified:
head/usr.sbin/ctld/ctld.c
Modified: head/usr.sbin/ctld/ctld.c
==============================================================================
--- head/usr.sbin/ctld/ctld.c Mon Nov 28 07:36:51 2016 (r309242)
+++ head/usr.sbin/ctld/ctld.c Mon Nov 28 07:41:01 2016 (r309243)
@@ -401,6 +401,7 @@ auth_portal_new(struct auth_group *ag, c
return (ap);
error:
+ free(str);
free(ap);
log_warnx("incorrect initiator portal \"%s\"", portal);
return (NULL);
More information about the svn-src-head
mailing list