[Top][All Lists]

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

bug#13627: cut: Commit 06aeeec reintroduced SEG_FAULT

From: Bernhard Voelker
Subject: bug#13627: cut: Commit 06aeeec reintroduced SEG_FAULT
Date: Mon, 04 Feb 2013 14:03:17 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130105 Thunderbird/17.0.2

On 02/04/2013 12:52 PM, Pádraig Brady wrote:
> On 02/04/2013 09:22 AM, Marcel Böhme wrote:
>>     The current version of cut (after 6.12.2012) exposes a SEG_FAULT:
>>     $echo 123 | cut --output-del="." -b-1,999999999-

> Nice one!
> The attached should fix it.

Hi Padraig,

The fix looks okay, but syntax-check fails:

  src/cut.c:534:      && ((max_range_endpoint < eol_range_start) || 
!is_printable_field (eol_range_start)))
  tests/misc/cut.pl:196:  ['big-unbounded-b2a', '--output-d=:', '-b1,9-', 
{IN=>'123456789'}, {OUT=>"1:9\n"}],
  maint.mk: line(s) with more than 80 characters; reindent

Have a nice day,

reply via email to

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