keith-turner opened a new pull request, #4895: URL: https://github.com/apache/accumulo/pull/4895
Calls to Text.getBytes() should always be accompanied with a call to getLength() because an array that is longer than the data could be returned if set() was ever called on the Text object. Replaced with a call to getRowData().toArray() that is more efficient and does not have the length problem. Did a partial review of the code and found this one case. Could be other cases like this lurking. -- 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]
