Summary: | ASTERISK-05947: [patch] misplaced lock and store translators using linked list macros | ||
Reporter: | Russell Bryant (russell) | Labels: | |
Date Opened: | 2006-01-02 01:58:34.000-0600 | Date Closed: | 2006-01-10 22:01:14.000-0600 |
Priority: | Minor | Regression? | No |
Status: | Closed/Complete | Components: | Core/General |
Versions: | Frequency of Occurrence | ||
Related Issues: | |||
Environment: | Attachments: | ( 0) translators_list.patch | |
Description: | In the function translate.c::show_translation(), which is the handler for the CLI command "show translation", there is a small locking problem. If the argument "recalc" is given to have the translation table recalculated, the function rebuild_matrix() is called without the list of translators locked. This is fixed simply by moving the lock to above where this argument gets handled. This patch fixes this bug and also converts the list of translators to be stored using the linked list macros. | ||
Comments: |