From: | Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us> |
---|---|
To: | Barry Lind <barry(at)xythos(dot)com> |
Cc: | pgsql-patches(at)postgresql(dot)org |
Subject: | Re: PATCH for arrayindexoutofbounds exception in latest code |
Date: | 2001-01-25 00:03:23 |
Message-ID: | 200101250003.TAA19440@candle.pha.pa.us |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-patches |
Thanks. Applied.
---------------------------------------------------------------------------
This patch fixes an arrayindexoutofbounds exception that was just
introduced into the code. The fix is a fix to
org.postgresql.core.ByteArrayDim1.java.
*** src/interfaces/jdbc/org/postgresql/core/BytePoolDim1.java.orig Wed Jan 24 13:04:02 2001
--- src/interfaces/jdbc/org/postgresql/core/BytePoolDim1.java Wed Jan 24 13:02:09 2001
***************
*** 21,27 ****
/**
*
*/
! byte binit[][] = new byte[maxsize][0];
/**
* Construct a new pool
--- 21,27 ----
/**
*
*/
! byte binit[][] = new byte[maxsize+1][0];
/**
* Construct a new pool
--
Bruce Momjian | http://candle.pha.pa.us
pgman(at)candle(dot)pha(dot)pa(dot)us | (610) 853-3000
+ If your life is a hard drive, | 830 Blythe Avenue
+ Christ can be your backup. | Drexel Hill, Pennsylvania 19026
From | Date | Subject | |
---|---|---|---|
Next Message | Bruce Momjian | 2001-01-25 03:27:07 | Re: ODBC Patch for OJs/Large Querys & Rows |
Previous Message | Bruce Momjian | 2001-01-24 23:41:27 | Re: [PATCHES] Revised Patch for JDBC timestamp problems |