Re: Last call for back-branch fixes - Mailing list pgsql-hackers

From Greg Sabino Mullane
Subject Re: Last call for back-branch fixes
Date
Msg-id cb58ac4dd545f67d9909d34d7eab8f74@biglumber.com
Whole thread Raw
In response to Last call for back-branch fixes  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: Last call for back-branch fixes
List 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 ==
'\'')




pgsql-hackers by date:

Previous
From: Gaetano Mendola
Date:
Subject: Build Farm: thrush
Next
From: "John Hansen"
Date:
Subject: PG Killed by OOM Condition