]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
kgssapi(4): Fix string overrun in Kerberos principal construction
authorcem <cem@FreeBSD.org>
Wed, 20 Apr 2016 04:45:23 +0000 (04:45 +0000)
committercem <cem@FreeBSD.org>
Wed, 20 Apr 2016 04:45:23 +0000 (04:45 +0000)
commit9b64f241b83a2c18ea7add8e07e319e34f3440b4
tree0d2987cb6ee573c4f821af2278d8bc80e063bf32
parent32534f70cf45a9c425919195248f99080071d442
kgssapi(4): Fix string overrun in Kerberos principal construction

'buf.value' was previously treated as a nul-terminated string, but only
allocated with strlen() space.  Rectify this.

Reported by: Coverity
CID: 1007639
Sponsored by: EMC / Isilon Storage Division
sys/rpc/rpcsec_gss/svc_rpcsec_gss.c