php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #11941 Not checking allow_persistent
Submitted: 2001-07-06 18:02 UTC Modified: 2001-07-13 13:10 UTC
From: sthomas at townnews dot com Assigned:
Status: Closed Package: PostgreSQL related
PHP Version: 4.0.6 OS: Linux
Private report: No CVE-ID: None
 [2001-07-06 18:02 UTC] sthomas at townnews dot com
Probably just an oversight, here's the patch:

355c355,356
<       if (persistent) {
---
>
>       if (persistent && PGG(allow_persistent)) {

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2001-07-13 11:29 UTC] sthomas at townnews dot com
PHP isn't checking Postgres's allow_persistent config
variable.  It's probably an oversight.  Here's the
patch for php4.0.6

372c372
<       if (persistent) {
---
>       if (persistent && PGG(allow_persistent)) {

 [2001-07-13 13:10 UTC] rasmus@php.net
Fixed in CVS, thanks.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Wed Apr 24 22:01:30 2024 UTC