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:
50d94fc
)
fix the use of an uninitialized variable (issue #7746, pointed out by garyhai)
author
Russell Bryant
<russell@russellbryant.com>
Thu, 17 Aug 2006 19:14:20 +0000
(19:14 +0000)
committer
Russell Bryant
<russell@russellbryant.com>
Thu, 17 Aug 2006 19:14:20 +0000
(19:14 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@40278
65c4cc65
-6c06-0410-ace0-
fbb531ad65f3
channels/chan_sip.c
patch
|
blob
|
history
diff --git
a/channels/chan_sip.c
b/channels/chan_sip.c
index
33758d3
..
b512cd9
100644
(file)
--- a/
channels/chan_sip.c
+++ b/
channels/chan_sip.c
@@
-7021,7
+7021,9
@@
static int sip_refer_allocate(struct sip_pvt *p)
*/
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;