Hi all,
I run IBM Rational Purify on this code:
CString aaa;
for (int i=0 ; i<100 ; i++) aaa+= "xxxxxxxxxxxxxxx\n";
aaa.Replace("\n","\r\n");
Purify issues this warnning message:
UMR: Uninitialized memory read in strstr {1 occurrence}
aaa.Replace("\n","\r\n");
Is this a known issue?
Is this a bug in CString/Purify?
How can I work around this?
Thanks very much!
Dudu Arbel