Bug #63304 Function "my_copy()" may use closed file descriptors, causing EBADF
| Submitted: | 17 Nov 2011 12:53 | ||
|---|---|---|---|
| Reporter: | Joerg Bruehe | Email Updates: | |
| Status: | Verified | Impact on me: | |
| Category: | MySQL Server: DDL | Severity: | S3 (Non-critical) |
| Version: | 5.1.50 and up | OS: | Any |
| Assigned to: | CPU Architecture: | Any |
[17 Nov 2011 12:53]
Joerg Bruehe
[30 Nov 2011 16:52]
Davi Arnaut
Now the target file is not deleted on failure. Better to just do the close as the very last step.
[22 May 2015 7:08]
Andrii Nikitin
see also bug #77127
[29 May 2015 9:24]
Andrii Nikitin
Posted by developer: This is still problem in 5.1.73 and 5.5.44 , verified looking at source code . 5.6.23 doesn't show error, but will not attempt to remove "to" file in some cases when error occurs (so code still looks buggy).
Portions of this website are copyright © 2001, 2002 The PHP Group
Page generated in 0.051 sec. using MySQL 8.4.7-u6-cloud
Timestamp references displayed by the system are UTC.
Content reproduced on this site is the property of the
respective copyright holders.
It is not reviewed in advance
by Oracle and does not necessarily represent the opinion of
Oracle or any other party.