Github user bryancall commented on a diff in the pull request: https://github.com/apache/trafficserver/pull/721#discussion_r67789890 --- Diff: proxy/http/HttpSM.cc --- @@ -6890,7 +6890,8 @@ HttpSM::update_stats() int offset = 0; int skip = 0; - t_state.hdr_info.client_request.url_print(url_string, sizeof url_string, &offset, &skip); + t_state.hdr_info.client_request.url_print(url_string, sizeof(url_string), &offset, &skip); + url_string[sizeof(url_string) - 1] = 0; // NULL terminate the string --- End diff -- Yeah, that would be better.
--- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastruct...@apache.org or file a JIRA ticket with INFRA. ---