Skip to content

Conversation

@elithrar
Copy link
Contributor

Also as per goji/csrf#8

  • subtle.ConstantTimeCompare did not check for matching slice lengths prior to Go
    1.3 (fixed in https://codereview.appspot.com/118750043).
  • gorilla/csrf was released a year after this came into place.
  • Our TravisCI tests did not test against older versions of Go, and this wasn't
    caught as a result.
  • Have added Go 1.2 and Go 1.3 to the TravisCI config to address any future
    regressions.

- subtle.ConstantTimeCompare did not check for matching slice lengths prior to Go
  1.3 (fixed in https://codereview.appspot.com/118750043).
- gorilla/csrf was released a year after this came into place.
- Our TravisCI tests did not test against older versions of Go, and this wasn't
  caught as a result.
- Have added Go 1.2 and Go 1.3 to the TravisCI config to address any future
  issues.
@elithrar elithrar added the bug label Feb 13, 2016
@elithrar elithrar self-assigned this Feb 13, 2016
elithrar added a commit that referenced this pull request Feb 13, 2016
[bugfix] Compare token fix


- subtle.ConstantTimeCompare did not check for matching slice lengths prior to Go
  1.3 (fixed in https://codereview.appspot.com/118750043).
- gorilla/csrf was released a year after this came into place.
- Our TravisCI tests did not test against older versions of Go, and this wasn't
  caught as a result.
- Have added Go 1.2 and Go 1.3 to the TravisCI config to address any future
  regressions.
@elithrar elithrar merged commit fc3cfc6 into master Feb 13, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants