Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Point.UnmarshalBinary() bounds check #8080

Merged
merged 1 commit into from
Mar 1, 2017

Conversation

benbjohnson
Copy link
Contributor

@benbjohnson benbjohnson commented Mar 1, 2017

Required for all non-trivial PRs
  • Rebased/mergable
  • Tests pass
  • CHANGELOG.md updated

@benbjohnson benbjohnson requested a review from jwilder March 1, 2017 18:47
@benbjohnson benbjohnson force-pushed the point-bounds-check-1.2 branch 3 times, most recently from a8b39a5 to edba80c Compare March 1, 2017 18:54
models/points.go Outdated

p.time = time.Now()
p.time.UnmarshalBinary(b[i:])
// Read key.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this should be the timestamp

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fixed in dffd123.

@benbjohnson benbjohnson merged commit fab0b86 into influxdata:1.2 Mar 1, 2017
@benbjohnson benbjohnson deleted the point-bounds-check-1.2 branch March 1, 2017 19:03
@timhallinflux timhallinflux added this to the 1.2.1 milestone Mar 7, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants