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

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


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

[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