WordPress.org

Make WordPress Core

Opened 6 weeks ago

Last modified 6 weeks ago

#44024 new defect (bug)

Unreachable destination file pointer closing in getid3.lib.php

Reported by: itowhid06 Owned by:
Milestone: Awaiting Review Priority: normal
Severity: major Version:
Component: External Libraries Keywords: has-patch
Focuses: Cc:

Description

If for any reason, a file is opened for writing and the file pointer fails to seek to the offset, then the fclose($fp_dest) is unreachable. The destination file handle would remain open until the script execution is finished, which could lead to a corrupted file or other probable security issues.

Attachments (1)

patch.diff (594 bytes) - added by itowhid06 6 weeks ago.

Download all attachments as: .zip

Change History (2)

@itowhid06
6 weeks ago

#1 @itowhid06
6 weeks ago

  • Keywords has-patch added
Note: See TracTickets for help on using tickets.