From da20365290ec901ebcdc284f472dd0f01670eaf2 Mon Sep 17 00:00:00 2001 From: cinap_lenrek Date: Thu, 2 Aug 2012 22:22:05 +0200 Subject: libauth: fix authrpc buffer overflow (import from sources) --- sys/include/auth.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sys/include') 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; -- cgit v1.2.3