Mirror von
https://github.com/PaperMC/Velocity.git
synchronisiert 2024-12-24 15:20:35 +01:00
Do a small sanity check, however
Dieser Commit ist enthalten in:
Ursprung
821a7a45bc
Commit
b881e9cf04
@ -51,6 +51,7 @@ public class NativeVelocityCipher implements VelocityCipher {
|
||||
@Override
|
||||
public ByteBuf process(ChannelHandlerContext ctx, ByteBuf source) throws ShortBufferException {
|
||||
ensureNotDisposed();
|
||||
source.memoryAddress(); // sanity check
|
||||
|
||||
int len = source.readableBytes();
|
||||
ByteBuf out = ctx.alloc().directBuffer(len);
|
||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren