split: harden output open path against TOCTOU target swaps (#12565)

Co-authored-by: can1357 <me@can.ac>
This commit is contained in:
Sylvestre Ledru
2026-06-05 18:09:05 +02:00
committed by GitHub
parent 6b22fda6b9
commit 58040feb5c
6 changed files with 222 additions and 38 deletions
+1 -1
View File
@@ -903,7 +903,7 @@ jobs:
- name: Install strace
run: sudo apt-get update && sudo apt-get install -y strace
- name: Build utilities with safe traversal
run: cargo build --profile=release-small -p uu_rm -p uu_chmod -p uu_chown -p uu_chgrp -p uu_mv -p uu_du
run: cargo build --profile=release-small -p uu_rm -p uu_chmod -p uu_chown -p uu_chgrp -p uu_mv -p uu_du -p uu_split
- name: Run safe traversal verification
run: ./util/check-safe-traversal.sh