uutils/coreutils

dd: Silent Truncate Error Suppression

Open

#9.745 aberto em 20 de dez. de 2025

Ver no GitHub
 (4 comments) (0 reactions) (0 assignees)Rust (1.852 forks)batch import
U - ddgood first issuereported-canonical

Métricas do repositório

Stars
 (23.246 stars)
Métricas de merge de PR
 (Mesclagem média 9d 14h) (216 fundiu PRs em 30d)

Description

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.

Guia do colaborador