miconda left a comment (kamailio/kamailio#4229)

@space88man: I removed the condition in 444fef8 that I added in that older commit, which was wrong, thinking of an extra protection not to go over boundary.

The lines:

333: start = space + 1;
334:  len = len - (space - start + 1);

were not part of the referenced commit, but if you think they have to be reversed, then make a PR for it.


Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.Message ID: <kamailio/kamailio/issues/4229/2851276125@github.com>