Christ van Willegen wrote:

> Op do 7 nov. 2019 23:09 schreef Bram Moolenaar <[email protected]>:
> 
> >
> > Patch 8.1.2269
> >
> > ***************
> > *** 3367,3372 ****
> > --- 3360,3367 ----
> >             break;
> >   #endif
> >         *pbuf_end++ = *str++;
> > +       if (pbuf_end - pbuf + 1 >= LSIZE)
> > +           break;
> >
> 
> Not >= lbuf_size?

pbuf is allocated with LSIZE.  It's only for the command, thus I assume
we don't need it to be bigger.  Also because lbuf_size is not available
here.

-- 
I started out with nothing, and I still have most of it.
                                -- Michael Davis -- "Tonight Show"

 /// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net   \\\
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\  an exciting new programming language -- http://www.Zimbu.org        ///
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///

-- 
-- 
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups 
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/vim_dev/201911081550.xA8FokSN010888%40masaka.moolenaar.net.

Raspunde prin e-mail lui