patch: tiny patch to correct stringbuffer size estimate

From: Oliver Jowett <oliver(at)opencloud(dot)com>
To: pgsql-jdbc(at)postgresql(dot)org
Subject: patch: tiny patch to correct stringbuffer size estimate
Date: 2003-07-22 13:54:53
Message-ID: 20030722135453.GE11354@opencloud.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-jdbc

This patch tweaks the size estimate when escaping strings to count the
enclosing quotes.

-O

Attachment Content-Type Size
pgsql-escape_size_estimate.txt text/plain 867 bytes

Responses

Browse pgsql-jdbc by date

  From Date Subject
Next Message Oliver Jowett 2003-07-22 14:17:09 patch: support user implementations of Array in setArray()
Previous Message Oliver Jowett 2003-07-22 13:39:09 Re: Patch applied for SQL Injection vulnerability for setObject(int, Object, int)