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

 [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

Add a Patch

Pull Requests

Add a Pull Request

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 Apr 27 07:01:29 2024 UTC