[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [RP] Bug in editor.c?
From: |
alex |
Subject: |
Re: [RP] Bug in editor.c? |
Date: |
Mon, 27 Feb 2006 19:07:23 +0100 |
User-agent: |
Mutt/1.5.11 |
hi,
Shawn Betts (2006-02-26, 19:20):
> alex <address@hidden> writes:
>$
> > hi all,
> >
> > i think i found a bug in editor.c.
> >
> > I got random segfaults on my boxes, patch is self explanatory.
> >
> > greets
> > -alex
> >$
>$
> Hi alex,
>$
> I Couldn't see how your patch fixed a segfault,$
The old crappy loop wrote to buf[-1] ... buf[-x], this happend when
inserting str's longer than 1, afair... (e.g. tab completion)
I guess the segfault thingy happened due to openbsd's malloc
implementation.
> but the for loop I
> thought was weird and dirty. So I replaced it with a memmove.$
Thanks
> Let me
> know if you're still experiencing segfaults.
>$
Nope, works fine.
greets
-alex
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Re: [RP] Bug in editor.c?,
alex <=