Read-only archive of the All About Symbian forum (2001–2013) · About this archive

Panic Vs Buffer overflow

0 replies · 1,463 views · Started 15 March 2005

Hi,

I am new at Symbian Programming in C++.
I have a question.

Is it possible to have buffer overflow while using Descriptors (buffer or pointer)..?

For example if i have the below sample code:

TBuf<16> myBuf; // 16 characters

_LIT(KTxt,"hello worldqqqqqq+++"😉;
myBuf.Copy(KTxt);

In a debug build i get panic, and the thread exits(the application exits)
is it poessible to have buffer overflow in a release build..?

Thanks in advance!!

\m