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
http://play.golang.org/p/12ZtQewpMz
What is the expected output?
I expect symmetrical behavior, and since the use is incorrect, it would be good to
panic. If somebody puts attacker controlled data in the first arg misuse would be
disastrous.
What do you see instead?
if the 2nd argument is smaller than the 1st => crash
if the 1st argument is smaller than the 2nd => success
The text was updated successfully, but these errors were encountered:
Hmm. I rather think that users of 'subtle' should be paying attention to the docs at
least.
But perhaps this is too subtle even for 'subtle'.
https://golang.org/cl/62190043 out for review.
The text was updated successfully, but these errors were encountered: