uutils/coreutils

dd: Silent Truncate Error Suppression

Open

#9,745 建立於 2025年12月20日

在 GitHub 查看
 (4 留言) (0 反應) (0 負責人)Rust (1,852 fork)batch import
U - ddgood first issuereported-canonical

倉庫指標

Star
 (23,246 star)
PR 合併指標
 (平均合併 5天 23小時) (30 天內合併 239 個 PR)

描述

Component

dd

Description

If the output device is full, read-only, or otherwise unable to be truncated, dd reports success (exit 0) while leaving stale data in the output file.

Impact

Silent data corruption. Backup scripts relying on dd may believe a copy succeeded when it actually contains old/garbage data, leading to undetected data loss during recovery.

貢獻者指南