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
If you send an HTTP GET onto an RPC port, the decoder panics when trying to allocate a large header. This is much more likely to panic on GOARCH=386 or other platforms where int is 32 bits wide.
Decode should have user-configurable limits on how much it reads from the stream, but we should also prevent a high number of segments, since even the header can overflow.
The text was updated successfully, but these errors were encountered:
(h/t to @bcspragu for discovering)
If you send an HTTP GET onto an RPC port, the decoder panics when trying to allocate a large header. This is much more likely to panic on
GOARCH=386
or other platforms whereint
is 32 bits wide.Decode
should have user-configurable limits on how much it reads from the stream, but we should also prevent a high number of segments, since even the header can overflow.The text was updated successfully, but these errors were encountered: