diff options
author | Richard Mudgett <rmudgett@digium.com> | 2014-04-11 21:43:30 +0000 |
---|---|---|
committer | Richard Mudgett <rmudgett@digium.com> | 2014-04-11 21:43:30 +0000 |
commit | 04429e5c399079cfc02aada5cae3fab3d37aba55 (patch) | |
tree | d4eee71a7839991b78c2e431bb05f35663fb9bb6 /apps/app_stack.c | |
parent | 43bcf512045de7cc4519dbf4f5f94fe43e8d412c (diff) |
app_stack: Add missing unlock in off-nominal path of STACK_PEEK function.
ASTERISK-23620 #close
Reported by: Bradley Watkins
Patches:
ASTERISK-23620_unlock_oldlist.patch (license #5021) patch uploaded by Bradley Watkins
........
Merged revisions 412225 from http://svn.asterisk.org/svn/asterisk/branches/1.8
........
Merged revisions 412226 from http://svn.asterisk.org/svn/asterisk/branches/11
........
Merged revisions 412227 from http://svn.asterisk.org/svn/asterisk/branches/12
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@412228 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'apps/app_stack.c')
-rw-r--r-- | apps/app_stack.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/apps/app_stack.c b/apps/app_stack.c index 72caed8cb..ba3b97cd1 100644 --- a/apps/app_stack.c +++ b/apps/app_stack.c @@ -873,6 +873,7 @@ static int stackpeek_read(struct ast_channel *chan, const char *cmd, char *data, if (!ast_true(args.suppress)) { ast_log(LOG_ERROR, "Stack peek of '%s' is more stack frames than I have\n", args.n); } + AST_LIST_UNLOCK(oldlist); ast_channel_unlock(chan); return -1; } |