summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sys/include/auth.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/include/auth.h b/sys/include/auth.h
index 63876765c..bbdc0ccbe 100644
--- a/sys/include/auth.h
+++ b/sys/include/auth.h
@@ -35,7 +35,7 @@ enum
struct AuthRpc
{
int afd;
- char ibuf[AuthRpcMax];
+ char ibuf[AuthRpcMax+1]; /* +1 for NUL in auth_rpc.c */
char obuf[AuthRpcMax];
char *arg;
uint narg;