bneradt opened a new pull request, #14063:
URL: https://github.com/apache/trafficserver/pull/14063

   GCC 11 at -O3 failed the Rocky Linux 8 release build of prometheus_render.cc
   with -Werror=stringop-overread: it followed a SIZE_MAX length out of
   query.substr(0, npos) into the memchr behind param.find('='), though substr
   clamps the length and nothing could overread. Build the last parameter's view
   from an explicit length instead; parsing is unchanged. Adds a unit test for
   the empty parameters a leading, doubled or trailing '&' makes.
   
   (cherry picked from commit 547d24959acd6fc0f34df7bb2ef1acc44e7d9bbb)


-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to