We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a9de162 commit 2b0c726Copy full SHA for 2b0c726
alts/src/main/java/io/grpc/alts/internal/AltsTsiFrameProtector.java
@@ -206,7 +206,7 @@ static final class Unprotector {
206
this.crypter = crypter;
207
this.suffixBytes = crypter.getSuffixLength();
208
this.header = alloc.directBuffer(HEADER_BYTES);
209
- this.firstFrameTag = alloc.directBuffer(suffixBytes);
+ this.firstFrameTag = alloc.compositeDirectBuffer(suffixBytes);
210
}
211
212
private void addUnhandled(ByteBuf in) {
0 commit comments