Make sure buffer size for structure is set to the incoming size.

This commit is contained in:
Jim Norman 2007-12-10 20:45:14 +00:00
parent 4df0612f64
commit 8d0875d82f

View File

@ -137,7 +137,7 @@ int ll_InsertSharedSecretLink
{ /* beginning of the call */
/* ########################## DECLARATIONS START HERE ######################################## */
uint32_t keyLen = sscs_Utf8StrSize(key);
uint32_t keyLen = kLen;
LL_LINK_T *newLink = _ll_CreateLink(sizeof(LL_SHSEC_KEY_VAL_T) + keyLen + vLen);
LL_SHSEC_KEY_VAL_T *sharedLink;