You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@trafficserver.apache.org by GitBox <gi...@apache.org> on 2021/02/05 02:41:24 UTC

[GitHub] [trafficserver] masaori335 edited a comment on issue #7487: An array-bounds warning on PROXY Protocol Builder

masaori335 edited a comment on issue #7487:
URL: https://github.com/apache/trafficserver/issues/7487#issuecomment-773736721


   I wonder if this warning is a false positive. Because the `src_ip_len` can't be larger than `sizeof(src_ip_buf)`.
   
   https://github.com/apache/trafficserver/blob/1baffec5f2d5ce5272c9af5d46b2b54f4b9bbe6a/iocore/net/ProxyProtocol.cc#L336-L341


----------------------------------------------------------------
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.

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