diff options
author | cinap_lenrek <cinap_lenrek@gmx.de> | 2012-08-02 22:22:05 +0200 |
---|---|---|
committer | cinap_lenrek <cinap_lenrek@gmx.de> | 2012-08-02 22:22:05 +0200 |
commit | da20365290ec901ebcdc284f472dd0f01670eaf2 (patch) | |
tree | daba462ffbe6f2b278c3627eb0b20569c910cb20 /sys | |
parent | a13a30e854d22639dc34b5502b402d8a579966e6 (diff) |
libauth: fix authrpc buffer overflow (import from sources)
Diffstat (limited to 'sys')
-rw-r--r-- | sys/include/auth.h | 2 |
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; |