bug-readline
[Top][All Lists]
Advanced

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

Re: The sample function invert_case_line() causes segfault with negative


From: Chet Ramey
Subject: Re: The sample function invert_case_line() causes segfault with negative arguments
Date: Tue, 25 Jun 2024 16:29:33 -0400
User-agent: Mozilla Thunderbird

On 6/9/24 1:52 AM, 林宏雄 wrote:

3. type Meta - Meta u

This causes a segmentation fault.

 > a fix for the bug if you have one!

A simple fix is to remove the if-block that swaps start and end variables.

Thanks for the report. I'll probably do something similar to your fixes.

--
``The lyf so short, the craft so long to lerne.'' - Chaucer
                 ``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, UTech, CWRU    chet@case.edu    http://tiswww.cwru.edu/~chet/

Attachment: OpenPGP_signature.asc
Description: OpenPGP digital signature


reply via email to

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