bug-textutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

SEGV i sort


From: ali (Anders Lindgren)
Subject: SEGV i sort
Date: Wed, 5 Jun 2002 14:53:39 +0200 (MEST)

Dear fellow freedom-fighters, I have come across a bug
that results in a segmentation fault in GNU sort 2.0.14
shipped with among others Red Hat 7.2. "sort --version"
doesn't reveal what version of the textutils package
it comes from (unless 2.0.14 refers to textutils as
a whole) -- my apologies if this is not an up to date
version of GNU sort.

The bug is triggered by merging of files, when one of
the files is empty, e.g:

----8<------
$ touch foo
$ echo "moo" > cow
$ sort -m cow foo  # works fine...
moo
$ sort -m foo cow  # ..but when first file is empty...
Segmentation fault
----8<------

-- 
/ali
:wq




reply via email to

[Prev in Thread] Current Thread [Next in Thread]