[Home]

Summary:ASTERISK-00040: chan_iax does not initialize all phtread_mutexs it uses
Reporter:awrede (awrede)Labels:
Date Opened:2003-08-03 14:45:38Date Closed:2004-09-25 02:40:14
Priority:MajorRegression?No
Status:Closed/CompleteComponents:Core/General
Versions:Frequency of
Occurrence
Related
Issues:
Environment:Attachments:( 0) chan_iax.patch
Description:peerl.lock and dpcache_lock mutexs are not initialized by chan_iax

****** STEPS TO REPRODUCE ******

Code inspection:
grep 'ast_pthread_mutex_init(&peerl.lock)'  chan_iax.c
Comments:By: awrede (awrede) 2003-08-03 14:52:49

I justed notieces that chan_iax2 does not init dpcache_lock, so
on line 5598 of that file, add
 ast_pthread_mutex_init(&dpcache_lock);

By: Mark Spencer (markster) 2003-08-07 00:30:24

Applied to CVS.