uutils/coreutils

dd: Silent Truncate Error Suppression

Open

#9745 aperta il 20 dic 2025

Vedi su GitHub
 (4 commenti) (0 reazioni) (0 assegnatari)Rust (1852 fork)batch import
U - ddgood first issuereported-canonical

Metriche repository

Star
 (23.246 star)
Metriche merge PR
 (Merge medio 9g 14h) (216 PR mergiate in 30 g)

Descrizione

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.

Guida contributor