Mercurial > illumos > git > illumos-gate
changeset 19189:697f3018f000
11951 smatch sometimes flags problems with ipmp_snap_take()
Reviewed by: Andrew Stormont <astormont@racktopsystems.com>
Reviewed by: John Levon <john.levon@joyent.com>
Reviewed by: Toomas Soome <tsoome@me.com>
Reviewed by: Andy Fiddaman <omnios@citrus-it.co.uk>
Approved by: Dan McDonald <danmcd@joyent.com>
author | Jason King <jason.king@joyent.com> |
---|---|
date | Fri, 08 Nov 2019 18:57:11 -0600 |
parents | 6c39e8123d4d |
children | 48f1fe57c62d |
files | usr/src/lib/libipmp/Makefile.com |
diffstat | 1 files changed, 5 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/usr/src/lib/libipmp/Makefile.com Wed Nov 06 00:32:34 2019 +0300 +++ b/usr/src/lib/libipmp/Makefile.com Fri Nov 08 18:57:11 2019 -0600 @@ -21,6 +21,7 @@ # # Copyright 2009 Sun Microsystems, Inc. All rights reserved. # Use is subject to license terms. +# Copyright 2019 Joyent, Inc. # LIBRARY = libipmp.a @@ -39,6 +40,10 @@ CFLAGS += $(CCVERBOSE) CPPFLAGS += -D_REENTRANT -I$(SRCDIR) +# ipmp_snap_take() generates false double free and dereferencing freed memory +# errors +pics/ipmp_query.o := SMOFF = check_free + .KEEP_STATE: all: $(LIBS)