Module: sip-router
Branch: master
Commit: 82c86ff64c2059256b776df32628e6bd4f5c13e9
URL:
http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=82c86ff…
Author: Juha Heinanen <jh(a)tutpro.com>
Committer: Juha Heinanen <jh(a)tutpro.com>
Date: Fri May 20 22:39:49 2011 +0300
modules/mediaproxy: Fixed crash in mediaproxy due to insufficient buffer size.
- Credits to giti.
---
modules/mediaproxy/mediaproxy.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/modules/mediaproxy/mediaproxy.c b/modules/mediaproxy/mediaproxy.c
index b195123..c17971f 100644
--- a/modules/mediaproxy/mediaproxy.c
+++ b/modules/mediaproxy/mediaproxy.c
@@ -1563,7 +1563,7 @@ use_media_proxy(struct sip_msg *msg, char *dialog_id,
ice_candidate_data *ice_da
str callid, cseq, from_uri, to_uri, from_tag, to_tag, user_agent;
str signaling_ip, media_relay, sdp, str_buf, tokens[MAX_STREAMS+1];
str priority_str, candidate;
- char request[8192], media_str[4096], buf[64], *result, *type;
+ char request[8192], media_str[4096], buf[128], *result, *type;
int i, j, port, len, status;
Bool removed_session_ip, have_sdp;
SessionInfo session;