While 'data' is usually 0 terminated, nothing in the spec requires that. The correct...
authorSimo Sorce <idra@samba.org>
Mon, 17 Dec 2007 20:21:38 +0000 (15:21 -0500)
committerSimo Sorce <idra@samba.org>
Mon, 17 Dec 2007 20:26:08 +0000 (15:26 -0500)
commit4869ccfed6ba8c44fb49844a5a8abbb671518954
tree34b5ccdcbfdb4c468e7ef940e2a09d679f8e9f38
parentd20608c8f314476ca7dde8a9a61495431b4bccff
While 'data' is usually 0 terminated, nothing in the spec requires that. The correct way is to copy only 'length' bytes.

Simo.
(This used to be commit 814c1b0e0034fb67c7718760dfcf913904f3e7fa)
source3/libads/kerberos.c