Re: Last call for back-branch fixes

From: "Greg Sabino Mullane" <greg(at)turnstep(dot)com>
To: pgsql-hackers(at)postgresql(dot)org
Subject: Re: Last call for back-branch fixes
Date: 2005-10-03 12:51:07
Message-ID: cb58ac4dd545f67d9909d34d7eab8f74@biglumber.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers


Index: fe-exec.c
===================================================================
RCS file: /projects/cvsroot/pgsql/src/interfaces/libpq/fe-exec.c,v
retrieving revision 1.175
diff -c -r1.175 fe-exec.c
*** fe-exec.c 24 Sep 2005 17:53:28 -0000 1.175
--- fe-exec.c 3 Oct 2005 12:49:08 -0000
***************
*** 2429,2435 ****
{
if (*vp < 0x20 || *vp > 0x7e)
{
! (void) sprintf((char *) rp, "\\\\%03o", *vp);
rp += 5;
}
else if (*vp == '\'')
--- 2429,2435 ----
{
if (*vp < 0x20 || *vp > 0x7e)
{
! (void) snprintf((char *) rp, 6, "\\\\%03o", *vp);
rp += 5;
}
else if (*vp == '\'')

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message John Hansen 2005-10-03 13:03:06 PG Killed by OOM Condition
Previous Message Andreas Pflug 2005-10-03 10:56:44 Re: [HACKERS] pgAdmin guru hints