php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #67550 Error in code "form" instead of "from", pgsql.c, line 756
Submitted: 2014-07-01 19:56 UTC Modified: 2014-07-01 20:27 UTC
From: fvillavi at yahoo dot com Assigned: aharvey
Status: Closed Package: PostgreSQL related
PHP Version: 5.5.14 OS: oracle Linux 6.2
Private report: No CVE-ID:
 [2014-07-01 19:56 UTC] fvillavi at yahoo dot com
Description:
------------
There is an error in  ext/pgsql/pgsql.c line 756: "form" instead of "from",

#define PQescapeStringConn(conn, to, form, len, error) PQescapeString(to, from, len) 

Package: php-5.5.14.tar.gz.


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2014-07-01 20:07 UTC] aharvey@php.net
-Status: Open +Status: Assigned -Assigned To: +Assigned To: aharvey
 [2014-07-01 20:07 UTC] aharvey@php.net
Looks like this only affects extremely old versions of libpq.
 [2014-07-01 20:07 UTC] aharvey@php.net
-Package: Variables related +Package: PostgreSQL related
 [2014-07-01 20:27 UTC] aharvey@php.net
-Status: Assigned +Status: Closed
 [2014-07-01 20:27 UTC] aharvey@php.net
The fix for this bug has been committed.

Snapshots of the sources are packaged every three hours; this change
will be in the next snapshot. You can grab the snapshot at
http://snaps.php.net/.

 For Windows:

http://windows.php.net/snapshots/
 
Thank you for the report, and for helping us make PHP better.


 
PHP Copyright © 2001-2017 The PHP Group
All rights reserved.
Last updated: Fri Jun 23 06:01:39 2017 UTC