miconda left a comment (kamailio/kamailio#4229)
@space88man: I removed the condition in [444fef8](https://github.com/kamailio/kamailio/commit/444fef809c21b250402cfdbd48de6592...) 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.