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:
9f9e9a0
)
mark XXX a bug in the code. oej/kevin, any idea what you want
author
Luigi Rizzo
<rizzo@icir.org>
Sat, 3 Jun 2006 22:18:41 +0000
(22:18 +0000)
committer
Luigi Rizzo
<rizzo@icir.org>
Sat, 3 Jun 2006 22:18:41 +0000
(22:18 +0000)
to use here ?
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@31841
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
81f3ccb
..
0b657f6
100644
(file)
--- a/
channels/chan_sip.c
+++ b/
channels/chan_sip.c
@@
-7331,6
+7331,10
@@
static int get_refer_info(struct sip_pvt *transferer, struct sip_request *outgoi
if ((ptr = strchr(referdata->replaces_callid, ';'))) /* Remove options */ {
*ptr = '\0';
}
+ /*
+ * XXX don't know what was the intention but this code is
+ * definitely wrong, as ptr can be NULL here.
+ */
ptr++;
/* Find the different tags before we destroy the string */