[asterisk-dev] [Code Review] 3481: Websocket: Add locking around session access and modification

opticron reviewboard at asterisk.org
Wed Apr 30 08:04:18 CDT 2014


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviewboard.asterisk.org/r/3481/
-----------------------------------------------------------

(Updated April 30, 2014, 8:04 a.m.)


Status
------

This change has been marked as submitted.


Review request for Asterisk Developers.


Changes
-------

Committed in revision 413123


Bugs: ASTERISK-23605
    https://issues.asterisk.org/jira/browse/ASTERISK-23605


Repository: Asterisk


Description
-------

This resolves a race condition where data could be written to a NULL FILE pointer causing a crash as a websocket connection was in the process of shutting down by adding locking to accesses and modifications of the websocket session struct.


Diffs
-----

  branches/11/res/res_http_websocket.c 413072 

Diff: https://reviewboard.asterisk.org/r/3481/diff/


Testing
-------


Thanks,

opticron

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-dev/attachments/20140430/0e873edc/attachment.html>


More information about the asterisk-dev mailing list