Skip to content

Commit 4e45005

Browse files
committed
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
1 parent ba6fda5 commit 4e45005

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/interfaces/jdbc/org/postgresql/core/BytePoolDim1.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ public class BytePoolDim1 {
2121
/**
2222
*
2323
*/
24-
byte binit[][] = new byte[maxsize][0];
24+
byte binit[][] = new byte[maxsize+1][0];
2525

2626
/**
2727
* Construct a new pool

0 commit comments

Comments
 (0)