projects
/
asterisk/asterisk.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fix seg in authenticate (bug #3686)
[asterisk/asterisk.git]
/
apps
/
app_voicemail.c
diff --git
a/apps/app_voicemail.c
b/apps/app_voicemail.c
index
090ad25
..
021b59a
100755
(executable)
--- a/
apps/app_voicemail.c
+++ b/
apps/app_voicemail.c
@@
-4452,7
+4452,7
@@
static int vm_authenticate(struct ast_channel *chan, char *mailbox, int mailbox_
ast_play_and_wait(chan, "vm-goodbye");
return -1;
}
- if (!skipuser) {
+ if (vmu && !skipuser) {
memcpy(res_vmu, vmu, sizeof(struct ast_vm_user));
}
return 0;