Browse Source

Plan 9 from Bell Labs 2011-10-28

David du Colombier 12 years ago
parent
commit
a12df30c15
1 changed files with 1 additions and 1 deletions
  1. 1 1
      sys/include/auth.h

+ 1 - 1
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;