summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorSimo Sorce <simo@redhat.com>2015-03-19 20:22:49 -0400
committerSimo Sorce <simo@redhat.com>2015-03-19 20:22:49 -0400
commit64d1db926674fcc0ebda6e2d06238a19ea695206 (patch)
tree8b64c3e50eb870d835bcb5a349d220b315682d55 /tests
parent8c664f7e8523e8fb8136c1912d9f86b901558155 (diff)
downloadgss-ntlmssp-64d1db926674fcc0ebda6e2d06238a19ea695206.tar.gz
gss-ntlmssp-64d1db926674fcc0ebda6e2d06238a19ea695206.tar.xz
gss-ntlmssp-64d1db926674fcc0ebda6e2d06238a19ea695206.zip
Fix length check of nt_responsefix32bit
An array passed as a function argument is just a cosmetic ay to pass just a pointer. Therefore sizeof(array) will only return the pointer length, not the array length, and on 32 bit pointers are 4 bytes long. Fix payload calculation by passing in the known correct length instead of using fancy sizeofs ...
Diffstat (limited to 'tests')
0 files changed, 0 insertions, 0 deletions