1
0
mirror of https://github.com/postgres/postgres.git synced 2025-05-05 09:19:17 +03:00

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
This commit is contained in:
Bruce Momjian 2001-01-25 00:02:58 +00:00
parent ba6fda5191
commit 4e45005ffb

View File

@ -21,7 +21,7 @@ public class BytePoolDim1 {
/**
*
*/
byte binit[][] = new byte[maxsize][0];
byte binit[][] = new byte[maxsize+1][0];
/**
* Construct a new pool