PATCH for arrayindexoutofbounds exception in latest code - Mailing list pgsql-patches

From Barry Lind
Subject PATCH for arrayindexoutofbounds exception in latest code
Date
Msg-id 3A6F48C6.301FF6A8@xythos.com
Whole thread Raw
Responses Re: PATCH for arrayindexoutofbounds exception in latest code
List pgsql-patches
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:022001 
--- 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

pgsql-patches by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: unixODBC again :-(
Next
From: Bruce Momjian
Date:
Subject: Re: Revised Patch for JDBC timestamp problems