btlqql opened a new issue, #2558:
URL: https://github.com/apache/rocketmq-dashboard/issues/2558

   ## Problem
   
   Tencent ACL rules are fetched into memory and then paginated with `(page - 
1) * pageSize` using `int` arithmetic. A valid large page such as 
`Integer.MAX_VALUE` overflows to a negative index and causes `subList` to throw 
instead of returning an empty page. Other in-memory pagination paths already 
use the long-safe shared `Pagination.pageOffset` helper.
   
   ## Proposed fix
   
   Use the shared long-safe offset calculation for Tencent ACL rule pagination 
and add regression coverage for a page offset beyond the integer range.


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