Debian Bug report logs -
#827486
php5-dev: integer overflow on x32
Reported by: jose <jose@zeroc.com>
Date: Thu, 16 Jun 2016 21:48:01 UTC
Severity: important
Found in version php5/5.6.12+dfsg-0+deb8u1
Fixed in version 5.6.26+dfsg-1+rm
Done: Debian FTP Masters <ftpmaster@ftp-master.debian.org>
Bug is archived. No further changes may be made.
Toggle useless messages
Report forwarded
to debian-bugs-dist@lists.debian.org, jose@zeroc.com, Debian PHP Maintainers <pkg-php-maint@lists.alioth.debian.org>:
Bug#827486; Package php5-dev.
(Thu, 16 Jun 2016 21:48:05 GMT) (full text, mbox, link).
Acknowledgement sent
to jose <jose@zeroc.com>:
New Bug report received and forwarded. Copy sent to jose@zeroc.com, Debian PHP Maintainers <pkg-php-maint@lists.alioth.debian.org>.
(Thu, 16 Jun 2016 21:48:05 GMT) (full text, mbox, link).
Message #5 received at submit@bugs.debian.org (full text, mbox, reply):
Package: php5-dev
Version: 5.6.12+dfsg-0+deb8u1
Severity: important
Dear Maintainer,
Seems integer overflow is bogus on x32 arch
According to php doc
> If PHP encounters a number beyond the bounds of the integer type, it will
> be interpreted as a float instead. Also, an operation which results in a
> number beyond the bounds of the integer type will return a float instead.
http://php.net/manual/en/language.types.integer.php
This works fine on i386
php -r 'echo("Number: " . (2147483647 + 1) . "\n");'
Number: 2147483648
The same code on x32
php -r 'echo("Number: " . (2147483647 + 1) . "\n");'
Number: -2147483648
-- System Information:
Debian Release: 8.1
Architecture: x32 (x86_64)
Foreign Architectures: amd64
Kernel: Linux 3.16.0-4-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
Versions of packages php5-dev depends on:
ii autoconf 2.69-8
ii automake 1:1.14.1-4
ii libpcre3-dev 2:8.35-3.3+x32
ii libssl-dev 1.0.1k-3+deb8u1
ii libtool 2.4.2-1.11
ii php5-common 5.6.12+dfsg-0+deb8u1
ii shtool 2.0.8-6
Versions of packages php5-dev recommends:
ii dh-php5 0.2
ii pkg-php-tools 1.28
php5-dev suggests no packages.
-- no debconf information
Reply sent
to Debian FTP Masters <ftpmaster@ftp-master.debian.org>:
You have taken responsibility.
(Fri, 13 Jan 2017 13:07:50 GMT) (full text, mbox, link).
Notification sent
to jose <jose@zeroc.com>:
Bug acknowledged by developer.
(Fri, 13 Jan 2017 13:07:50 GMT) (full text, mbox, link).
Message #10 received at 827486-done@bugs.debian.org (full text, mbox, reply):
Version: 5.6.26+dfsg-1+rm
Dear submitter,
as the package php5 has just been removed from the Debian archive
unstable we hereby close the associated bug reports. We are sorry
that we couldn't deal with your issue properly.
For details on the removal, please see https://bugs.debian.org/841781
The version of this package that was in Debian prior to this removal
can still be found using http://snapshot.debian.org/.
This message was generated automatically; if you believe that there is
a problem with it please contact the archive administrators by mailing
ftpmaster@ftp-master.debian.org.
Debian distribution maintenance software
pp.
Scott Kitterman (the ftpmaster behind the curtain)
Bug archived.
Request was from Debbugs Internal Request <owner@bugs.debian.org>
to internal_control@bugs.debian.org.
(Sat, 11 Feb 2017 07:38:08 GMT) (full text, mbox, link).
Send a report that this bug log contains spam.
Debian bug tracking system administrator <owner@bugs.debian.org>.
Last modified:
Sun Jul 2 02:22:43 2023;
Machine Name:
buxtehude
Debian Bug tracking system
Debbugs is free software and licensed under the terms of the GNU
Public License version 2. The current version can be obtained
from https://bugs.debian.org/debbugs-source/.
Copyright © 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson,
2005-2017 Don Armstrong, and many other contributors.