Skip to content

Commit f987581

Browse files
committed
Fix wrong read of (unsupported) op_trusted_auth
1 parent 63dfbc3 commit f987581

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/main/org/firebirdsql/gds/ng/wire/version13/V13WireOperations.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -76,8 +76,8 @@ public void authReceiveResponse(FbWireAttachment.AcceptPacket acceptPacket, DbCr
7676
int operation = readNextOperation();
7777
switch (operation) {
7878
case op_trusted_auth -> {
79-
xdrIn.skipNBytes(4); // skip int: p_trau_data
80-
throw FbExceptionBuilder.toNonTransientConnectionException(jb_receiveTrustedAuth_NotSupported);
79+
xdrIn.skipBuffer(); // p_trau_data
80+
throw FbExceptionBuilder.toNonTransientConnectionException(jb_receiveTrustedAuth_NotSupported);
8181
}
8282
case op_cont_auth -> {
8383
data = xdrIn.readBuffer(); // p_data

0 commit comments

Comments
 (0)