diff options
author | Alan Somers <asomers@gmail.com> | 2020-12-08 19:37:50 -0700 |
---|---|---|
committer | Alan Somers <asomers@gmail.com> | 2020-12-08 19:37:50 -0700 |
commit | 1c757c78baca8bd53309b625acbe86814c1de74c (patch) | |
tree | 4a4890ac3085fe0f4d89eaab9d991b568c9d7062 /test/sys/test_aio.rs | |
parent | a848ab555c99a8275342a920ae4e2d7ad809d518 (diff) | |
download | nix-1c757c78baca8bd53309b625acbe86814c1de74c.zip |
Fix a race in the test_unistd::test_fchown test
The test was assuming that once dropped, a temporary file's file
descriptor would be invalid. But it might not be, because another file
might be opened with the same file descriptor. Instead, use an
obviously invalid file descriptor.
Diffstat (limited to 'test/sys/test_aio.rs')
0 files changed, 0 insertions, 0 deletions