=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/banner/banner.c,v retrieving revision 1.9 retrieving revision 1.10 diff -u -r1.9 -r1.10 --- src/usr.bin/banner/banner.c 2009/10/27 23:59:35 1.9 +++ src/usr.bin/banner/banner.c 2015/10/05 05:33:29 1.10 @@ -1,4 +1,4 @@ -/* $OpenBSD: banner.c,v 1.9 2009/10/27 23:59:35 deraadt Exp $ */ +/* $OpenBSD: banner.c,v 1.10 2015/10/05 05:33:29 deraadt Exp $ */ /* $NetBSD: banner.c,v 1.2 1995/04/09 06:00:15 cgd Exp $ */ /* @@ -53,6 +53,7 @@ #include #include #include +#include #include "banner.h" @@ -152,6 +153,8 @@ { char word[10+1]; /* strings limited to 10 chars */ + if (tame("stdio", NULL) == -1) + err(1, "tame"); while (*++argv) { (void)strlcpy(word, *argv, sizeof (word)); scan_out(1, word, '\0');