Opened 3 years ago

Closed 3 years ago

#13322 closed defect (bug) (fixed)

get_plugins() uses a closed dir handle

Reported by: ryan Owned by: westi
Priority: normal Milestone: 3.0
Component: Plugins Version:
Severity: normal Keywords:
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 3 years ago.

Download all attachments as: .zip

Change History (4)

ryan3 years ago

comment:1   ryan3 years ago

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

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

  • Resolution fixed deleted
  • Status changed from closed to reopened
  • 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.