[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Nano-devel] Crash report - segfault reproduceable
From: |
Mike Frysinger |
Subject: |
Re: [Nano-devel] Crash report - segfault reproduceable |
Date: |
Thu, 2 Feb 2006 20:19:55 -0500 |
User-agent: |
KMail/1.9 |
On Thursday 02 February 2006 19:50, David Lawrence Ramsey wrote:
> I can reproduce this now. I've been using UTF-8 mode exclusively for
> awhile now, and the size of MB_CUR_MAX apparently provides enough of a
> buffer that the buffer overflow in display_string() that you're seeing
> doesn't happen. Current CVS allocates COLS characters per line, and the
> extra tab on the end overflows it, so adding room for tabsize
> characters, as in the attached patch, should fix it. Please let me know
> if it does (and please apply it on top of the other patch so that I can
> be sure).
ok, the coretest file crashed less often, but here's the output after moving
to a 90x24 terminal:
line 1: allocated 100 bytes, index == 104, converted length == 105
-mike
- Re: [Nano-devel] Crash report - segfault reproduceable, David Lawrence Ramsey, 2006/02/02
- Re: [Nano-devel] Crash report - segfault reproduceable, Mike Frysinger, 2006/02/02
- Re: [Nano-devel] Crash report - segfault reproduceable, David Lawrence Ramsey, 2006/02/02
- Re: [Nano-devel] Crash report - segfault reproduceable,
Mike Frysinger <=
- Re: [Nano-devel] Crash report - segfault reproduceable, David Lawrence Ramsey, 2006/02/02
- Re: [Nano-devel] Crash report - segfault reproduceable, Mike Frysinger, 2006/02/02
- Re: [Nano-devel] Crash report - segfault reproduceable, David Lawrence Ramsey, 2006/02/02
- Re: [Nano-devel] Crash report - segfault reproduceable, Nick Warne, 2006/02/03
- Re: [Nano-devel] Crash report - segfault reproduceable, Nick Warne, 2006/02/03
- Re: [Nano-devel] Crash report - segfault reproduceable, David Lawrence Ramsey, 2006/02/03