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
View Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please — but make sure to vote on the bug!
Your email address:
MUST BE VALID
Solve the problem:
2 + 25 = ?
Subscribe to this entry?

 
 [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-2024 The PHP Group
All rights reserved.
Last updated: Wed Apr 24 01:01:31 2024 UTC