Ticket #1999 (closed defect: fixed)

Opened 2 years ago

Last modified 1 year ago

Modifying Files of 0 length kick fread error

Reported by: technosailor Assigned to: markjaquith
Priority: normal Milestone:
Component: Administration Version: 2.0
Severity: normal Keywords: bg|commit bg|has-patch
Cc:

Description

Warning: fread() [function.fread]: Length parameter must be greater than 0. in /home/ebeautyd/public_html/wp-admin/templates.php on line 73

Manage > Files > .htaccess (or any 0-length file.

Attachments

templates.php.diff (424 bytes) - added by technosailor on 12/01/05 04:53:18.
adds a conditional to check for empty filesize

Change History

12/01/05 04:53:18 changed by technosailor

  • attachment templates.php.diff added.

adds a conditional to check for empty filesize

01/28/06 16:21:39 changed by davidhouse

  • keywords set to bg|commit bg|has-patch.

Looks good.

10/04/06 07:27:16 changed by markjaquith

  • owner changed from anonymous to markjaquith.
  • status changed from new to assigned.
  • milestone set to 2.1.

10/04/06 07:29:35 changed by markjaquith

  • status changed from assigned to closed.
  • resolution set to fixed.

(In [4314]) Refrain from reading files of 0 length. Props technosailor. fixes #1999

10/04/06 07:35:00 changed by markjaquith

(In [4315]) Refrain from reading files of 0 length. Props technosailor. fixes #1999

10/04/06 07:35:22 changed by markjaquith

  • milestone changed from 2.1 to 2.0.5.

11/30/06 19:41:51 changed by

  • milestone deleted.

Milestone 2.0.5 deleted