uutils/coreutils

dd: Silent Truncate Error Suppression

Ouverte

#9 745 ouverte le 20 déc. 2025

 (4 commentaires) (0 réaction) (0 personne assignée)Rust (1 981 forks)batch import
U - ddgood first issuereported-canonical

Métriques du dépôt

Stars
 (23 893 étoiles)
Métriques de merge PR
 (Merge moyen 5j 23h) (239 PRs mergées en 30 j)

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.

Guide contributeur