bugGNU nano - Bugs: bug #53722, out of bounds read and segfault on...

 
 

You are not allowed to post comments on this tracker with your current authentication level.

bug #53722: out of bounds read and segfault on word completions

Submitter:  easyaspi314 <easyaspi314>
Submitted:  Mon 23 Apr 2018 12:30:09 PM UTC
   
 
Severity:  5 - Blocker Status:  Fixed
Assigned to:  bens Open/Closed:  Closed

Sat 28 Apr 2018 09:18:57 AM UTC, comment #4: 

The fix is in 2.9.6.  Thanks again for reporting.

Benno Schulenberg <bens>
Group administrator
Mon 23 Apr 2018 03:22:54 PM UTC, comment #3: 

For the original report (and a proposed fix), see patch #9621.

Benno Schulenberg <bens>
Group administrator
Mon 23 Apr 2018 03:20:07 PM UTC, comment #2: 

Fixed in git, commit d53086d3.

Thanks for reporting.

Benno Schulenberg <bens>
Group administrator
Mon 23 Apr 2018 03:01:08 PM UTC, comment #1: 

Bug exists since nano-2.9.5 -- since commit 30fc197b, which changed 'i' from int to size_t.  "|

Benno Schulenberg <bens>
Group administrator
Mon 23 Apr 2018 12:30:09 PM UTC, original submission:  
  1. Open an empty buffer.
  2. Type a letter.
  3. Spam ^].


Nano starts looking for completions out of bounds until it segfaults.

A patch for it in the works in #9621.

easyaspi314 <easyaspi314>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by bens (Posted a comment)
  • -email is unavailable- added by easyaspi314 (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

     

    Follow 6 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2018-04-28 bens Open/ClosedOpen Closed
    2018-04-23 bens StatusIn Progress Fixed
    2018-04-23 bens Severity3 - Normal 5 - Blocker
        StatusNone In Progress
        Assigned toNone bens
        SummaryOut of bounds read and segfault on word completions. out of bounds read and segfault on word completions

    Back to the top

    Powered by Savane 3.13-d3ae.
    Corresponding source code