Bug #48034 [Asn]: Crash when script is 8192 (8KB) bytes long

From: Date: Fri, 23 Mar 2012 17:49:45 +0000
Subject: Bug #48034 [Asn]: Crash when script is 8192 (8KB) bytes long
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-168772@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=48034&edit=1

 ID:                 48034
 Updated by:         pajoye@php.net
 Reported by:        ninzya at inbox dot lv
 Summary:            Crash when script is 8192 (8KB) bytes long
 Status:             Assigned
 Type:               Bug
 Package:            Reproducible crash
 Operating System:   *
 PHP Version:        5.*, 6CVS (2009-04-21)
 Assigned To:        dmitry
 Block user comment: N
 Private report:     N

 New Comment:

@ninzya at inbox dot lv

It was not in 5.3.10, so please try with 5.3 snapshots.


Previous Comments:
------------------------------------------------------------------------
[2012-03-23 17:46:39] ninzya at inbox dot lv

Just ran into this problem again, almost exactly two years later :) But this time 
with 4KB (4096 bytes) long script:

<?php(any 4089 bytes long data)?>

------------------------------------------------------------------------
[2012-01-17 09:30:14] dmitry@php.net

Automatic comment from SVN on behalf of dmitry
Revision: http://svn.php.net/viewvc/?view=revision&amp;revision=322384
Log: Fixed workaround for bug #48034 on Windows (Crash when script is 8192 (8KB) bytes long)

------------------------------------------------------------------------
[2012-01-17 08:15:40] pajoye@php.net

Dmitry,

I think you can apply it already :)

------------------------------------------------------------------------
[2012-01-16 23:09:15] pajoye@php.net

From Matt (our tester/QA team):
"I've tested the patch from 48034 on php_5_4 r322075 on Win7 x64 sp1 and it 
fixes the bug from 60771.

I tested the repro script PID1080 from 60771 that produces a >8k text file and 
tries to require it.

I also produced another >8k file myself and added some php code to it (inside <?
php tags) and required it from another script. With 48034 patch, that also 
works."

phpt for that is coming too

------------------------------------------------------------------------
[2012-01-16 17:09:02] pvasilevich at parallels dot com

I have applied similar patch and problem solved. ( I have removed #ifdef HAVE_MMAP at all)

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


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


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


Thread (29 messages)

« previous php.bugs (#168772) next »