diff options
author | 2006-10-06 05:47:27 +0000 | |
---|---|---|
committer | 2006-10-06 05:47:27 +0000 | |
commit | 9631c790e3ce4e49b23e83a84eeb7be2af9b569c (patch) | |
tree | b77417d2aaeb858446119dff5ddc59ac1b564452 /sys/dev/systrace.h | |
parent | Exit when asked to here too. Spotted by Theo. (diff) | |
download | wireguard-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.h | 3 |
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; |