pull/1008/head
Darien Raymond 2018-03-28 22:24:01 +02:00
parent 141b31eb19
commit fc7da93d06
No known key found for this signature in database
GPG Key ID: 7251FFA14BB18169
1 changed files with 1 additions and 1 deletions

View File

@ -204,7 +204,7 @@ func (w *AuthenticationWriter) writeStream(mb buf.MultiBuffer) error {
func (w *AuthenticationWriter) writePacket(mb buf.MultiBuffer) error {
defer mb.Release()
mb2Write := buf.NewMultiBufferCap(len(mb) * 2)
mb2Write := buf.NewMultiBufferCap(len(mb) + 1)
for {
b := mb.SplitFirst()