Increase buffer size (bug #1459)
authorMark Spencer <markster@digium.com>
Wed, 21 Apr 2004 21:55:40 +0000 (21:55 +0000)
committerMark Spencer <markster@digium.com>
Wed, 21 Apr 2004 21:55:40 +0000 (21:55 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@2733 65c4cc65-6c06-0410-ace0-fbb531ad65f3

channels/chan_sip.c

index a56d352..a264aac 100755 (executable)
@@ -3392,7 +3392,7 @@ static int transmit_request_with_auth(struct sip_pvt *p, char *msg, int seqno, i
        reqprep(&resp, p, msg, seqno, newbranch);
        if (*p->realm)
        {
-               char digest[256];
+               char digest[1024];
                memset(digest,0,sizeof(digest));
                build_reply_digest(p, msg, digest, sizeof(digest));
                add_header(&resp, "Proxy-Authorization", digest);