btlqql opened a new pull request, #2562:
URL: https://github.com/apache/rocketmq-dashboard/pull/2562

   ## Summary
   
   - use the shared long-safe pagination offset for in-memory Tencent ACL rules
   - return an empty page when the requested offset is beyond the available 
rules
   - cover `Integer.MAX_VALUE` page input with the maximum supported page size
   
   ## Why
   
   The previous `(page - 1) * pageSize` calculation used `int` arithmetic. 
Large but valid page values overflowed to a negative index and caused `subList` 
to fail instead of returning the normal empty-page response.
   
   ## Validation
   
   - `mvn -Dtest=AclServiceTest test`
   - Maven Checkstyle (0 violations)
   - `git diff --check`
   
   Closes #2558.


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