Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/index.php/Reporting_Bug_Guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#72221 - [vi] segfault opening a 4k file without line ending

Attached to Project: Arch Linux
Opened by Stefan Agner (falstaff) - Thursday, 23 September 2021, 21:07 GMT
Task Type Bug Report
Category Packages: Core
Status Assigned
Assigned To Evangelos Foutras (foutrelis)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 0%
Votes 1
Private No

Details

Description:
It seems that vi crashes when opening a 4k file without line ending.

Additional info:
* 1:070224-5
* "exact4kfile" [Incomplete last line] 1 line, 4096 characters (4096 null) Segmentation fault (core dumped)
* It seems upstream is not affected (tested with ex-050325.tar.bz2)

Steps to reproduce:

dd if=/dev/zero of=exact4kfile bs=1 count=4096
vi exact4kfile
This task depends upon

Loading...