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

C de-Avillez hggdh2 at ubuntu.com
Fri Dec 28 18:24:59 UTC 2018


Thank you for opening this bug and helping make Ubuntu/GNU Coreutils
better. I have sent email to coreutils at gnu.org asking about this, and a
few other bugs relating to the same basic issue, and am waiting on
feedback from upstream:

Hello,

We have had some bugs reported recently at our BTS:

https://bugs.launchpad.net/bugs/1807295
https://bugs.launchpad.net/bugs/1807797
https://bugs.launchpad.net/bugs/1808092
https://bugs.launchpad.net/bugs/1808095

They deal with sort, split, fmt, and uniq, respectively, and provide
tentative patches.

I would like to re-direct the reporters to upstream (i.e., you folks),
but I feel it would be nice to do the redirect with a small blurb of
what upstream thinks about that.

Thank you,

..C..

-- 
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