advapi32: Fix stack corruption in CredIsMarshaledCredentialW.
commitf9fae1b3f619a5ff70cdf397dcbba197d64a10d4
authorThomas Faber <thomas.faber@reactos.org>
Thu, 19 Dec 2013 23:17:35 +0000 (20 00:17 +0100)
committerAlexandre Julliard <julliard@winehq.org>
Mon, 31 Mar 2014 10:39:03 +0000 (31 12:39 +0200)
treef003e012e1a133cb4e7efb12808a33223f98de8c
parentc810f07f4012bce7ee4dd4d307571ca0be68c994
advapi32: Fix stack corruption in CredIsMarshaledCredentialW.

In its currrent implementation, cred_decode with input length 6 writes
6 bytes to the output buffer. This overflows the DWORD passed in
CredIsMarshaledCredentialW.
dlls/advapi32/cred.c