Opened 15 years ago

Last modified 15 years ago

#886 closed defect

Broken exception in Symbian, potentially will cause undefined behavior when receiving bad SIP message — at Version 1

Reported by: bennylp Owned by: bennylp
Priority: critical Milestone: release-1.4
Component: common Version: trunk
Keywords: Cc:
Backport to 1.x milestone: Backported:

Description (last modified by bennylp)

The exception framework for Symbian target relies on sources being compiled as C++, since the exception uses C++ exception. With Carbide, turns out the GCCE option "-x c++" DOES NOT work, and this will break the exception framework.

The exception framework is used heavily by the parser, to report syntax errors. Without this, syntax errors will go undetected, and possibly causes undefined behavior or even crashes.

This bug can be reproduced by running the exception test in pjlib-test.

In the MMP files, the compile as C++ option has been re-added to relevant libraries by ticket #887

Change History (1)

comment:1 Changed 15 years ago by bennylp

  • Description modified (diff)
Note: See TracTickets for help on using tickets.