You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When a stream containing all zero bytes is decoded by capnp.Decoder, a message which contains a zero length segment causes message.Root to panic whilst reading the message. I don't know that this is intended behaviour so i reported just in case.
Possible cause is when Segment.root is called by Message.Root; Segment.root returns a zero value PointerList (due to out of bounds) which causes a panic in List.primitiveElem
When a stream containing all zero bytes is decoded by capnp.Decoder, a message which contains a zero length segment causes message.Root to panic whilst reading the message. I don't know that this is intended behaviour so i reported just in case.
Possible cause is when
Segment.root
is called byMessage.Root
;Segment.root
returns a zero valuePointerList
(due to out of bounds) which causes a panic inList.primitiveElem
Reproducing code
panic
go.mod
The text was updated successfully, but these errors were encountered: