projects
/
asterisk/asterisk.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8f00194
)
Fix segfault in greek syntax (bug #6142)
author
Mark Spencer
<markster@digium.com>
Sat, 7 Jan 2006 23:43:23 +0000
(23:43 +0000)
committer
Mark Spencer
<markster@digium.com>
Sat, 7 Jan 2006 23:43:23 +0000
(23:43 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@7863
65c4cc65
-6c06-0410-ace0-
fbb531ad65f3
apps/app_voicemail.c
patch
|
blob
|
history
diff --git
a/apps/app_voicemail.c
b/apps/app_voicemail.c
index
3d98cc0
..
3fe6419
100644
(file)
--- a/
apps/app_voicemail.c
+++ b/
apps/app_voicemail.c
@@
-3898,8
+3898,8
@@
done:
static int vm_play_folder_name_gr(struct ast_channel *chan, char *mbox)
{
int cmd;
- char buf[sizeof(mbox)+1];
-
+ char *buf;
+ buf = alloca(strlen(mbox)+2);
memset(buf, '\0', sizeof(char)*(sizeof(buf)));
strcpy(buf, mbox);
strcat(buf,"s");