> i would put a lock around the use of attrbuf
> in both plumbpackattr and plumbunpackattr.
>
> russ
why not just use malloc?
- erik
> acid: *(*plumbpackattr:s\s)
> filetype=mail sender=x...@.xxx length=8749 mailtype=delete
> date='Sun Mar4de7153cecd4a9b45aead1clfs
> digest=aff98fb56526d94ab768adbc93d12d989a11ed53
> several were waiting on something else to happen; they were
> sleeping waiting for an exclusive-open file. t
On Tue Apr 7 21:50:14 EDT 2009, r...@swtch.com wrote:
> > abort()+0x0 /sys/src/libc/9sys/abort.c:6
> > plumbpackattr(attr=0x28b00)+0x126 /sys/src/libplumb/mesg.c:125
> >n=0x93
> >a=0x3e990
> >s=0x3a430
> >t=0x3a497
>
> t is unlikely to be correct here; it would hav
> abort()+0x0 /sys/src/libc/9sys/abort.c:6
> plumbpackattr(attr=0x28b00)+0x126 /sys/src/libplumb/mesg.c:125
>n=0x93
>a=0x3e990
>s=0x3a430
>t=0x3a497
t is unlikely to be correct here; it would have been saved
at the last call to strlen but since then got +='ed with t