
DRuttkay131692 (Community Member) asked a question.
"The result of this call to _wcsdup() is not checked for success before being used." - Reported 8 times, on the line where strH is handled
if (!pInfo ||
NULL == (pInfo->strA = _wcsdup(strA)) ||
(NULL != strB && NULL == (pInfo->strB = _wcsdup(strB))) ||
(NULL != strC && NULL == (pInfo->strC = _wcsdup(strC))) ||
(boolA && NULL != strD && NULL == (pInfo->strE = _wcsdup(strD))) ||
(!boolA && NULL != strD && NULL == (pInfo->strF = _wcsdup(strD))) ||
(NULL != strG && NULL == (pInfo->strG = _wcsdup(strG))) ||
(NULL != strH && NULL == (pInfo->strH = _wcsdup (strH))) ||
(NULL != strI && NULL == (pInfo->strI = _wcsdup (strI)))
)
return pushError (ERR_ALLOCATE_MEM);
.png)
Hi @DRuttkay131692 (Community Member) I also suggest for this situation that you request a Consultation. Our team will be able to help you out: https://docs.veracode.com/r/t_schedule_consultation