#1615 closed defect (fixed)
Bug in URI scheme check macro PJSIP_URI_SCHEME_IS_SIP()/SIPS/TEL
Reported by: | nanang | Owned by: | bennylp |
---|---|---|---|
Priority: | normal | Milestone: | release-2.1 |
Component: | common | Version: | trunk |
Keywords: | Cc: | ||
Backport to 1.x milestone: | release-1.16 | Backported: | yes |
Description
The scheme string comparison should be strict on string length, i.e: using stricmp(), instead of strnicmp(). Also need to check for their usages, known bugs:
- pjsip-perf.c in sample app dir: need check for IS_SIPS() too
- proxy.h in sample app dir: need check for IS_SIPS() too
- pjsua_core.c: double IS_SIP() checks, one of them should be IS_SIPS()
Change History (4)
comment:1 Changed 12 years ago by nanang
- Summary changed from Bug in URI scheme check macro PJSIP_URI_SCHEME_IS_* to Bug in URI scheme check macro PJSIP_URI_SCHEME_IS_SIP()/SIPS/TEL
comment:2 Changed 12 years ago by nanang
- Resolution set to fixed
- Status changed from new to closed
comment:3 Changed 12 years ago by riza
In 4404:
comment:4 Changed 12 years ago by riza
- Backported set
Note: See
TracTickets for help on using
tickets.
In 4370: