[infinispan-issues] [JBoss JIRA] (ISPN-10498) Rest Body Content contains junk with HeapByteBuf
Will Burns (Jira)
issues at jboss.org
Thu Aug 22 08:35:00 EDT 2019
Will Burns created ISPN-10498:
---------------------------------
Summary: Rest Body Content contains junk with HeapByteBuf
Key: ISPN-10498
URL: https://issues.jboss.org/browse/ISPN-10498
Project: Infinispan
Issue Type: Feature Request
Components: REST
Affects Versions: 10.0.0.Beta5
Reporter: Will Burns
Assignee: Will Burns
Fix For: 10.0.0.CR1
The code at https://github.com/infinispan/infinispan/blob/cd3a25e6caffd719c624727b2352a426f34f79e1/server/rest/src/main/java/org/infinispan/rest/ByteBufContentSource.java#L26 returns the entire byte[]. Instead it should be returning a copy if the offset !=0 and readableBytes() != length.
--
This message was sent by Atlassian Jira
(v7.12.1#712002)
More information about the infinispan-issues
mailing list