• Sébastien Blin's avatar
    sipcall: avoid use after free on the invite session · 4ad78be5
    Sébastien Blin authored
    pjsip uses a counter to delete objects when the ref counter is equals to 0.
    This means that our unique_ptr on the invite will be invalid if resources are
    already freed by pjproject. To avoid this, we need to increment and decrement
    the counter when we respectively create and destroy our unique_ptr on the
    invite session
    
    Change-Id: Ida5c687004b91100f1c10f83e32c1a40264c775c
    4ad78be5
Name
Last commit
Last update
MSVC Loading commit data...
bin Loading commit data...
contrib Loading commit data...
doc Loading commit data...
docker Loading commit data...
extras/tools Loading commit data...
m4 Loading commit data...
man Loading commit data...
ringtones Loading commit data...
src Loading commit data...
test Loading commit data...
tools Loading commit data...
.clang-tidy Loading commit data...
.gitignore Loading commit data...
.gitreview Loading commit data...
AUTHORS Loading commit data...
CODING Loading commit data...
COPYING Loading commit data...
ChangeLog Loading commit data...
Makefile.am Loading commit data...
NEWS Loading commit data...
README Loading commit data...
astylerc Loading commit data...
autogen.sh Loading commit data...
configure.ac Loading commit data...
globals.mk Loading commit data...
jami-daemon.metainfo.xml Loading commit data...
sonar-project.properties Loading commit data...