Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

File unlinked while open descriptor remains in examples/upload.php #172

Closed
justintime opened this issue Dec 15, 2010 · 1 comment
Closed

Comments

@justintime
Copy link

Just thought I'd share a minor bugfix we found and fixed in the Drupal plupload implementation. We copied the bulk of examples/upload.php into the module, and found that there is an unlink() operation being called on a file, but a reference is still held to that file in the variable $in. The fix is simple - call fclose() before unlinking.

Here's a link to the Drupal issue: http://drupal.org/node/998774

@jayarjo
Copy link
Contributor

jayarjo commented Jan 25, 2011

Closing a link in examples/upload.php before unlinking, as suggested in #172. Closed by 84be41a.

This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants