[Bug 11711] New: dd no longer reports errors when it cannot write full records

bugzilla at busybox.net bugzilla at busybox.net
Tue Mar 5 11:23:49 UTC 2019


https://bugs.busybox.net/show_bug.cgi?id=11711

            Bug ID: 11711
           Summary: dd no longer reports errors when it cannot write full
                    records
           Product: Busybox
           Version: 1.30.x
          Hardware: All
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P5
         Component: Standard Compliance
          Assignee: unassigned at busybox.net
          Reporter: pete.shanahan at corvil.com
                CC: busybox-cvs at busybox.net
  Target Milestone: ---

Created attachment 7966
  --> https://bugs.busybox.net/attachment.cgi?id=7966&action=edit
patch for the coreutils/dd.c source to do the correct check

This patch:
https://git.busybox.net/busybox/commit/?h=1_30_stable&id=394eebed6656dfc2e56a79500b602023000ac415

has caused a regression in dd, where it no longer reports errors when unable to
write to the disk e.g. out of space.

The problem is the underlying full_write call no longer returns -1 on error.

All consumers should be checked for this condition, and changed to check for -1
or an incomplete write

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the busybox-cvs mailing list