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
Have you experienced this issue?
Rate the importance of this bug to you:

 [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

Add a Patch

Pull Requests

Add a Pull Request

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-2021 The PHP Group
All rights reserved.
Last updated: Thu Jan 21 18:01:23 2021 UTC