[Bug 1807797] Re: Split doesn't check for filetype

Maliat Manzur 1807797 at bugs.launchpad.net
Wed Dec 12 17:32:42 UTC 2018


** Patch added: "Patch for split r-chunk unit test"
   https://bugs.launchpad.net/ubuntu/+source/coreutils/+bug/1807797/+attachment/5221710/+files/split_r_chunk_test.patch

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to coreutils in Ubuntu.
https://bugs.launchpad.net/bugs/1807797

Title:
  Split doesn't check for filetype

Status in coreutils package in Ubuntu:
  New

Bug description:
  Hello! I noticed that Split doesn't check for filetypes before it
  starts splitting the file. As a result, it's possible to eat up CPU
  and Disk memory by passing in a character device as input. I wanted to
  make Split  more robust by adding a patch to check for file type.

  This patch do break some of the tests for Split. The tests that are
  checking Split's ability to "elide empty files" by using /dev/null as
  input fail with this patch, since /dev/null is a character device. I
  would love to modify those tests to use a regular empty file, upon the
  approval of this patch.

  Thanks!

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/coreutils/+bug/1807797/+subscriptions



More information about the foundations-bugs mailing list