[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Nano-devel] [patch] fix segfault when finding a lock file with a lo
Re: [Nano-devel] [patch] fix segfault when finding a lock file with a long name
Sun, 10 Apr 2016 11:39:48 +0200
On Wed, Apr 6, 2016, at 10:59, Benno Schulenberg wrote:
> Nano will go astray or segfault when it finds a lock file for a file
> with a very long name -- depending on the locale, more than about 70
> characters long. To reproduce, run the following:
> nano qqqqqq... (type 128 q's)
> Then, in another terminal, do 'killall nano'. Then run the same
> 'nano qqqqqq...' again. It will find the lockfile, will want to ask
> a question, will write outside of the allocated space, and will crash.
> Bug was reported by Aapo Rantalainen in
> Attached patch fixes this.
Patch was applied to git, fb9585e.
http://www.fastmail.com - mmm... Fastmail...