michaelandrepearce commented on issue #2504: NO-JIRA Check data != null during 
encode
URL: https://github.com/apache/activemq-artemis/pull/2504#issuecomment-455386880
 
 
   data can be null, shown by check at top of method 
   
         int estimated = Math.max(1500, data != null ? data.capacity() + 1000 : 
0);
   
   but later reference to data is used without null check

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to