summaryrefslogtreecommitdiff
path: root/tests/integration/coverage_tests.rs
diff options
context:
space:
mode:
authorcharlotte ✨ <charlotte@som.codes>2024-05-27 23:14:35 +0100
committerGitHub <noreply@github.com>2024-05-28 00:14:35 +0200
commit506c275053c880a4c6c3f49921f99fd41759064f (patch)
tree71aa767b906bb857791c2c93026eef620dcde996 /tests/integration/coverage_tests.rs
parent35e5159c8d5987497b8980c1cf3996d241612957 (diff)
fix(ext/fs): truncate files when a ReadableStream is passed to writeFile (#23330)
Closes #19697. This fixes a bug where the writeFile API can create partially-overwritten files which may lead to invalid / corrupt files or data leakage. It also aligns the behavior of writing a ReadableStream and writing a Uint8Array to the disk.
Diffstat (limited to 'tests/integration/coverage_tests.rs')
0 files changed, 0 insertions, 0 deletions