diff options
author | Tyson Whitehead <twhitehead@gmail.com> | 2017-10-27T16·15-0400 |
---|---|---|
committer | Tyson Whitehead <twhitehead@gmail.com> | 2017-10-30T15·49-0400 |
commit | 07d2c6d213660e178fcdf128ea6f1f36d9d8a85d (patch) | |
tree | d453d16e0f67945d2ca909be7d2690d6af8e6e61 /corepkgs/buildenv.nix | |
parent | 12991152be43f63634e48a7d118040e485125df4 (diff) |
Fix (highly unlikely) race condition in readLink
Used to determine symlink size with stat and value with readlink. This could technically result in garbage if symlink changed between calls. Also gets around the broken stat implementation in our network filesystem (returns size + 1 giving a byte of garbage).
Diffstat (limited to 'corepkgs/buildenv.nix')
0 files changed, 0 insertions, 0 deletions