wasphin opened a new pull request, #3662:
URL: https://github.com/apache/brpc/pull/3662

   ### What problem does this PR solve?
   
   Problem Summary:
   
   The RVV Base64 decoder accepts incomplete groups and strips more padding 
than the scalar decoder.
   
   ### What is changed and the side effects?
   
   Changed:
   
   - Require nonempty padded inputs to have a length divisible by four.
   - Remove at most two trailing padding characters so extra padding is 
rejected.
   - Add common malformed-length and padding cases.
   
   Side effects:
   - Performance effects: Constant-time validation before vector decoding.
   - Breaking backward compatibility: Malformed inputs now follow the scalar 
decoder behavior.
   
   ---
   ### Check List:
   - [x] Changes compile locally.
   - [x] Added focused test coverage.
   - Please follow [Contributor Covenant Code of 
Conduct](https://github.com/apache/brpc/blob/master/CODE_OF_CONDUCT.md).
   


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


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to