[asterisk-users] Uninitialized variable in main/pbx.c?
Richard Kenner
kenner at gnat.com
Wed Jan 23 20:13:07 CST 2013
I think the below fixes what I reported earlier. Does that seem right?
*** pbx.c.old 2013-01-23 21:08:51.000000000 -0500
--- pbx.c 2013-01-23 21:09:31.000000000 -0500
*************** static enum ast_pbx_result __ast_pbx_run
*** 5160,5163 ****
--- 5160,5165 ----
int timeout = 0;
+ dst_exten[0] = '\0';
+
/* loop on priorities in this context/exten */
while (!(res = ast_spawn_extension(c, c->context, c->exten, c->p
riority,
More information about the asterisk-users
mailing list