[patch] Bad pointer arithmetics in getvcol(). Was: Re: Internal error on Vim 7.2
Lech Lorens wrote:
> On 02-Mar-2010 Martti Kuparinen <[hidden email]> wrote:
> > Hi,
> > I'm the Vim maintainer in NetBSD pkgsrc and I was looking two weird problem reports:
> > http://www.netbsd.org/cgi-bin/query-pr-single.pl?number=39375 > > http://www.netbsd.org/cgi-bin/query-pr-single.pl?number=42909 > >
> > Few minutes ago I tested the first myself with 7.2.367 and I have no
> > problems on NetBSD/amd64 while on NetBSD/i386 I get the same
> > E341: Internal error: lalloc(0, )
> > cannot yank; delete anyway (y/n)?
> > message as described in both PRs. Any ideas where to start debugging this?
> > Martti
> The attached patch fixes the problem.
> Additionally, I indented the comment in memline.c as its wrong
> indentation always misleads me to think that the function ends just
> before the comment.
I must say I'm really happy to get patches from you and others. Perhaps
finally the todo list will be getting shorter?
A real patriot is the fellow who gets a parking ticket and rejoices
that the system works.