summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJason King <jason.king@joyent.com>2019-11-08 18:57:11 -0600
committerDan McDonald <danmcd@joyent.com>2019-11-11 14:03:09 -0500
commitad234cdc80febfeac2ea24977ab7cf9a7cc466ba (patch)
tree066d5a0c80e75d6e41188cc8366a793385067d3a
parent2c6de396617b717590773cf19bfa1232149c8472 (diff)
downloadillumos-joyent-ad234cdc80febfeac2ea24977ab7cf9a7cc466ba.tar.gz
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>
-rw-r--r--usr/src/lib/libipmp/Makefile.com5
1 files changed, 5 insertions, 0 deletions
diff --git a/usr/src/lib/libipmp/Makefile.com b/usr/src/lib/libipmp/Makefile.com
index d3065ae37c..99865edb1b 100644
--- a/usr/src/lib/libipmp/Makefile.com
+++ b/usr/src/lib/libipmp/Makefile.com
@@ -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 @@ $(LINTLIB):= SRCS = $(SRCDIR)/$(LINTSRC)
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)