SIPp / sipp

The SIPp testing tool
https://sipp.readthedocs.io
Other
917 stars 380 forks source link

Fix issue where next_url could return garbage #724

Closed mstovenour closed 5 months ago

mstovenour commented 5 months ago

next_req_url, which is a zero terminated string, is not initialized when initially allocated. Later code correctly zero terminates this string 99% of the time but fails to do so if there are no Record-Route or Contact headers. Subsequent use of [next_url] will return garbage, best case.