DynamicWindow Patch

Markus Friedl markus at openbsd.org
Thu Jul 8 17:53:57 EST 2004


On Wed, Jul 07, 2004 at 10:19:49PM -0400, Michael Stevens wrote:
> > > -     if (len > 0x100000)
> > > +     if (!buffer->unlimited && len > 0x100000)
> > >               fatal("buffer_append_space: len %u not supported", len);
> > 
> > that's dangerous, is it really necessary? we could
> > crank the 0x100000.
> 
> I'm not sure I see where the danger is coming from besides memory

you want to avoid overflows in + and *.




More information about the openssh-unix-dev mailing list