summaryrefslogtreecommitdiffstats
path: root/sys/dev/systrace.h
diff options
context:
space:
mode:
authordjm <djm@openbsd.org>2006-10-06 05:47:27 +0000
committerdjm <djm@openbsd.org>2006-10-06 05:47:27 +0000
commit9631c790e3ce4e49b23e83a84eeb7be2af9b569c (patch)
treeb77417d2aaeb858446119dff5ddc59ac1b564452 /sys/dev/systrace.h
parentExit when asked to here too. Spotted by Theo. (diff)
downloadwireguard-openbsd-9631c790e3ce4e49b23e83a84eeb7be2af9b569c.tar.xz
wireguard-openbsd-9631c790e3ce4e49b23e83a84eeb7be2af9b569c.zip
fix an exploitable integer overflow found by Chris Evans of Google
Security; ok deraadt
Diffstat (limited to 'sys/dev/systrace.h')
-rw-r--r--sys/dev/systrace.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/dev/systrace.h b/sys/dev/systrace.h
index 741ee0106c9..4317bf9bb57 100644
--- a/sys/dev/systrace.h
+++ b/sys/dev/systrace.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: systrace.h,v 1.19 2006/05/23 22:28:22 alek Exp $ */
+/* $OpenBSD: systrace.h,v 1.20 2006/10/06 05:47:27 djm Exp $ */
/*
* Copyright 2002 Niels Provos <provos@citi.umich.edu>
* All rights reserved.
@@ -54,6 +54,7 @@ struct str_msg_execve {
#define SYSTR_MAXARGS 64
#define SYSTR_MAXFNAME 8
#define SYSTR_MAXINJECTS 8
+#define SYSTR_MAXREPLEN 2048
struct str_msg_ask {
int code;