https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r85850 | file | 2007-10-16 11:52:22 -0300 (Tue, 16 Oct 2007) | 4 lines
Check to make sure a value has been given to the VMCOUNT dialplan function.
(closes issue #10996)
Reported by: marsosa
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@85851
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
buf[0] = '\0';
+ if (ast_strlen_zero(argsstr))
+ return -1;
+
AST_STANDARD_APP_ARGS(args, argsstr);
if (strchr(args.vmbox, '@')) {