[Home]

Summary:ASTERISK-13466: [patch] res_odbc.c - ast_odbc_find_table() missing AST_RWLIST_UNLOCK() in error path
Reporter:Nic Bellamy (nic_bellamy)Labels:
Date Opened:2009-12-20 20:05:43.000-0600Date Closed:2011-06-07 14:07:20
Priority:MinorRegression?No
Status:Closed/CompleteComponents:Resources/res_odbc
Versions:Frequency of
Occurrence
Related
Issues:
Environment:Attachments:( 0) res_odbc_ast_odbc_find_table_missing_rwlist_unlock.patch
Description:Asterisk deadlocked in ast_odbc_clear_cache() during module unload; tracking down found this was due to a missing AST_RWLIST_UNLOCK() in an error path in ast_odbc_find_table(), the odbc_tables list lock was never released.

Only effects 1.6.1 branch.

****** ADDITIONAL INFORMATION ******

This was fixed in trunk as part of a feature addition by tilghman; see SVN r177320.

Does not effect 1.6.0 branch.

Already fixed in 1.6.2 branch (branched after it was fixed in trunk).
Comments:By: Tilghman Lesher (tilghman) 2010-05-20 17:21:49

Per the Asterisk maintenance timeline page at http://www.asterisk.org/asterisk-versions maintenance (bug) support for the 1.6.0 and 1.6.1 branches has ended. For continued maintenance support please move to the 1.6.2 branch.

More information on this change can be found in the release announcement: http://www.asterisk.org/node/49924