Edit report at https://bugs.php.net/bug.php?id=44522&edit=1

 ID:                 44522
 Comment by:         jason at infininull dot com
 Reported by:        mail2lv at yahoo dot com
 Summary:            http upload max_limits and file above 2GB
 Status:             Open
 Type:               Feature/Change Request
 Package:            *Web Server problem
 Operating System:   All
 PHP Version:        5.2.5
 Block user comment: N
 Private report:     N

 New Comment:

I have re-rolled the patch against HEAD 
(b4d078f18c950a4bf7e136443586e348bd54f40c) 
and attached it to this request.


Previous Comments:
------------------------------------------------------------------------
[2012-03-24 18:42:45] jason at infininull dot com

I was recently bitten by this bug too.  The patch needed a little updating for 
11.04 and I also found a couple of other issues.  1) Uploads only work if 
upload_max_filesize = 0 and 2) The $_FILES[*]['size'] value is an overflowed 
integer.  The attached patch fixes these issues.  I am currently in the process 
of 
re-rolling the patch against HEAD on master to get this in to upstream.

------------------------------------------------------------------------
[2012-02-23 19:14:51] s...@php.net

It's probably too late for 5.4, but would be OK for trunk. The patch however 
needs to be cleaned up (no IGNORE vars, etc.) and changing signature for 
zend_atoi may not be safe if any code out there presumes it returns int 
(integer 
overflow). Also, no reason to use signed long there where we used unsigned long.

------------------------------------------------------------------------
[2012-02-23 10:14:23] jcabillot at gmail dot com

Do you plan to apply this patch ?
5.3 doesn't support file upload if the file is bigger than 2Gb.
It seem that 5.4 have the same limit.

------------------------------------------------------------------------
[2012-02-22 09:30:11] noxxim at mail dot ru

Can someone add a patch for debian squeeze?

------------------------------------------------------------------------
[2010-02-15 19:52:50] zaulychny at yahoo dot com

The same problem was faced by me. It seems that PHP stops if size of file is 
above 2Gb (i.e. signed int). 
Will someone fix this issue?

------------------------------------------------------------------------


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=44522


-- 
Edit this bug report at https://bugs.php.net/bug.php?id=44522&edit=1

Reply via email to