Make WordPress Core

Opened 14 years ago

Closed 14 years ago

#13322 closed defect (bug) (fixed)

get_plugins() uses a closed dir handle

Reported by: ryan's profile ryan Owned by: westi's profile westi
Milestone: 3.0 Priority: normal
Severity: normal Version:
Component: Plugins Keywords:
Focuses: Cc:

Description

Reported by Milosav.

@closedir( $plugins_dir );
@closedir( $plugins_subdir );
if ( !$plugins_dir || empty($plugin_files) )

The test against plugins_dir is performed after closedir.

Attachments (1)

13322.diff (517 bytes) - added by ryan 14 years ago.

Download all attachments as: .zip

Change History (4)

@ryan
14 years ago

#1 @ryan
14 years ago

  • Resolution set to fixed
  • Status changed from new to closed

(In [14540]) Don't use closed dir handle. Props Miloslav. fixes #13322

#2 @nacin
14 years ago

  • Resolution fixed deleted
  • Status changed from closed to reopened

#3 @nacin
14 years ago

  • Resolution set to fixed
  • Status changed from reopened to closed

(In [14545]) Apply [14540] to get_mu_plugins and get_dropins. fixes #13322, props Miloslav.

Note: See TracTickets for help on using tickets.