You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@trafficserver.apache.org by GitBox <gi...@apache.org> on 2021/11/06 22:24:23 UTC

[GitHub] [trafficserver] SolidWallOfCode commented on a change in pull request #8080: Fix length bug in validate_unmapped_url_path

SolidWallOfCode commented on a change in pull request #8080:
URL: https://github.com/apache/trafficserver/pull/8080#discussion_r744174854



##########
File path: proxy/logging/LogAccess.cc
##########
@@ -1505,7 +1505,7 @@ LogAccess::validate_unmapped_url_path()
           // Attempt to find first '/' in the path
           if (m_client_req_unmapped_url_host_len > 0 &&
               (c = static_cast<char *>(
-                 memchr((void *)m_client_req_unmapped_url_host_str, '/', m_client_req_unmapped_url_path_len))) != nullptr) {
+                 memchr((void *)m_client_req_unmapped_url_host_str, '/', m_client_req_unmapped_url_host_len))) != nullptr) {

Review comment:
       Oh, that'd be very challenging.




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: github-unsubscribe@trafficserver.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org