[Asterisk-code-review] res pjsip session: Handle race condition at shutdown with ti... (asterisk[13])

Richard Mudgett asteriskteam at digium.com
Mon Jun 20 14:13:17 CDT 2016


Richard Mudgett has posted comments on this change.

Change subject: res_pjsip_session: Handle race condition at shutdown with timer.
......................................................................


Patch Set 1:

(1 comment)

https://gerrit.asterisk.org/#/c/3048/1/res/res_pjsip_session.c
File res/res_pjsip_session.c:

Line 2671: 			int id = session_module.id;
> Yes, but it's not actually used in the timer case since it's not running in
Tell that to __print_debug_details() if you have debug level 5 enabled.  Also the routine has already referenced inv->mod_data[-1] which is potentially seg fault worthy.


-- 
To view, visit https://gerrit.asterisk.org/3048
To unsubscribe, visit https://gerrit.asterisk.org/settings

Gerrit-MessageType: comment
Gerrit-Change-Id: I88df72525c4e9ef9f19c13aedddd3ac4a335c573
Gerrit-PatchSet: 1
Gerrit-Project: asterisk
Gerrit-Branch: 13
Gerrit-Owner: Joshua Colp <jcolp at digium.com>
Gerrit-Reviewer: Anonymous Coward #1000019
Gerrit-Reviewer: Joshua Colp <jcolp at digium.com>
Gerrit-Reviewer: Mark Michelson <mmichelson at digium.com>
Gerrit-Reviewer: Richard Mudgett <rmudgett at digium.com>
Gerrit-HasComments: Yes



More information about the asterisk-code-review mailing list