@miconda commented on this pull request.
In src/core/parser/parse_via.c:
> @@ -2703,11 +2703,11 @@ char *parse_via( error: if(end > buffer) { - LM_ERR("parsing via on: <%.*s>\n", (int)(end - buffer), ZSW(buffer)); + LM_ERR("parsing via on: <%.*s>\n", (int)(end - buffer), ZSW(ksr_buf_oneline(buffer, (int)strlen(buffer))));
Instead of (int)strlen(buffer)
should be (int)(end - buffer)
-- that's the size to be printed, being the first parameter that is provided for %.*s
.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications on the go with GitHub Mobile for iOS or Android.