php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #16482 change in db2 breaks 4.2.0RC2
Submitted: 2002-04-07 23:55 UTC Modified: 2002-04-08 02:37 UTC
From: alan at akbkhome dot com Assigned:
Status: Closed Package: DBM/DBA related
PHP Version: 4.0CVS-2002-04-07 OS: linux
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: alan at akbkhome dot com
New email:
PHP Version: OS:

 

 [2002-04-07 23:55 UTC] alan at akbkhome dot com
this change in dba_db2.c changed the behaviour of db_open so that it fails on success

if(!(ret = db_open(info->path, type, gmode, filemode, NULL, NULL, &dbp)))

became 

if(db_open(info->path, type, gmode, filemode, NULL, NULL, &dbp)) {

seems to work ok if it is changed to !db_open(

http://cvs.php.net/diff.php/php4/ext/dba/dba_db2.c?r1=1.18&r2=1.19&ty=u&Horde=4af7943402097520ae8f0622dab6804b

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2002-04-08 02:37 UTC] derick@php.net
This bug has been fixed in CVS.
 
PHP Copyright © 2001-2021 The PHP Group
All rights reserved.
Last updated: Thu Apr 15 23:01:24 2021 UTC