From 4e45005ffb8f89ce055953ea66dde908be7c26ed Mon Sep 17 00:00:00 2001 From: Bruce Momjian Date: Thu, 25 Jan 2001 00:02:58 +0000 Subject: [PATCH] This patch fixes an arrayindexoutofbounds exception that was just introduced into the code. The fix is a fix to org.postgresql.core.ByteArrayDim1.java. Barry Lind --- src/interfaces/jdbc/org/postgresql/core/BytePoolDim1.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/interfaces/jdbc/org/postgresql/core/BytePoolDim1.java b/src/interfaces/jdbc/org/postgresql/core/BytePoolDim1.java index 61b58f2ec5..e78f46b4af 100644 --- a/src/interfaces/jdbc/org/postgresql/core/BytePoolDim1.java +++ b/src/interfaces/jdbc/org/postgresql/core/BytePoolDim1.java @@ -21,7 +21,7 @@ public class BytePoolDim1 { /** * */ - byte binit[][] = new byte[maxsize][0]; + byte binit[][] = new byte[maxsize+1][0]; /** * Construct a new pool -- 2.40.0