Re: Vim7: List Crash with Jan 14 build
- On Sat, 15 Jan 2005 19:20:18 +0100, Bram Moolenaar <Bram@...> wrote:
>It segfaults here. Apparently because of insufficient allocation in
> Johnny Blaze wrote:
> > :e <some file>
> > ggVGy
> > :let lines = split(@", "\n")
> > :echo lines
> > gives an instant crash.
> > MSVC/WinXPSP2
> > This worked on the previous build.
> It still works fine for me. Perhaps you are running out of memory?
string_quote. I think that:
s = r = alloc(len);
should really be:
s = r = alloc(len + STRLEN(str));