You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@activemq.apache.org by GitBox <gi...@apache.org> on 2019/01/18 00:50:27 UTC

[GitHub] michaelandrepearce commented on issue #2504: NO-JIRA Check data != null during encode

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:
users@infra.apache.org


With regards,
Apache Git Services