The size in pkg_malloc() needs to be increased, too -- from:
```
reg = pkg_malloc(len + 2 + 1);
```
to:
```
reg = pkg_malloc(len + 4 + 1);
```
---
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/pull/703#issuecomment-231580428