[pjsip] Client registration layer locking

Philippe philippe.leuba at eyepmedia.com
Wed Nov 14 10:02:51 EST 2007


Hi,

 

By examining the pjsip-ua layer providing the client registration (regc), we
notice that no locking mechanism is used. 

 

It seems that this can cause some potential risks if we are using worker
threads as the reception callback or the timer can access the regc structure
at the same time that the regc APIs.

 

Other layers, such as the invite or xfer use the lock of the underlying
dialog.

 

Philippe Leuba

eyeP Media SA

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/attachments/20071114/a37062aa/attachment.html>


More information about the pjsip mailing list