php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #62581 Fatal error: Balloc() allocation exceeds list boundary
Submitted: 2012-07-16 20:01 UTC Modified: 2013-02-18 00:35 UTC
From: prakash dot indu at gmail dot com Assigned:
Status: No Feedback Package: Output Control
PHP Version: 5.3Git-2012-07-16 (Git) OS: linux
Private report: No CVE-ID: None
View Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
If you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: prakash dot indu at gmail dot com
New email:
PHP Version: OS:

 

 [2012-07-16 20:01 UTC] prakash dot indu at gmail dot com
Description:
------------
Fatal error: Balloc() allocation exceeds list boundary
It is in php 5.3.6.


$perm=47;
$test=explode(".", $perm/64);

It coming when i am doing any floating point calculation...



Test script:
---------------
It is in php 5.3.6.

$perm=47;
$test=explode(".", $perm/64);

It coming when i am doing any floating point calculation...

Expected result:
----------------
array of data

Actual result:
--------------
Fatal error: Balloc() allocation exceeds list boundary

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2012-07-17 06:30 UTC] reeze dot xia at gmail dot com
Hi, 
I can't reproduce it.

see: http://3v4l.org/aFi1e#v430
 [2012-07-17 15:01 UTC] laruence@php.net
did you cross-compiled your php?
 [2012-07-17 15:01 UTC] laruence@php.net
-Status: Open +Status: Feedback
 [2013-02-18 00:35 UTC] php-bugs at lists dot php dot net
No feedback was provided. The bug is being suspended because
we assume that you are no longer experiencing the problem.
If this is not the case and you are able to provide the
information that was requested earlier, please do so and
change the status of the bug back to "Open". Thank you.
 [2021-04-07 10:47 UTC] karthik32cse at gmail dot com
Hi,

I am facing the same issue when cross compiling PHP.
PHP Version: 5.5.33 (FreeBSD12)

Any configuration need to update

note: The same works fine before FreeBSD12
 [2021-04-07 10:51 UTC] rtrtrtrtrt at dfdfdfdf dot dfd
PHP5 is dead for years,and writing comments about PHP5.5 bugs (given that there was 5.6 long ago) in 2021 is a joke
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sat Dec 21 11:01:30 2024 UTC