Revert "Remove redundant NULL checks on calls to memset_s."

This reverts commit 356f6d4cf3d236e375a84e24b11359a5c1f1081f.
2 files changed