From: Richard Mudgett Date: Fri, 20 May 2011 20:38:22 +0000 (+0000) Subject: The meetme CLI command completion leaves conferences mutex locked. X-Git-Tag: 1.4.42-rc2~3^2~6 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=82506ffa01f70395765e60410ffcc52148c414f8;p=thirdparty%2Fasterisk.git The meetme CLI command completion leaves conferences mutex locked. When issuing a meetme kick CLI command and an invalid (non-existent) conference number is specified, pressing Tab leaves the conferences mutex locked and, therefore, all conferences deadlock. Add missing unlock. (closes issue #19336) Reported by: zvision Patches: app_meetme.diff uploaded by zvision (license 798) git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@320235 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- diff --git a/apps/app_meetme.c b/apps/app_meetme.c index 95291c0bb3..ee98bc4b34 100644 --- a/apps/app_meetme.c +++ b/apps/app_meetme.c @@ -1099,6 +1099,7 @@ static char *complete_meetmecmd(const char *line, const char *word, int pos, int AST_LIST_UNLOCK(&confs); return usr ? strdup(usrno) : NULL; } + AST_LIST_UNLOCK(&confs); } else if ( strstr(line, "list") && ( 0 == state ) ) return strdup("concise"); }