summaryrefslogtreecommitdiff
path: root/sys/include
diff options
context:
space:
mode:
authorcinap_lenrek <cinap_lenrek@gmx.de>2012-08-02 22:22:05 +0200
committercinap_lenrek <cinap_lenrek@gmx.de>2012-08-02 22:22:05 +0200
commitda20365290ec901ebcdc284f472dd0f01670eaf2 (patch)
treedaba462ffbe6f2b278c3627eb0b20569c910cb20 /sys/include
parenta13a30e854d22639dc34b5502b402d8a579966e6 (diff)
libauth: fix authrpc buffer overflow (import from sources)
Diffstat (limited to 'sys/include')
-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;