func: void bad() wchar_t * data ; data = new wchar_t [ 100 ]; wmemset ( data , L 'A' , 100 - 1 data [ 100 - 1 ] = L '\0' badSink ( & data ); void badSink(wchar_t * * dataPtr) wchar_t * data = * dataPtr ; wchar_t dest [ 50 ] = L "" wcscpy ( dest , data ); 