-
Notifications
You must be signed in to change notification settings - Fork 24
Open
Description
There are several rpc unmarshalling bugs.
The pattern seems to be trying to pre-allocate the slice but using its own length instead of the auxiliary data.
It seems like a copy and paste from the marshalling functions that were not replaced fully.
Example:
aux.Phases = make([]*Phase, len(p.Phases))
p.Phases = make([]*Phase, len(p.Phases))
I will first gather all the instances I can find and them make an MR if no one finds others.
go-zenon/rpc/api/embedded/accelerator.go
Line 152 in 429e853
p.Phases = make([]*Phase, len(p.Phases)) |
go-zenon/rpc/api/embedded/plasma.go
Line 149 in 429e853
r.Fusions = make([]*FusionEntry, len(r.Fusions)) |
Metadata
Metadata
Assignees
Labels
No labels