ID:               22546
 User updated by:  4u at direct-netware dot de
 Reported By:      4u at direct-netware dot de
-Status:           Closed
+Status:           Open
 Bug Type:         Filesystem function related
 Operating System: WinNT
 PHP Version:      4.3.1
 New Comment:

I'm sorry, but then the bug isn't (completly?) removed - used snapshot
resulting fread-error: php4-win32-STABLE-200303050930


Previous Comments:
------------------------------------------------------------------------

[2003-03-05 06:20:38] [EMAIL PROTECTED]

This was fixed last week; any current snapshot should contain the fix.

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

[2003-03-05 05:08:00] 4u at direct-netware dot de

I will check it with the next stable win32-build and reopen this report
if required (6h to go until the next build will be available)

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

[2003-03-05 04:54:04] [EMAIL PROTECTED]

This bug has been fixed in CVS.

In case this was a PHP problem, snapshots of the sources are packaged
every three hours; this change will be in the next snapshot. You can
grab the snapshot at http://snaps.php.net/.
 
In case this was a documentation problem, the fix will show up soon at
http://www.php.net/manual/.

In case this was a PHP.net website problem, the change will show
up on the PHP.net site and on the mirror sites in short time.
 
Thank you for the report, and for helping us make PHP better.

Should already be fixed in the stable snapshot.

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

[2003-03-05 04:20:01] 4u at direct-netware dot de

Looking at the bug, it is maybe causing the following reported bug
because the size for inflating is wrong:
http://bugs.php.net/bug.php?id=22471

I recomment to resolve this bug and wait for further information
regarding bug #22471

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

[2003-03-05 04:10:37] 4u at direct-netware dot de

>>> Description:

fread (maybe in connection with fseek) do not read "length" bytes -
example:

@fseek (Resource id #113,75);
@fread (Resource id #113,4633);
Read bytes reported by strlen: 5
@fseek (Resource id #113,4750);
@fread (Resource id #113,90);
Read bytes reported by strlen: 90
@fseek (Resource id #113,4881);
@fread (Resource id #113,5656);
Read bytes reported by strlen: 169
@fseek (Resource id #113,10593);
@fread (Resource id #113,5635);
Read bytes reported by strlen: 104
@fseek (Resource id #113,16282);
@fread (Resource id #113,1277);
Read bytes reported by strlen: 1277
@fseek (Resource id #113,17601);
@fread (Resource id #113,1415);
Read bytes reported by strlen: 283
@fseek (Resource id #113,19083);
@fread (Resource id #113,309);
Read bytes reported by strlen: 167

> Example part of the script:
@fseek ($zipp,$direct_tempdata_2array['zip_filebegin']);
$direct_tempdata_4string = @fread
($zipp,$direct_tempdata_2array['zip_filesize_compressed']);

>>> Modules:

Seems to be not required for this bug report

>>> Setup data:

Windows XP
PHP 4.3.1 and PHP 4.3.2-dev
Apache 2.0.44
MySQL 4.0.11-gamma
Administrative rights: yes

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


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

Reply via email to