[asterisk-commits] rmudgett: branch 11 r412226 - in /branches/11: ./ apps/app_stack.c

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Fri Apr 11 16:38:57 CDT 2014


Author: rmudgett
Date: Fri Apr 11 16:38:53 2014
New Revision: 412226

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=412226
Log:
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

Modified:
    branches/11/   (props changed)
    branches/11/apps/app_stack.c

Propchange: branches/11/
------------------------------------------------------------------------------
Binary property 'branch-1.8-merged' - no diff available.

Modified: branches/11/apps/app_stack.c
URL: http://svnview.digium.com/svn/asterisk/branches/11/apps/app_stack.c?view=diff&rev=412226&r1=412225&r2=412226
==============================================================================
--- branches/11/apps/app_stack.c (original)
+++ branches/11/apps/app_stack.c Fri Apr 11 16:38:53 2014
@@ -852,6 +852,7 @@
 		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;
 	}




More information about the asterisk-commits mailing list