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
func (p *Payload) Equals(other *Payload) bool can crash if p is nil. Although this scenario seems to be unlikely to happen the way the function is currently used, it can become a problem if we use this function differently.
nil payload doesn't equal empty payload, but they should be equal.
Solution
These are being fixed as part of upcoming PR resolving issues #1747 and #1748.
The text was updated successfully, but these errors were encountered:
Problem
There appears to be two bugs:
func (p *Payload) Equals(other *Payload) bool
can crash if p is nil. Although this scenario seems to be unlikely to happen the way the function is currently used, it can become a problem if we use this function differently.nil
payload doesn't equal empty payload, but they should be equal.Solution
These are being fixed as part of upcoming PR resolving issues #1747 and #1748.
The text was updated successfully, but these errors were encountered: