| Article: |
Component Object Model (COM) Development on Mac OS X | |
| Subject: | Small goof in UTF16Create | |
| Date: | 2004-04-28 01:00:38 | |
| From: | vannote | |
|
I beleive unsigned short* theStrP = new unsigned short[theStrSize];should read unsigned short* theStrP = new unsigned short[theStrSize + 1];to avoid a buffer overrun when theStrP[theIter] = 0;is executed. Regards |
||
Showing messages 1 through 1 of 1.
-
Small goof in UTF16Create
2004-05-10 17:18:07 ChristopherHunt [View]
Nice one. :-)


