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:
a51556f
)
initialize these variables because they could be used uninitialized in the
author
Russell Bryant
<russell@russellbryant.com>
Wed, 7 Sep 2005 23:29:17 +0000
(23:29 +0000)
committer
Russell Bryant
<russell@russellbryant.com>
Wed, 7 Sep 2005 23:29:17 +0000
(23:29 +0000)
case that the codec capabilities are 0, oops
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6545
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
7088182
..
5621ab0
100755
(executable)
--- a/
channels/chan_sip.c
+++ b/
channels/chan_sip.c
@@
-4097,8
+4097,8
@@
static int add_sdp(struct sip_request *resp, struct sip_pvt *p)
char t[256];
char m[256];
char m2[256];
- char a[1024];
- char a2[1024];
+ char a[1024] = "";
+ char a2[1024] = "";
char iabuf[INET_ADDRSTRLEN];
int x = 0;
int capability = 0 ;