Print this page
10080 smatch Makefile changes for usr/src/cmd

@@ -21,10 +21,11 @@
 #
 #
 # Copyright 2005 Sun Microsystems, Inc.  All rights reserved.
 # Use is subject to license terms.
 #
+# Copyright (c) 2018, Joyent, Inc.
 
 PROG=           wificonfig      
 OBJS=           wificonfig.o
 SRCS=           $(OBJS:%.o=%.c)
 

@@ -35,10 +36,13 @@
 $(ROOTSBIN)/wificonfig := FILEMODE = 04755
 ROOTUSRSBINLINKS = $(ROOTUSRSBIN)/$(PROG)
 CERRWARN += -_gcc=-Wno-char-subscripts
 CERRWARN += -_gcc=-Wno-parentheses
 
+# needs work
+SMOFF += index_overflow,memcpy_overflow
+
 .KEEP_STATE:
 
 all:    $(PROG)
 
 _msg:   $(POFILE)