projects
/
postgresql.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ba6fda5
)
This patch fixes an arrayindexoutofbounds exception that was just
author
Bruce Momjian
Thu, 25 Jan 2001 00:02:58 +0000
(
00:02
+0000)
committer
Bruce Momjian
Thu, 25 Jan 2001 00:02:58 +0000
(
00:02
+0000)
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
patch
|
blob
|
blame
|
history
diff --git
a/src/interfaces/jdbc/org/postgresql/core/BytePoolDim1.java
b/src/interfaces/jdbc/org/postgresql/core/BytePoolDim1.java
index 61b58f2ec517fab151bfffe725a7b0080e192b23..e78f46b4af24716caf49f903ccf3e2f40acedb03 100644
(file)
--- 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