ErrReporter opened a new issue #2863:
URL: https://github.com/apache/rocketmq/issues/2863


   **BUG REPORT**
   
   1. Please describe the issue you observed:
   
   Our code analyses found the following potential NPE:
   
   - Return null to caller
   
https://github.com/apache/rocketmq/blob/b4240d5cea8d001c21b9c0d73f5aa700fcd0d568/acl/src/main/java/org/apache/rocketmq/acl/common/AclUtils.java#L276
   
   - Function getYamlDataObject executes and returns
   
https://github.com/apache/rocketmq/blob/b4240d5cea8d001c21b9c0d73f5aa700fcd0d568/acl/src/main/java/org/apache/rocketmq/acl/plain/PlainPermissionManager.java#L134
   
   - aclAccessConfigMap is passed as the this pointer to function 
java.util.Map.get (aclAccessConfigMap can be null)
   
https://github.com/apache/rocketmq/blob/b4240d5cea8d001c21b9c0d73f5aa700fcd0d568/acl/src/main/java/org/apache/rocketmq/acl/plain/PlainPermissionManager.java#L137
   
   Commit: b4240d5cea8d001c21b9c0d73f5aa700fcd0d568
   
   2. Please tell us about your environment:
   N/A
   
   3. Other information (e.g. detailed explanation, logs, related issues, 
suggestions how to fix, etc):
   


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

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to