[Bug 10756] New: dd skip unnecessarily lengthy w/ CONFIG_LFS

bugzilla at busybox.net bugzilla at busybox.net
Wed Feb 14 13:13:20 UTC 2018


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

            Bug ID: 10756
           Summary: dd skip unnecessarily lengthy w/ CONFIG_LFS
           Product: Busybox
           Version: 1.22.x
          Hardware: All
                OS: Linux
            Status: NEW
          Severity: minor
          Priority: P5
         Component: Other
          Assignee: unassigned at busybox.net
          Reporter: dev at andree.sk
                CC: busybox-cvs at busybox.net
  Target Milestone: ---

In dd_main(), if skip and lseek fails, it's not checked why it happened. Thus
with CONFIG_LFS, even if the offset is simply behind the large file end
(EINVAL), the code still tries to seek via safe_read().

Normal coreutils are somewhat smarter about this and fail immediately...

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


More information about the busybox-cvs mailing list