AlexGritA opened a new pull request, #10292: URL: https://github.com/apache/gravitino/pull/10292
Added input validation in POConverters.fromSecurableObjectPO to check that privilegeNames and privilegeConditions are non-null and have equal sizes before iterating, failing fast with a clear IllegalArgumentException instead of a cryptic IndexOutOfBoundsException. Fixes #10277 Testing: Added testFromSecurableObjectPOWithMismatchedPrivileges in TestPOConverters which verifies the exception is thrown when privilege arrays are mismatched. -- 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]
