geforkt von Mirrors/Velocity
Slightly more accurate natives check
Dieser Commit ist enthalten in:
Ursprung
35856fec04
Commit
3a77068088
@ -67,7 +67,7 @@ public class JavaVelocityCipher implements VelocityCipher {
|
|||||||
}
|
}
|
||||||
|
|
||||||
private static ByteBuf toHeap(ByteBuf src) {
|
private static ByteBuf toHeap(ByteBuf src) {
|
||||||
if (!src.isDirect()) {
|
if (src.hasArray()) {
|
||||||
return src.retain();
|
return src.retain();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren