php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #66037 Wrong C preprocessor logic to check for PHP versions 4 through 5.3 in ingres.c
Submitted: 2013-11-06 20:16 UTC Modified: 2017-10-24 08:42 UTC
From: jonerworm at gmail dot com Assigned:
Status: Suspended Package: ingres (PECL)
PHP Version: Irrelevant OS:
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: jonerworm at gmail dot com
New email:
PHP Version: OS:

 

 [2013-11-06 20:16 UTC] jonerworm at gmail dot com
Description:
------------
Ingres 2.2.4 PECL package, SVN release 329240, has C preprocessor logic to check for PHP versions 4 through 5.3 (inclusive) that seems to wrongly include any major version greater than 5 which have minor version between 0 and 3 (inclusive), so this bug will occur in the next PHP versions 6.0 through 6.3, 7.0 through 7.3 and so on.

Code in file "ingres.c", line 4325:
# http://svn.php.net/viewvc/pecl/ingres/trunk/ingres.c?revision=329240

#if ((PHP_MAJOR_VERSION == 4) || (PHP_MAJOR_VERSION >= 5 && PHP_MINOR_VERSION < 4))



Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2017-10-24 08:42 UTC] kalle@php.net
-Status: Open +Status: Suspended
 [2017-10-24 08:42 UTC] kalle@php.net
The ingres package has not had any activity for 4 years, so its safe to say that its no longer in active development, if activity picks backup then the maintainer can re-open this report
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri Dec 27 13:01:27 2024 UTC