Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@mstovenour
Copy link
Contributor

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.

Copy link
Member

@wdoekes wdoekes left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Brr.. how that next_req_url is allocated does not win any prizes.

But you're not making it worse 👍

Thanks!

@wdoekes wdoekes merged commit ff62f70 into SIPp:master Apr 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants