uutils/coreutils

dd: Silent Truncate Error Suppression

オープン

#9,745 opened on 2025/12/20

 (4 件のコメント) (0 件のリアクション) (0 人の担当者)Rust (2,003 件のフォーク)batch import
U - ddgood first issuereported-canonical

Repository metrics

Stars
 (23,984 個のスター)
PR merge metrics
 (PR metrics pending)

説明

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.

コントリビューターガイド