Bug #69224 [Dup]: Fileinfo tries to allocate huge amounts of memory for some text files
Edit report at https://bugs.php.net/bug.php?id=69224&edit=1
ID: 69224
Updated by: ab@php.net
Reported by: john at zerocrates dot org
Summary: Fileinfo tries to allocate huge amounts of memory
for some text files
Status: Duplicate
Type: Bug
Package: Filesystem function related
Operating System: Linux
PHP Version: 5.6.6
Assigned To: ab
Block user comment: N
Private report: N
New Comment:
@nmenciere I cannot reproduce it with the current 5.6 dev tree with the reproduce case linked here.
If you think this or similar bug is present, please open a new ticket and post your reproduce case.
Thanks.
Previous Comments:
------------------------------------------------------------------------
[2015-11-09 20:24:30] nmenciere at sportarchive dot tv
Hi,
What is the update on this bug?
Because it looks like in 5.6.15 the bug still exists.
thanks
------------------------------------------------------------------------
[2015-03-12 07:11:11] ab@php.net
Yeah, this is the same issue. A patch for pre master is attached to the sec bug and waits to be
merged.
Thanks for checking, guys.
------------------------------------------------------------------------
[2015-03-12 04:22:34] laruence@php.net
this is a knew issue, as I remebered welting said about considering update libmagic to fix this.
@welting, any comments?
------------------------------------------------------------------------
[2015-03-11 20:30:36] aharvey@php.net
Pretty sure this is a duplicate of bug #68819 â can someone with security access check that,
please?
------------------------------------------------------------------------
[2015-03-11 20:29:19] john at zerocrates dot org
Just to clarify, the test file "test.csv" is only 28 kilobytes, nowhere near the memory
limit or the requested allocation size.
------------------------------------------------------------------------
The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
https://bugs.php.net/bug.php?id=69224
--
Edit this bug report at https://bugs.php.net/bug.php?id=69224&edit=1
Thread (7 messages)