Update runtime constraint violation checks
* It was observed that for strncpy_s,strncat_s, wcsncpy_s & wcsncat_s, some of the run-time constraint violation weren't performing the corrective action. 1) src = NULL when dst != NULL & dmax !=0 && less than RSIZE_MAX_STR is a run-time violation & we need to update dst[0] = 0; in this scenario which was missing. 2) slen > RSIZE_MAX_STR is also a runtime constraint violation & we need to update dst[0] = 0; in this scenario which was missing.
parent
a8a75a6a
Please register or sign in to comment