expand_number() for fetch'es -B and -S switches

Alexander Best arundel at freebsd.org
Wed Sep 8 10:50:50 UTC 2010

On Wed Sep  8 10, Dag-Erling Smørgrav wrote:
> Alexander Best <arundel at freebsd.org> writes:
> > so how about forgetting about expand_number() and simply introducing a
> > maximum buffer size of 1 megabyte?
> so how about just leaving the code alone?  :)

i thought you wanted to have a maximum buffer size of 1MB in fetch?

right now -B can be any value and it's quite easy to trigger ENOMEM.


> -- 
> Dag-Erling Smørgrav - des at des.no


More information about the freebsd-hackers mailing list