summaryrefslogtreecommitdiff
path: root/bin/systrace/filter.c
diff options
context:
space:
mode:
authorNiels Provos <provos@cvs.openbsd.org>2002-06-11 05:30:29 +0000
committerNiels Provos <provos@cvs.openbsd.org>2002-06-11 05:30:29 +0000
commit5dee8af3cc3e0ec04a969d01a8a01801f94e1c12 (patch)
tree730baed4f371bf9e4c8114a2ab616fbcc003d9df /bin/systrace/filter.c
parentc2384b027be35ad0d56abd0a775e8706ba286ec7 (diff)
change a few buffers to 2*MAXPATHLEN; pob deraadt@
Diffstat (limited to 'bin/systrace/filter.c')
-rw-r--r--bin/systrace/filter.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/systrace/filter.c b/bin/systrace/filter.c
index ad5d71085f2..0817679043b 100644
--- a/bin/systrace/filter.c
+++ b/bin/systrace/filter.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: filter.c,v 1.10 2002/06/09 05:47:27 todd Exp $ */
+/* $OpenBSD: filter.c,v 1.11 2002/06/11 05:30:28 provos Exp $ */
/*
* Copyright 2002 Niels Provos <provos@citi.umich.edu>
* All rights reserved.
@@ -324,7 +324,7 @@ filter_ask(struct intercept_tlq *tls, struct filterq *fls,
/* Automatically allow */
if (tls != NULL) {
struct intercept_translate *tl;
- char compose[MAXPATHLEN], *l;
+ char compose[2*MAXPATHLEN], *l;
char *lst = NULL;
int set = 0;