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
case Slice:
// Element flag same as Elem of Ptr.
// Addressable, indirect, possibly read-only.
s := (*unsafeheader.Slice)(v.ptr)
if uint(i) >= uint(s.Len) {
panic("reflect: slice index out of range")
}
This was in prod so I'm not sure what the exact input was, but let me know if there's anything else that would be relevant.
Thanks!
The text was updated successfully, but these errors were encountered:
I'm calling
Sdump
on a complex struct and it seems to go out of bounds on a slice:Here's the code block in
value
that it's hitting:This was in prod so I'm not sure what the exact input was, but let me know if there's anything else that would be relevant.
Thanks!
The text was updated successfully, but these errors were encountered: