Bug#769108: asterisk: rr_copy array too small for some record-route headers

Geert Stappers stappers at stappers.nl
Sat Dec 13 13:05:19 UTC 2014


Control: -1  + patch

On Tue, Nov 11, 2014 at 10:56:34AM +0100, Dirk Teurlings - SIGNET B.V. wrote:
> 
> Looking into this I found that in chan_sip.c in function build_route
> there is a definition of 'char rr_copy[256]' (line 14252). This is
> too small as you can see. My proposed fix would be to enlarge this
> field to a bigger value.

Converted into a patch. Find it attached.


> For now I have set mine to 8192. This completely resolves the issue.

To avoid the risc of memory exhausting enlarged from 256 to 512.


Groeten
Geert Stappers
-- 
Leven en laten leven
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Transformed-769108-into-a-patch.patch
Type: text/x-diff
Size: 3745 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-voip-maintainers/attachments/20141213/43b954aa/attachment.patch>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-voip-maintainers/attachments/20141213/43b954aa/attachment.sig>


More information about the Pkg-voip-maintainers mailing list