As the assertion is related to a CString object, the code snippet you've provided is of no help. You'll need to locate the CString object in question. Given that m_pchData is in error, my first guess is that it is a heap-based object.
"Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow