Ticket #333 (closed enhancement: fixed)
Added buffer overflow detection in vsprintf emulation for Symbian
|Reported by:||bennylp||Owned by:||bennylp|
|Backport to 1.x milestone:||Backported:|
Symbian lacks snprintf()/vsnprintf(), so these functions are emulated with a call to vsprintf() in PJLIB's src/pj/compat/string_compat.c. The emulation function does not check for buffer overflow.
We could add a small code to detect if buffer has been overflowed by putting a marker character at the end of the buffer.