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

   XPACK dynamic-table lookups convert absolute match indexes into HPACK 
relative indexes. A missing guard allowed the unsigned subtraction to wrap if 
an impossible future absolute index reached that conversion path.
   
   This guards the conversion by returning unmatched results before reading the 
table head and by rejecting absolute indexes beyond the current head. This also 
adds XPACK unit coverage for empty, missing, and normal relative lookup results.
   
   Verification:
   - `cmake --build build --target test_proxy_hdrs_xpack test_http2`: passed in 
`asfats2`.
   - `ctest --test-dir build -R test_proxy_hdrs_xpack --output-on-failure`: 
passed, 1/1.
   - `ctest --test-dir build -R test_http2 --output-on-failure`: passed, 1/1.
   - `cmake --build build --target format`: passed.
   


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