Ask Your Question

Revision history [back]

Proper Usage of Memcpy - Security Issue

I need some help in proper usage of the following line

CvMat(const CvMat& m) { memcpy(this, &m, sizeof(CvMat));}

Is it correct to update the memcpy_s instead of memcpy