[asterisk-commits] russell: trunk r40278 -
/trunk/channels/chan_sip.c
asterisk-commits at lists.digium.com
asterisk-commits at lists.digium.com
Thu Aug 17 12:14:21 MST 2006
Author: russell
Date: Thu Aug 17 14:14:20 2006
New Revision: 40278
URL: http://svn.digium.com/view/asterisk?rev=40278&view=rev
Log:
fix the use of an uninitialized variable (issue #7746, pointed out by garyhai)
Modified:
trunk/channels/chan_sip.c
Modified: trunk/channels/chan_sip.c
URL: http://svn.digium.com/view/asterisk/trunk/channels/chan_sip.c?rev=40278&r1=40277&r2=40278&view=diff
==============================================================================
--- trunk/channels/chan_sip.c (original)
+++ trunk/channels/chan_sip.c Thu Aug 17 14:14:20 2006
@@ -7021,7 +7021,9 @@
*/
static int transmit_refer(struct sip_pvt *p, const char *dest)
{
- struct sip_request req;
+ struct sip_request req = {
+ .headers = 0,
+ };
char from[256];
const char *of;
char *c;
More information about the asterisk-commits
mailing list