bug-gnu-utils
[Top][All Lists]
Advanced

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

Re: sed bug report - segmentation fault


From: Jose E. Marchesi
Subject: Re: sed bug report - segmentation fault
Date: Mon, 20 Apr 2015 13:08:05 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux)

        > I've found that sed gets a segfault when running the following command
        > on any text file with greater than one line.
        > sed -e 1L32768 test.txt
    
        The L command is documented as broken and to be removed in a future
        release.  It is not Posix.
    
    No GNU (or other, as far as that goes) program should crash, regardless.
    If the fix is to remove L, fine, but the bug should not be ignored.
    (I reproduced it just as reported, BTW.)

Agreed.  Removing L is probably the best option, as it has been
documented as broken and obsolescent for a while now.  Will push a patch
for that.



reply via email to

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