pjsip / pjproject

PJSIP project
http://www.pjsip.org
GNU General Public License v2.0
2.08k stars 788 forks source link

Apply stricter rule for pool name with percent char #4169

Closed nanangizz closed 1 week ago

nanangizz commented 1 week ago

To fix https://github.com/pjsip/pjproject/pull/4164#issuecomment-2489854989.

Currently several apps specify special pool name with "%p" suffix (e.g: group lock, SSL socket) to make it unique. Unfortunately there is a potential issue as described in the link above. The special name was applied when the name contains "%" char, now it is only applied if the name contains "%p" and the "%p" is in the end of the string.