K 10 svn:author V 3 ian K 8 svn:date V 27 2015-03-17T21:00:31.105163Z K 7 svn:log V 295 The minimum sbuf buffer size is 2 bytes (a byte plus a nulterm), assert that. Values smaller than two lead to strange asserts that have nothing to do with the actual problem (in the case of size=0), or to writing beyond the end of the allocated buffer in sbuf_finish() (in the case of size=1). END