diff options
author | Bruce Momjian <bruce@momjian.us> | 2001-01-25 00:02:58 +0000 |
---|---|---|
committer | Bruce Momjian <bruce@momjian.us> | 2001-01-25 00:02:58 +0000 |
commit | 4e45005ffb8f89ce055953ea66dde908be7c26ed (patch) | |
tree | 87fea968cb42d414798fea3ff5e62f9f8f3224e4 /src | |
parent | ba6fda5191a188b04a953b304be5eaf04fc3f902 (diff) | |
download | postgresql-4e45005ffb8f89ce055953ea66dde908be7c26ed.tar.gz postgresql-4e45005ffb8f89ce055953ea66dde908be7c26ed.zip |
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
Diffstat (limited to 'src')
-rw-r--r-- | src/interfaces/jdbc/org/postgresql/core/BytePoolDim1.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/interfaces/jdbc/org/postgresql/core/BytePoolDim1.java b/src/interfaces/jdbc/org/postgresql/core/BytePoolDim1.java index 61b58f2ec51..e78f46b4af2 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 |