> On 4 April 2013 20:50, erik quanstrom <quans...@quanstro.net> wrote:
> 
> > so
> > i think this assumption is going to lead to
> > 6-byte buffer overruns.
> >
> 
> I don't follow the reasoning. bufsize + Rread or Twrite will always fit.
> bufsize is the limit for application data. The receiving 9P also trims the
> count
> to match the receiving buffer.

i'm thinking of applications that have a seperate buffer for data.
in this case, i can't think of a clean way of sizing that seperate buffer
correctly.  if msize=bufsize+IOHDRSZ, then incoming bytes would
be too big.

- erik

Reply via email to