Opened 15 years ago
Last modified 15 years ago
#685 closed defect
Crash or assertion on debug mode when processing large SIP packet — at Initial Version
Reported by: | bennylp | Owned by: | bennylp |
---|---|---|---|
Priority: | normal | Milestone: | release-1.0.1 |
Component: | pjlib | Version: | trunk |
Keywords: | Cc: | ||
Backport to 1.x milestone: | Backported: |
Description
A crash or assertion on debug mode will occur when processing (RX or TX) SIP packet with size close to PJ_LOG_MAX_SIZE (default is 2000). This is because the total log message size that is created to log this SIP packet may exceed the PJ_LOG_MAX_SIZE and this will cause the log to write data to outside the given buffer.
This is because Symbian doesn't have vsnprintf (only vsprintf).
Note: See
TracTickets for help on using
tickets.